diff --git a/.gitattributes b/.gitattributes index 28df5f900b358436f0267334b3e3e9af33f917ba..895dea195b109d52833985b0f86dee5d9b412807 100644 --- a/.gitattributes +++ b/.gitattributes @@ -53,3 +53,34 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.jpg filter=lfs diff=lfs merge=lfs -text *.jpeg filter=lfs diff=lfs merge=lfs -text *.webp filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/0.2.0/Angry[[:space:]]Birds.exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/0.2.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/0.3.0/Angry[[:space:]]Birds.exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/0.3.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.2/Angry[[:space:]]Birds.exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/1.0.3/Noise[[:space:]]R[[:space:]](The[[:space:]]Greatest).exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.0.4/Angry[[:space:]]Birds.exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.0.4/data/images/pc/BUTTONS_SHEET_1.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.2.3/Angry[[:space:]]Birds.exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.0/Angry[[:space:]]Birds.exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.1/Angry[[:space:]]Birds.exe filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr filter=lfs diff=lfs merge=lfs -text +Angry[[:space:]]Birds[[:space:]]Project[[:space:]]R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr filter=lfs diff=lfs merge=lfs -text diff --git a/Angry Birds Project R.zip b/Angry Birds Project R.zip new file mode 100644 index 0000000000000000000000000000000000000000..5f857788acde7a0c33fef09a2a1dd762199bda49 --- /dev/null +++ b/Angry Birds Project R.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d6c24ec3648250ae9d1b73daba2dc5ffb762bf0c620c6afe40f3e514821ff12 +size 1179815232 diff --git a/Angry Birds Project R/0.2.0/Angry Birds.exe b/Angry Birds Project R/0.2.0/Angry Birds.exe new file mode 100644 index 0000000000000000000000000000000000000000..205b658e02c8316d987d6c99a6f214dd92383891 --- /dev/null +++ b/Angry Birds Project R/0.2.0/Angry Birds.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0eb3ed1b796a0bc7e37e81545bcf2c08d7b6973bfabcda90f0c9008c0916d1e7 +size 1529968 diff --git a/Angry Birds Project R/0.2.0/Angry Birds.gdf b/Angry Birds Project R/0.2.0/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/0.2.0/Angry Birds.gdf differ diff --git a/Angry Birds Project R/0.2.0/config.lua b/Angry Birds Project R/0.2.0/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..7aadac7cb8270141bf49003f5689008c5e695d7c --- /dev/null +++ b/Angry Birds Project R/0.2.0/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R BETA 2" +publisher = "JPA" +name = "Angry Birds Project R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/0.2.0/data/audio/music/BeachAmbience.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/BeachAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..85759b30fe232e2ed045f7474b215fdd47a19e85 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/BeachAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8c5315331f8cd9356f9d6ddf968212f7c748b1ac4590f237a299393ba36609e +size 1544944 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/RainAmbience.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/RainAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..962af79c19b74b7a0b95e4ef156c2df62bab994b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/RainAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5fb460d03b8a0e74ac075abf1821d3ccef4651f3583a55c207ed5f505bf95ca +size 889343 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/ab_cave_ambient.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/ab_cave_ambient.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..38f968513c9866b61f66cdb2aba0bb5653d3d414 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/ab_cave_ambient.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d93725def68b368ebafaadf4710b2a53d5af2fd5d331b58798fbcb29f9b6f6f8 +size 956707 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/ambience_waterfall.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/ambience_waterfall.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..057fa9ac2c38dc3b0abeed22157cb0692bd04ea3 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/ambience_waterfall.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ad5805317a25bd1fdbb94ba60017997045c1988fe7ad524516ef0d28b5366b0 +size 681509 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/ambient_city.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/ambient_city.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b36d0e0b2b5abb84682805c093f0a42964c553e3 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/ambient_city.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a3c2fd920b89dd824478c1da55dbe90a8144c92a7ff40e91986a441f9b2f0b1 +size 978023 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/ambient_construction.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/ambient_construction.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8640725c93e332136a3eb10baaa2e658103d7703 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/ambient_construction.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78230eaa24ac157753c414488d2fa2cb68dee6e38db5ea7d9514eadf8a6f7630 +size 903417 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/ambient_green_jungleish.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/ambient_green_jungleish.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a101c7dae1114d6e1a990fd89b0743b7d7ff45d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/ambient_green_jungleish.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb90dc799591de5930090b2449702b850bd8644d140777172707b4f7eba8dde1 +size 667688 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/ambient_red_savannah.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/ambient_red_savannah.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..46d53409296381ea6a735ce47fb1caaa652ddaef --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/ambient_red_savannah.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79c23296d2c44f1958d15a1a7a5db87463aebf1bc90070355cb98264e4d57901 +size 776776 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/ambient_white_dryforest.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/ambient_white_dryforest.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d248660596ef347adf6a430e2647583b5c5bb17c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/ambient_white_dryforest.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d3e724d5cbabae83024895c56d381bb024ca5d2bb250de0a5833436a2b03a62 +size 1012467 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c2347d4f984b90a26f43d0bf72d05a6242255faa --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57bfbe37f79e791283161780b24817ecf261334add75e0554d9679dcf737c63 +size 150464 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7d52f8e115016c3c25780ca47403c02ea2967a5d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:199a9d5d6d8a39fa0578e6568e356c98cb9761ec1316bddd588c3013a01f2b8f +size 366131 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..aa49c9606f8bc98c9eba8b284bf60f2790b3d183 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7719b486d88b26345d28c08875206f557af38ec33ef92005154fd3a0fa974f2e +size 299048 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/birthday_ambience.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/birthday_ambience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c98bf7258b925859023f6b9212b2cbe60aaea43a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/birthday_ambience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a672d6c0f3abfab6427721b550c700380854e89b88e21c97644322af4dd3622f +size 709632 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/funky_theme.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/funky_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..cfa2984fd2175716219e8881993972015cf35476 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/funky_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c52b0d9438cc379fe16818604c818c60e2f3ea3727754c92a9ebfef1533514c +size 1791790 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/game_complete.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/game_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a1710be57afe4fc2c8c0de8dc331d4f44ba5ef7 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/game_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:966a98b93f7c6bb23b77f64501efb03b6edafce184bae7764d538dffd695c2d5 +size 290171 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/level_complete.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/level_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b867b036a8488818cacdeee1c5854b0701b922eb --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/level_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da50606f54269411f16050dae2483ea3c633263f93948372383ff692626d8e5c +size 70742 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/m.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/m.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..eab5c03d4fd0b0518ae582c6898d82b1879f88f6 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/m.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe458168c27a2ad6006a0b1918fd6c93d4875ec8ef129212f72ed958c9de2877 +size 1364953 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/m.wav b/Angry Birds Project R/0.2.0/data/audio/music/m.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e80662297843437eb395f779dd24f15dbbcd98a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/m.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:465a44ff723069d4dc935e2add8630c2e27cade4f88cf958eb41fc42a3fee4d2 +size 10839122 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a68d33208bcb4f3b8b432ebd5e6a340673d7c4ab --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41f18bcce5bb275027ce0712b2d0239d6266c20d6267425ffd455060a5606f1c +size 1645471 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_1.wav b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed2a441a4cbbcb3342aff20880cede5587680552 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00d60a0c2df7d7c0760021f1757a273222c7635f86dfc1314c1f44f4f9a79762 +size 13227596 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6f15480666c08cc07bdc30899632c841a6774006 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdc21e56c91d786b09ac52fa86f4aa926844ad57b755092b75a6b09ce1c11587 +size 2957669 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_2.wav b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1a3f50e78b5d2474073c6f04b7933e34f8e8a503 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/pig_boss_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2ec7ac21727d00e32f884cc318255f848543dd28fe23ef4926077cea9c30b5c +size 24161752 diff --git a/Angry Birds Project R/0.2.0/data/audio/music/title_theme.mp3 b/Angry Birds Project R/0.2.0/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..127e51b75365b4075728d89207154805c894a987 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2dbbd3062a49eadd26b796a3d65124fe0baa9575010e00da7b6227abb2c8fd5 +size 1640597 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Death_remove_1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Death_remove_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..a8cbcb0f71d90cc6a05566fcc6d0de0239e06413 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Death_remove_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c856abecf4a3bce50dd285acdaf5f8b12973b798e64ec7d51a1019e5f2b678c0 +size 377852 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..849f458dcade8524cbc89ee52bae07148f368cc6 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aec1c7b1fb875859289e477e32bc039aab07b9aac44638fa43b9351de1693307 +size 23114 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_2-2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_2-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..4005b15ede9572caba1f8e03dce9722b84651f8b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_2-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6785a7d077ab3dcf5606fa8c160cca08b7568964abcbf9d69885ccd6a73482f6 +size 25760 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..511506f11b68a79ce5a58d37b6cb63d8ac0325f3 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dfe5a89d58c8359fe6ade05ec1289b71f8cb00ef8ff47d977573e37459656d0 +size 25760 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_3-2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_3-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..85c6d856f3de10166636a162408d279d7b3502e5 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_3-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54641938b42f37b311fdca461012a824ab87fc2553de02ac5cbdb8b97b330567 +size 24356 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..eae3f3d9db21af975d8a27a2fbadfd93f0312f10 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4be1d2009dd2fb868763db99de2a832833c0a448218c1ae60f06100abac853ce +size 24356 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_4-2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_4-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..28b564b22a7b728dd6ea237f1d70974787125e5d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_4-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d4a3db8bcd6d0df402bb530a5c07c7c02b31cea883c792ec575e1234acc6b36 +size 29064 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_4.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e8f53095fae87a30655d433ee8cda63396cf0598 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Hit_4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1597c2c6b6405f2beb74203b3bc8d128e02cbcc315568103077327512104289 +size 29064 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Launch_3-2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Launch_3-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..4f05907a20c61705d0f06d0fda94e76dc07d932e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_Launch_3-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:382f348832ad0f282d6d28d24f0f0bccf6c3eb72f860c53deabcef99ebca1c8d +size 137024 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_01-2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_01-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..0800c308bf534c667083a100f55c32cb9711fcdf --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_01-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a96899e435165149918c61cb53236a924bad5dda32a277736583ed94d42f57d +size 133254 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_01.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..62ac372fb1d7abb4164ec1181defe49529faf5f9 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d7f22c0bdf1f1208c39bcecf44396d64a340dd1b706d77c1ae1f9561be70b74 +size 133254 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_02-2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_02-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..d386dca9084ae334f468e7f707901a7ea37ca152 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_02-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91b873d344cc9a29a7478f3c1cd188e2e5518cfce0728364c4de8ad3eed52f45 +size 92674 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_02.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..259011ecc52bfbf88100e80585522ce7e20913b1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16708a6a77bde19f10a79fafba60b5a540348ab3be5101e2a97b6ec967a1b0a8 +size 92674 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_03-2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_03-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b906ed8cf978b693d726c0a16b5b5d77726b6c00 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_03-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c59cc9a55dc1f936587c71c68b87a9a9567d831191fb87232f23b718caae657 +size 38010 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_03.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..31792c7cd29f0d2865ff6502e2704968b09e8300 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/Globe_Bird_idle_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d6893bdb54df3e56d05143e045dd33b6cafee9a66bc655a3222f2543f31f336 +size 38010 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_break.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_break.wav new file mode 100644 index 0000000000000000000000000000000000000000..d3ce78a122b294664eb98366db9d7c2f871f676f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_break.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5217c9b69c36e69659a37ed7625bff291e30c21b7f16c6f5a82fd27908e91d1 +size 125128 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_empty_pull.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_empty_pull.wav new file mode 100644 index 0000000000000000000000000000000000000000..ce11b37c756784b8d5ea83a6a14ad2b4f8f1a3ff --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_empty_pull.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:640393fdd29346c65c20cae8aaaecdc9b2c7a5116b4024304b5de14dd288ff68 +size 108504 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_empty_push.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_empty_push.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d54e0c5ca538c55e63efeedb744dd9f62d8a9d1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/accordion_empty_push.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dcf6356dd30b16806bb6d982cd463c061e8095d5d4184d182f4f36527f19f60 +size 127482 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/ball_bounce.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/ball_bounce.wav new file mode 100644 index 0000000000000000000000000000000000000000..14edb928903cde79c51569c3d221ee79adebcba5 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/ball_bounce.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11a20f27efdebdc4261004ca6abaa4d6b57b1654f747939fff316739cd9eda83 +size 28878 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..3620e582ab428cdf69b13650e927e7152c63d534 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20bc621567696c8892c1b4b4a49b282b14422a1f0f657d4c686029e38938a6e0 +size 22380 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/big_bird.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..00e48a039ec3426b39a6ef7d44165c2969b28d5b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1db4bd3508dcee3edbc195b5bf6ceb17a8136a689061cb40a79e14f6dff7ded5 +size 158250 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bmajor_left.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bmajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..344d3efe508db54a31d79b1eb0d24e7d0206cb58 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bmajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:108aa85275c295921053b41112e7666f83645c18a0a265106a98e2fc23e3ecac +size 88806 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bmajor_right.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bmajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..856df6d666256064b83ec50bc34b1a1ec4fe19cd --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bmajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7694f8efb7b28557f37ae9d1c93c41a51b0dcb5345acb21f3738a951d49a3a9e +size 88664 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/button_radio.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/button_radio.wav new file mode 100644 index 0000000000000000000000000000000000000000..1fff9be156c4183bc8edf2c4bac48c3d57f2198a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/button_radio.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:279d95cad7ed6f09e20332782effb474573c2d9969209867b7a2bf0627d152f2 +size 71302 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/cminor_left.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/cminor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..298126026cbf9d113191e4e7e610aad0929d296f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/cminor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99809e3d2d8d73c1ac8d5e68567ca4b35c919b4d651c382d04e4801ccd38d6d6 +size 89324 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/cminor_right.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/cminor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..64f2c095bd962bf0e85d1f81371377be21b2fb13 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/cminor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a37f938ca0739ef595c6326cf7ed3653a788ad1cac3e732c3fdda39e392138da +size 89012 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/dismajor_left.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/dismajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..677019845280a10c3530a0cdd04958bcf2781426 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/dismajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36f198d0195a71a90dd86942479607c08ea7bed508e99e1df57d49a584095177 +size 89632 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/dismajor_right.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/dismajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..45b81e86d40de35b8d7adc8b94e8029ef62cebad --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/dismajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccba698b26705154177f2c0dbbb9a93bc9e7d995408ba8bf7956068c02c5429c +size 88724 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/earthquake.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/earthquake.wav new file mode 100644 index 0000000000000000000000000000000000000000..884c551683dd30001a14e40965404c6394b86ecd --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/earthquake.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cddc413da151b6c4db58870a1a1419347a3ce2e05d488129dc705cacce9a987 +size 846940 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/fmajor_left.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/fmajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..475800f246b10ec810fb89fabba1df1705e2e4a2 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/fmajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db59873181c77a6e6f42d9342b915817dae5c021b61642a3d246c0dc4133afd6 +size 88494 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/fmajor_right.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/fmajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..86b25b300532d7ab28210f04487c7b8d9510ae29 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/fmajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0812d08318768967ec0f9c120694ddd68958d122ce2bf2e3d50ba5758911e09b +size 88870 diff --git a/Angry Birds Project R/0.2.0/data/audio/sfx/gamescorescreen_score_count_loop.wav b/Angry Birds Project R/0.2.0/data/audio/sfx/gamescorescreen_score_count_loop.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ac364bfeef52ff2ccc7dbbce84fd91fdacfb604 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/audio/sfx/gamescorescreen_score_count_loop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db750f80e3d385a5f94c19a4f09ede24c41f4e92e4213bfc1b5a2fc99f18e557 +size 31628 diff --git a/Angry Birds Project R/0.2.0/data/editor/edit.lua b/Angry Birds Project R/0.2.0/data/editor/edit.lua new file mode 100644 index 0000000000000000000000000000000000000000..757aa1aced8f7d9ba5b51ce484043e4f70ef98ee --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/editor/edit.lua @@ -0,0 +1,1199 @@ +loadLuaFile(scriptPath .. "/item.lua", "") +loadLuaFile(scriptPath .. "/page.lua", "") +g_editLevelPacks = 50 +g_levelsPerFolder = 21 +g_levelsPerFolderRow = 7 + +Editor = {} + +function Editor:new(o) + local o = o or {} + self.__index = self + _G.setmetatable(o, self) + return o +end + +function Editor:eventTriggered(event) + if event.id == events.EID_LEVEL_ENDED then + if startedFromEditor then + returnToEditor() + end + end +end + +EditorPage = ui.Frame:new() + +function EditorPage:init() + + self.backgroundColour = { r = 0, g = 0, b = 0, a = 1 } + + local bw, bh = _G.res.getSpriteBounds("LS_LEVEL_BG_NORMAL_OPEN_1") + + local epsCaption = ui.Text:new() + epsCaption.font = fontBasic + epsCaption.text = "Worlds" + epsCaption.x = bw * 0.3 + epsCaption.y = bh * 0.3 + epsCaption.hanchor = "LEFT" + self:addChild(epsCaption) + + local offs = 0 + for i = 1, #g_episodeIds do + for j = 1, #g_episodes[g_episodeIds[i]].pages do + offs = offs + 1 + local ep = ui.ImageButton:new() + ep.name = "ep" .. i .. "_" .. j + ep.scaleX = 0.35 + ep.scaleY = 0.35 + ep.x = bw * offs * 0.4 + ep.y = bh * 0.8 + ep:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + ep.returnValue = "EDITOR_MENU_WORLD" + ep.meta = { ep = g_episodeIds[i], page = j } + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + epNumber.text = "" .. g_episodes[g_episodeIds[i]].pages[j].display_number + ep:addChild(epNumber) + self:addChild(ep) + end + end + + local foldersCaption = ui.Text:new() + foldersCaption.font = fontBasic + foldersCaption.text = "Folders" + foldersCaption.x = bw * 0.3 + foldersCaption.y = bh * 1.2 + foldersCaption.hanchor = "LEFT" + self:addChild(foldersCaption) + + for i = 1, g_editLevelPacks do + local col = (i - 1) % 20 + local row = (i - 1 - col) / 20 + + local folder = ui.ImageButton:new() + folder.scaleX = 0.35 + folder.scaleY = 0.35 + folder.x = bw * (col + 1) * 0.4 + folder.y = bh * (1.2 + (row + 1) * 0.4) + folder:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + folder.returnValue = "EDITOR_MENU_FOLDER" + folder.meta = i + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + epNumber.text = "" .. i + folder:addChild(epNumber) + self:addChild(folder) + end + + local exitButton = ui.ImageButton:new() + exitButton:setImage("LS_BACK_BUTTON") + exitButton.x = 0 + exitButton.y = screenHeight + exitButton.returnValue = "EDITOR_EXIT" + self:addChild(exitButton) + + local nextPage = ui.ImageButton:new() + nextPage:setImage("LS_BACK_BUTTON") + nextPage.scaleX = -1 + local w, _ = _G.res.getSpriteBounds("LS_BACK_BUTTON") + nextPage.x = screenWidth + nextPage.y = screenHeight + nextPage.returnValue = "EDITOR_MENU_WORLD" + nextPage.meta = { ep = g_episodeIds[1], page = 1 } + self:addChild(nextPage) +end + +EditorEpPage = ui.Frame:new() + +function EditorEpPage:new(e, p) + local o = {} + o.ep = e + o.page = p + return ui.Frame.new(self, o) +end + +function EditorEpPage:init() + + self.backgroundColour = { r = 0, g = 0, b = 0, a = 1 } + + local world = -1 + + local world_index = 1 + for i = 1, #g_episodeIds do + for j = 1, #g_episodes[g_episodeIds[i]].pages do + if i == self.ep and j == self.page then + world = world_index + end + world_index = world_index + 1 + end + end + + local exitButton = ui.ImageButton:new() + exitButton:setImage("LS_BACK_BUTTON") + exitButton.x = 0 + exitButton.y = screenHeight + exitButton.returnValue = "EDITOR_MENU" + self:addChild(exitButton) + + local nextPage = ui.ImageButton:new() + nextPage:setImage("LS_BACK_BUTTON") + nextPage.scaleX = -1 + local w, _ = _G.res.getSpriteBounds("LS_BACK_BUTTON") + nextPage.x = screenWidth + nextPage.y = screenHeight + local e = self.ep + local p = self.page + p = p + 1 + if p > #g_episodes[e].pages then + p = 1 + for i = 1, #g_episodeIds do + if e == g_episodeIds[i] then + if i < #g_episodeIds then + e = g_episodeIds[i + 1] + break + else + e = nil + end + end + end + end + + if e ~= nil then + nextPage.returnValue = "EDITOR_MENU_WORLD" + nextPage.meta = { ep = e, page = p } + else + nextPage.returnValue = "EDITOR_MENU_FOLDER" + nextPage.meta = 1 + end + self:addChild(nextPage) + + local bw, bh = _G.res.getSpriteBounds("LS_LEVEL_BG_NORMAL_OPEN_1") + + local epsCaption = ui.Text:new() + epsCaption.font = fontBasic + epsCaption.text = "World" + epsCaption.x = bw * 0.3 + epsCaption.y = bh * 0.3 + epsCaption.hanchor = "LEFT" + self:addChild(epsCaption) + + local epsCaption2 = ui.Text:new() + epsCaption2.font = "FONT_BIG_NUMBERS" + epsCaption2.text = "" .. g_episodes[self.ep].pages[self.page].display_number or "0" + epsCaption2.x = screenWidth * 0.11 + epsCaption2.y = bh * 0.3 + epsCaption2.hanchor = "LEFT" + self:addChild(epsCaption2) + + local ln = 1 + local pg = g_episodes[self.ep].pages[self.page] + local folder = pg.folder_name + if pg.layout == "grid" or pg.layout == "facebook" then + local rows + local cols + if pg.layout == "grid" then + cols = pg.layout_params.cols + rows = pg.layout_params.rows + else + cols = 3 + rows = 1 + end + local idx = 1 + for i = 1, rows do + for j = 1, cols do + local lvl = ui.ImageButton:new() + lvl.scaleX = 1 + lvl.scaleY = 1 + lvl.x = bw * j * 1.1 + lvl.y = bh * i * 1.1 + lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + local level_index = getLevelIndexInEpisode(pg.levels[ln].name) + if g_episodes[self.ep].per_page_level_numbering then + epNumber.text = "" .. ln + else + epNumber.text = "" .. level_index + end + + lvl.returnValue = "EDITOR_GOTO_LEVEL" + lvl.meta = + { + index = ln, + index_in_theme = level_index, + theme = self.ep, + world = world, + page = self.page, + level_name = pg.levels[ln].name, + level_folder = levelPath .. "/" .. folder .. "/", + editor_page = "pack", + } + + lvl:addChild(epNumber) + self:addChild(lvl) + ln = ln + 1 + end + end + elseif pg.layout == "goldeneggs" then + for k, v in _G.ipairs(pg.levels) do + local lvl = ui.ImageButton:new() + lvl.scaleX = 1 + lvl.scaleY = 1 + lvl.x = bw + v.x * bw * 1.1 * 7 + lvl.y = bh + v.y * bh * 1.1 * 3 + lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + local level_index = getLevelIndexInEpisode(v.name) + if g_episodes[self.ep].per_page_level_numbering then + epNumber.text = "" .. ln + else + epNumber.text = "" .. level_index + end + + lvl.returnValue = "EDITOR_GOTO_LEVEL" + lvl.meta = + { + index = k, + index_in_theme = level_index, + theme = self.ep, + world = world, + page = self.page, + level_name = v.name, + level_folder = levelPath .. "/" .. folder .. "/", + editor_page = "pack", + } + + lvl:addChild(epNumber) + self:addChild(lvl) + ln = ln + 1 + end + end +end + +EditorFolderPage = ui.Frame:new() + +function EditorFolderPage:new(f) + local o = {} + o.folder = f + return ui.Frame.new(self, o) +end + +function EditorFolderPage:init() + + self.backgroundColour = { r = 0, g = 0, b = 0, a = 1 } + + local exitButton = ui.ImageButton:new() + exitButton:setImage("LS_BACK_BUTTON") + exitButton.x = 0 + exitButton.y = screenHeight + exitButton.returnValue = "EDITOR_MENU" + self:addChild(exitButton) + + local nextPage = ui.ImageButton:new() + nextPage:setImage("LS_BACK_BUTTON") + nextPage.scaleX = -1 + local w, _ = _G.res.getSpriteBounds("LS_BACK_BUTTON") + nextPage.x = screenWidth + nextPage.y = screenHeight + if self.folder < g_editLevelPacks then + nextPage.returnValue = "EDITOR_MENU_FOLDER" + nextPage.meta = self.folder + 1 + else + nextPage.visible = false + end + self:addChild(nextPage) + + local bw, bh = _G.res.getSpriteBounds("LS_LEVEL_BG_NORMAL_OPEN_1") + + local epsCaption = ui.Text:new() + epsCaption.font = fontBasic + epsCaption.text = "folder \"pack" .. self.folder .. "\"" + epsCaption.x = bw * 0.3 + epsCaption.y = bh * 0.3 + epsCaption.hanchor = "LEFT" + self:addChild(epsCaption) + + local ln = (self.folder - 1) * g_levelsPerFolder + 1 + local idx = 1 + local rows = g_levelsPerFolder / g_levelsPerFolderRow + local cols = g_levelsPerFolderRow + for i = 1, rows do + for j = 1, cols do + local lvl = ui.ImageButton:new() + lvl.scaleX = 1 + lvl.scaleY = 1 + lvl.x = bw * j * 1.1 + lvl.y = bh * i * 1.1 + lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + epNumber.text = "" .. ln + lvl:addChild(epNumber) + self:addChild(lvl) + if ln >= 1000 then + epNumber.scaleX = 0.5 + epNumber.scaleY = 0.5 + elseif ln >= 100 then + epNumber.scaleX = 0.67 + epNumber.scaleY = 0.67 + end + + if checkForLuaFile(levelPath .. "/pack" .. self.folder .. "/Level" .. ln .. ".lua") then + --lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + else + --lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + lvl.alpha = 0.3 + end + + lvl.returnValue = "EDITOR_GOTO_LEVEL" + lvl.meta = + { + index = idx, + index_in_theme = idx, + theme = 1, + world = -1, + page = self.folder, + level_name = "Level" .. ln, + level_folder = levelPath .. "/pack" .. self.folder .. "/", + editor_page = "folder", + } + + ln = ln + 1 + idx = idx + 1 + end + end +end + +function editor_pointer_event(o, eventType, x, y) + local result, meta = ui.Frame.onPointerEvent(o, eventType, x, y) + + if result == "EDITOR_MENU_WORLD" then + menuManager:changeRoot(EditorEpPage:new(meta.ep, meta.page)) + elseif result == "EDITOR_EXIT" then + startedFromEditor = false + eventManager:notify({ id = events.EID_CHANGE_SCENE, target = "MAIN_MENU", from = "EPISODE_SELECTION" }) + elseif result == "EDITOR_MENU" then + menuManager:changeRoot(EditorPage:new()) + elseif result == "EDITOR_MENU_FOLDER" then + menuManager:changeRoot(EditorFolderPage:new(meta)) + elseif result == "EDITOR_GOTO_LEVEL" then + editLevel(meta.level_folder, meta.level_name, meta.index, meta.index_in_theme, meta.theme, meta.world, meta.page, meta.editor_page) + end + + if eventType == "BACK" then + if o.init == EditorPage.init then + startedFromEditor = false + eventManager:notify({ id = events.EID_CHANGE_SCENE, target = "MAIN_MENU", from = "EPISODE_SELECTION" }) + else + menuManager:changeRoot(EditorPage:new()) + end + end +end + +EditorPage.onPointerEvent = editor_pointer_event +EditorEpPage.onPointerEvent = editor_pointer_event +EditorFolderPage.onPointerEvent = editor_pointer_event + +function editLevel(folder, level, index, index_in_theme, theme, world, page, editor_page) + startedFromEditor = true + _G.res.stopAudio(currentMainMenuSong) + levelName = level + levelFolder = folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = index + currentLevelNumber = index_in_theme + currentThemeNumber = theme + currentWorldNumber = world + currentPageNumber = page + loadLevelInternal(folder .. level) + currentGameMode = updateEditor + + --local hud = ui.GameHud:new() + --menuManager:changeRoot(hud) + --hud.visible = false + menuManager:changeRoot(nil) + + g_editorPage = editor_page +end + +------------------- +--OverlayPage-class +------------------- + +OverlayPage = Page:new() + +function OverlayPage:init() + self:insertItem("shade", RectItem:new({alpha = 0.0})) + self:insertItem("kingText", TextItem:new({default = "Pigs popped: ", text = "Pigs popped: ", x = screenWidth / 2, y = screenHeight / 2, visible = false})) + self:insertItem("trainText", TextItem:new({default = "Carts wrecked: ", text = "Carts Wrecked: ", x = screenWidth / 2, y = screenHeight / 2, visible = false})) + self:insertItem("again", TextItem:new({text = "Try again", x = screenWidth / 2, y = (screenHeight / 2) + (50 / 320) * screenHeight, visible = false, + action = {[function(x) sm:changeScene(x) end] = "kingOfTheHill"}})) + self:insertItem("quit", TextItem:new({text = "Quit", x = screenWidth / 2, y = (screenHeight / 2) + (80 / 320) * screenHeight, visible = false, + action = {[function(x) sm:changeScene(x) end] = "mainMenu"}})) +end + +function OverlayPage:onEntry() + --print("\noverlay on entry") + self.items.shade.x1 = 0 + self.items.shade.x2 = screenWidth + self.items.shade.y1 = 0 + self.items.shade.y2 = screenHeight + +end + +function OverlayPage:update(dt, time) + if self.fadeIn == true then + self.fadeTime = self.fadeTime - dt + self.items.shade.alpha = self.items.shade.alpha + dt * self.fadeIncrement + if self.fadeTime < 0 then + self.fadeIn = false + self.items.shade.alpha = self.fadeTo + self.fadeTime = 0 + end + elseif self.fadeOut == true then + self.fadeTime = self.fadeTime - dt + self.items.shade.alpha = self.items.shade.alpha - dt * self.fadeIncrement + if self.fadeTime < 0 then + self.fadeOut = false + self.items.shade.alpha = self.fadeTo + self.fadeTime = 0 + end + end +end + +function OverlayPage:initTexts(score) + self.visible = true + self.items.kingText.text = self.items.kingText.default .. score + self.items.kingText.visible = true + self.items.again.visible = true + self.items.quit.visible = true + self:fade(0, 0.3, 1) +end + + +function OverlayPage:initTrainTexts(score) + self.visible = true + self.items.trainText.text = self.items.trainText.default .. score + self.items.trainText.visible = true + self.items.again.visible = true + self.items.quit.visible = true + self:fade(0, 0.3, 1) +end + +function OverlayPage:updatePositions() + self.items.shade.x2 = screenWidth + self.items.shade.y2 = screenHeight + self.items.kingText.x = screenWidth / 2 + self.items.kingText.y = screenHeight / 2 + self.items.trainText.x = screenWidth / 2 + self.items.trainText.y = screenHeight / 2 + self.items.again.x = screenWidth / 2 + self.items.again.y = screenHeight / 2 + (50 / 320) * screenHeight + self.items.quit.x = screenWidth / 2 + self.items.quit.y = screenHeight / 2 + (80 / 320) * screenHeight +end + +function OverlayPage:fade(from, to, time) + if from < to then + self.items.shade.alpha = from + self.fadeTo = to + self.fadeIncrement = (to - from)/ time + self.fadeTime = time + self.fadeIn = true + else + self.items.shade.alpha = from + self.fadeTo = to + self.fadeIncrement = (from - to)/ time + self.fadeTime = time + self.fadeOut = true + end +end + +EditorJointPage = Page:new() + +function EditorJointPage:init() + self.m_selectedAnchor = nil +end + +function EditorJointPage:onEntry() + + self:insertItem("shade", RectItem:new({alpha = 0.0, renderState = true})) + + self.jointTexts = { "Distance Joint", "Weld Joint", "Revolute Joint", "Prismatic Joint", "\"Destroy-attached\" -joint" } + self.motorTexts = { "Motor: disabled", "Motor: enabled" } + self.limitTexts = { "Limits: disabled", "Limits: enabled" } + self.backAndForthTexts = { "Back-and-forth: disabled", "Back-and-forth: enabled"} + self.xTexts = { "x: 0", "x: 1" } + self.yTexts = { "y: 0", "y: 1" } + self.collideTexts = { "Collide connected: disabled", "Collide connected: enabled" } + + setFont("FONT_BASIC") + local fl = _G.res.getFontLeading() + fl = fl * 1.5 + self:insertItem("name", TextItem:new({name = "name", text = "", visible = false, font = "FONT_BASIC", x = 0, y = (80 / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("type", TextItem:new({name = "type", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("motor", TextItem:new({name = "motor", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("motorSpeed", TextItem:new({name = "motorSpeed", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("maxTorque", TextItem:new({name = "maxTorque", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 4) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("limit", TextItem:new({name = "limit", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 5) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("lowerLimit", TextItem:new({name = "lowerLimit", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 6) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("upperLimit", TextItem:new({name = "upperLimit", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 7) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("backAndForth", TextItem:new({name = "backAndForth", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 8) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("ok", TextItem:new({name = "ok", text = "OK", visible = false, font = "FONT_BASIC", x = (40 / 480) * screenWidth, y = ((80 + fl * 4) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("x", TextItem:new({name = "x", text = "", visible = false, font = "FONT_BASIC", x = (10 / 480) * screenWidth, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("y", TextItem:new({name = "y", text = "", visible = false, font = "FONT_BASIC", x = (60 / 480) * screenWidth, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("frequency", TextItem:new({name = "frequency", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("damping", TextItem:new({name = "damping", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("collide", TextItem:new({name = "collide", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("destroyTimer", TextItem:new({name = "destroyTimer", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + self:insertItem("anchor1", TextItem:new({name = "anchors1", text = "Anchors 1", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 9) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("anchor2", TextItem:new({name = "anchors1", text = "Anchors 2", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 10) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + self:insertItem("anchorX1", TextItem:new({name = "anchorX1", text = "x:", visible = false, font = "FONT_BASIC", x = 100, y = ((80 + fl * 9) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("anchorY1", TextItem:new({name = "anchorY1", text = "y:", visible = false, font = "FONT_BASIC", x = 200, y = ((80 + fl * 9) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + self:insertItem("anchorX2", TextItem:new({name = "anchorX2", text = "x:", visible = false, font = "FONT_BASIC", x = 100, y = ((80 + fl * 10) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("anchorY2", TextItem:new({name = "anchorY2", text = "y:", visible = false, font = "FONT_BASIC", x = 200, y = ((80 + fl * 10) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + + self.selectedJoint = nil + for k, v in _G.pairs(objects.joints) do + self:addJoint(v.name) + end + self:updatePositions() + self:prepareTexts() +end + +function EditorJointPage:hideAllNonCommonItems() + + self.items.motor.visible = false + self.items.motorSpeed.visible = false + self.items.maxTorque.visible = false + self.items.limit.visible = false + self.items.lowerLimit.visible = false + self.items.upperLimit.visible = false + self.items.backAndForth.visible = false + + self.items.x.visible = false + self.items.y.visible = false + self.items.frequency.visible = false + self.items.damping.visible = false + self.items.collide.visible = false + self.items.destroyTimer.visible = false + + +end + +function EditorJointPage:onExit() + for i = 1, #self.items do + self:removeItem(self.items[i]) + end +end + +function EditorJointPage:addJoint(joint) + + self:insertItem(joint, SpriteItem:new({ sprite = "TRAIL_FLOWER_1",spriteIdle = "TRAIL_FLOWER_1", spriteClick="TRAIL_FLOWER_3", inWorld = true })) + self:insertItem(joint .. "_ANCHOR_1", SpriteItem:new({ sprite = "TRAIL_WHITE_1",spriteIdle = "TRAIL_WHITE_1", spriteClick="TRAIL_FLOWER_3", inWorld = true })) + self:insertItem(joint .. "_ANCHOR_2", SpriteItem:new({ sprite = "TRAIL_WHITE_1",spriteIdle = "TRAIL_WHITE_1", spriteClick="TRAIL_FLOWER_3", inWorld = true })) + +end + +function EditorJointPage:create_joint() + if editor.newJoint.type == 4 then + if self.items.x.text == self.xTexts[1] then + editor.newJoint.worldAxisX = 0 + else + editor.newJoint.worldAxisX = 1 + end + if self.items.y.text == self.yTexts[1] then + editor.newJoint.worldAxisY = 0 + else + editor.newJoint.worldAxisY = 1 + end + self.items.x.visible = false + self.items.y.visible = false + end + + --makes all anchors coordinates in object's local space + editor.newJoint.coordType = 2 + + createJoint(editor.newJoint) + self:addJoint(editor.newJoint.name) + selectedObjects = {} + self.selectedJoint = objects.joints[editor.newJoint.name] + --self.items[self.selectedJoint.name].sprite = "TRAIL_FLOWER_3" + self.items[self.selectedJoint.name].sprite = self.items[self.selectedJoint.name].spriteClick + editor.newJoint = nil + levelSaved = false + self.items.ok.visible = false + self:prepareTexts() +end + +function EditorJointPage:update(dt, time) + + self:updatePositions() + + if self.newJoint then + if not self.fadeIn and self.items.shade.alpha <= 0 then + OverlayPage.fade(self, 0, 0.5, 0.2) + self.fadeIn = true + end + -- self.items.ok.visible = true + self:prepareTexts() + self.newJoint = false + end + + local itm = self:checkClicks() + if itm and (self.selectedJoint or editor.newJoint) then + local joint = self.selectedJoint + -- toggle motor for revolute and prismatic joints + if itm.name == "motor" then + if joint.motor ~= nil then + setJointParameters({name = joint.name, motor = not joint.motor}) + if not joint.motor then + joint.backAndForth = false + end + self:prepareTexts() + levelSaved = false + end + -- toggle limits + elseif itm.name == "limit" then + if joint.limit ~= nil then + setJointParameters({name = joint.name, limit = not joint.limit}) + if not joint.limit then + joint.backAndForth = false + end + self:prepareTexts() + levelSaved = false + end + -- toggle back-and-forth + elseif itm.name == "backAndForth" then + if joint.motor ~= nil and joint.limit ~= nil then + joint.backAndForth = not joint.backAndForth + if joint.backAndForth then + self.items.backAndForth.text = self.backAndForthTexts[2] + else + self.items.backAndForth.text = self.backAndForthTexts[1] + end + levelSaved = false + end + elseif itm.name == "x" then + if itm.text == self.xTexts[1] then + itm.text = self.xTexts[2] + else + itm.text = self.xTexts[1] + end + elseif itm.name == "y" then + if itm.text == self.yTexts[1] then + itm.text = self.yTexts[2] + else + itm.text = self.yTexts[1] + end + elseif not joint and itm.name == "collide" then + editor.newJoint.collideConnected = not editor.newJoint.collideConnected + if itm.text == self.collideTexts[1] then + itm.text = self.collideTexts[2] + else + itm.text = self.collideTexts[1] + end + elseif itm.name == "type" and not joint and editor.newJoint then + editor.newJoint.type = editor.newJoint.type + 1 + if editor.newJoint.type == 6 then + editor.newJoint.type = 1 + end + if editor.newJoint.type == 4 then + self.items.x.visible = true + self.items.y.visible = true + self.items.x.text = self.xTexts[1] + self.items.y.text = self.yTexts[1] + else + self.items.x.visible = false + self.items.y.visible = false + end + if editor.newJoint.type == 5 then + self.items.collide.visible = false + else + self.items.collide.visible = true + end + self.items.type.text = self.jointTexts[editor.newJoint.type] + -- create new joint + elseif not joint and editor.newJoint and itm.name == "ok" then + self:create_joint() + end + end + + if keyPressed["RETURN"] then + if not self.selectedJoint and editor.newJoint then + self:create_joint() + elseif self.selectedJoint ~= nil then + self.disableSelectedJoint = true + end + end + + -- change joint parameters + if (keyHold["LBUTTON"] or keyHold["RBUTTON"] or (keyHold["CONTROL"] and cursor.wheel and cursor.wheelTriggered and (cursor.wheel == -1 or cursor.wheel == 1))) + and (self.selectedJoint or editor.newJoint) then + + local itms = self:getHoveredItems() + local offset = 1 + if keyHold["RBUTTON"] then + offset = -1 + end + if keyHold["CONTROL"] and cursor.wheel and (cursor.wheel == -1 or cursor.wheel == 1) and cursor.wheelTriggered then + offset = cursor.wheel + end + if itms then + if keyHold["SHIFT"] then + offset = offset * 10 + end + for k, v in _G.pairs(itms) do + if v == "motorSpeed" then + setJointParameters({name = self.selectedJoint.name, motorSpeed = self.selectedJoint.motorSpeed + offset / 10 })--+ cursor.wheel / 10}) + self.items.motorSpeed.text = "Speed: " .. self.selectedJoint.motorSpeed + levelSaved = false + elseif v == "maxTorque" then + setJointParameters({name = self.selectedJoint.name, maxTorque = self.selectedJoint.maxTorque + offset * 100})--cursor.wheel * 100}) + self.items.maxTorque.text = "MaxTorque: " .. self.selectedJoint.maxTorque + levelSaved = false + elseif v == "lowerLimit" then + local newLowLimit = _G.math.min(self.selectedJoint.lowerLimit + (offset / 360) * (_G.math.pi * 2), 0) + setJointParameters({name = self.selectedJoint.name, lowerLimit = newLowLimit }) + if self.selectedJoint.type == 3 then + self.items.lowerLimit.text = "Lower: " .. (self.selectedJoint.lowerLimit / (2 * _G.math.pi)) * 360 + elseif self.selectedJoint.type == 4 then + self.items.lowerLimit.text = "Lower: " .. self.selectedJoint.lowerLimit + end + levelSaved = false + elseif v == "upperLimit" then + local newHighLimit = _G.math.max(0, self.selectedJoint.upperLimit + (offset / 360) * (_G.math.pi * 2)) + setJointParameters({name = self.selectedJoint.name, upperLimit = newHighLimit}) + if self.selectedJoint.type == 3 then + self.items.upperLimit.text = "Upper: " .. (self.selectedJoint.upperLimit / (2 * _G.math.pi)) * 360 + elseif self.selectedJoint.type == 4 then + self.items.upperLimit.text = "Upper: " .. self.selectedJoint.upperLimit + end + levelSaved = false + elseif v == "frequency" then + setJointParameters({name = self.selectedJoint.name, frequency = self.selectedJoint.frequency + offset / 10 }) + self.items.frequency.text = "Frequency: " .. self.selectedJoint.frequency + levelSaved = false + elseif v == "damping" then + local newDamping = _G.math.max(0, _G.math.min(self.selectedJoint.dampingRatio + offset / 100, 1)) + setJointParameters({name = self.selectedJoint.name, dampingRatio = newDamping }) + self.items.damping.text = "Damping: " .. self.selectedJoint.dampingRatio + levelSaved = false + elseif v == "destroyTimer" then + self.selectedJoint.destroyTimer = _G.math.max(0, self.selectedJoint.destroyTimer + offset / 100) + self.items.destroyTimer.text = "Annihilation(!) timer: " .. self.selectedJoint.destroyTimer + levelSaved = false + elseif v == "anchorX1" then + self.selectedJoint.x1 = self.selectedJoint.x1 + (offset / 100) + self.items.anchorX1.text = "x: " .. roundNumber(self.selectedJoint.x1, 2) + levelSaved = false + elseif v == "anchorY1" then + self.selectedJoint.y1 = self.selectedJoint.y1 + (offset / 100) + self.items.anchorY1.text = "y: " .. roundNumber(self.selectedJoint.y1,2) + levelSaved = false + elseif v == "anchorX2" then + self.selectedJoint.x2 = self.selectedJoint.x2 + (offset / 100) + self.items.anchorX2.text = "x: " .. roundNumber(self.selectedJoint.x2,2) + levelSaved = false + elseif v == "anchorY2" then + self.selectedJoint.y2 = self.selectedJoint.y2 + (offset / 100) + self.items.anchorY2.text = "y: " .. roundNumber(self.selectedJoint.y2,2) + levelSaved = false + end + end + end + end + + if keyPressed["RBUTTON"] then + local t_clickedOnAJointElement = false + local t_clickedOnAnEditorItem = false + local t_jointSelectedBefore = self.selectedJoint ~= nil + + local t_items = self:getHoveredItems() + + if not t_items then + t_clickedOnAnEditorItem = false + else + t_clickedOnAnEditorItem = true + end + + --checks if the user has clicked any joint elements + for k, v in _G.pairs(objects.joints) do + + if (self.items[v.name] and self.items[v.name]:checkBounds(cursor.x, cursor.y)) or + (self.items[v.name .. "_ANCHOR_1"] and self.items[v.name .. "_ANCHOR_1"]:checkBounds(cursor.x, cursor.y)) or + (self.items[v.name .. "_ANCHOR_2"] and self.items[v.name .. "_ANCHOR_2"]:checkBounds(cursor.x, cursor.y)) then + + --brings the selected joint to the idle state + if self.selectedJoint then + self.items[self.selectedJoint.name .. "_ANCHOR_1"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_1"].spriteIdle + self.items[self.selectedJoint.name .. "_ANCHOR_2"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_2"].spriteIdle + self.items[self.selectedJoint.name].sprite = self.items[self.selectedJoint.name].spriteIdle + end + + selectedObjects = {} + + self.selectedJoint = v + + editor.newJoint = false + + t_clickedOnAJointElement = true + + --sets clicked joint with the click sprite + self.items[v.name].sprite = self.items[v.name].spriteClick + + --if an anchor was clicked, put also the click sprite + if self.items[v.name .. "_ANCHOR_1"]:checkBounds(cursor.x, cursor.y) then + self.items[v.name .. "_ANCHOR_1"].sprite = self.items[v.name .. "_ANCHOR_1"].spriteClick + self.items[v.name .. "_ANCHOR_2"].sprite = self.items[v.name .. "_ANCHOR_1"].spriteIdle + self.m_selectedAnchor = self.items[v.name .. "_ANCHOR_1"] + elseif self.items[v.name .. "_ANCHOR_2"]:checkBounds(cursor.x, cursor.y) then + self.items[v.name .. "_ANCHOR_2"].sprite = self.items[v.name .. "_ANCHOR_2"].spriteClick + self.items[v.name .. "_ANCHOR_1"].sprite = self.items[v.name .. "_ANCHOR_2"].spriteIdle + self.m_selectedAnchor = self.items[v.name .. "_ANCHOR_2"] + end + + + self:hideAllNonCommonItems() + self:prepareTexts() + + break + end + end + + if not editor.newJoint then + + --user has clicked outside the editing buttons or joints + if (not t_clickedOnAnEditorItem) and (not t_clickedOnAJointElement) then + --print("\nclick outside") + --there was a joint selected, wil disable this joint + if self.selectedJoint ~= nil then + self.disableSelectedJoint = true + end + end + + --new joint has been selected outside the editing page + if (t_clickedOnAJointElement) and not t_jointSelectedBefore then + OverlayPage.fade(self, 0, 0.5, 0.2) + self.fadeIn = true + end + + end + + end + + --moving joint anchors + if self.selectedJoint and self.m_selectedAnchor and keyHold["LBUTTON"] then + if self.items[self.selectedJoint.name .. "_ANCHOR_1"]:checkBounds(cursor.x, cursor.y) then + + local t_worldPosX = 0 + local t_worldPosY = 0 + + local t_localPosX = 0 + local t_localPosY = 0 + + t_worldPosX, t_worldPosY = screenToPhysicsTransform(cursor.x, cursor.y) + t_localPosX , t_localPosY = getLocalPoint(objects.joints[self.selectedJoint.name].end1, t_worldPosX, t_worldPosY); + + objects.joints[self.selectedJoint.name].x1 = t_localPosX + objects.joints[self.selectedJoint.name].y1 = t_localPosY + + self.items.anchorX1.text = "x: " .. roundNumber(t_localPosX, 2) + self.items.anchorY1.text = "y: " .. roundNumber(t_localPosY, 2) + + self:updatePositions() + + levelSaved = false + + elseif self.items[self.selectedJoint.name .. "_ANCHOR_2"]:checkBounds(cursor.x, cursor.y) then + local t_worldPosX = 0 + local t_worldPosY = 0 + + local t_localPosX = 0 + local t_localPosY = 0 + + t_worldPosX, t_worldPosY = screenToPhysicsTransform(cursor.x, cursor.y) + t_localPosX , t_localPosY = getLocalPoint(objects.joints[self.selectedJoint.name].end2, t_worldPosX, t_worldPosY); + + objects.joints[self.selectedJoint.name].x2 = t_localPosX + objects.joints[self.selectedJoint.name].y2 = t_localPosY + + self.items.anchorX2.text = "x: " .. roundNumber(t_localPosX, 2) + self.items.anchorY2.text = "y: " .. roundNumber(t_localPosY, 2) + + self:updatePositions() + + levelSaved = false + end + + end + + if keyPressed["DELETE"] and self.selectedJoint and not physicsEnabled then + self:removeItem(self.selectedJoint.name) + self:removeItem(self.selectedJoint.name .. "_ANCHOR_1") + self:removeItem(self.selectedJoint.name .. "_ANCHOR_2") + destroyJoint(self.selectedJoint.name) + self.selectedJoint = nil + self.disableSelectedJoint = true + end + + if self.disableSelectedJoint then + if self.selectedJoint then + --self.items[self.selectedJoint.name].sprite = "TRAIL_FLOWER_1" + self.items[self.selectedJoint.name].sprite = self.items[self.selectedJoint.name].spriteIdle + + + self.items[self.selectedJoint.name .. "_ANCHOR_1"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_1"].spriteIdle + self.items[self.selectedJoint.name .. "_ANCHOR_2"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_2"].spriteIdle + + self.m_selectedAnchor = nil + self.selectedJoint = nil + end + if not self.fadeOut and self.items.shade.alpha >= 0.5 then + self.fadeOut = true + OverlayPage.fade(self, 0.5, 0, 0.2) + end + editor.newJoint = nil + self:prepareTexts() + self.disableSelectedJoint = false + end + + + if self.fadeIn then + OverlayPage.update(self, dt) + if self.items.shade.alpha >= 0.5 then + self.fadeIn = false + end + elseif self.fadeOut then + OverlayPage.update(self, dt) + if self.items.shade.alpha <= 0 then + self.fadeOut = false + end + end + +end + +function EditorJointPage:setJointSelection() + + +end + +function EditorJointPage:prepareTexts() + + local joint = self.selectedJoint or editor.newJoint + + if joint then + self.items.name.text = "Name: " .. joint.name + self.items.type.text = self.jointTexts[joint.type] + if joint.collideConnected then + self.items.collide.text = self.collideTexts[2] + else + self.items.collide.text = self.collideTexts[1] + end + self.items.type.visible = true + self.items.name.visible = true + + if self.selectedJoint then + self.items.anchor1.visible = true + self.items.anchor2.visible = true + self.items.anchorX1.visible = true + self.items.anchorY1.visible = true + self.items.anchorX2.visible = true + self.items.anchorY2.visible = true + + + + self.items.anchorX1.text = "x: " .. roundNumber(joint.x1,2) + self.items.anchorY1.text = "y: " .. roundNumber(joint.y1, 2) + self.items.anchorX2.text = "x: " .. roundNumber(joint.x2,2) + self.items.anchorY2.text = "y: " .. roundNumber(joint.y2,2) + end + + + + if editor.newJoint and not self.selectedJoint then + self.items.ok.visible = true + if editor.newJoint.type ~= 5 then + self.items.collide.visible = true + end + return + else + self.items.ok.visible = false + self.items.collide.visible = false + end + if joint.type == 3 or joint.type == 4 then -- revolute and prismatic joint + + if joint.motor then + self.items.motor.text = self.motorTexts[2] + else + self.items.motor.text = self.motorTexts[1] + end + if joint.limit then + self.items.limit.text = self.limitTexts[2] + else + self.items.limit.text = self.limitTexts[1] + end + + if joint.backAndForth then + self.items.backAndForth.text = self.backAndForthTexts[2] + else + self.items.backAndForth.text = self.backAndForthTexts[1] + end + + self.items.motorSpeed.text = "Speed: " .. joint.motorSpeed + self.items.maxTorque.text = "MaxTorque: " .. joint.maxTorque + if joint.type == 3 then + self.items.lowerLimit.text = "Lower: " .. (joint.lowerLimit / (2 * _G.math.pi)) * 360 + self.items.upperLimit.text = "Upper: " .. (joint.upperLimit / (2 * _G.math.pi)) * 360 + else + self.items.lowerLimit.text = "Lower: " .. joint.lowerLimit + self.items.upperLimit.text = "Upper: " .. joint.upperLimit + end + + self.items.motor.visible = true + self.items.limit.visible = true + if joint.motor then + self.items.motorSpeed.visible = true + self.items.maxTorque.visible = true + else + self.items.motorSpeed.visible = false + self.items.maxTorque.visible = false + end + if joint.limit then + self.items.lowerLimit.visible = true + self.items.upperLimit.visible = true + else + self.items.lowerLimit.visible = false + self.items.upperLimit.visible = false + end + + if joint.motor and joint.limit then + self.items.backAndForth.visible = true + else + self.items.backAndForth.visible = false + end + elseif joint.type == 1 then + self.items.frequency.text = "Frequency: " .. joint.frequency + self.items.damping.text = "Damping: " .. joint.dampingRatio + self.items.frequency.visible = true + self.items.damping.visible = true + elseif joint.type == 5 then + self.items.destroyTimer.text = "Annihilation(!) timer: " .. joint.destroyTimer + self.items.destroyTimer.visible = true + self.items.collide.visible = false + end + elseif not joint then + self.items.name.visible = false + self.items.type.visible = false + self.items.motor.visible = false + self.items.motorSpeed.visible = false + self.items.maxTorque.visible = false + self.items.limit.visible = false + self.items.lowerLimit.visible = false + self.items.upperLimit.visible = false + self.items.backAndForth.visible = false + self.items.x.visible = false + self.items.y.visible = false + self.items.damping.visible = false + self.items.frequency.visible = false + self.items.ok.visible = false + self.items.collide.visible = false + self.items.destroyTimer.visible = false + + self.items.anchor1.visible = false + self.items.anchor2.visible = false + self.items.anchorX1.visible = false + self.items.anchorY1.visible = false + self.items.anchorX2.visible = false + self.items.anchorY2.visible = false + end + +end + + +function EditorJointPage:draw() + if editor.drawOneLayer then + return + end + + self.items["shade"]:draw() + + if self.selectedJoint or editor.newJoint then + local joint = self.selectedJoint or editor.newJoint + local obj1 = objects.world[joint.end1] + local obj2 = objects.world[joint.end2] + local xCoord, yCoord = physicsToWorldTransform(obj1.x, obj1.y) + setRenderState(-screen.left, -screen.top, worldScale, worldScale, obj1.angle, _G.res.getSpritePivot("", obj1.sprite)) + _G.res.drawSprite("", obj1.sprite, xCoord, yCoord) + setRenderState(-screen.left, -screen.top, worldScale, worldScale, obj2.angle, _G.res.getSpritePivot("", obj2.sprite)) + xCoord, yCoord = physicsToWorldTransform(obj2.x, obj2.y) + _G.res.drawSprite("", obj2.sprite, xCoord, yCoord) + setRenderState(0, 0, 1, 1, 0, 0, 0) + if self.selectedJoint then + drawJoint(editor, objects.joints[self.selectedJoint.name], "EDITOR_JOINT") + end + end + + for k, v in _G.pairs(self.order) do + if v ~= "shade" and self.items[v].sprite then + --self.items[v]:draw() + local xCoord, yCoord = self.items[v].x, self.items[v].y + local xs, ys = self.items[v].xs or 1, self.items[v].ys or 1 + local angle = self.items[v].angle or 0 + local px, py = self.items[v].pivotX or 0, self.items[v].pivotY or 0 + + setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + xCoord, yCoord = physicsToWorldTransform(xCoord, yCoord) + + _G.res.drawSprite(self.items[v].sheet, self.items[v].sprite, xCoord, yCoord) + setRenderState(0, 0, 1, 1, 0, 0, 0) + else + self.items[v]:draw() + end + end + + + +end + +function EditorJointPage:updatePositions() + + for k, v in _G.pairs(objects.joints) do + local joint = v + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local xCoord, yCoord = jointWorldX1 + (xdif / 2), jointWorldY1 + (ydif / 2) + self.items[joint.name].x = xCoord + self.items[joint.name].y = yCoord + + + self.items[joint.name .. "_ANCHOR_1"].x = jointWorldX1 + self.items[joint.name .. "_ANCHOR_1"].y = jointWorldY1 + + self.items[joint.name .. "_ANCHOR_2"].x = jointWorldX2 + self.items[joint.name .. "_ANCHOR_2"].y = jointWorldY2 + + + end + self.items.shade.x2 = screenWidth + self.items.shade.y2 = screenHeight + +end + + +filename = "editor.lua" diff --git a/Angry Birds Project R/0.2.0/data/editor/editor - Copy/editor.lua b/Angry Birds Project R/0.2.0/data/editor/editor - Copy/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..84f8850111d540a4f694920b75e266c517ff2b0f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/editor/editor - Copy/editor.lua differ diff --git a/Angry Birds Project R/0.2.0/data/editor/editor.lua b/Angry Birds Project R/0.2.0/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..84f8850111d540a4f694920b75e266c517ff2b0f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/editor/editor.lua differ diff --git a/Angry Birds Project R/0.2.0/data/editor/editor/editor.lua b/Angry Birds Project R/0.2.0/data/editor/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..84f8850111d540a4f694920b75e266c517ff2b0f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/editor/editor/editor.lua differ diff --git a/Angry Birds Project R/0.2.0/data/editor/scripts_common/gamelogic.lua b/Angry Birds Project R/0.2.0/data/editor/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..79fc677522f073065a837b1beb7a313ef7beb7d5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/editor/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..ff3bfcaafa73fce1afce14a858e5898b7053eb9a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a0f1cda44e11d116e723dcae3c2783bb25d85ea5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..38f5bc741ef8361ee646a11eae7428207f245410 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..c872a89a8f99fdc02ef4f6af2082262423dea92b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..2afab23baf9dbe0563477e3020cf3d68e40a4e02 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9c714b48867d240d2c5a7b003ea5c6ebf05d7ce0bb02a64a60f305bf873c7b +size 42897 diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/images/INGAME_BLOCKS_STATIC_1.dat b/Angry Birds Project R/0.2.0/data/images/INGAME_BLOCKS_STATIC_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..9bb53a474774087901baa0b28dbfaa7696fab080 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/INGAME_BLOCKS_STATIC_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/A1.png b/Angry Birds Project R/0.2.0/data/images/pc/A1.png new file mode 100644 index 0000000000000000000000000000000000000000..32a564c7aca36e76832f96a2ebad781710a5ee54 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/A1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:535352360f21c5395f54eda00f0e2986a7c4dec95d9e139f53fca847118ab430 +size 22702 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/0.2.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..93e95058b2c4fa8b075f22eb90f4896f145cdd07 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2bc905fe37058aed0f14291fd23bd90b5f4e2b097b33622c674894f9b001631 +size 172482 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/Angry Birds - Shortcut (2).lnk b/Angry Birds Project R/0.2.0/data/images/pc/Angry Birds - Shortcut (2).lnk new file mode 100644 index 0000000000000000000000000000000000000000..dd1ef6eb9fbdb3e00897824b6a4d0f2e5dcdc421 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/Angry Birds - Shortcut (2).lnk differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/Angry Birds - Shortcut.lnk b/Angry Birds Project R/0.2.0/data/images/pc/Angry Birds - Shortcut.lnk new file mode 100644 index 0000000000000000000000000000000000000000..dd1ef6eb9fbdb3e00897824b6a4d0f2e5dcdc421 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/Angry Birds - Shortcut.lnk differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_GE_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_GE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..2e787132f2aeda4502bd35bfddcdca594732c15e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_GE_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_GE_1.png b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_GE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..a63ee240d512b713b77df559d19229fff04ea137 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_GE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7490c8c2f9523b45c8f5f25263bdeef1de325670e045e1358f84c58b259edcf +size 314567 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc166ed4b0667007c7a221b495c10e59eac04e9f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.jpg b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e71f2dfb39b933a32016edec8d5a5eb521515426 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85efe9842578043c222c6943e6afc02c38c707c3fcebd5567174acdb91df979b +size 221797 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.png b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..02b42e457fdc949980179ccc7c1b8ef2e8efc713 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_LS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a27a28e6ffcf478b55b1960f97866cd7579a1a2dbeab81c35dcf07d60e1d84c0 +size 443675 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_MAIN_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_MAIN_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..538cc54e2d19b0d545fbba7a68893682e7f820d5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_MAIN_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_MAIN_1.png b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_MAIN_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8229f241c726b29450fd99ab98480678dbd0ad06 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BACKGROUNDS_MAIN_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151795aa964a14aec05cf46bf82e4f6f46d10c0a60072911699ef79b20e4ccec +size 212209 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..94ab3ff908cfe8a8d72bd354ed7c5b1b807a0458 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6c4cd07e942122c4ace337e25cc6d9c651c49f92 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..954003bea393fac44e95b53a79d9c2641af8eec2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..cc2f888002dabedd028057c7e99451247b9bc4e8 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f395697cf9df7f0f42fd89b24a71a2be745951925432792dd62c18e4e18f9e +size 533595 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_2.dat b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..945e93e40870787f8def90da1e873e24fe1392d3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_2.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_2.png b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..58a44ed17766ab54b1d476f0362f67d4ce09219d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/BUTTONS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c167a6c413dabd79a225be37d0ad75b7c6107c942cd6e53e685a74d92c84040 +size 823640 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/0.2.0/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_BG_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_BG_1.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..b2d101681e4afc0e6a50ab81d7c53b0fe1992fa4 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d2eb060dfc3b8b23c64351c68e52834baf90993efbc3a5cdf525e5583610320 +size 3229 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..fbc30b4058aebb176cdbf08657812ae95cd2521a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26dbd31aef891ed0abcec3bae1ef3f5a99d040905211ab9cc3f94f779f2a3508 +size 93259 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ddb67e4656c60f456acfda7c963c4dbb63ee9f1c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a881b143366d693d4441b8d1c7aa5e8a2861341d7b3ec6170711ca5229b40bb9 +size 197403 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_END.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..796a59610bf9f362aaf6869b288e3461e4c02027 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_END.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_END.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..e074f44e905d2ee402c50f60bdd7690e97acc18f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06fa48572ddea14ce4b6b9d361a3b54af0c543093b1db9fd85ed82b69de3d97f +size 94337 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..772a607c037a8b5102f21bec12ef3ce642db1117 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cc5b2970191b0ca81366ae1a805b4a49573ee1ff --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa4fa3b67ad3d83cab2aa4a3abcab955750f8d61f270fdea90dd9d00fd7cc06a +size 195212 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_2.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..35ad39c8ea2f27a18348ad7ef87f45645907cfa9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_2.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_2.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_2.png new file mode 100644 index 0000000000000000000000000000000000000000..34f470725350f46563d8d7d1e1967241665f64ee --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84c9926df6e9d223949c52906d232d1d762823dd5ba38f1125cb01b1eb84abdf +size 147709 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..4416bea846c8ff17e609c0d77b792095f30f5619 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..f8ab6b07144c973f0c23227ddf2a2ed477f21143 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:181a44259bc49af7bed228df0458014f65b661e83ba271dca58e53317c9068f2 +size 122013 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..84ebccd0eabf50e5811fe6503c8a47d2d265cc98 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cb94f3a9f80c6e524c705115ae67f14e124bf65e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f0512e34356e77c573026dfd531fbdb498bf88f7ef7b8f21ec1f64219c40e65 +size 77988 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..78f26cd5f6c336242d161aef6668fa94cfa65c7c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..711f182668dd21f4f619191b139fe5fea3aeea02 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f53c05db143dcba9a27100e5587af6e6d9e9a594da097e10ad77ea3e7bc693fc +size 239524 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..c07f5eee210ee7bbe3311f69fa1121200dfecfea Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..89764f65fa0e6258e5975c663150ee27be840f2e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9531ebf6d9f0277e617df1f41b21c3344a1724314e61d0e3b66a7ed4dcf91875 +size 176305 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..33f63ff149a7df327adf8f76111ba66709098995 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..715cc8c3557b3c5d3a6514c8a3416b3d7256cb04 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03f4a6abaec9ba14f4b64a6abd019b0b21a507f68873538611f053362b9794d +size 236897 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_7_END.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_7_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc853f4e5c89393da8cb974180b7b421a6e4bb1d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_7_END.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_7_END.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_7_END.png new file mode 100644 index 0000000000000000000000000000000000000000..331b0e317a57542921d1a84dd69f7d9b9eac2901 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_7_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37a51ec64f6665d4cc03dc5e35cc51e1ab50fa3af8bc396d8f08acc6843b615f +size 106804 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a935ced06d0d5d74779e7033d603b5501917790 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..c5ece888559e20078586e695fafc03f22f5415bf --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be264bd07c26c580d8c4da8b671592b226c55eee119daf6945c072d8b733fe06 +size 103828 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BG.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BG.dat new file mode 100644 index 0000000000000000000000000000000000000000..e8b71ae3e7a74f30c7bc0f7f1ad9e6721f8fa2be Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BG.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BG.png b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BG.png new file mode 100644 index 0000000000000000000000000000000000000000..497aac633352303b9fc89f28b012194687eb0a17 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_8_BG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe30ff37883de7b98e9b7bff1641ac6fdbf6d2c614035f74cd5589a828805e90 +size 267411 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_GREEN.dat b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_GREEN.dat new file mode 100644 index 0000000000000000000000000000000000000000..19cb78f18f6a41b8cfd92f8eab0754ff03054765 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_GREEN.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr new file mode 100644 index 0000000000000000000000000000000000000000..34630f2df24ebbe544f0a1bb5d36cf236305975f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:326704b4a4c61a03fd606f47da26e48444a7d83e9b1185cf108db4ffb2d394b7 +size 1547122 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.dat b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.dat new file mode 100644 index 0000000000000000000000000000000000000000..aada6ee6ab2380b53bc24447c64dec8e5d649c79 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.mdp b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.mdp new file mode 100644 index 0000000000000000000000000000000000000000..5a67630eae7459c3af6096ad0878831593a8ca5e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.mdp differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.png b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.png new file mode 100644 index 0000000000000000000000000000000000000000..7af7d762e74461f0bfd3a7ff6e5d284973ff82fa --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE0DECOR_RIGHT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09c13d09d8c8186a44a8b8615c9753e49b2b621be295092cd1dc23d0f4e20ed3 +size 50007 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODE1DECOR_RIGHT.dat b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE1DECOR_RIGHT.dat new file mode 100644 index 0000000000000000000000000000000000000000..26873a85edeaef706d42ea099f3c92f351126b9f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE1DECOR_RIGHT.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODE1DECOR_RIGHT.png b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE1DECOR_RIGHT.png new file mode 100644 index 0000000000000000000000000000000000000000..4130f8df071dc8b6c7c31fc010bf63a71f12d2fe --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/EPISODE1DECOR_RIGHT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9495cb519c8ad8d10caaae79f03058de55cabb5d2fb8a0c780c895d2dd4d55e6 +size 15072 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES1.dat b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a8c5954ecc9eb9dbeea4181ba0c5c221918b76fa Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES1.png b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..f7700f33166d36ec14c80d95322fd6f3315f6592 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3bc3535ad6e15a7bc3ee3b077ed60b664db2feb00a44c6794763b4b6c687f5f +size 278937 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_PROMO.dat b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_PROMO.dat new file mode 100644 index 0000000000000000000000000000000000000000..42ba5bbcce054e12404f43a0545c0827f904eaab Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_PROMO.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_PROMO.png b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_PROMO.png new file mode 100644 index 0000000000000000000000000000000000000000..35b1acc2c082a6a875676068690a7e26407d082b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_PROMO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d20ede3a3898f2cf151c4bf32a5af955a7e06d2f914ade42a24362240b542c6 +size 604754 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_SUMMERMADNESS.dat b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_SUMMERMADNESS.dat new file mode 100644 index 0000000000000000000000000000000000000000..99772fb5b6bf6618fc2026ce7b33188b45a4b89e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_SUMMERMADNESS.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_SUMMERMADNESS.png b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_SUMMERMADNESS.png new file mode 100644 index 0000000000000000000000000000000000000000..25c6f25cbe8c3eb2bf86c767811102b2cf73736c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_SUMMERMADNESS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e428305158018269129ac2e04bbe843a4ba506b74804317d4ba10519c76c2e1b +size 202750 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_WIP.dat b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_WIP.dat new file mode 100644 index 0000000000000000000000000000000000000000..78cd0761e0004e28c6e9ef392b25dde068bb9f42 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_WIP.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_WIP.png b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_WIP.png new file mode 100644 index 0000000000000000000000000000000000000000..b9956b28f69a950c53a9e2d470ce3ead730fe6f1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/EPISODES_WIP.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:826fb5538fa7c879c815149631dd05dfdd3693615a08f9340cff4f03f050da62 +size 234990 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat new file mode 100644 index 0000000000000000000000000000000000000000..e66efcb2398664cd38b336679b035c1ec53b0499 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png new file mode 100644 index 0000000000000000000000000000000000000000..afb247d6304a69689e94dfc194c4c8e8b978f569 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417c778e23c21f132106e8555de1e201e35b9016d2473897ae3d0fd471ff38a7 +size 41978 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e21af0f0894473012cd7a01e1aeac20765733571 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..389f975deb60dc545ef0a114141f4d3b59e09d01 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..1864ee06c8bebe1400773ab60b02975e70e41945 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a4c4dd4693d969d26d273f89284a12f085cea1cc34985d8cc48fbe43e6c94ad +size 446162 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..0272c99635b9e7a7201c6307bf957a28ec7b32d6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..f371fccc2421abffd20d997b03ecc47ce0f2eab4 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57edc45894ebdbafd74904a09641c34986926c68112aa66ecbe933ffb3216c2 +size 240993 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat b/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..c1677e756494c6d1035d8a8e48c8a45e43e467fe Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2c132c7e650c4c890523ec05aeed8f3ca6b3bdd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr b/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..a8e4a32b7b0956a9289fe9b77063aefa4af16db0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..adbcd2d17333d2c7b3944a5334b6debe1b5b7a5f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.png b/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..1bea63c71f0be24ec3d7ac3367e2f24f6f8c0c1a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4965eb9b5dfbcbdc49315645a96522d114879fac9db4751a094eccb2a4bc58e +size 195696 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.pvr b/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..73d8a21f2b6070846811c2fd313c86d380803ae9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/HUD_INGAME_1.pvr differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGGIES_1.png b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGGIES_1.png new file mode 100644 index 0000000000000000000000000000000000000000..118b84722f6cd9d91bf48cd0440fdb7557820aad --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGGIES_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:724f4165e88155459bd1816a4772fda7eaafafffe9f275c6dc84e72d73ac1c91 +size 414061 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGS.dat b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGS.dat new file mode 100644 index 0000000000000000000000000000000000000000..86c70949ad6ca2a3e4e4fd90e3818e7058864fd4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGS.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGS.png b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGS.png new file mode 100644 index 0000000000000000000000000000000000000000..8fb77bb4780c30c9759cb17275900c17bee37c0c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BAD_PIGS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b417d26d6c0208aab8d6a43d53588ab60a0a8c0ee18bd66f63f621df6040cb39 +size 304778 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1 (2).png b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1 (2).png new file mode 100644 index 0000000000000000000000000000000000000000..a14856efcfb52d5d590d57d01618a52e86d7b31e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1 (2).png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfdaff3da84b30db6b1d4d39ec68b87bbc7830bcc23e5620f385115bfe8d0118 +size 633227 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..bbe1966f124057fc521f0047b4c06557a489b524 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1.png b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..a14856efcfb52d5d590d57d01618a52e86d7b31e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfdaff3da84b30db6b1d4d39ec68b87bbc7830bcc23e5620f385115bfe8d0118 +size 633227 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_2.dat b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..dab476e09d6bbef1a2b6956c8993a1bdf5d61bf4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_2.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_2.png b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..ce36202532599fec36b363b475b4d43e080a7872 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BIRDS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44746f2f2373f8e9244da636a8e3f68d801ed9d15fbc6db0e42e0ba89f247eed +size 175317 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BLOCKS_1.dat b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f09c29637550ed97b6c07073a6d818f325c7f45c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BLOCKS_1.png b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BLOCKS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..22b1a2df10581b21e8270024a6985b7e3922fd3d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/INGAME_BLOCKS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff2cf95dc37ecb0f673873becdedd892f445dd051b799d52fa5a042e7f8c9fca +size 494815 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/allpiggiesgo.lua b/Angry Birds Project R/0.2.0/data/images/pc/allpiggiesgo.lua new file mode 100644 index 0000000000000000000000000000000000000000..f61d783a8bfeb5c96d635f7dfcfdc0c1f527033b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/allpiggiesgo.lua differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/desktop.ini b/Angry Birds Project R/0.2.0/data/images/pc/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..ef6e722c586292c2ea2ce657731d490e428619d9 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/desktop.ini @@ -0,0 +1,2 @@ +[LocalizedFileNames] +INGAME_BIRDS_1.png=@INGAME_BIRDS_1,0 diff --git a/Angry Birds Project R/0.2.0/data/images/pc/fatpig_enemy.dat b/Angry Birds Project R/0.2.0/data/images/pc/fatpig_enemy.dat new file mode 100644 index 0000000000000000000000000000000000000000..55c504722a733aae3519822df9b1629d92994262 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/images/pc/fatpig_enemy.dat differ diff --git a/Angry Birds Project R/0.2.0/data/images/pc/fatpig_enemy.png b/Angry Birds Project R/0.2.0/data/images/pc/fatpig_enemy.png new file mode 100644 index 0000000000000000000000000000000000000000..21506c1f4fc2e3b4bc0947a2d4ff3135da9b287e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/images/pc/fatpig_enemy.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae6a8af6c46595999d6e20d4932fb7012e792772bf958ed76a836853a7182957 +size 543249 diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_1.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..13a1774b992003c296db7bc274e40c10eccc6989 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_1.lua @@ -0,0 +1,2194 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1181.81, + ["bottom"] = 60.8805, + ["screenWidth"] = 480, + ["py"] = -388.347, + ["left"] = 507.969, + ["right"] = 1855.65, + ["top"] = -837.574, + ["iphone"] = { + ["bottom"] = 116.63, + ["screenWidth"] = 1680, + ["py"] = -537.152, + ["screenHeight"] = 1024, + ["top"] = -1190.93, + ["sy"] = 0.783136, + ["sx"] = 0.783136, + ["px"] = 1248.23, + ["left"] = 175.619, + ["right"] = 2320.84, + + }, + ["version"] = "0.02", + ["sx"] = 0.356167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["sy"] = 0.356167, + ["ipad"] = { + ["bottom"] = 244.585, + ["screenWidth"] = 1024, + ["py"] = -541.712, + ["screenHeight"] = 768, + ["top"] = -1328.01, + ["sy"] = 0.488365, + ["sx"] = 0.488365, + ["right"] = 2262.19, + ["left"] = 165.394, + ["px"] = 1213.79, + + }, + ["screenHeight"] = 320, + +} +levelParticles = { + ["y"] = -2868.98, + ["x"] = 1115.78, + ["firstFrame"] = true, + ["width"] = 10350.5, + +} +joints = { + ["LightBlock3_2LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_2LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["LargePiglette_6ExtraHelmetBig_2"] = { + ["type"] = 1, + ["end2"] = "ExtraHelmetBig_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_6ExtraHelmetBig_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LargePiglette_6", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["BLOCK_GREEN_OILCANISTER_2LargePiglette_5"] = { + ["type"] = 1, + ["end2"] = "LargePiglette_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BLOCK_GREEN_OILCANISTER_2LargePiglette_5", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "BLOCK_GREEN_OILCANISTER_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["SmallPiglette_12StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_12StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "SmallPiglette_12", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StaticBlockTheme02_03_9StoneBlock7_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock7_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme02_03_9StoneBlock7_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticBlockTheme02_03_9", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["BUSH_2_1"] = { + ["y"] = -56.41, + ["x"] = -57.3183, + ["name"] = "BUSH_2_1", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_4"] = { + ["y"] = -64.5609, + ["x"] = -91.9942, + ["name"] = "BUSH_3_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_15"] = { + ["y"] = -21.7208, + ["x"] = -125.322, + ["name"] = "WoodBlock2_15", + ["angle"] = 1.57114, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme04_05_7"] = { + ["y"] = -2.11828, + ["x"] = -65.3678, + ["name"] = "StaticBlockTheme04_05_7", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -51.6674, + ["x"] = -25.3859, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_9"] = { + ["y"] = -30.8771, + ["x"] = -118.955, + ["name"] = "StaticBlockTheme02_03_9", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -51.6674, + ["x"] = -25.5906, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -14.7189, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["SmallPiglette_13"] = { + ["y"] = -49.4732, + ["x"] = -18.54, + ["name"] = "SmallPiglette_13", + ["angle"] = 0.000213146, + ["definition"] = "SmallPiglette", + + }, + ["BUSH_2_13"] = { + ["y"] = -47.292, + ["x"] = -89.991, + ["name"] = "BUSH_2_13", + ["angle"] = 1.5708, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -57.7762, + ["x"] = -110.155, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_26"] = { + ["y"] = -49.088, + ["x"] = -83.4979, + ["name"] = "BUSH_2_26", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_124"] = { + ["y"] = -40.8443, + ["x"] = -57.7714, + ["name"] = "StaticBlockTheme04_01_124", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -61.7739, + ["x"] = -19.673, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_12"] = { + ["y"] = -40.6007, + ["x"] = -13.2665, + ["name"] = "SmallPiglette_12", + ["angle"] = 0.000160217, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock11_2"] = { + ["y"] = -6.25128, + ["x"] = -5.67314, + ["name"] = "LightBlock11_2", + ["angle"] = 0.000213146, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -36.5148, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_26"] = { + ["y"] = -5.53363, + ["x"] = -126.794, + ["name"] = "LightBlock4_26", + ["angle"] = 4.71269, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_12"] = { + ["y"] = -34.444, + ["x"] = -83.2216, + ["name"] = "BUSH_2_12", + ["angle"] = 0.785401, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_8"] = { + ["y"] = -46.8776, + ["x"] = -47.6477, + ["name"] = "BUSH_2_8", + ["angle"] = 4.71239, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_21"] = { + ["y"] = -61.0466, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_21", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_30"] = { + ["y"] = -40.5917, + ["x"] = -55.8677, + ["name"] = "BUSH_2_30", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["SmallPiglette_14"] = { + ["y"] = -5.47155, + ["x"] = -8.76922, + ["name"] = "SmallPiglette_14", + ["angle"] = 0.000230789, + ["definition"] = "SmallPiglette", + + }, + ["SmallPiglette_15"] = { + ["y"] = -13.4934, + ["x"] = -125.255, + ["name"] = "SmallPiglette_15", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme04_01_111"] = { + ["y"] = -47.6549, + ["x"] = -76.8933, + ["name"] = "StaticBlockTheme04_01_111", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_2"] = { + ["y"] = -1.83298, + ["x"] = -11.8097, + ["name"] = "ExtraTire01_2", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme04_01_120"] = { + ["y"] = -51.1475, + ["x"] = -60.5655, + ["name"] = "StaticBlockTheme04_01_120", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_5"] = { + ["y"] = -39.8644, + ["x"] = -23.3304, + ["name"] = "WoodBlock5_5", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -8.73298, + ["x"] = -105.158, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 4.31976, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock5_3"] = { + ["y"] = -36.0188, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_3", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -53.9607, + ["x"] = -108.974, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 1.17821, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_17"] = { + ["y"] = -66.7022, + ["x"] = -73.0675, + ["name"] = "BUSH_2_17", + ["angle"] = 3.5343, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_2"] = { + ["y"] = -56.0241, + ["x"] = -55.9109, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock6_9"] = { + ["y"] = -38.3098, + ["x"] = -11.1392, + ["name"] = "LightBlock6_9", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock6", + + }, + ["BUSH_2_19"] = { + ["y"] = -65.597, + ["x"] = -64.5021, + ["name"] = "BUSH_2_19", + ["angle"] = 3.53428, + ["definition"] = "BUSH_2", + + }, + ["LightBlock4_23"] = { + ["y"] = -33.2369, + ["x"] = -7.45724, + ["name"] = "LightBlock4_23", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["ExtraBlockTNT_42"] = { + ["y"] = -52.9745, + ["x"] = -113.631, + ["name"] = "ExtraBlockTNT_42", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LargePiglette_6"] = { + ["y"] = -2.40008, + ["x"] = -20.6456, + ["name"] = "LargePiglette_6", + ["angle"] = 0.000230789, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_01_118"] = { + ["y"] = -51.1475, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_01_118", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -3.90921, + ["x"] = -103.08, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -44.5804, + ["x"] = -64.934, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.820282, + ["x"] = -34.4186, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 2.74899, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock12_3"] = { + ["y"] = -50.455, + ["x"] = -15.349, + ["name"] = "WoodBlock12_3", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["Estrade02_3"] = { + ["y"] = -1.1706, + ["x"] = -129.891, + ["name"] = "Estrade02_3", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme04_03_22"] = { + ["y"] = -30.7574, + ["x"] = -63.2722, + ["name"] = "StaticBlockTheme04_03_22", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_10"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_10", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -36.6348, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_49"] = { + ["y"] = -36.0327, + ["x"] = -84.534, + ["name"] = "BUSH_2_49", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock4_6"] = { + ["y"] = -3.01348, + ["x"] = -125.386, + ["name"] = "WoodBlock4_6", + ["angle"] = 0.000283718, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_02_20"] = { + ["y"] = -60.1381, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_20", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_115"] = { + ["y"] = -48.6153, + ["x"] = -72.1783, + ["name"] = "StaticBlockTheme04_01_115", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_41"] = { + ["y"] = -48.7426, + ["x"] = -73.7582, + ["name"] = "BUSH_2_41", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_25"] = { + ["y"] = -62.4098, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_25", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_6"] = { + ["y"] = -55.0975, + ["x"] = -81.2875, + ["name"] = "BUSH_2_6", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -3.46394, + ["x"] = -105.825, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_1_4"] = { + ["y"] = -31.4046, + ["x"] = -59.9431, + ["name"] = "BUSH_1_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_1", + + }, + ["BoomerangBird_4"] = { + ["y"] = -56.4694, + ["x"] = -72.757, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -42.3976, + ["x"] = -73.4035, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_1"] = { + ["y"] = -1.58752, + ["x"] = -5.9186, + ["name"] = "ExtraTire01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["Estrade02_1"] = { + ["y"] = 0.569902, + ["x"] = -112.896, + ["name"] = "Estrade02_1", + ["angle"] = 0.392931, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -3.2413, + ["x"] = -106.419, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_123"] = { + ["y"] = -42.2414, + ["x"] = -61.0894, + ["name"] = "StaticBlockTheme04_01_123", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_110"] = { + ["y"] = -45.2974, + ["x"] = -73.3134, + ["name"] = "StaticBlockTheme04_01_110", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_117"] = { + ["y"] = -47.6549, + ["x"] = -69.7335, + ["name"] = "StaticBlockTheme04_01_117", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_3"] = { + ["y"] = -40.0391, + ["x"] = -84.6031, + ["name"] = "BUSH_2_3", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock6_10"] = { + ["y"] = -15.7676, + ["x"] = -123.382, + ["name"] = "WoodBlock6_10", + ["angle"] = 1.5711, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_21"] = { + ["y"] = -31.6823, + ["x"] = -21.9395, + ["name"] = "LightBlock4_21", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_9"] = { + ["y"] = -43.1372, + ["x"] = -19.2394, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.00017786, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -38.0319, + ["x"] = -26.6029, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_7"] = { + ["y"] = -53.9923, + ["x"] = -50.6179, + ["name"] = "BUSH_2_7", + ["angle"] = 4.31969, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_8"] = { + ["y"] = -2.03097, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_8", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_23"] = { + ["y"] = -61.4105, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_23", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -58.5943, + ["x"] = -22.3075, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_1"] = { + ["y"] = -42.8146, + ["x"] = -57.0331, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -48.0004, + ["x"] = -18.4582, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["BUSH_2_33"] = { + ["y"] = -54.1305, + ["x"] = -56.7657, + ["name"] = "BUSH_2_33", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_112"] = { + ["y"] = -50.0124, + ["x"] = -80.3859, + ["name"] = "StaticBlockTheme04_01_112", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_22"] = { + ["y"] = -62.5915, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_22", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_31"] = { + ["y"] = -42.3186, + ["x"] = -52.0685, + ["name"] = "BUSH_2_31", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_23"] = { + ["y"] = -37.2761, + ["x"] = -74.1036, + ["name"] = "BUSH_2_23", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -0.45155, + ["x"] = -28.1503, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_8"] = { + ["y"] = -35.8551, + ["x"] = -9.42094, + ["name"] = "WoodBlock10_8", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_4"] = { + ["y"] = -33.0733, + ["x"] = -5.00263, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000160217, + ["definition"] = "MediumPiglette", + + }, + ["BoomerangBird_6"] = { + ["y"] = -41.0917, + ["x"] = -84.2067, + ["name"] = "BoomerangBird_6", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -5.78267, + ["x"] = -29.6399, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.35624, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_1"] = { + ["y"] = -36.7552, + ["x"] = -9.33912, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock4", + + }, + ["Estrade02_2"] = { + ["y"] = -1.1706, + ["x"] = -120.984, + ["name"] = "Estrade02_2", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_03_10"] = { + ["y"] = -29.5233, + ["x"] = -118.967, + ["name"] = "StaticBlockTheme02_03_10", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_03_8"] = { + ["y"] = -5.90242, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_8", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_22"] = { + ["y"] = -33.3187, + ["x"] = -12.0392, + ["name"] = "LightBlock4_22", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -1.10732, + ["x"] = -35.651, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_15"] = { + ["y"] = -59.7947, + ["x"] = -86.8826, + ["name"] = "BUSH_2_15", + ["angle"] = 2.3562, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_18"] = { + ["y"] = -61.0466, + ["x"] = -124.962, + ["name"] = "StaticBlockTheme02_02_18", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -50.3364, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_11"] = { + ["y"] = -29.0691, + ["x"] = -14.5855, + ["name"] = "StaticBlockTheme02_03_11", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_20"] = { + ["y"] = -49.3643, + ["x"] = -78.6626, + ["name"] = "BUSH_2_20", + ["angle"] = 2.35617, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_24"] = { + ["y"] = -36.8616, + ["x"] = -78.3172, + ["name"] = "BUSH_2_24", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_125"] = { + ["y"] = -38.0503, + ["x"] = -55.0647, + ["name"] = "StaticBlockTheme04_01_125", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_116"] = { + ["y"] = -52.8064, + ["x"] = -72.9642, + ["name"] = "StaticBlockTheme04_01_116", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -50.234, + ["x"] = -107.189, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_15"] = { + ["y"] = 0.172443, + ["x"] = -103.302, + ["name"] = "StaticBlockTheme02_02_15", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_16"] = { + ["y"] = -65.0444, + ["x"] = -81.2184, + ["name"] = "BUSH_2_16", + ["angle"] = 3.1416, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_9"] = { + ["y"] = -2.11828, + ["x"] = -69.5589, + ["name"] = "StaticBlockTheme04_05_9", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BLOCK_GREEN_OILCANISTER_2"] = { + ["y"] = -1.50569, + ["x"] = 2.26369, + ["name"] = "BLOCK_GREEN_OILCANISTER_2", + ["angle"] = 0.000213146, + ["definition"] = "BLOCK_GREEN_OILCANISTER", + + }, + ["MediumPiglette_5"] = { + ["y"] = -45.5458, + ["x"] = -19.6037, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.000195503, + ["definition"] = "MediumPiglette", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -4.36941, + ["x"] = -0.272988, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraHelmetBig", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -36.837, + ["x"] = -79.8702, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_9"] = { + ["y"] = -11.1523, + ["x"] = -125.322, + ["name"] = "WoodBlock6_9", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock6_10"] = { + ["y"] = -32.162, + ["x"] = -130.883, + ["name"] = "LightBlock6_10", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock6", + + }, + ["LightBlock4_25"] = { + ["y"] = -5.53363, + ["x"] = -123.851, + ["name"] = "LightBlock4_25", + ["angle"] = 1.57108, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_28"] = { + ["y"] = -46.1868, + ["x"] = -77.2811, + ["name"] = "BUSH_2_28", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -59.4119, + ["x"] = -23.3068, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock12_1"] = { + ["y"] = -50.455, + ["x"] = -21.731, + ["name"] = "WoodBlock12_1", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["ExtraBlockTNT_36"] = { + ["y"] = -36.8175, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_36", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -0.421252, + ["x"] = -99.4432, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LargePiglette_5"] = { + ["y"] = -2.16026, + ["x"] = -0.272748, + ["name"] = "LargePiglette_5", + ["angle"] = 0.000213146, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_02_17"] = { + ["y"] = -60.1381, + ["x"] = -125.144, + ["name"] = "StaticBlockTheme02_02_17", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = -12.3133, + ["x"] = -25.1872, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_24"] = { + ["y"] = -61.4105, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_24", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock6_7"] = { + ["y"] = -6.60385, + ["x"] = -128.733, + ["name"] = "WoodBlock6_7", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -1.63101, + ["x"] = -91.3878, + ["name"] = "WoodBlock10_4", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = 0.080072, + ["x"] = -38.4711, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_35"] = { + ["y"] = -59.3112, + ["x"] = -60.703, + ["name"] = "BUSH_2_35", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_5"] = { + ["y"] = -57.0631, + ["x"] = -65.4842, + ["name"] = "BoomerangBird_5", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -8.08323, + ["x"] = -28.5267, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock4_8"] = { + ["y"] = -8.1423, + ["x"] = -125.322, + ["name"] = "WoodBlock4_8", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -56.5097, + ["x"] = -16.0854, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -1.3118, + ["x"] = -102.486, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_9"] = { + ["y"] = -41.0752, + ["x"] = -47.5786, + ["name"] = "BUSH_2_9", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -41.1735, + ["x"] = -17.4393, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.00017786, + ["definition"] = "ExtraDonut01", + + }, + ["BUSH_1_3"] = { + ["y"] = -34.3058, + ["x"] = -58.0781, + ["name"] = "BUSH_1_3", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_02_16"] = { + ["y"] = 0.988773, + ["x"] = -103.525, + ["name"] = "StaticBlockTheme02_02_16", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_121"] = { + ["y"] = -53.1557, + ["x"] = -57.8588, + ["name"] = "StaticBlockTheme04_01_121", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_8"] = { + ["y"] = -6.67074, + ["x"] = -121.978, + ["name"] = "WoodBlock6_8", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["BUSH_3_1"] = { + ["y"] = -25.8095, + ["x"] = -59.2524, + ["name"] = "BUSH_3_1", + ["angle"] = 5.89049, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_13"] = { + ["y"] = -3.32063, + ["x"] = -117.196, + ["name"] = "WoodBlock2_13", + ["angle"] = 4.71267, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -37.5734, + ["x"] = -82.8976, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 3.92718, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_18"] = { + ["y"] = -61.1762, + ["x"] = -57.042, + ["name"] = "BUSH_2_18", + ["angle"] = 3.92699, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_48"] = { + ["y"] = -32.7862, + ["x"] = -87.4352, + ["name"] = "BUSH_2_48", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -59.2297, + ["x"] = -114.152, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_27"] = { + ["y"] = -60.7617, + ["x"] = -80.8039, + ["name"] = "BUSH_2_27", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock2_14"] = { + ["y"] = -11.955, + ["x"] = -125.322, + ["name"] = "WoodBlock2_14", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock9_1"] = { + ["y"] = -40.6826, + ["x"] = -13.2665, + ["name"] = "StoneBlock9_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -39.2916, + ["x"] = -76.3519, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -60.6837, + ["x"] = -19.4004, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_3"] = { + ["y"] = -57.0631, + ["x"] = -82.7013, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["BUSH_2_46"] = { + ["y"] = -52.8181, + ["x"] = -62.9134, + ["name"] = "BUSH_2_46", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -5.6903, + ["x"] = -104.564, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 4.31977, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_4"] = { + ["y"] = -46.0487, + ["x"] = -67.6796, + ["name"] = "BUSH_2_4", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_1_5"] = { + ["y"] = -47.7755, + ["x"] = -57.9399, + ["name"] = "BUSH_1_5", + ["angle"] = 5.49776, + ["definition"] = "BUSH_1", + + }, + ["WoodBlock10_7"] = { + ["y"] = -37.3279, + ["x"] = -19.403, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.000142574, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -4.65133, + ["x"] = -102.709, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 0.785472, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -0.866525, + ["x"] = -103.154, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_14"] = { + ["y"] = -53.3707, + ["x"] = -89.093, + ["name"] = "BUSH_2_14", + ["angle"] = 1.9635, + ["definition"] = "BUSH_2", + + }, + ["ExtraBlockTNT_38"] = { + ["y"] = -40.1036, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_38", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraBlockTNT_39"] = { + ["y"] = -43.2529, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_39", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock4_2"] = { + ["y"] = -8.95255, + ["x"] = -8.8716, + ["name"] = "StoneBlock4_2", + ["angle"] = 0.000230789, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_6"] = { + ["y"] = -1.5568, + ["x"] = -43.6696, + ["name"] = "WoodBlock10_6", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock10", + + }, + ["BUSH_2_39"] = { + ["y"] = -60.0019, + ["x"] = -72.7912, + ["name"] = "BUSH_2_39", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_2"] = { + ["y"] = -36.4472, + ["x"] = -52.8974, + ["name"] = "BUSH_2_2", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -0.643887, + ["x"] = -97.959, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 3.53437, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_05_10"] = { + ["y"] = -10.5878, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_3"] = { + ["y"] = -2.44735, + ["x"] = -82.0371, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.89047, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_12"] = { + ["y"] = -30.3409, + ["x"] = -14.6764, + ["name"] = "StaticBlockTheme02_03_12", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock10_2"] = { + ["y"] = -3.85737, + ["x"] = -76.6196, + ["name"] = "WoodBlock10_2", + ["angle"] = 5.49777, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_9"] = { + ["y"] = -20.3161, + ["x"] = -125.322, + ["name"] = "WoodBlock4_9", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -39.7781, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_6"] = { + ["y"] = -44.6457, + ["x"] = -15.5127, + ["name"] = "WoodBlock5_6", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -27.1175, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock8_5"] = { + ["y"] = -34.7636, + ["x"] = -132.663, + ["name"] = "WoodBlock8_5", + ["angle"] = 0.00035429, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -37.9906, + ["x"] = -25.2614, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock5_1"] = { + ["y"] = -45.7094, + ["x"] = -22.5492, + ["name"] = "LightBlock5_1", + ["angle"] = 1.571, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -14.8935, + ["x"] = -26.6902, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["ExtraBlockTNT_34"] = { + ["y"] = -32.9096, + ["x"] = -9.83004, + ["name"] = "ExtraBlockTNT_34", + ["angle"] = 0.000142574, + ["definition"] = "ExtraBlockTNT", + + }, + ["BUSH_2_22"] = { + ["y"] = -50.8839, + ["x"] = -86.1918, + ["name"] = "BUSH_2_22", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_47"] = { + ["y"] = -39.9009, + ["x"] = -63.3969, + ["name"] = "BUSH_2_47", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_19"] = { + ["y"] = -60.1381, + ["x"] = -124.781, + ["name"] = "StaticBlockTheme02_02_19", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -55.0513, + ["x"] = -24.4878, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock11_3"] = { + ["y"] = -6.41493, + ["x"] = -11.8915, + ["name"] = "LightBlock11_3", + ["angle"] = 4.71262, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme04_01_114"] = { + ["y"] = -53.5049, + ["x"] = -82.6561, + ["name"] = "StaticBlockTheme04_01_114", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -1.63254, + ["x"] = -29.6946, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_1"] = { + ["y"] = -52.9914, + ["x"] = -18.7036, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock11_1"] = { + ["y"] = -40.7644, + ["x"] = -9.09366, + ["name"] = "LightBlock11_1", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock11", + + }, + ["StoneBlock7_2"] = { + ["y"] = -51.8792, + ["x"] = -119.108, + ["name"] = "StoneBlock7_2", + ["angle"] = 0.00035429, + ["definition"] = "StoneBlock7", + + }, + ["ExtraHelmetBig_2"] = { + ["y"] = -4.75487, + ["x"] = -20.6456, + ["name"] = "ExtraHelmetBig_2", + ["angle"] = 0.000230789, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_11"] = { + ["y"] = -15.7676, + ["x"] = -127.262, + ["name"] = "WoodBlock6_11", + ["angle"] = 1.57112, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -60.229, + ["x"] = -113.788, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_35"] = { + ["y"] = -1.58102, + ["x"] = -16.1408, + ["name"] = "ExtraBlockTNT_35", + ["angle"] = 0.000230789, + ["definition"] = "ExtraBlockTNT", + + }, + ["Estrade02_4"] = { + ["y"] = 0.467517, + ["x"] = -138.082, + ["name"] = "Estrade02_4", + ["angle"] = 5.89075, + ["definition"] = "Estrade02", + + }, + ["WoodBlock10_5"] = { + ["y"] = -2.22471, + ["x"] = -52.7234, + ["name"] = "WoodBlock10_5", + ["angle"] = 0.392705, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -60.1381, + ["x"] = -118.422, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_1"] = { + ["y"] = -3.85737, + ["x"] = -58.3635, + ["name"] = "WoodBlock10_1", + ["angle"] = 0.78537, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -34.3646, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -4.35789, + ["x"] = -27.6052, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -49.1407, + ["x"] = -119.108, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 0.00035429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_12"] = { + ["y"] = -3.62778, + ["x"] = -133.474, + ["name"] = "WoodBlock2_12", + ["angle"] = 1.57107, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -54.4149, + ["x"] = -107.883, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 4.31979, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -0.179016, + ["x"] = -31.6932, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["BUSH_2_40"] = { + ["y"] = -50.1932, + ["x"] = -76.1759, + ["name"] = "BUSH_2_40", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_122"] = { + ["y"] = -54.0288, + ["x"] = -60.8274, + ["name"] = "StaticBlockTheme04_01_122", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock4_27"] = { + ["y"] = -33.1205, + ["x"] = -132.8, + ["name"] = "LightBlock4_27", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_11"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_11", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_21"] = { + ["y"] = -60.6236, + ["x"] = -83.0834, + ["name"] = "BUSH_2_21", + ["angle"] = 2.74887, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_44"] = { + ["y"] = -47.3611, + ["x"] = -65.1929, + ["name"] = "BUSH_2_44", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_119"] = { + ["y"] = -53.8542, + ["x"] = -66.2409, + ["name"] = "StaticBlockTheme04_01_119", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_34"] = { + ["y"] = -50.6076, + ["x"] = -53.381, + ["name"] = "BUSH_2_34", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["LargePiglette_7"] = { + ["y"] = -34.079, + ["x"] = -117.465, + ["name"] = "LargePiglette_7", + ["angle"] = 0.00035429, + ["definition"] = "LargePiglette", + + }, + ["BUSH_2_5"] = { + ["y"] = -54.1996, + ["x"] = -67.1961, + ["name"] = "BUSH_2_5", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock5_7"] = { + ["y"] = -46.6094, + ["x"] = -15.5945, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock3_2"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock3_2", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock3", + + }, + ["ExtraBlockTNT_41"] = { + ["y"] = -49.6884, + ["x"] = -112.535, + ["name"] = "ExtraBlockTNT_41", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme04_01_109"] = { + ["y"] = -46.6944, + ["x"] = -62.3118, + ["name"] = "StaticBlockTheme04_01_109", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_38"] = { + ["y"] = -60.5545, + ["x"] = -76.0377, + ["name"] = "BUSH_2_38", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_42"] = { + ["y"] = -47.7065, + ["x"] = -71.4788, + ["name"] = "BUSH_2_42", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -57.0494, + ["x"] = -110.7, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -19.0846, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BUSH_2_32"] = { + ["y"] = -49.3643, + ["x"] = -51.8613, + ["name"] = "BUSH_2_32", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_43"] = { + ["y"] = -46.2559, + ["x"] = -69.0611, + ["name"] = "BUSH_2_43", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_45"] = { + ["y"] = -50.055, + ["x"] = -62.8443, + ["name"] = "BUSH_2_45", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_37"] = { + ["y"] = -61.1762, + ["x"] = -70.7189, + ["name"] = "BUSH_2_37", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_2"] = { + ["y"] = -33.2697, + ["x"] = -83.8433, + ["name"] = "BUSH_3_2", + ["angle"] = 1.5708, + ["definition"] = "BUSH_3", + + }, + ["BUSH_2_29"] = { + ["y"] = -39.9009, + ["x"] = -60.0122, + ["name"] = "BUSH_2_29", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock5_4"] = { + ["y"] = -38.7189, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_4", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["BUSH_1_2"] = { + ["y"] = -43.1475, + ["x"] = -87.7115, + ["name"] = "BUSH_1_2", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["BUSH_2_36"] = { + ["y"] = -60.2782, + ["x"] = -65.4692, + ["name"] = "BUSH_2_36", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_03_21"] = { + ["y"] = -30.8447, + ["x"] = -71.4798, + ["name"] = "StaticBlockTheme04_03_21", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LargePiglette_3"] = { + ["y"] = -34.546, + ["x"] = -22.0213, + ["name"] = "LargePiglette_3", + ["angle"] = 0.000142574, + ["definition"] = "LargePiglette", + + }, + ["BUSH_1_1"] = { + ["y"] = -28.9179, + ["x"] = -71.3406, + ["name"] = "BUSH_1_1", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_4"] = { + ["y"] = -39.9462, + ["x"] = -20.4667, + ["name"] = "WoodBlock5_4", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -66.7762, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["BUSH_2_25"] = { + ["y"] = -40.7989, + ["x"] = -81.9091, + ["name"] = "BUSH_2_25", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock10_3"] = { + ["y"] = -3.96031, + ["x"] = -8.78232, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock9_1"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock9_1", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -55.8689, + ["x"] = -25.7596, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_37"] = { + ["y"] = -33.5313, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_37", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_24"] = { + ["y"] = -42.2371, + ["x"] = -21.7758, + ["name"] = "LightBlock4_24", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock4", + + }, + ["BUSH_3_3"] = { + ["y"] = -61.7979, + ["x"] = -50.2726, + ["name"] = "BUSH_3_3", + ["angle"] = 5.10508, + ["definition"] = "BUSH_3", + + }, + ["ExtraBlockTNT_40"] = { + ["y"] = -46.5391, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_40", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 5, + ["StoneBlock6"] = 1, + ["StaticBlockTheme03_01"] = 1, + ["ExtraDonut01"] = 1, + ["LightBlock3"] = 2, + ["LightBlock11"] = 3, + ["StoneBlock3"] = 1, + ["RedBird"] = 5, + ["ExtraTire01"] = 3, + ["StaticBlockTheme04_02"] = 63, + ["StaticBlockTheme03_02"] = 4, + ["ExtraStrongBall"] = 1, + ["LargePiglette"] = 7, + ["ExtraPoleRed"] = 1, + ["LightBlock9"] = 1, + ["SmallBlueBird"] = 2, + ["ExtraHelmetBig"] = 2, + ["StaticBlockTheme03_03"] = 4, + ["StoneBlock9"] = 1, + ["LightBlock6"] = 10, + ["StaticBlockTheme02_01"] = 26, + ["StoneBlock8"] = 25, + ["StoneBlock5"] = 4, + ["BUSH_1"] = 5, + ["LightBlock1"] = 9, + ["LightBlock10"] = 4, + ["ExtraPoleYellow"] = 1, + ["LightBlock4"] = 27, + ["ExtraBlockFlag01"] = 1, + ["MediumPiglette"] = 5, + ["LightBlock5"] = 1, + ["StaticBlockTheme03_05"] = 11, + ["StaticBlockTheme02_04"] = 5, + ["ExtraBlockTNT"] = 42, + ["YellowBird"] = 3, + ["ExtraTire03"] = 3, + ["WoodBlock2"] = 15, + ["StoneBlock1"] = 3, + ["HelmetPiglette"] = 1, + ["StaticBlockTheme04_04"] = 18, + ["BUSH_3"] = 4, + ["WoodBlock3"] = 4, + ["LightBlock8"] = 2, + ["BUSH_4"] = 1, + ["StoneBlock7"] = 2, + ["GrandpaPiglette"] = 3, + ["StoneBlock10"] = 3, + ["StaticBlockTheme04_05"] = 10, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme03_04"] = 7, + ["StoneBlock4"] = 2, + ["WoodBlock4"] = 9, + ["StaticBlockTheme04_01"] = 125, + ["BUSH_2"] = 49, + ["StaticBlockTheme02_03"] = 12, + ["StaticBlockTheme02_05"] = 4, + ["StaticBlockTheme02_02"] = 25, + ["HandsomePiglette"] = 1, + ["Estrade02"] = 4, + ["WoodBlock10"] = 9, + ["LightBlock2"] = 3, + ["BLOCK_GREEN_OILCANISTER"] = 2, + ["WoodBlock6"] = 11, + ["SmallPiglette"] = 15, + ["ExtraHelmetBoss"] = 1, + ["WoodBlock5"] = 7, + ["StaticBlockTheme04_03"] = 22, + ["BoomerangBird"] = 6, + ["WoodBlock12"] = 3, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -505.521, + ["py"] = -292.17, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = -452.138, + ["screenWidth"] = 1680, + ["py"] = -251.34, + ["screenHeight"] = 1024, + ["top"] = -620.738, + ["sy"] = 1.38604, + ["sx"] = 1.38604, + ["right"] = 1387.71, + ["left"] = -2535.7, + ["px"] = -1929.66, + + }, + ["sy"] = 0.456167, + ["sx"] = 0.456167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = -124.936, + ["screenWidth"] = 1024, + ["py"] = -396.08, + ["screenHeight"] = 768, + ["top"] = -997.617, + ["sy"] = 0.638365, + ["sx"] = 0.638365, + ["right"] = 1769.49, + ["left"] = -2455.31, + ["px"] = -1653.26, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_10.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..94f56243dc02fc5f213e74e627814dfda3c6cef1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_10.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_11.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f6f285e635b7a3eeb0729c6c1e1768375082139 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_11.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_14.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b90eb098420b93d6e9618b0e728c239795772c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_14.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_15.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b68b48154384c410929ce79c46d4acda46f1997 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_15.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_16.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..13d91a2bcfbda04bd45099797530858bcb3c37bd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_16.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_17.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..98bbbcd31f3f42f584dfe342b80ff4e8b6ef542a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_17.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_18.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..458fc11afd83647d34170c76ef3c082478298ef1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_18.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_19.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..915fc92374b1ec9e5982fb65bcc057493e7272eb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_19.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_2.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..199eef07f76dfe46e76ff9fb2d7dc9dfb9fab74f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_2.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_20.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..381a3e4cc3f3f5aceaaed8dc00ec2f615d1a01b8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_20.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_21.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..e9def31f751ae21321b4cafefb69857ea79fdd0e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_21.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_22.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..7a5434a1dc71c513437aa72c60507c857e302e58 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_22.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_23.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..210ea7b59f9465001de9964f3b33078fc414991e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_23.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_24.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..7cf2e021a990765279eca7dcc325f1d0e0e3781a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_24.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_3.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6680d5e5f7405ff2a016316e5189321e02b8eaa Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_3.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_4.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..a7354f81271b76c7af96949bd5fe999fb6f7066b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_4.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_5.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..448351eb5e108bda697b1bc5d5ab20246a69751d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_5.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_6.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef6e89ecaccd87a6f0c32b835e94b7745e761092 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_6.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_7.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..11dd8a0d46b6d13f4b091d8171782e471404db64 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_7.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_8.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..9397db67513c3d730908b1da71635e637368749b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_8.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_9.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..68e181146001ae9cce6ae86de96e6c7ee3f64735 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/LevelGE_9.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/temp/LevelGE_1.temp.lua b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/temp/LevelGE_1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..13a1774b992003c296db7bc274e40c10eccc6989 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/goldeneggs1/temp/LevelGE_1.temp.lua @@ -0,0 +1,2194 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1181.81, + ["bottom"] = 60.8805, + ["screenWidth"] = 480, + ["py"] = -388.347, + ["left"] = 507.969, + ["right"] = 1855.65, + ["top"] = -837.574, + ["iphone"] = { + ["bottom"] = 116.63, + ["screenWidth"] = 1680, + ["py"] = -537.152, + ["screenHeight"] = 1024, + ["top"] = -1190.93, + ["sy"] = 0.783136, + ["sx"] = 0.783136, + ["px"] = 1248.23, + ["left"] = 175.619, + ["right"] = 2320.84, + + }, + ["version"] = "0.02", + ["sx"] = 0.356167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["sy"] = 0.356167, + ["ipad"] = { + ["bottom"] = 244.585, + ["screenWidth"] = 1024, + ["py"] = -541.712, + ["screenHeight"] = 768, + ["top"] = -1328.01, + ["sy"] = 0.488365, + ["sx"] = 0.488365, + ["right"] = 2262.19, + ["left"] = 165.394, + ["px"] = 1213.79, + + }, + ["screenHeight"] = 320, + +} +levelParticles = { + ["y"] = -2868.98, + ["x"] = 1115.78, + ["firstFrame"] = true, + ["width"] = 10350.5, + +} +joints = { + ["LightBlock3_2LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_2LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["LargePiglette_6ExtraHelmetBig_2"] = { + ["type"] = 1, + ["end2"] = "ExtraHelmetBig_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_6ExtraHelmetBig_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LargePiglette_6", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["BLOCK_GREEN_OILCANISTER_2LargePiglette_5"] = { + ["type"] = 1, + ["end2"] = "LargePiglette_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BLOCK_GREEN_OILCANISTER_2LargePiglette_5", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "BLOCK_GREEN_OILCANISTER_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["SmallPiglette_12StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_12StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "SmallPiglette_12", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StaticBlockTheme02_03_9StoneBlock7_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock7_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme02_03_9StoneBlock7_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticBlockTheme02_03_9", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["BUSH_2_1"] = { + ["y"] = -56.41, + ["x"] = -57.3183, + ["name"] = "BUSH_2_1", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_4"] = { + ["y"] = -64.5609, + ["x"] = -91.9942, + ["name"] = "BUSH_3_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_15"] = { + ["y"] = -21.7208, + ["x"] = -125.322, + ["name"] = "WoodBlock2_15", + ["angle"] = 1.57114, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme04_05_7"] = { + ["y"] = -2.11828, + ["x"] = -65.3678, + ["name"] = "StaticBlockTheme04_05_7", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -51.6674, + ["x"] = -25.3859, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_9"] = { + ["y"] = -30.8771, + ["x"] = -118.955, + ["name"] = "StaticBlockTheme02_03_9", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -51.6674, + ["x"] = -25.5906, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -14.7189, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["SmallPiglette_13"] = { + ["y"] = -49.4732, + ["x"] = -18.54, + ["name"] = "SmallPiglette_13", + ["angle"] = 0.000213146, + ["definition"] = "SmallPiglette", + + }, + ["BUSH_2_13"] = { + ["y"] = -47.292, + ["x"] = -89.991, + ["name"] = "BUSH_2_13", + ["angle"] = 1.5708, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -57.7762, + ["x"] = -110.155, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_26"] = { + ["y"] = -49.088, + ["x"] = -83.4979, + ["name"] = "BUSH_2_26", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_124"] = { + ["y"] = -40.8443, + ["x"] = -57.7714, + ["name"] = "StaticBlockTheme04_01_124", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -61.7739, + ["x"] = -19.673, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_12"] = { + ["y"] = -40.6007, + ["x"] = -13.2665, + ["name"] = "SmallPiglette_12", + ["angle"] = 0.000160217, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock11_2"] = { + ["y"] = -6.25128, + ["x"] = -5.67314, + ["name"] = "LightBlock11_2", + ["angle"] = 0.000213146, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -36.5148, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_26"] = { + ["y"] = -5.53363, + ["x"] = -126.794, + ["name"] = "LightBlock4_26", + ["angle"] = 4.71269, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_12"] = { + ["y"] = -34.444, + ["x"] = -83.2216, + ["name"] = "BUSH_2_12", + ["angle"] = 0.785401, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_8"] = { + ["y"] = -46.8776, + ["x"] = -47.6477, + ["name"] = "BUSH_2_8", + ["angle"] = 4.71239, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_21"] = { + ["y"] = -61.0466, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_21", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_30"] = { + ["y"] = -40.5917, + ["x"] = -55.8677, + ["name"] = "BUSH_2_30", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["SmallPiglette_14"] = { + ["y"] = -5.47155, + ["x"] = -8.76922, + ["name"] = "SmallPiglette_14", + ["angle"] = 0.000230789, + ["definition"] = "SmallPiglette", + + }, + ["SmallPiglette_15"] = { + ["y"] = -13.4934, + ["x"] = -125.255, + ["name"] = "SmallPiglette_15", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme04_01_111"] = { + ["y"] = -47.6549, + ["x"] = -76.8933, + ["name"] = "StaticBlockTheme04_01_111", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_2"] = { + ["y"] = -1.83298, + ["x"] = -11.8097, + ["name"] = "ExtraTire01_2", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme04_01_120"] = { + ["y"] = -51.1475, + ["x"] = -60.5655, + ["name"] = "StaticBlockTheme04_01_120", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_5"] = { + ["y"] = -39.8644, + ["x"] = -23.3304, + ["name"] = "WoodBlock5_5", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -8.73298, + ["x"] = -105.158, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 4.31976, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock5_3"] = { + ["y"] = -36.0188, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_3", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -53.9607, + ["x"] = -108.974, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 1.17821, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_17"] = { + ["y"] = -66.7022, + ["x"] = -73.0675, + ["name"] = "BUSH_2_17", + ["angle"] = 3.5343, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_2"] = { + ["y"] = -56.0241, + ["x"] = -55.9109, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock6_9"] = { + ["y"] = -38.3098, + ["x"] = -11.1392, + ["name"] = "LightBlock6_9", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock6", + + }, + ["BUSH_2_19"] = { + ["y"] = -65.597, + ["x"] = -64.5021, + ["name"] = "BUSH_2_19", + ["angle"] = 3.53428, + ["definition"] = "BUSH_2", + + }, + ["LightBlock4_23"] = { + ["y"] = -33.2369, + ["x"] = -7.45724, + ["name"] = "LightBlock4_23", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["ExtraBlockTNT_42"] = { + ["y"] = -52.9745, + ["x"] = -113.631, + ["name"] = "ExtraBlockTNT_42", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LargePiglette_6"] = { + ["y"] = -2.40008, + ["x"] = -20.6456, + ["name"] = "LargePiglette_6", + ["angle"] = 0.000230789, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_01_118"] = { + ["y"] = -51.1475, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_01_118", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -3.90921, + ["x"] = -103.08, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -44.5804, + ["x"] = -64.934, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.820282, + ["x"] = -34.4186, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 2.74899, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock12_3"] = { + ["y"] = -50.455, + ["x"] = -15.349, + ["name"] = "WoodBlock12_3", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["Estrade02_3"] = { + ["y"] = -1.1706, + ["x"] = -129.891, + ["name"] = "Estrade02_3", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme04_03_22"] = { + ["y"] = -30.7574, + ["x"] = -63.2722, + ["name"] = "StaticBlockTheme04_03_22", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_10"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_10", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -36.6348, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_49"] = { + ["y"] = -36.0327, + ["x"] = -84.534, + ["name"] = "BUSH_2_49", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock4_6"] = { + ["y"] = -3.01348, + ["x"] = -125.386, + ["name"] = "WoodBlock4_6", + ["angle"] = 0.000283718, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_02_20"] = { + ["y"] = -60.1381, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_20", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_115"] = { + ["y"] = -48.6153, + ["x"] = -72.1783, + ["name"] = "StaticBlockTheme04_01_115", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_41"] = { + ["y"] = -48.7426, + ["x"] = -73.7582, + ["name"] = "BUSH_2_41", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_25"] = { + ["y"] = -62.4098, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_25", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_6"] = { + ["y"] = -55.0975, + ["x"] = -81.2875, + ["name"] = "BUSH_2_6", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -3.46394, + ["x"] = -105.825, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_1_4"] = { + ["y"] = -31.4046, + ["x"] = -59.9431, + ["name"] = "BUSH_1_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_1", + + }, + ["BoomerangBird_4"] = { + ["y"] = -56.4694, + ["x"] = -72.757, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -42.3976, + ["x"] = -73.4035, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_1"] = { + ["y"] = -1.58752, + ["x"] = -5.9186, + ["name"] = "ExtraTire01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["Estrade02_1"] = { + ["y"] = 0.569902, + ["x"] = -112.896, + ["name"] = "Estrade02_1", + ["angle"] = 0.392931, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -3.2413, + ["x"] = -106.419, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_123"] = { + ["y"] = -42.2414, + ["x"] = -61.0894, + ["name"] = "StaticBlockTheme04_01_123", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_110"] = { + ["y"] = -45.2974, + ["x"] = -73.3134, + ["name"] = "StaticBlockTheme04_01_110", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_117"] = { + ["y"] = -47.6549, + ["x"] = -69.7335, + ["name"] = "StaticBlockTheme04_01_117", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_3"] = { + ["y"] = -40.0391, + ["x"] = -84.6031, + ["name"] = "BUSH_2_3", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock6_10"] = { + ["y"] = -15.7676, + ["x"] = -123.382, + ["name"] = "WoodBlock6_10", + ["angle"] = 1.5711, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_21"] = { + ["y"] = -31.6823, + ["x"] = -21.9395, + ["name"] = "LightBlock4_21", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_9"] = { + ["y"] = -43.1372, + ["x"] = -19.2394, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.00017786, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -38.0319, + ["x"] = -26.6029, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_7"] = { + ["y"] = -53.9923, + ["x"] = -50.6179, + ["name"] = "BUSH_2_7", + ["angle"] = 4.31969, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_8"] = { + ["y"] = -2.03097, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_8", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_23"] = { + ["y"] = -61.4105, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_23", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -58.5943, + ["x"] = -22.3075, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_1"] = { + ["y"] = -42.8146, + ["x"] = -57.0331, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -48.0004, + ["x"] = -18.4582, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["BUSH_2_33"] = { + ["y"] = -54.1305, + ["x"] = -56.7657, + ["name"] = "BUSH_2_33", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_112"] = { + ["y"] = -50.0124, + ["x"] = -80.3859, + ["name"] = "StaticBlockTheme04_01_112", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_22"] = { + ["y"] = -62.5915, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_22", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_31"] = { + ["y"] = -42.3186, + ["x"] = -52.0685, + ["name"] = "BUSH_2_31", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_23"] = { + ["y"] = -37.2761, + ["x"] = -74.1036, + ["name"] = "BUSH_2_23", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -0.45155, + ["x"] = -28.1503, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_8"] = { + ["y"] = -35.8551, + ["x"] = -9.42094, + ["name"] = "WoodBlock10_8", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_4"] = { + ["y"] = -33.0733, + ["x"] = -5.00263, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000160217, + ["definition"] = "MediumPiglette", + + }, + ["BoomerangBird_6"] = { + ["y"] = -41.0917, + ["x"] = -84.2067, + ["name"] = "BoomerangBird_6", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -5.78267, + ["x"] = -29.6399, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.35624, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_1"] = { + ["y"] = -36.7552, + ["x"] = -9.33912, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock4", + + }, + ["Estrade02_2"] = { + ["y"] = -1.1706, + ["x"] = -120.984, + ["name"] = "Estrade02_2", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_03_10"] = { + ["y"] = -29.5233, + ["x"] = -118.967, + ["name"] = "StaticBlockTheme02_03_10", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_03_8"] = { + ["y"] = -5.90242, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_8", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_22"] = { + ["y"] = -33.3187, + ["x"] = -12.0392, + ["name"] = "LightBlock4_22", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -1.10732, + ["x"] = -35.651, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_15"] = { + ["y"] = -59.7947, + ["x"] = -86.8826, + ["name"] = "BUSH_2_15", + ["angle"] = 2.3562, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_18"] = { + ["y"] = -61.0466, + ["x"] = -124.962, + ["name"] = "StaticBlockTheme02_02_18", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -50.3364, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_11"] = { + ["y"] = -29.0691, + ["x"] = -14.5855, + ["name"] = "StaticBlockTheme02_03_11", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_20"] = { + ["y"] = -49.3643, + ["x"] = -78.6626, + ["name"] = "BUSH_2_20", + ["angle"] = 2.35617, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_24"] = { + ["y"] = -36.8616, + ["x"] = -78.3172, + ["name"] = "BUSH_2_24", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_125"] = { + ["y"] = -38.0503, + ["x"] = -55.0647, + ["name"] = "StaticBlockTheme04_01_125", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_116"] = { + ["y"] = -52.8064, + ["x"] = -72.9642, + ["name"] = "StaticBlockTheme04_01_116", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -50.234, + ["x"] = -107.189, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_15"] = { + ["y"] = 0.172443, + ["x"] = -103.302, + ["name"] = "StaticBlockTheme02_02_15", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_16"] = { + ["y"] = -65.0444, + ["x"] = -81.2184, + ["name"] = "BUSH_2_16", + ["angle"] = 3.1416, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_9"] = { + ["y"] = -2.11828, + ["x"] = -69.5589, + ["name"] = "StaticBlockTheme04_05_9", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BLOCK_GREEN_OILCANISTER_2"] = { + ["y"] = -1.50569, + ["x"] = 2.26369, + ["name"] = "BLOCK_GREEN_OILCANISTER_2", + ["angle"] = 0.000213146, + ["definition"] = "BLOCK_GREEN_OILCANISTER", + + }, + ["MediumPiglette_5"] = { + ["y"] = -45.5458, + ["x"] = -19.6037, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.000195503, + ["definition"] = "MediumPiglette", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -4.36941, + ["x"] = -0.272988, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraHelmetBig", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -36.837, + ["x"] = -79.8702, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_9"] = { + ["y"] = -11.1523, + ["x"] = -125.322, + ["name"] = "WoodBlock6_9", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock6_10"] = { + ["y"] = -32.162, + ["x"] = -130.883, + ["name"] = "LightBlock6_10", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock6", + + }, + ["LightBlock4_25"] = { + ["y"] = -5.53363, + ["x"] = -123.851, + ["name"] = "LightBlock4_25", + ["angle"] = 1.57108, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_28"] = { + ["y"] = -46.1868, + ["x"] = -77.2811, + ["name"] = "BUSH_2_28", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -59.4119, + ["x"] = -23.3068, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock12_1"] = { + ["y"] = -50.455, + ["x"] = -21.731, + ["name"] = "WoodBlock12_1", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["ExtraBlockTNT_36"] = { + ["y"] = -36.8175, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_36", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -0.421252, + ["x"] = -99.4432, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LargePiglette_5"] = { + ["y"] = -2.16026, + ["x"] = -0.272748, + ["name"] = "LargePiglette_5", + ["angle"] = 0.000213146, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_02_17"] = { + ["y"] = -60.1381, + ["x"] = -125.144, + ["name"] = "StaticBlockTheme02_02_17", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = -12.3133, + ["x"] = -25.1872, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_24"] = { + ["y"] = -61.4105, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_24", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock6_7"] = { + ["y"] = -6.60385, + ["x"] = -128.733, + ["name"] = "WoodBlock6_7", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -1.63101, + ["x"] = -91.3878, + ["name"] = "WoodBlock10_4", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = 0.080072, + ["x"] = -38.4711, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_35"] = { + ["y"] = -59.3112, + ["x"] = -60.703, + ["name"] = "BUSH_2_35", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_5"] = { + ["y"] = -57.0631, + ["x"] = -65.4842, + ["name"] = "BoomerangBird_5", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -8.08323, + ["x"] = -28.5267, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock4_8"] = { + ["y"] = -8.1423, + ["x"] = -125.322, + ["name"] = "WoodBlock4_8", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -56.5097, + ["x"] = -16.0854, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -1.3118, + ["x"] = -102.486, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_9"] = { + ["y"] = -41.0752, + ["x"] = -47.5786, + ["name"] = "BUSH_2_9", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -41.1735, + ["x"] = -17.4393, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.00017786, + ["definition"] = "ExtraDonut01", + + }, + ["BUSH_1_3"] = { + ["y"] = -34.3058, + ["x"] = -58.0781, + ["name"] = "BUSH_1_3", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_02_16"] = { + ["y"] = 0.988773, + ["x"] = -103.525, + ["name"] = "StaticBlockTheme02_02_16", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_121"] = { + ["y"] = -53.1557, + ["x"] = -57.8588, + ["name"] = "StaticBlockTheme04_01_121", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_8"] = { + ["y"] = -6.67074, + ["x"] = -121.978, + ["name"] = "WoodBlock6_8", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["BUSH_3_1"] = { + ["y"] = -25.8095, + ["x"] = -59.2524, + ["name"] = "BUSH_3_1", + ["angle"] = 5.89049, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_13"] = { + ["y"] = -3.32063, + ["x"] = -117.196, + ["name"] = "WoodBlock2_13", + ["angle"] = 4.71267, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -37.5734, + ["x"] = -82.8976, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 3.92718, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_18"] = { + ["y"] = -61.1762, + ["x"] = -57.042, + ["name"] = "BUSH_2_18", + ["angle"] = 3.92699, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_48"] = { + ["y"] = -32.7862, + ["x"] = -87.4352, + ["name"] = "BUSH_2_48", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -59.2297, + ["x"] = -114.152, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_27"] = { + ["y"] = -60.7617, + ["x"] = -80.8039, + ["name"] = "BUSH_2_27", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock2_14"] = { + ["y"] = -11.955, + ["x"] = -125.322, + ["name"] = "WoodBlock2_14", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock9_1"] = { + ["y"] = -40.6826, + ["x"] = -13.2665, + ["name"] = "StoneBlock9_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -39.2916, + ["x"] = -76.3519, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -60.6837, + ["x"] = -19.4004, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_3"] = { + ["y"] = -57.0631, + ["x"] = -82.7013, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["BUSH_2_46"] = { + ["y"] = -52.8181, + ["x"] = -62.9134, + ["name"] = "BUSH_2_46", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -5.6903, + ["x"] = -104.564, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 4.31977, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_4"] = { + ["y"] = -46.0487, + ["x"] = -67.6796, + ["name"] = "BUSH_2_4", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_1_5"] = { + ["y"] = -47.7755, + ["x"] = -57.9399, + ["name"] = "BUSH_1_5", + ["angle"] = 5.49776, + ["definition"] = "BUSH_1", + + }, + ["WoodBlock10_7"] = { + ["y"] = -37.3279, + ["x"] = -19.403, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.000142574, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -4.65133, + ["x"] = -102.709, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 0.785472, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -0.866525, + ["x"] = -103.154, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_14"] = { + ["y"] = -53.3707, + ["x"] = -89.093, + ["name"] = "BUSH_2_14", + ["angle"] = 1.9635, + ["definition"] = "BUSH_2", + + }, + ["ExtraBlockTNT_38"] = { + ["y"] = -40.1036, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_38", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraBlockTNT_39"] = { + ["y"] = -43.2529, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_39", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock4_2"] = { + ["y"] = -8.95255, + ["x"] = -8.8716, + ["name"] = "StoneBlock4_2", + ["angle"] = 0.000230789, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_6"] = { + ["y"] = -1.5568, + ["x"] = -43.6696, + ["name"] = "WoodBlock10_6", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock10", + + }, + ["BUSH_2_39"] = { + ["y"] = -60.0019, + ["x"] = -72.7912, + ["name"] = "BUSH_2_39", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_2"] = { + ["y"] = -36.4472, + ["x"] = -52.8974, + ["name"] = "BUSH_2_2", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -0.643887, + ["x"] = -97.959, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 3.53437, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_05_10"] = { + ["y"] = -10.5878, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_3"] = { + ["y"] = -2.44735, + ["x"] = -82.0371, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.89047, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_12"] = { + ["y"] = -30.3409, + ["x"] = -14.6764, + ["name"] = "StaticBlockTheme02_03_12", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock10_2"] = { + ["y"] = -3.85737, + ["x"] = -76.6196, + ["name"] = "WoodBlock10_2", + ["angle"] = 5.49777, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_9"] = { + ["y"] = -20.3161, + ["x"] = -125.322, + ["name"] = "WoodBlock4_9", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -39.7781, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_6"] = { + ["y"] = -44.6457, + ["x"] = -15.5127, + ["name"] = "WoodBlock5_6", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -27.1175, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock8_5"] = { + ["y"] = -34.7636, + ["x"] = -132.663, + ["name"] = "WoodBlock8_5", + ["angle"] = 0.00035429, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -37.9906, + ["x"] = -25.2614, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock5_1"] = { + ["y"] = -45.7094, + ["x"] = -22.5492, + ["name"] = "LightBlock5_1", + ["angle"] = 1.571, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -14.8935, + ["x"] = -26.6902, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["ExtraBlockTNT_34"] = { + ["y"] = -32.9096, + ["x"] = -9.83004, + ["name"] = "ExtraBlockTNT_34", + ["angle"] = 0.000142574, + ["definition"] = "ExtraBlockTNT", + + }, + ["BUSH_2_22"] = { + ["y"] = -50.8839, + ["x"] = -86.1918, + ["name"] = "BUSH_2_22", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_47"] = { + ["y"] = -39.9009, + ["x"] = -63.3969, + ["name"] = "BUSH_2_47", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_19"] = { + ["y"] = -60.1381, + ["x"] = -124.781, + ["name"] = "StaticBlockTheme02_02_19", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -55.0513, + ["x"] = -24.4878, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock11_3"] = { + ["y"] = -6.41493, + ["x"] = -11.8915, + ["name"] = "LightBlock11_3", + ["angle"] = 4.71262, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme04_01_114"] = { + ["y"] = -53.5049, + ["x"] = -82.6561, + ["name"] = "StaticBlockTheme04_01_114", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -1.63254, + ["x"] = -29.6946, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_1"] = { + ["y"] = -52.9914, + ["x"] = -18.7036, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock11_1"] = { + ["y"] = -40.7644, + ["x"] = -9.09366, + ["name"] = "LightBlock11_1", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock11", + + }, + ["StoneBlock7_2"] = { + ["y"] = -51.8792, + ["x"] = -119.108, + ["name"] = "StoneBlock7_2", + ["angle"] = 0.00035429, + ["definition"] = "StoneBlock7", + + }, + ["ExtraHelmetBig_2"] = { + ["y"] = -4.75487, + ["x"] = -20.6456, + ["name"] = "ExtraHelmetBig_2", + ["angle"] = 0.000230789, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_11"] = { + ["y"] = -15.7676, + ["x"] = -127.262, + ["name"] = "WoodBlock6_11", + ["angle"] = 1.57112, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -60.229, + ["x"] = -113.788, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_35"] = { + ["y"] = -1.58102, + ["x"] = -16.1408, + ["name"] = "ExtraBlockTNT_35", + ["angle"] = 0.000230789, + ["definition"] = "ExtraBlockTNT", + + }, + ["Estrade02_4"] = { + ["y"] = 0.467517, + ["x"] = -138.082, + ["name"] = "Estrade02_4", + ["angle"] = 5.89075, + ["definition"] = "Estrade02", + + }, + ["WoodBlock10_5"] = { + ["y"] = -2.22471, + ["x"] = -52.7234, + ["name"] = "WoodBlock10_5", + ["angle"] = 0.392705, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -60.1381, + ["x"] = -118.422, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_1"] = { + ["y"] = -3.85737, + ["x"] = -58.3635, + ["name"] = "WoodBlock10_1", + ["angle"] = 0.78537, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -34.3646, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -4.35789, + ["x"] = -27.6052, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -49.1407, + ["x"] = -119.108, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 0.00035429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_12"] = { + ["y"] = -3.62778, + ["x"] = -133.474, + ["name"] = "WoodBlock2_12", + ["angle"] = 1.57107, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -54.4149, + ["x"] = -107.883, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 4.31979, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -0.179016, + ["x"] = -31.6932, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["BUSH_2_40"] = { + ["y"] = -50.1932, + ["x"] = -76.1759, + ["name"] = "BUSH_2_40", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_122"] = { + ["y"] = -54.0288, + ["x"] = -60.8274, + ["name"] = "StaticBlockTheme04_01_122", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock4_27"] = { + ["y"] = -33.1205, + ["x"] = -132.8, + ["name"] = "LightBlock4_27", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_11"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_11", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_21"] = { + ["y"] = -60.6236, + ["x"] = -83.0834, + ["name"] = "BUSH_2_21", + ["angle"] = 2.74887, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_44"] = { + ["y"] = -47.3611, + ["x"] = -65.1929, + ["name"] = "BUSH_2_44", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_119"] = { + ["y"] = -53.8542, + ["x"] = -66.2409, + ["name"] = "StaticBlockTheme04_01_119", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_34"] = { + ["y"] = -50.6076, + ["x"] = -53.381, + ["name"] = "BUSH_2_34", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["LargePiglette_7"] = { + ["y"] = -34.079, + ["x"] = -117.465, + ["name"] = "LargePiglette_7", + ["angle"] = 0.00035429, + ["definition"] = "LargePiglette", + + }, + ["BUSH_2_5"] = { + ["y"] = -54.1996, + ["x"] = -67.1961, + ["name"] = "BUSH_2_5", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock5_7"] = { + ["y"] = -46.6094, + ["x"] = -15.5945, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock3_2"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock3_2", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock3", + + }, + ["ExtraBlockTNT_41"] = { + ["y"] = -49.6884, + ["x"] = -112.535, + ["name"] = "ExtraBlockTNT_41", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme04_01_109"] = { + ["y"] = -46.6944, + ["x"] = -62.3118, + ["name"] = "StaticBlockTheme04_01_109", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_38"] = { + ["y"] = -60.5545, + ["x"] = -76.0377, + ["name"] = "BUSH_2_38", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_42"] = { + ["y"] = -47.7065, + ["x"] = -71.4788, + ["name"] = "BUSH_2_42", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -57.0494, + ["x"] = -110.7, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -19.0846, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BUSH_2_32"] = { + ["y"] = -49.3643, + ["x"] = -51.8613, + ["name"] = "BUSH_2_32", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_43"] = { + ["y"] = -46.2559, + ["x"] = -69.0611, + ["name"] = "BUSH_2_43", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_45"] = { + ["y"] = -50.055, + ["x"] = -62.8443, + ["name"] = "BUSH_2_45", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_37"] = { + ["y"] = -61.1762, + ["x"] = -70.7189, + ["name"] = "BUSH_2_37", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_2"] = { + ["y"] = -33.2697, + ["x"] = -83.8433, + ["name"] = "BUSH_3_2", + ["angle"] = 1.5708, + ["definition"] = "BUSH_3", + + }, + ["BUSH_2_29"] = { + ["y"] = -39.9009, + ["x"] = -60.0122, + ["name"] = "BUSH_2_29", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock5_4"] = { + ["y"] = -38.7189, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_4", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["BUSH_1_2"] = { + ["y"] = -43.1475, + ["x"] = -87.7115, + ["name"] = "BUSH_1_2", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["BUSH_2_36"] = { + ["y"] = -60.2782, + ["x"] = -65.4692, + ["name"] = "BUSH_2_36", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_03_21"] = { + ["y"] = -30.8447, + ["x"] = -71.4798, + ["name"] = "StaticBlockTheme04_03_21", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LargePiglette_3"] = { + ["y"] = -34.546, + ["x"] = -22.0213, + ["name"] = "LargePiglette_3", + ["angle"] = 0.000142574, + ["definition"] = "LargePiglette", + + }, + ["BUSH_1_1"] = { + ["y"] = -28.9179, + ["x"] = -71.3406, + ["name"] = "BUSH_1_1", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_4"] = { + ["y"] = -39.9462, + ["x"] = -20.4667, + ["name"] = "WoodBlock5_4", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -66.7762, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["BUSH_2_25"] = { + ["y"] = -40.7989, + ["x"] = -81.9091, + ["name"] = "BUSH_2_25", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock10_3"] = { + ["y"] = -3.96031, + ["x"] = -8.78232, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock9_1"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock9_1", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -55.8689, + ["x"] = -25.7596, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_37"] = { + ["y"] = -33.5313, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_37", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_24"] = { + ["y"] = -42.2371, + ["x"] = -21.7758, + ["name"] = "LightBlock4_24", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock4", + + }, + ["BUSH_3_3"] = { + ["y"] = -61.7979, + ["x"] = -50.2726, + ["name"] = "BUSH_3_3", + ["angle"] = 5.10508, + ["definition"] = "BUSH_3", + + }, + ["ExtraBlockTNT_40"] = { + ["y"] = -46.5391, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_40", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 5, + ["StoneBlock6"] = 1, + ["StaticBlockTheme03_01"] = 1, + ["ExtraDonut01"] = 1, + ["LightBlock3"] = 2, + ["LightBlock11"] = 3, + ["StoneBlock3"] = 1, + ["RedBird"] = 5, + ["ExtraTire01"] = 3, + ["StaticBlockTheme04_02"] = 63, + ["StaticBlockTheme03_02"] = 4, + ["ExtraStrongBall"] = 1, + ["LargePiglette"] = 7, + ["ExtraPoleRed"] = 1, + ["LightBlock9"] = 1, + ["SmallBlueBird"] = 2, + ["ExtraHelmetBig"] = 2, + ["StaticBlockTheme03_03"] = 4, + ["StoneBlock9"] = 1, + ["LightBlock6"] = 10, + ["StaticBlockTheme02_01"] = 26, + ["StoneBlock8"] = 25, + ["StoneBlock5"] = 4, + ["BUSH_1"] = 5, + ["LightBlock1"] = 9, + ["LightBlock10"] = 4, + ["ExtraPoleYellow"] = 1, + ["LightBlock4"] = 27, + ["ExtraBlockFlag01"] = 1, + ["MediumPiglette"] = 5, + ["LightBlock5"] = 1, + ["StaticBlockTheme03_05"] = 11, + ["StaticBlockTheme02_04"] = 5, + ["ExtraBlockTNT"] = 42, + ["YellowBird"] = 3, + ["ExtraTire03"] = 3, + ["WoodBlock2"] = 15, + ["StoneBlock1"] = 3, + ["HelmetPiglette"] = 1, + ["StaticBlockTheme04_04"] = 18, + ["BUSH_3"] = 4, + ["WoodBlock3"] = 4, + ["LightBlock8"] = 2, + ["BUSH_4"] = 1, + ["StoneBlock7"] = 2, + ["GrandpaPiglette"] = 3, + ["StoneBlock10"] = 3, + ["StaticBlockTheme04_05"] = 10, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme03_04"] = 7, + ["StoneBlock4"] = 2, + ["WoodBlock4"] = 9, + ["StaticBlockTheme04_01"] = 125, + ["BUSH_2"] = 49, + ["StaticBlockTheme02_03"] = 12, + ["StaticBlockTheme02_05"] = 4, + ["StaticBlockTheme02_02"] = 25, + ["HandsomePiglette"] = 1, + ["Estrade02"] = 4, + ["WoodBlock10"] = 9, + ["LightBlock2"] = 3, + ["BLOCK_GREEN_OILCANISTER"] = 2, + ["WoodBlock6"] = 11, + ["SmallPiglette"] = 15, + ["ExtraHelmetBoss"] = 1, + ["WoodBlock5"] = 7, + ["StaticBlockTheme04_03"] = 22, + ["BoomerangBird"] = 6, + ["WoodBlock12"] = 3, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -505.521, + ["py"] = -292.17, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = -452.138, + ["screenWidth"] = 1680, + ["py"] = -251.34, + ["screenHeight"] = 1024, + ["top"] = -620.738, + ["sy"] = 1.38604, + ["sx"] = 1.38604, + ["right"] = 1387.71, + ["left"] = -2535.7, + ["px"] = -1929.66, + + }, + ["sy"] = 0.456167, + ["sx"] = 0.456167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = -124.936, + ["screenWidth"] = 1024, + ["py"] = -396.08, + ["screenHeight"] = 768, + ["top"] = -997.617, + ["sy"] = 0.638365, + ["sx"] = 0.638365, + ["right"] = 1769.49, + ["left"] = -2455.31, + ["px"] = -1653.26, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level1.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b0d953ad3f93f7095d3559f0ac6eb15ba254aff1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level1.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level10.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..f27215d9a66667012210ec7f57104fd03bae0cdd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level10.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level11.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..c5c34e47945b12d2d4080345e22c2ee95dffa196 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level11.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level12.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..6d00e5e1c82e05e6b61870276e6030a52135cfa2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level12.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level13.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fc56bc622058aec16122483c605afd13f77305f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level13.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level14.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..a01e3380fadfd51ac3d1a5f97ab1bd77b0f51290 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level14.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level15.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..0b5bf71db942d7986d635e6e4b36e4c5b0ae4209 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level15.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level2.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5b983166667c95a26c449f60c118983eafc1884e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level2.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level3.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..23557bcba2b48d19afad8df55b210b111c975407 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level3.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level4.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..255c2e972d8d4b1d3c79c0173513ad2590275b52 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level4.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level5.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..634f107c8581dc8727db0e6648d1a2025f1a1938 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level5.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level6.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..8929810408f6ca6fd2972d05373371917bff23ef Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level6.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level7.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..3e12dfe0fc01cbbc694c311ebc1463a595db6d5a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level7.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level8.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b17ad7fa5cc7bdd0aac3a25d9277705503685d1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level8.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/Level9.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b330326715f1e658df5838befa42a0977100752 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack1/Level9.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/audeo.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/audeo.lua new file mode 100644 index 0000000000000000000000000000000000000000..8bbfd74cea5756e7406c6610e531ede29546ac25 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/audeo.lua @@ -0,0 +1,1347 @@ +g_useMp3Sound = true +if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "roku" or deviceModel == "freebox" then + g_useMp3Sound = false +end +createAudio({ + fileName = "/sfx/bird 01 collision a1", + clipName = "bird 01 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a2", + clipName = "bird 01 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a3", + clipName = "bird 01 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a4", + clipName = "bird 01 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a1_low", + clipName = "bird 01 collision a1_low" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a2_low", + clipName = "bird 01 collision a2_low" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a3_low", + clipName = "bird 01 collision a3_low" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a4_low", + clipName = "bird 01 collision a4_low" +}) +createAudio({ + fileName = "/sfx/bird 01 flying", + clipName = "bird_01_flying" +}) +createAudio({ + fileName = "/sfx/bigbrother_fly", + clipName = "big_brother_flying" +}) +createAudio({ + fileName = "/sfx/bigbrother_awakens", + clipName = "big_brother_awakens" +}) +createAudio({ + fileName = "/sfx/bird 01 select", + clipName = "bird_01_select" +}) +createAudio({ + fileName = "/sfx/bigbrother_select", + clipName = "big_brother_select" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a1", + clipName = "bird 02 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a2", + clipName = "bird 02 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a3", + clipName = "bird 02 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a4", + clipName = "bird 02 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a5", + clipName = "bird 02 collision a5" +}) +createAudio({ + fileName = "/sfx/bird 02 flying", + clipName = "bird_02_flying" +}) +createAudio({ + fileName = "/sfx/bird 02 select", + clipName = "bird_02_select" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a1", + clipName = "bird 03 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a2", + clipName = "bird 03 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a3", + clipName = "bird 03 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a4", + clipName = "bird 03 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a5", + clipName = "bird 03 collision a5" +}) +createAudio({ + fileName = "/sfx/bird 03 flying", + clipName = "bird_03_flying" +}) +createAudio({ + fileName = "/sfx/bird 03 select", + clipName = "bird_03_select" +}) +createAudio({ + fileName = "/sfx/bird 04 flying", + clipName = "bird_04_flying" +}) +createAudio({ + fileName = "/sfx/bird 04 select", + clipName = "bird_04_select" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a1", + clipName = "bird 04 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a2", + clipName = "bird 04 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a3", + clipName = "bird 04 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a4", + clipName = "bird 04 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a1", + clipName = "bird 05 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a2", + clipName = "bird 05 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a3", + clipName = "bird 05 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a4", + clipName = "bird 05 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a5", + clipName = "bird 05 collision a5" +}) +createAudio({ + fileName = "/sfx/bird 05 flying", + clipName = "bird_05_flying" +}) +createAudio({ + fileName = "/sfx/bird 05 select", + clipName = "bird_05_select" +}) +createAudio({ + fileName = "/sfx/bird_06_flying", + clipName = "bird_06_flying" +}) +createAudio({ + fileName = "/sfx/boomerang_select", + clipName = "boomerang_select" +}) +createAudio({ + fileName = "/sfx/bird misc a1", + clipName = "bird_misc_a1" +}) +createAudio({ + fileName = "/sfx/bird misc a2", + clipName = "bird_misc_a2" +}) +createAudio({ + fileName = "/sfx/bird misc a3", + clipName = "bird_misc_a3" +}) +createAudio({ + fileName = "/sfx/bird misc a4", + clipName = "bird_misc_a4" +}) +createAudio({ + fileName = "/sfx/bird misc a5", + clipName = "bird_misc_a5" +}) +createAudio({ + fileName = "/sfx/bird misc a6", + clipName = "bird_misc_a6" +}) +createAudio({ + fileName = "/sfx/bird misc a7", + clipName = "bird_misc_a7" +}) +createAudio({ + fileName = "/sfx/bird misc a8", + clipName = "bird_misc_a8" +}) +createAudio({ + fileName = "/sfx/bird misc a9", + clipName = "bird_misc_a9" +}) +createAudio({ + fileName = "/sfx/bird misc a10", + clipName = "bird_misc_a10" +}) +createAudio({ + fileName = "/sfx/bird misc a11", + clipName = "bird_misc_a11" +}) +createAudio({ + fileName = "/sfx/bird misc a12", + clipName = "bird_misc_a12" +}) +createAudio({ + fileName = "/sfx/bird destroyed", + clipName = "bird_destroyed" +}) +createAudio({ + fileName = "/sfx/bird next military a1", + clipName = "bird next military a1" +}) +createAudio({ + fileName = "/sfx/bird next military a2", + clipName = "bird next military a2" +}) +createAudio({ + fileName = "/sfx/bird next military a3", + clipName = "bird next military a3" +}) +createAudio({ + fileName = "/sfx/bird shot-a1", + clipName = "bird shot a1" +}) +createAudio({ + fileName = "/sfx/bird shot-a2", + clipName = "bird shot a2" +}) +createAudio({ + fileName = "/sfx/bird shot-a3", + clipName = "bird shot a3" +}) +createAudio({ + fileName = "/sfx/level clear military a1", + extension = "mp3", + stream = true, + clipName = "level clear military a1" +}) +createAudio({ + fileName = "/sfx/level clear military a2", + extension = "mp3", + stream = true, + clipName = "level clear military a2" +}) +createAudio({ + fileName = "/sfx/level failed piglets a1", + extension = "mp3", + stream = true, + clipName = "level failed piglets a1" +}) +createAudio({ + fileName = "/sfx/level failed piglets a2", + extension = "mp3", + stream = true, + clipName = "level failed piglets a2" +}) +createAudio({ + fileName = "/sfx/level start military a1", + extension = "mp3", + stream = true, + clipName = "level start military a1" +}) +createAudio({ + fileName = "/sfx/level start military a2", + extension = "mp3", + stream = true, + clipName = "level start military a2" +}) +createAudio({ + fileName = "/sfx/ice light collision a1", + clipName = "light collision a1" +}) +createAudio({ + fileName = "/sfx/ice light collision a2", + clipName = "light collision a2" +}) +createAudio({ + fileName = "/sfx/ice light collision a3", + clipName = "light collision a3" +}) +createAudio({ + fileName = "/sfx/ice light collision a4", + clipName = "light collision a4" +}) +createAudio({ + fileName = "/sfx/ice light collision a5", + clipName = "light collision a5" +}) +createAudio({ + fileName = "/sfx/ice light collision a6", + clipName = "light collision a6" +}) +createAudio({ + fileName = "/sfx/ice light collision a7", + clipName = "light collision a7" +}) +createAudio({ + fileName = "/sfx/ice light collision a8", + clipName = "light collision a8" +}) +createAudio({ + fileName = "/sfx/light damage a1", + clipName = "light damage a1" +}) +createAudio({ + fileName = "/sfx/light damage a2", + clipName = "light damage a2" +}) +createAudio({ + fileName = "/sfx/light damage a3", + clipName = "light damage a3" +}) +createAudio({ + fileName = "/sfx/light destroyed a1", + clipName = "light destroyed a1" +}) +createAudio({ + fileName = "/sfx/light destroyed a2", + clipName = "light destroyed a2" +}) +createAudio({ + fileName = "/sfx/light destroyed a3", + clipName = "light destroyed a3" +}) +createAudio({ + fileName = "/sfx/light rolling", + clipName = "light_rolling" +}) +createAudio({ + fileName = "/sfx/menu back", + clipName = "menu_back" +}) +createAudio({ + fileName = "/sfx/menu confirm", + clipName = "menu_confirm" +}) +createAudio({ + fileName = "/sfx/menu select", + clipName = "menu_select" +}) +createAudio({ + fileName = "/sfx/piglette collision a1", + clipName = "piglette collision a1" +}) +createAudio({ + fileName = "/sfx/piglette collision a2", + clipName = "piglette collision a2" +}) +createAudio({ + fileName = "/sfx/piglette collision a3", + clipName = "piglette collision a3" +}) +createAudio({ + fileName = "/sfx/piglette collision a4", + clipName = "piglette collision a4" +}) +createAudio({ + fileName = "/sfx/piglette collision a5", + clipName = "piglette collision a5" +}) +createAudio({ + fileName = "/sfx/piglette collision a6", + clipName = "piglette collision a6" +}) +createAudio({ + fileName = "/sfx/piglette collision a7", + clipName = "piglette collision a7" +}) +createAudio({ + fileName = "/sfx/piglette collision a8", + clipName = "piglette collision a8" +}) +createAudio({ + fileName = "/sfx/piglette damage a1", + clipName = "piglette damage a1" +}) +createAudio({ + fileName = "/sfx/piglette damage a2", + clipName = "piglette damage a2" +}) +createAudio({ + fileName = "/sfx/piglette damage a3", + clipName = "piglette damage a3" +}) +createAudio({ + fileName = "/sfx/piglette damage a4", + clipName = "piglette damage a4" +}) +createAudio({ + fileName = "/sfx/piglette damage a5", + clipName = "piglette damage a5" +}) +createAudio({ + fileName = "/sfx/piglette damage a6", + clipName = "piglette damage a6" +}) +createAudio({ + fileName = "/sfx/piglette damage a7", + clipName = "piglette damage a7" +}) +createAudio({ + fileName = "/sfx/piglette damage a8", + clipName = "piglette damage a8" +}) +createAudio({ + fileName = "/sfx/piglette destroyed", + clipName = "piglette_destroyed" +}) +createAudio({ + fileName = "/sfx/rock collision a1", + clipName = "rock collision a1" +}) +createAudio({ + fileName = "/sfx/rock collision a2", + clipName = "rock collision a2" +}) +createAudio({ + fileName = "/sfx/rock collision a3", + clipName = "rock collision a3" +}) +createAudio({ + fileName = "/sfx/rock collision a4", + clipName = "rock collision a4" +}) +createAudio({ + fileName = "/sfx/rock collision a5", + clipName = "rock collision a5" +}) +createAudio({ + fileName = "/sfx/rock damage a1", + clipName = "rock damage a1" +}) +createAudio({ + fileName = "/sfx/rock damage a2", + clipName = "rock damage a2" +}) +createAudio({ + fileName = "/sfx/rock damage a3", + clipName = "rock damage a3" +}) +createAudio({ + fileName = "/sfx/rock destroyed a1", + clipName = "rock destroyed a1" +}) +createAudio({ + fileName = "/sfx/rock destroyed a2", + clipName = "rock destroyed a2" +}) +createAudio({ + fileName = "/sfx/rock destroyed a3", + clipName = "rock destroyed a3" +}) +createAudio({ + fileName = "/sfx/rock rolling", + clipName = "rock_rolling" +}) +createAudio({ + fileName = "/sfx/special boost", + clipName = "special_boost" +}) +createAudio({ + fileName = "/sfx/special egg explosion", + clipName = "special_explosion" +}) +createAudio({ + fileName = "/sfx/special group", + clipName = "special_egg" +}) +createAudio({ + fileName = "/sfx/special egg", + clipName = "special_group" +}) +createAudio({ + fileName = "/sfx/wood collision a1", + clipName = "wood collision a1" +}) +createAudio({ + fileName = "/sfx/wood collision a2", + clipName = "wood collision a2" +}) +createAudio({ + fileName = "/sfx/wood collision a3", + clipName = "wood collision a3" +}) +createAudio({ + fileName = "/sfx/wood collision a4", + clipName = "wood collision a4" +}) +createAudio({ + fileName = "/sfx/wood collision a5", + clipName = "wood collision a5" +}) +createAudio({ + fileName = "/sfx/wood collision a6", + clipName = "wood collision a6" +}) +createAudio({ + fileName = "/sfx/wood damage a1", + clipName = "wood damage a1" +}) +createAudio({ + fileName = "/sfx/wood damage a2", + clipName = "wood damage a2" +}) +createAudio({ + fileName = "/sfx/wood damage a3", + clipName = "wood damage a3" +}) +createAudio({ + fileName = "/sfx/wood destroyed a1", + clipName = "wood destroyed a1" +}) +createAudio({ + fileName = "/sfx/wood destroyed a2", + clipName = "wood destroyed a2" +}) +createAudio({ + fileName = "/sfx/wood destroyed a3", + clipName = "wood destroyed a3" +}) +createAudio({ + fileName = "/sfx/wood rolling", + clipName = "wood_rolling" +}) +createAudio({ + fileName = "/sfx/balloon_pop", + clipName = "balloon_pop" +}) +createAudio({ + fileName = "/sfx/bird pushing egg out", + clipName = "bird_pushing_egg_out" +}) +createAudio({ + fileName = "/sfx/slingshot streched", + clipName = "slingshot_stretched" +}) +createAudio({ + fileName = "/sfx/tnt box explodes", + clipName = "tnt_explodes" +}) +createAudio({ + fileName = "/sfx/boomerang_swish", + clipName = "boomerang_swish" +}) +createAudio({ + fileName = "/sfx/boomerang_activate", + clipName = "boomerang_activate" +}) +createAudio({ + fileName = "/sfx/trampoline", + clipName = "trampoline" +}) +createAudio({ + fileName = "/sfx/redbird_yell01", + clipName = "red_special_1" +}) +createAudio({ + fileName = "/sfx/redbird_yell02", + clipName = "red_special_2" +}) +createAudio({ + fileName = "/sfx/redbird_yell03", + clipName = "red_special_3" +}) +createAudio({ + fileName = "/sfx/bigbrother_yell", + clipName = "big_brother_special_1" +}) +createAudio({ + fileName = "/sfx/mightyeagle", + clipName = "mighty_eagle_yell" +}) +createAudio({ + fileName = "/sfx/sardine_can_shot", + extension = "mp3", + stream = true, + clipName = "sardine_can_shot" +}) +createAudio({ + fileName = "/sfx/sardine_can_physics_a2", + extension = "mp3", + stream = true, + clipName = "sardine_can_physics_a2" +}) +createAudio({ + fileName = "/sfx/mighty_eagle_bounce", + extension = "mp3", + stream = true, + clipName = "mighty_eagle_thump" +}) +createAudio({ + fileName = "/sfx/mighty_eagle_fly", + extension = "mp3", + stream = true, + clipName = "mighty_eagle_fly" +}) +createAudio({ + fileName = "/sfx/piglette oink a1", + clipName = "piglette_a1" +}) +createAudio({ + fileName = "/sfx/piglette oink a2", + clipName = "piglette_a2" +}) +createAudio({ + fileName = "/sfx/piglette oink a3", + clipName = "piglette_a3" +}) +createAudio({ + fileName = "/sfx/piglette oink a4", + clipName = "piglette_a4" +}) +createAudio({ + fileName = "/sfx/piglette oink a5", + clipName = "piglette_a5" +}) +createAudio({ + fileName = "/sfx/piglette oink a8", + clipName = "piglette_a8" +}) +createAudio({ + fileName = "/sfx/piglette oink a9", + clipName = "piglette_a9" +}) +createAudio({ + fileName = "/sfx/piglette oink a10", + clipName = "piglette_a10" +}) +createAudio({ + fileName = "/sfx/piglette oink a11", + clipName = "piglette_a11" +}) +createAudio({ + fileName = "/sfx/piglette oink a12", + clipName = "piglette_a12" +}) +createAudio({ + fileName = "/sfx/star_collect", + clipName = "star_collect" +}) +createAudio({ + fileName = "/sfx/button_radio", + clipName = "button_radio" +}) +createAudio({ + fileName = "/sfx/goldenegg", + clipName = "goldenegg" +}) +createAudio({ + fileName = "/sfx/piano-c", + clipName = "noteC" +}) +createAudio({ + fileName = "/sfx/piano-cis", + clipName = "noteCis" +}) +createAudio({ + fileName = "/sfx/piano-d", + clipName = "noteD" +}) +createAudio({ + fileName = "/sfx/piano-dis", + clipName = "noteDis" +}) +createAudio({ + fileName = "/sfx/piano-e", + clipName = "noteE" +}) +createAudio({ + fileName = "/sfx/piano-f", + clipName = "noteF" +}) +createAudio({ + fileName = "/sfx/piano-fis", + clipName = "noteFis" +}) +createAudio({ + fileName = "/sfx/piano-g", + clipName = "noteG" +}) +createAudio({ + fileName = "/music/level_complete", + extension = "mp3", + stream = true, + clipName = "level_complete" +}) +createAudio({ + fileName = "/music/game_complete", + extension = "mp3", + stream = true, + clipName = "game_complete" +}) +createAudio({ + fileName = "/music/title_theme", + extension = "mp3", + stream = true, + clipName = "title_theme" +}) +createAudio({ + fileName = "/music/Funky_Porkcini", + extension = "mp3", + stream = true, + clipName = "pig_boss_1" +}) +createAudio({ + fileName = "/music/ambient_white_dryforest", + extension = "mp3", + stream = true, + clipName = "ambient_theme1" +}) +createAudio({ + fileName = "/music/ambient_green_jungleish", + extension = "mp3", + stream = true, + clipName = "ambient_theme2" +}) +createAudio({ + fileName = "/music/ambient_red_savannah", + extension = "mp3", + stream = true, + clipName = "ambient_theme3" +}) +createAudio({ + fileName = "/music/ambient_city", + extension = "mp3", + stream = true, + clipName = "ambient_theme7" +}) +createAudio({ + fileName = "/music/birds_outro", + extension = "mp3", + stream = true, + clipName = "birds_outro" +}) +createAudio({ + fileName = "/music/birds_intro", + extension = "mp3", + stream = true, + clipName = "birds_intro" +}) +createAudio({ + fileName = "/music/birds_boss", + extension = "mp3", + stream = true, + clipName = "birds_boss" +}) +createAudio({ + fileName = "/music/funky_theme", + extension = "mp3", + stream = true, + clipName = "funky_theme" +}) +createAudio({ + fileName = "/sfx/piglette oink story", + clipName = "piglette_oink_story" +}) +createAudio({ + fileName = "/sfx/ball_bounce", + clipName = "ball_bounce" +}) +createAudio({ + fileName = "/music/ambient_construction", + extension = "mp3", + stream = true, + clipName = "construction_theme1" +}) +createAudio({ + fileName = "/sfx/pig_bd", + clipName = "pig_bd" +}) +createAudio({ + fileName = "/sfx/pig_snare_1", + clipName = "pig_snare_1" +}) +createAudio({ + fileName = "/sfx/pig_snare_2", + clipName = "pig_snare_2" +}) +createAudio({ + fileName = "/sfx/pig_snare_3", + clipName = "pig_snare_3" +}) +createAudio({ + fileName = "/sfx/pig_snare_4", + clipName = "pig_snare_4" +}) +createAudio({ + fileName = "/sfx/pig_hi-hat_1", + clipName = "pig_hi-hat_1" +}) +createAudio({ + fileName = "/sfx/pig_hi-hat_2", + clipName = "pig_hi-hat_2" +}) +createAudio({ + fileName = "/sfx/cminor_left", + clipName = "cminor_left" +}) +createAudio({ + fileName = "/sfx/dismajor_left", + clipName = "dismajor_left" +}) +createAudio({ + fileName = "/sfx/fmajor_left", + clipName = "fmajor_left" +}) +createAudio({ + fileName = "/sfx/gminor_left", + clipName = "gminor_left" +}) +createAudio({ + fileName = "/sfx/bmajor_left", + clipName = "bmajor_left" +}) +createAudio({ + fileName = "/sfx/cminor_right", + clipName = "cminor_right" +}) +createAudio({ + fileName = "/sfx/dismajor_right", + clipName = "dismajor_right" +}) +createAudio({ + fileName = "/sfx/fmajor_right", + clipName = "fmajor_right" +}) +createAudio({ + fileName = "/sfx/gminor_right", + clipName = "gminor_right" +}) +createAudio({ + fileName = "/sfx/bmajor_right", + clipName = "bmajor_right" +}) +createAudio({ + fileName = "/sfx/accordion_empty_pull", + clipName = "empty_accordion_left" +}) +createAudio({ + fileName = "/sfx/accordion_empty_push", + clipName = "empty_accordion_right" +}) +createAudio({ + fileName = "/sfx/accordion_break", + clipName = "accordion_break" +}) +createAudio({ + fileName = "/sfx/pig_singing_1", + clipName = "pig_singing_1" +}) +createAudio({ + fileName = "/sfx/pig_singing_2", + clipName = "pig_singing_2" +}) +createAudio({ + fileName = "/sfx/pig_singing_3", + clipName = "pig_singing_3" +}) +createAudio({ + fileName = "/sfx/pig_singing_4", + clipName = "pig_singing_4" +}) +createAudio({ + fileName = "/sfx/pig_singing_5", + clipName = "pig_singing_5" +}) +createAudio({ + fileName = "/sfx/pig_singing_6", + clipName = "pig_singing_6" +}) +createAudio({ + fileName = "/sfx/pig_singing_7", + clipName = "pig_singing_7" +}) +createAudio({ + fileName = "/sfx/pig_singing_8", + clipName = "pig_singing_8" +}) +createAudio({ + fileName = "/music/ab_cave_ambient", + extension = "mp3", + stream = true, + clipName = "ambient_cave" +}) +createAudio({ + fileName = "/sfx/jewel_break_01", + clipName = "jewel_break_1" +}) +createAudio({ + fileName = "/sfx/jewel_break_02", + clipName = "jewel_break_2" +}) +createAudio({ + fileName = "/sfx/jewel_break_03", + clipName = "jewel_break_3" +}) +createAudio({ + fileName = "/sfx/stalaktite_break_01", + clipName = "stalaktite_break_1" +}) +createAudio({ + fileName = "/sfx/stalaktite_break_02", + clipName = "stalaktite_break_2" +}) +createAudio({ + fileName = "/sfx/stalaktite_break_03", + clipName = "stalaktite_break_3" +}) +createAudio({ + fileName = "/sfx/gamescorescreen_score_count_loop", + extension = "wav", + clipName = "score_count" +}) +createAudio({ + fileName = "/sfx/star_1", + stream = true, + clipName = "star_1" +}) +createAudio({ + fileName = "/sfx/star_2", + stream = true, + clipName = "star_2" +}) +createAudio({ + fileName = "/sfx/star_3", + stream = true, + clipName = "star_3" +}) +createAudio({ + fileName = "/sfx/highscore", + extension = "mp3", + stream = true, + clipName = "new_highscore" +}) +createAudio({ + fileName = "/music/ambience_waterfall", + extension = "mp3", + stream = true, + clipName = "ambience_waterfall" +}) +createAudio({ + fileName = "/sfx/big_bird", + clipName = "big_bird" +}) +createAudio({ + fileName = "/sfx/earthquake", + clipName = "earthquake" +}) +createAudio({ + fileName = "/sfx/laser_sight", + clipName = "laser_sight" +}) +createAudio({ + fileName = "/sfx/powerup_intro", + clipName = "powerup_intro" +}) +createAudio({ + fileName = "/sfx/slot_1", + clipName = "slot_1" +}) +createAudio({ + fileName = "/sfx/slot_2", + clipName = "slot_2" +}) +createAudio({ + fileName = "/sfx/slot_3", + clipName = "slot_3" +}) +createAudio({ + fileName = "/sfx/slot_machine", + clipName = "slot_machine" +}) +createAudio({ + fileName = "/sfx/super_shot", + clipName = "super_shot" +}) +createAudio({ + fileName = "/sfx/super_slingshot", + clipName = "super_slingshot" +}) +createAudio({ + fileName = "/sfx/powerup_awarded", + clipName = "powerup_awarded" +}) +createAudio({ + fileName = "/sfx/powerup_awarded2", + clipName = "powerup_awarded2" +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Death_remove_1", + clipName = "Globe_Bird_Death_remove_1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_1", + clipName = "Globe_Bird_Hit_1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_2", + clipName = "Globe_Bird_Hit_2", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_3", + clipName = "Globe_Bird_Hit_3", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_4", + clipName = "Globe_Bird_Hit_4", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_idle_01", + clipName = "Globe_Bird_idle_01", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_idle_02", + clipName = "Globe_Bird_idle_02", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_idle_03", + clipName = "Globe_Bird_idle_03", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Launch_3", + clipName = "Globe_Bird_Launch_3", + volume = 1 +}) +audioData.channelVolume[1] = 1 +audioData.channelVolume[2] = 1 +audioData.channelVolume[3] = 1 +audioData.channelVolume[4] = 1 +audioData.channelVolume[5] = 1 +audioData.channelVolume[6] = 1 +audioData.channelVolume[7] = 1 +setChannelCountLimit(1, 4) +setChannelCountLimit(2, 4) +setChannelCountLimit(3, 6) +setChannelCountLimit(4, 4) +setChannelCountLimit(5, 6) +setChannelCountLimit(6, 4) +setChannelCountLimit(7, 3) +createAudio({ + fileName = "/sfx/Globe_Bird_Special_Activation_1", + clipName = "Globe_Bird_Special_Activation_1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Special_Activation_2", + clipName = "Globe_Bird_Special_Activation_2", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Special_Activation_3", + clipName = "Globe_Bird_Special_Activation_3", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Selection_1", + clipName = "Globe_Bird_Selection_1", + volume = 1 +}) +createAudio({ + fileName = "/music/birthday_ambience", + extension = "mp3", + stream = true, + clipName = "birthday_ambience", + volume = 1 +}) +createAudio({ + fileName = "/sfx/birthday_cake1", + clipName = "birthday_cake1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/birthday_cake2", + clipName = "birthday_cake2", + volume = 1 +}) +createAudio({ + fileName = "/music/BeachAmbience", + extension = "mp3", + stream = true, + clipName = "beach_ambience" +}) +createAudio({ + fileName = "/music/RainAmbience", + extension = "mp3", + stream = true, + clipName = "rain_ambience" +}) +createAudio({ + fileName = "/sfx/Lightning01", + clipName = "Lightning01" +}) +createAudio({ + fileName = "/sfx/Lightning02", + clipName = "Lightning02" +}) +createAudio({ + fileName = "/sfx/Lightning03", + clipName = "Lightning03" +}) +createAudio({ + fileName = "/sfx/Lightning04", + clipName = "Lightning04" +}) +audioGroups = { + bird_01_collision = { + "bird 01 collision a1", + "bird 01 collision a2", + "bird 01 collision a3", + "bird 01 collision a4" + }, + bird_02_collision = { + "bird 02 collision a1", + "bird 02 collision a2", + "bird 02 collision a3", + "bird 02 collision a4", + "bird 02 collision a5" + }, + bird_03_collision = { + "bird 03 collision a1", + "bird 03 collision a2", + "bird 03 collision a3", + "bird 03 collision a4", + "bird 03 collision a5" + }, + bird_04_collision = { + "bird 04 collision a1", + "bird 04 collision a2", + "bird 04 collision a3", + "bird 04 collision a4" + }, + bird_05_collision = { + "bird 05 collision a1", + "bird 05 collision a2", + "bird 05 collision a3", + "bird 05 collision a4", + "bird 05 collision a5" + }, + big_brother_collision = { + "bird 01 collision a1_low", + "bird 01 collision a2_low", + "bird 01 collision a3_low", + "bird 01 collision a4_low" + }, + bird_next = { + "bird next a1", + "bird next a2", + "bird next a3" + }, + bird_next_military = { + "bird next military a1", + "bird next military a2", + "bird next military a3" + }, + bird_shot = { + "bird shot a1", + "bird shot a2", + "bird shot a3" + }, + level_clear_military = { + "level clear military a1", + "level clear military a2" + }, + level_failed_piglets = { + "level failed piglets a1", + "level failed piglets a2" + }, + level_start_military = { + "level start military a1", + "level start military a2" + }, + light_collision = { + "light collision a1", + "light collision a2", + "light collision a3", + "light collision a4", + "light collision a5", + "light collision a6", + "light collision a7", + "light collision a8" + }, + light_damage = { + "light damage a1", + "light damage a2", + "light damage a3" + }, + light_destroyed = { + "light destroyed a1", + "light destroyed a2", + "light destroyed a3" + }, + piglette_collision = { + "piglette collision a1", + "piglette collision a2", + "piglette collision a3", + "piglette collision a4", + "piglette collision a5", + "piglette collision a6", + "piglette collision a7", + "piglette collision a8" + }, + piglette_damage = { + "piglette damage a1", + "piglette damage a2", + "piglette damage a3", + "piglette damage a4", + "piglette damage a5", + "piglette damage a6", + "piglette damage a7", + "piglette damage a8" + }, + rock_collision = { + "rock collision a1", + "rock collision a2", + "rock collision a3", + "rock collision a4", + "rock collision a5" + }, + rock_damage = { + "rock damage a1", + "rock damage a2", + "rock damage a3" + }, + rock_destroyed = { + "rock destroyed a1", + "rock destroyed a2", + "rock destroyed a3" + }, + wood_collision = { + "wood collision a1", + "wood collision a2", + "wood collision a3", + "wood collision a4", + "wood collision a5", + "wood collision a6" + }, + wood_damage = { + "wood damage a1", + "wood damage a2", + "wood damage a3" + }, + wood_destroyed = { + "wood destroyed a1", + "wood destroyed a2", + "wood destroyed a3" + }, + bird_misc = { + "bird_misc_a1", + "bird_misc_a2", + "bird_misc_a3", + "bird_misc_a4", + "bird_misc_a5", + "bird_misc_a6", + "bird_misc_a7", + "bird_misc_a8", + "bird_misc_a9", + "bird_misc_a10", + "bird_misc_a11", + "bird_misc_a12" + }, + piglette = { + "piglette_a1", + "piglette_a2", + "piglette_a3", + "piglette_a4", + "piglette_a5", + "piglette_a8", + "piglette_a9", + "piglette_a10", + "piglette_a11", + "piglette_a12" + }, + red_special = { + "red_special_1", + "red_special_2", + "red_special_3" + }, + big_brother_special = { + "big_brother_special_1" + }, + pig_accordion = { + "pig_singing_1", + "pig_singing_2", + "pig_singing_3", + "pig_singing_4", + "pig_singing_5", + "pig_singing_6", + "pig_singing_7", + "pig_singing_8" + }, + stalaktite_break = { + "stalaktite_break_1", + "stalaktite_break_2", + "stalaktite_break_3" + }, + jewel_break = { + "jewel_break_1", + "jewel_break_2", + "jewel_break_3" + }, + globe_hit = { + "Globe_Bird_Hit_1", + "Globe_Bird_Hit_2", + "Globe_Bird_Hit_3", + "Globe_Bird_Hit_4" + }, + globe_special = { + "Globe_Bird_Special_Activation_1", + "Globe_Bird_Special_Activation_2", + "Globe_Bird_Special_Activation_3" + }, + birthday_cake = { + "birthday_cake1", + "birthday_cake2" + }, + lightning = { + "Lightning01", + "Lightning02", + "Lightning03", + "Lightning04" + } +} +filename = "audio.lua" diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level1.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..fc10568c1396ebe43ad9e75967fa0590909cb857 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level1.temp.lua @@ -0,0 +1,653 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1920, + ["py"] = -192.631, + ["screenHeight"] = 1080, + ["top"] = -576.631, + ["sy"] = 1.40625, + ["sx"] = 1.40625, + ["right"] = 1376.31, + ["left"] = 10.9773, + ["px"] = 693.644, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1524.95, + ["x"] = 1531.8, + ["firstFrame"] = true, + ["width"] = 4787.25, + +} +joints = { + +} +world = { + ["BUSH_2_1"] = { + ["y"] = -27.214, + ["x"] = 59.0691, + ["name"] = "BUSH_2_1", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_1"] = { + ["y"] = -24.901, + ["x"] = 65.3226, + ["name"] = "BUSH_3_1", + ["angle"] = 0, + ["definition"] = "BUSH_3", + + }, + ["Hay_1"] = { + ["y"] = -19.8004, + ["x"] = 40.0333, + ["name"] = "Hay_1", + ["angle"] = 0, + ["definition"] = "Hay", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.3, + ["x"] = 45.8437, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["CHIPS_1"] = { + ["y"] = -10.1237, + ["x"] = 36.1535, + ["name"] = "CHIPS_1", + ["angle"] = 0, + ["definition"] = "CHIPS", + + }, + ["WoodBlock6_2"] = { + ["y"] = -8.1, + ["x"] = 26.4437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["SmallPiglette_4"] = { + ["y"] = -4.02623, + ["x"] = 17.0206, + ["name"] = "SmallPiglette_4", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -19.7183, + ["x"] = 54.1005, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 0, + ["definition"] = "RIOCRATESMALL", + + }, + ["BUSH_4_1"] = { + ["y"] = -22.5881, + ["x"] = 70.2484, + ["name"] = "BUSH_4_1", + ["angle"] = 0, + ["definition"] = "BUSH_4", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.85, + ["x"] = 44.1937, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["FRIES_1"] = { + ["y"] = -3.52751, + ["x"] = 61.9817, + ["name"] = "FRIES_1", + ["angle"] = 0, + ["definition"] = "FRIES", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock1_2"] = { + ["y"] = -13.5844, + ["x"] = 28.1195, + ["name"] = "LightBlock1_2", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["RIOCRATE_1"] = { + ["y"] = -20.9176, + ["x"] = 59.7544, + ["name"] = "RIOCRATE_1", + ["angle"] = 0, + ["definition"] = "RIOCRATE", + + }, + ["BP_WOOD_1"] = { + ["y"] = -12.8222, + ["x"] = 49.603, + ["name"] = "BP_WOOD_1", + ["angle"] = 0, + ["definition"] = "BP_WOOD", + + }, + ["COOLHAT_1"] = { + ["y"] = -10.3379, + ["x"] = 66.6933, + ["name"] = "COOLHAT_1", + ["angle"] = 0, + ["definition"] = "COOLHAT", + + }, + ["HardTNT_1"] = { + ["y"] = -2.54236, + ["x"] = 72.2187, + ["name"] = "HardTNT_1", + ["angle"] = 0, + ["definition"] = "HardTNT", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.399997, + ["x"] = 47.4437, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["ENGINE_1"] = { + ["y"] = -13.0792, + ["x"] = 61.2107, + ["name"] = "ENGINE_1", + ["angle"] = 0, + ["definition"] = "ENGINE", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["GOLD_DONUT_1"] = { + ["y"] = -11.0661, + ["x"] = 32.5556, + ["name"] = "GOLD_DONUT_1", + ["angle"] = 0, + ["definition"] = "GOLD_DONUT", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.3, + ["x"] = 46.8437, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["SIGN_1_1"] = { + ["y"] = -19.836, + ["x"] = 47.5, + ["name"] = "SIGN_1_1", + ["angle"] = 0, + ["definition"] = "SIGN_1", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["SCOPE_1"] = { + ["y"] = -15.2138, + ["x"] = 18.38, + ["name"] = "SCOPE_1", + ["angle"] = 0, + ["definition"] = "SCOPE", + + }, + ["Krabby_Patty_1"] = { + ["y"] = -1.4287, + ["x"] = 69.1776, + ["name"] = "Krabby_Patty_1", + ["angle"] = 0, + ["definition"] = "Krabby_Patty", + + }, + ["PRINGLES_1"] = { + ["y"] = -3.35618, + ["x"] = 66.3506, + ["name"] = "PRINGLES_1", + ["angle"] = 0, + ["definition"] = "PRINGLES", + + }, + ["RIO_TNT_1"] = { + ["y"] = -17.5338, + ["x"] = 65.237, + ["name"] = "RIO_TNT_1", + ["angle"] = 0, + ["definition"] = "RIO_TNT", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["KETCHUP_1"] = { + ["y"] = -13.1649, + ["x"] = 42.1073, + ["name"] = "KETCHUP_1", + ["angle"] = 0, + ["definition"] = "KETCHUP", + + }, + ["MECHANIC_HAT_1"] = { + ["y"] = -8.06778, + ["x"] = 65.237, + ["name"] = "MECHANIC_HAT_1", + ["angle"] = 0, + ["definition"] = "MECHANIC_HAT", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 22.2577, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["BP_GEAR_1"] = { + ["y"] = -13.3362, + ["x"] = 65.9651, + ["name"] = "BP_GEAR_1", + ["angle"] = 0, + ["definition"] = "BP_GEAR", + + }, + ["WOODEN_NOSE_1"] = { + ["y"] = -19.3738, + ["x"] = 34.6289, + ["name"] = "WOODEN_NOSE_1", + ["angle"] = 0, + ["definition"] = "WOODEN_NOSE", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.35, + ["x"] = 46.3437, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock4_1"] = { + ["y"] = -2.48441, + ["x"] = 30.4695, + ["name"] = "WoodBlock4_1", + ["angle"] = 0, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.1, + ["x"] = 46.3937, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.75, + ["x"] = 41.5437, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["TRACTOR_TIRE_1"] = { + ["y"] = -20.3338, + ["x"] = 28.4778, + ["name"] = "TRACTOR_TIRE_1", + ["angle"] = 0, + ["definition"] = "TRACTOR_TIRE", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -5.75, + ["x"] = 36.3937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["MEGAPHONE_1"] = { + ["y"] = -11.3382, + ["x"] = 17.8466, + ["name"] = "MEGAPHONE_1", + ["angle"] = 0, + ["definition"] = "MEGAPHONE", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.05, + ["x"] = 41.2437, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -12.7, + ["x"] = 26.5937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock10_1"] = { + ["y"] = -3.55, + ["x"] = 33.7937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["BP_TNT_1"] = { + ["y"] = -9.48126, + ["x"] = 55.2998, + ["name"] = "BP_TNT_1", + ["angle"] = 0, + ["definition"] = "BP_TNT", + + }, + ["WoodBlock4_4"] = { + ["y"] = -2.53441, + ["x"] = 37.1195, + ["name"] = "WoodBlock4_4", + ["angle"] = 0, + ["definition"] = "WoodBlock4", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["WOODEN_ARROW_1"] = { + ["y"] = -19.8004, + ["x"] = 19.66, + ["name"] = "WOODEN_ARROW_1", + ["angle"] = 0, + ["definition"] = "WOODEN_ARROW", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3, + ["x"] = 41.2937, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["MICROPHONE_1"] = { + ["y"] = -13.4219, + ["x"] = 69.3489, + ["name"] = "MICROPHONE_1", + ["angle"] = 0, + ["definition"] = "MICROPHONE", + + }, + ["RADIO_1"] = { + ["y"] = -17.9621, + ["x"] = 71.4905, + ["name"] = "RADIO_1", + ["angle"] = 0, + ["definition"] = "RADIO", + + }, + ["SmallPiglette_3"] = { + ["y"] = -14.2007, + ["x"] = 26.5611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["SIGN_2_1"] = { + ["y"] = -4.44044, + ["x"] = 16.6022, + ["name"] = "SIGN_2_1", + ["angle"] = 0, + ["definition"] = "SIGN_2", + + }, + ["MUSTARD_1"] = { + ["y"] = -13.3362, + ["x"] = 44.5059, + ["name"] = "MUSTARD_1", + ["angle"] = 0, + ["definition"] = "MUSTARD", + + }, + ["Log_1"] = { + ["y"] = -27.6852, + ["x"] = 16.2363, + ["name"] = "Log_1", + ["angle"] = 0, + ["definition"] = "Log", + + }, + ["ExtraDiamond_2"] = { + ["y"] = -1.18441, + ["x"] = 33.6695, + ["name"] = "ExtraDiamond_2", + ["angle"] = 0, + ["definition"] = "ExtraDiamond", + + }, + ["PIZZABOX_1"] = { + ["y"] = -14.407, + ["x"] = 35.1256, + ["name"] = "PIZZABOX_1", + ["angle"] = 0, + ["definition"] = "PIZZABOX", + + }, + ["LUNCHBOX_1"] = { + ["y"] = -2.75652, + ["x"] = 56.9703, + ["name"] = "LUNCHBOX_1", + ["angle"] = 0, + ["definition"] = "LUNCHBOX", + + }, + ["BUSH_1_1"] = { + ["y"] = -24.9439, + ["x"] = 50.631, + ["name"] = "BUSH_1_1", + ["angle"] = 0, + ["definition"] = "BUSH_1", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["WOODEN_TIRE_1"] = { + ["y"] = -8.32477, + ["x"] = 60.6539, + ["name"] = "WOODEN_TIRE_1", + ["angle"] = 0, + ["definition"] = "WOODEN_TIRE", + + }, + ["LightBlock1_1"] = { + ["y"] = -13.5844, + ["x"] = 24.8695, + ["name"] = "LightBlock1_1", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["BP_METAL_1"] = { + ["y"] = -14.921, + ["x"] = 55, + ["name"] = "BP_METAL_1", + ["angle"] = 0, + ["definition"] = "BP_METAL", + + }, + ["PIZZABOX_STACK_1"] = { + ["y"] = -14.0215, + ["x"] = 38.852, + ["name"] = "PIZZABOX_STACK_1", + ["angle"] = 0, + ["definition"] = "PIZZABOX_STACK", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.1, + ["x"] = 37.1437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["RedPig"] = 1, + ["StoneBlock6"] = 2, + ["MICROPHONE"] = 1, + ["BP_TNT"] = 1, + ["FRIES"] = 1, + ["MediumPiglette"] = 1, + ["WoodBlock4"] = 4, + ["StoneBlock11"] = 1, + ["WOODEN_TIRE"] = 1, + ["RedBird"] = 5, + ["MEGAPHONE"] = 1, + ["Log"] = 1, + ["HatPiglette"] = 5, + ["HardTNT"] = 1, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 2, + ["Krabby_Patty"] = 1, + ["StoneBlock1"] = 3, + ["SIGN_2"] = 1, + ["PRINGLES"] = 1, + ["COOLHAT"] = 1, + ["WoodBlock6"] = 2, + ["LUNCHBOX"] = 1, + ["CHIPS"] = 1, + ["GOLD_DONUT"] = 1, + ["PIZZABOX_STACK"] = 1, + ["PIZZABOX"] = 1, + ["MUSTARD"] = 1, + ["KETCHUP"] = 1, + ["WoodBlock5"] = 2, + ["BUSH_1"] = 1, + ["Hay"] = 1, + ["BP_METAL"] = 1, + ["MECHANIC_HAT"] = 1, + ["BUSH_4"] = 1, + ["WOODEN_ARROW"] = 1, + ["SmallPiglette"] = 4, + ["BP_GEAR"] = 1, + ["BUSH_3"] = 1, + ["BP_WOOD"] = 1, + ["ENGINE"] = 1, + ["BUSH_2"] = 1, + ["RIOCRATE"] = 1, + ["Porkarappa"] = 1, + ["WoodBlock3"] = 1, + ["WOODEN_NOSE"] = 1, + ["RIO_TNT"] = 1, + ["RIOCRATESMALL"] = 1, + ["StoneBlock5"] = 4, + ["RADIO"] = 1, + ["LightBlock1"] = 2, + ["LightBlock10"] = 1, + ["TRACTOR_TIRE"] = 1, + ["SIGN_1"] = 1, + ["ExtraBlockTNT"] = 3, + ["SCOPE"] = 1, + ["LightBlock4"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.744, + ["screenWidth"] = 1920, + ["py"] = -112.558, + ["screenHeight"] = 1080, + ["top"] = -496.745, + ["sy"] = 1.40556, + ["sx"] = 1.40556, + ["right"] = 1376.98, + ["left"] = -520.324, + ["px"] = 162.676, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level10.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level10.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..573d451374076b817acdcc23093a3949d0e5d09e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level10.temp.lua @@ -0,0 +1,1004 @@ +themeSprites = { + +} +castleCameraData = { + ["right"] = 1626.54, + ["bottom"] = 49.3347, + ["px"] = 1142.39, + ["py"] = -273.434, + ["screenHeight"] = 320, + ["sy"] = 0.185892, + ["top"] = -596.203, + ["iphone"] = { + ["bottom"] = 49.3347, + ["screenWidth"] = 480, + ["py"] = -273.434, + ["screenHeight"] = 320, + ["top"] = -596.203, + ["sy"] = 0.185892, + ["sx"] = 0.495711, + ["right"] = 1626.54, + ["left"] = 658.237, + ["px"] = 1142.39, + + }, + ["version"] = "0.02", + ["sx"] = 0.495711, + ["windows"] = { + ["bottom"] = 207.611, + ["screenWidth"] = 1366, + ["py"] = -331.979, + ["screenHeight"] = 768, + ["top"] = -871.569, + ["sy"] = 0.711651, + ["sx"] = 0.711651, + ["px"] = 702.679, + ["left"] = -257.061, + ["right"] = 1662.42, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = 192.019, + ["screenWidth"] = 1024, + ["py"] = -264.907, + ["screenHeight"] = 768, + ["top"] = -721.833, + ["sy"] = 0.840398, + ["sx"] = 0.840398, + ["px"] = 1151.87, + ["left"] = 542.635, + ["right"] = 1761.11, + + }, + ["left"] = 658.237, + +} +levelParticles = { + ["y"] = -2040.44, + ["x"] = 1727.25, + ["firstFrame"] = true, + ["width"] = 6683.42, + +} +joints = { + +} +world = { + ["LightBlock2_9"] = { + ["y"] = -4.67531, + ["x"] = 46.2484, + ["name"] = "LightBlock2_9", + ["angle"] = 6.28318, + ["definition"] = "LightBlock2", + + }, + ["StoneBlock4_1"] = { + ["y"] = -5.74177, + ["x"] = 36.9466, + ["name"] = "StoneBlock4_1", + ["angle"] = 2.28882e-005, + ["definition"] = "StoneBlock4", + + }, + ["BlackBird_3"] = { + ["y"] = -2.42703, + ["x"] = -39.2704, + ["name"] = "BlackBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock6_7"] = { + ["y"] = -8.77605, + ["x"] = 27.2488, + ["name"] = "StoneBlock6_7", + ["angle"] = 3.14159, + ["definition"] = "StoneBlock6", + + }, + ["ExtraDonut01_7"] = { + ["y"] = -3.28913, + ["x"] = 27.1981, + ["name"] = "ExtraDonut01_7", + ["angle"] = 4.76837e-007, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock10_8"] = { + ["y"] = -0.373486, + ["x"] = 76.4452, + ["name"] = "WoodBlock10_8", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_8"] = { + ["y"] = -0.527426, + ["x"] = -5.64339, + ["name"] = "WoodBlock4_8", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -29.961, + ["x"] = 54.2209, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_3"] = { + ["y"] = -18.6523, + ["x"] = 27.4007, + ["name"] = "LightBlock1_3", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock1", + + }, + ["LightBlock5_5"] = { + ["y"] = -3.12397, + ["x"] = 36.0542, + ["name"] = "LightBlock5_5", + ["angle"] = 4.71236, + ["definition"] = "LightBlock5", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -16.689, + ["x"] = 41.1708, + ["name"] = "ExtraDonut01_1", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraDonut01", + + }, + ["MISC_FB_BARREL_2"] = { + ["y"] = -20.4372, + ["x"] = 22.522, + ["name"] = "MISC_FB_BARREL_2", + ["angle"] = 0.00017786, + ["definition"] = "MISC_FB_BARREL", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -24.1304, + ["x"] = 55.0538, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock3_1"] = { + ["y"] = -11.5723, + ["x"] = 21.3588, + ["name"] = "WoodBlock3_1", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock3", + + }, + ["LargePiglette_2"] = { + ["y"] = -13.5952, + ["x"] = 26.4159, + ["name"] = "LargePiglette_2", + ["angle"] = 5.81741e-005, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -7.94311, + ["x"] = 13.8623, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraBlockTNT", + + }, + ["SmallPiglette_8"] = { + ["y"] = -11.6318, + ["x"] = 15.4687, + ["name"] = "SmallPiglette_8", + ["angle"] = 0.000107288, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -6.29924, + ["x"] = 6.78424, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock3_1"] = { + ["y"] = -7.34815, + ["x"] = 18.9194, + ["name"] = "LightBlock3_1", + ["angle"] = 5.81741e-005, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock2_3"] = { + ["y"] = -2.49078, + ["x"] = -2.60911, + ["name"] = "WoodBlock2_3", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock2_5"] = { + ["y"] = -18.6739, + ["x"] = 29.042, + ["name"] = "WoodBlock2_5", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock11_2"] = { + ["y"] = -17.1649, + ["x"] = 45.276, + ["name"] = "StoneBlock11_2", + ["angle"] = 4.71243, + ["definition"] = "StoneBlock11", + + }, + ["ExtraDonut01_4"] = { + ["y"] = -4.37337, + ["x"] = 31.83, + ["name"] = "ExtraDonut01_4", + ["angle"] = 0.785543, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -1.87902, + ["x"] = 53.0309, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BlackBird_4"] = { + ["y"] = -1.22041, + ["x"] = -46.01, + ["name"] = "BlackBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["WoodBlock3_3"] = { + ["y"] = -1.06288, + ["x"] = -2.60911, + ["name"] = "WoodBlock3_3", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock3", + + }, + ["BlackBird_2"] = { + ["y"] = -2.42703, + ["x"] = -33.6183, + ["name"] = "BlackBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock5_9"] = { + ["y"] = -12.2268, + ["x"] = 46.3469, + ["name"] = "StoneBlock5_9", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock10_3"] = { + ["y"] = -17.8194, + ["x"] = 25.8538, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock10", + + }, + ["ExtraTire03_1"] = { + ["y"] = -1.10558, + ["x"] = 20.9033, + ["name"] = "ExtraTire03_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraTire03", + + }, + ["WoodBlock10_2"] = { + ["y"] = -5.80574, + ["x"] = 17.3336, + ["name"] = "WoodBlock10_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -5.16882, + ["x"] = 4.76139, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LargePiglette_1"] = { + ["y"] = -10.3824, + ["x"] = 43.0152, + ["name"] = "LargePiglette_1", + ["angle"] = 6.28317, + ["definition"] = "LargePiglette", + + }, + ["WoodBlock5_5"] = { + ["y"] = -0.982123, + ["x"] = 27.1893, + ["name"] = "WoodBlock5_5", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = 3.58203, + ["x"] = -38.6159, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_5"] = { + ["y"] = -7.28866, + ["x"] = 21.2398, + ["name"] = "SmallPiglette_5", + ["angle"] = 4.05312e-005, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -4.69286, + ["x"] = 11.3059, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock2_1"] = { + ["y"] = -0.62515, + ["x"] = 31.949, + ["name"] = "WoodBlock2_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["SmallPiglette_7"] = { + ["y"] = -11.6913, + ["x"] = 19.0979, + ["name"] = "SmallPiglette_7", + ["angle"] = 0.000107288, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -1.70053, + ["x"] = 55.2323, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -2.07505, + ["x"] = 6.78424, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_3"] = { + ["y"] = -8.35958, + ["x"] = 37.3631, + ["name"] = "StoneBlock11_3", + ["angle"] = 4.71243, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -12.6477, + ["x"] = 48.1523, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = 2.09464, + ["x"] = -25.4079, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0.785578, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock6_2"] = { + ["y"] = -10.2634, + ["x"] = 39.9214, + ["name"] = "LightBlock6_2", + ["angle"] = 1.57081, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock5_10"] = { + ["y"] = -13.6252, + ["x"] = 20.3599, + ["name"] = "WoodBlock5_10", + ["angle"] = 0, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -3.26496, + ["x"] = 3.51198, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_1"] = { + ["y"] = -2.117, + ["x"] = 46.2484, + ["name"] = "WoodBlock5_1", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock10_4"] = { + ["y"] = -15.0231, + ["x"] = 17.4915, + ["name"] = "StoneBlock10_4", + ["angle"] = 5.89061, + ["definition"] = "StoneBlock10", + + }, + ["SmallPiglette_3"] = { + ["y"] = -4.31834, + ["x"] = 17.2741, + ["name"] = "SmallPiglette_3", + ["angle"] = 6.28318, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock8_1"] = { + ["y"] = -6.21774, + ["x"] = 33.8528, + ["name"] = "LightBlock8_1", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock8", + + }, + ["ExtraDonut01_6"] = { + ["y"] = -3.28877, + ["x"] = 66.212, + ["name"] = "ExtraDonut01_6", + ["angle"] = 0.392699, + ["definition"] = "ExtraDonut01", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 22.007, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["LightBlock2_10"] = { + ["y"] = -15.3801, + ["x"] = 21.3588, + ["name"] = "LightBlock2_10", + ["angle"] = 0.000124931, + ["definition"] = "LightBlock2", + + }, + ["WoodBlock4_7"] = { + ["y"] = -9.01403, + ["x"] = 18.8599, + ["name"] = "WoodBlock4_7", + ["angle"] = 5.81741e-005, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock5_4"] = { + ["y"] = -7.11017, + ["x"] = 43.3721, + ["name"] = "WoodBlock5_4", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock5", + + }, + ["BlackBird_1"] = { + ["y"] = -2.36009, + ["x"] = -27.5205, + ["name"] = "BlackBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["WoodBlock5_6"] = { + ["y"] = -10.3229, + ["x"] = 29.2717, + ["name"] = "WoodBlock5_6", + ["angle"] = 5.81741e-005, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_9"] = { + ["y"] = -1.38491, + ["x"] = 66.1525, + ["name"] = "WoodBlock10_9", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.53885, + ["x"] = -4.57247, + ["name"] = "WoodBlock2_2", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -14.0161, + ["x"] = 60.2299, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = 2.15414, + ["x"] = -43.3756, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0.785578, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -7.29312, + ["x"] = 52.9714, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = 3.52253, + ["x"] = -30.2865, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -15.0276, + ["x"] = 55.3513, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_2"] = { + ["y"] = -10.085, + ["x"] = 17.2536, + ["name"] = "StoneBlock10_2", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock5_8"] = { + ["y"] = -3.12843, + ["x"] = 40.2989, + ["name"] = "StoneBlock5_8", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -4.69286, + ["x"] = -0.712207, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock6_6"] = { + ["y"] = -4.0759, + ["x"] = 29.8071, + ["name"] = "StoneBlock6_6", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock11_1"] = { + ["y"] = -3.12397, + ["x"] = 33.0199, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71236, + ["definition"] = "StoneBlock11", + + }, + ["ExtraDonut01_5"] = { + ["y"] = -8.35509, + ["x"] = 35.2167, + ["name"] = "ExtraDonut01_5", + ["angle"] = 5.89066, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock5_7"] = { + ["y"] = -10.2634, + ["x"] = 25.1665, + ["name"] = "WoodBlock5_7", + ["angle"] = 5.81741e-005, + ["definition"] = "WoodBlock5", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -17.8789, + ["x"] = 43.9076, + ["name"] = "ExtraDonut01_2", + ["angle"] = 0.39279, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -16.158, + ["x"] = 52.9714, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_5"] = { + ["y"] = -0.570119, + ["x"] = 39.109, + ["name"] = "WoodBlock4_5", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock5_10"] = { + ["y"] = -13.3572, + ["x"] = 30.4021, + ["name"] = "StoneBlock5_10", + ["angle"] = 1.57086, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock5_4"] = { + ["y"] = -4.25885, + ["x"] = 14.0614, + ["name"] = "LightBlock5_4", + ["angle"] = 6.28318, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock4_6"] = { + ["y"] = -0.62515, + ["x"] = 34.9833, + ["name"] = "WoodBlock4_6", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock5_2"] = { + ["y"] = -3.00497, + ["x"] = 38.1365, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.71238, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -2.77146, + ["x"] = 17.3336, + ["name"] = "WoodBlock10_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -20.6972, + ["x"] = 5.29685, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -14.6661, + ["x"] = 42.4202, + ["name"] = "StoneBlock10_1", + ["angle"] = 2.28882e-005, + ["definition"] = "StoneBlock10", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -15.5586, + ["x"] = 13.6243, + ["name"] = "ExtraDonut01_3", + ["angle"] = 5.89063, + ["definition"] = "ExtraDonut01", + + }, + ["LightBlock5_3"] = { + ["y"] = -4.31834, + ["x"] = 20.5464, + ["name"] = "LightBlock5_3", + ["angle"] = 6.28318, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -14.6881, + ["x"] = 4.82089, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBoomerangBird_1"] = { + ["y"] = -3.08677, + ["x"] = 63.7439, + ["name"] = "ExtraBoomerangBird_1", + ["angle"] = 0, + ["definition"] = "ExtraBoomerangBird", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -15.2831, + ["x"] = 6.72475, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -16.9864, + ["x"] = 16.4801, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.00017786, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock4_1"] = { + ["y"] = -9.96597, + ["x"] = 31.949, + ["name"] = "LightBlock4_1", + ["angle"] = 1.57096, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_7"] = { + ["y"] = -0.43298, + ["x"] = 66.212, + ["name"] = "WoodBlock10_7", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_2"] = { + ["y"] = -1.64671, + ["x"] = 43.3547, + ["name"] = "MediumPiglette_2", + ["angle"] = 2.86102e-006, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -25.1418, + ["x"] = 52.2575, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_4"] = { + ["y"] = -5.68674, + ["x"] = 43.2737, + ["name"] = "StoneBlock6_4", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock1_2"] = { + ["y"] = -16.808, + ["x"] = 30.2831, + ["name"] = "LightBlock1_2", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock1", + + }, + ["LightBlock8_2"] = { + ["y"] = -6.99118, + ["x"] = 31.4135, + ["name"] = "LightBlock8_2", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock8", + + }, + ["StoneBlock10_3"] = { + ["y"] = -15.9155, + ["x"] = 34.4478, + ["name"] = "StoneBlock10_3", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock5_3"] = { + ["y"] = -8.24059, + ["x"] = 46.3469, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock5", + + }, + ["ExtraTire03_2"] = { + ["y"] = -1.10558, + ["x"] = 13.7639, + ["name"] = "ExtraTire03_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraTire03", + + }, + ["LightBlock1_1"] = { + ["y"] = -11.6913, + ["x"] = 23.8576, + ["name"] = "LightBlock1_1", + ["angle"] = 5.81741e-005, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock6_5"] = { + ["y"] = -4.0759, + ["x"] = 24.5715, + ["name"] = "StoneBlock6_5", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -7.76908, + ["x"] = 55.8867, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock3_2"] = { + ["y"] = -11.6913, + ["x"] = 13.2079, + ["name"] = "WoodBlock3_2", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock3", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["RedPig"] = 2, + ["StoneBlock6"] = 7, + ["BigBork"] = 2, + ["ExtraDonut01"] = 7, + ["MediumPiglette"] = 3, + ["LightBlock5"] = 5, + ["ImmovableWall01"] = 1, + ["StoneBlock11"] = 3, + ["MISC_FB_BARREL"] = 2, + ["StoneBlock3"] = 1, + ["RedBird"] = 2, + ["StaticBlockTheme01_03"] = 2, + ["StoneBlock2"] = 6, + ["StaticBlockTheme02_04"] = 3, + ["StaticBlockTheme01_04"] = 1, + ["ExtraBoomerangBird"] = 1, + ["WoodBlock2"] = 6, + ["WoodBlock10"] = 9, + ["BalloonPig"] = 2, + ["SmallPig"] = 2, + ["StoneBlock1"] = 2, + ["BowlingBallPig"] = 2, + ["HatPiglette"] = 2, + ["JetpackPig"] = 2, + ["LargePiglette"] = 2, + ["StaticBlockTheme01_02"] = 1, + ["LightBlock3"] = 1, + ["LightBlock2"] = 10, + ["WoodBlock3"] = 3, + ["ExtraPoleRed"] = 1, + ["LightBlock9"] = 2, + ["WoodBlock5"] = 10, + ["SmallBlueBird"] = 2, + ["HandsomePiglette"] = 1, + ["ExtraBlockTNT"] = 1, + ["BlackBird"] = 4, + ["StoneBlock10"] = 4, + ["Estrade04"] = 3, + ["SmallPiglette"] = 9, + ["LightBlock6"] = 2, + ["StoneBlock4"] = 1, + ["ExtraTire03"] = 2, + ["ImmovableWall03"] = 2, + ["StaticBlockTheme02_05"] = 19, + ["StaticBlockTheme02_03"] = 4, + ["GlobeBirdBig"] = 1, + ["LightBlock8"] = 2, + ["BalloonPigBig"] = 2, + ["WoodBlock11"] = 1, + ["WoodBlock4"] = 8, + ["StoneBlock5"] = 10, + ["ImmovableWall02"] = 1, + ["LightBlock1"] = 3, + ["LightBlock10"] = 1, + ["BombPig"] = 2, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme01_05"] = 5, + ["LightBlock4"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["py"] = -201.623, + ["bottom"] = 49.3347, + ["px"] = -179.848, + ["right"] = 1626.54, + ["screenHeight"] = 320, + ["sy"] = 0.495711, + ["top"] = -524.392, + ["iphone"] = { + ["bottom"] = 49.3347, + ["screenWidth"] = 480, + ["py"] = -201.623, + ["screenHeight"] = 320, + ["top"] = -524.392, + ["sy"] = 0.495711, + ["sx"] = 0.495711, + ["right"] = 1626.54, + ["left"] = -664.001, + ["px"] = -179.848, + + }, + ["version"] = "0.02", + ["sx"] = 0.495711, + ["windows"] = { + ["bottom"] = 42.2834, + ["screenWidth"] = 1366, + ["py"] = -269.261, + ["screenHeight"] = 768, + ["top"] = -726.187, + ["sy"] = 0.840398, + ["sx"] = 0.840398, + ["px"] = -395.395, + ["left"] = -1208.11, + ["right"] = 1368.36, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["sy"] = 0.790398, + ["sx"] = 0.790398, + ["px"] = 34.0104, + ["py"] = -251.675, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["left"] = -664.001, + +} +filename = "Level10.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level11.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level11.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..a6951862f5cd5e02ec95334b17509b1e2dfb271b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level11.temp.lua @@ -0,0 +1,1045 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 232.058, + ["screenWidth"] = 1366, + ["py"] = -492.897, + ["screenHeight"] = 768, + ["top"] = -1217.85, + ["sy"] = 0.529688, + ["sx"] = 0.529688, + ["right"] = 1917.52, + ["left"] = -661.352, + ["px"] = 628.086, + + }, + +} +levelParticles = { + ["y"] = -2055.54, + ["x"] = 2300.57, + ["firstFrame"] = true, + ["width"] = 7213.29, + +} +joints = { + ["ExtraRopeThick01_3StaticBlockTheme02_01_24"] = { + ["type"] = 2, + ["end2"] = "StaticBlockTheme02_01_24", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_3StaticBlockTheme02_01_24", + ["end1"] = "ExtraRopeThick01_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_3StoneBlock7_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock7_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_3StoneBlock7_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraRopeThick01_3", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StoneBlock7_1ExtraRopeThick01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock7_1ExtraRopeThick01_3", + ["end1"] = "StoneBlock7_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} +world = { + ["StaticBlockTheme02_01_20"] = { + ["y"] = -27.9308, + ["x"] = -7.70655, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_3_1"] = { + ["y"] = -21.5529, + ["x"] = -1.86496, + ["name"] = "BUSH_3_1", + ["angle"] = 5.24521e-006, + ["definition"] = "BUSH_3", + + }, + ["BoomerangBird_2"] = { + ["y"] = -33.2808, + ["x"] = -6.78702, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -23.2496, + ["x"] = -5.44954, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["MediumPiglette_4"] = { + ["y"] = -1.7068, + ["x"] = 47.0739, + ["name"] = "MediumPiglette_4", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -5.36075, + ["x"] = -21.3322, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -49.6635, + ["x"] = 55.3897, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BoomerangBird_5"] = { + ["y"] = -21.0762, + ["x"] = -18.9916, + ["name"] = "BoomerangBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -17.7325, + ["x"] = -19.1588, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 0.392702, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock12_1"] = { + ["y"] = -6.99293, + ["x"] = 44.2421, + ["name"] = "LightBlock12_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -2.60219, + ["x"] = -15.815, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -24.5504, + ["x"] = 55.3807, + ["name"] = "MediumPiglette_2", + ["angle"] = 5.24521e-006, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -23.8348, + ["x"] = -15.9822, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -21.9121, + ["x"] = -10.8831, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -25.1722, + ["x"] = -9.462, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_2"] = { + ["y"] = -6.42656, + ["x"] = 52.1713, + ["name"] = "SmallPiglette_2", + ["angle"] = 2.28882e-005, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -22.748, + ["x"] = -14.6447, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = 0.657935, + ["x"] = -17.4033, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -48.9112, + ["x"] = 46.8633, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LargePiglette_2"] = { + ["y"] = -11.3351, + ["x"] = 51.9825, + ["name"] = "LargePiglette_2", + ["angle"] = 2.28882e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -21.5777, + ["x"] = -7.95732, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -4.60841, + ["x"] = -15.1463, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -26.0082, + ["x"] = -8.45888, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -42.9761, + ["x"] = 40.8446, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["RIOCRATE_1"] = { + ["y"] = -3.15563, + ["x"] = 4.27415, + ["name"] = "RIOCRATE_1", + ["angle"] = 0, + ["definition"] = "RIOCRATE", + + }, + ["BoomerangBird_3"] = { + ["y"] = -31.0237, + ["x"] = -12.3041, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock6_1"] = { + ["y"] = -8.69204, + ["x"] = 52.0769, + ["name"] = "LightBlock6_1", + ["angle"] = 2.28882e-005, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock6_3"] = { + ["y"] = -4.44426, + ["x"] = 44.9028, + ["name"] = "WoodBlock6_3", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -49.6635, + ["x"] = 51.1265, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock6_2"] = { + ["y"] = -4.16107, + ["x"] = 54.5311, + ["name"] = "StoneBlock6_2", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -5.61152, + ["x"] = -14.8955, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -26.8441, + ["x"] = -1.85505, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_3"] = { + ["y"] = -4.06668, + ["x"] = 49.4338, + ["name"] = "StoneBlock6_3", + ["angle"] = 4.71241, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -18.1504, + ["x"] = -15.5643, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 3.1416, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -26.7605, + ["x"] = -6.28547, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock6_2"] = { + ["y"] = -2.93394, + ["x"] = 35.9353, + ["name"] = "LightBlock6_2", + ["angle"] = 5.49784, + ["definition"] = "LightBlock6", + + }, + ["LightBlock12_2"] = { + ["y"] = -6.80414, + ["x"] = 59.7229, + ["name"] = "LightBlock12_2", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -25.2544, + ["x"] = 40.0087, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -21.4106, + ["x"] = -14.6447, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -9.3732, + ["x"] = -13.0565, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -23.7512, + ["x"] = -18.3228, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LargePiglette_1"] = { + ["y"] = -25.0224, + ["x"] = 46.2244, + ["name"] = "LargePiglette_1", + ["angle"] = 6.28316, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -30.2141, + ["x"] = 43.1093, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -21.0748, + ["x"] = 48.7859, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -28.098, + ["x"] = -4.6972, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_1"] = { + ["y"] = -29.7422, + ["x"] = 46.13, + ["name"] = "SmallPiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -11.881, + ["x"] = -1.68787, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_1"] = { + ["y"] = -29.7422, + ["x"] = 49.4338, + ["name"] = "LightBlock5_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_2"] = { + ["y"] = -1.98999, + ["x"] = 44.0533, + ["name"] = "LightBlock5_2", + ["angle"] = 1.57082, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock6_2"] = { + ["y"] = -4.34987, + ["x"] = 59.0621, + ["name"] = "WoodBlock6_2", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -28.8503, + ["x"] = -12.0534, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -23.7512, + ["x"] = -10.2979, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -0.595959, + ["x"] = -16.3166, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -17.2309, + ["x"] = -13.2237, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -23.3332, + ["x"] = -1.35349, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -4.10685, + ["x"] = -3.6105, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_4"] = { + ["y"] = -1.04603, + ["x"] = 51.9825, + ["name"] = "WoodBlock5_4", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock5", + + }, + ["BoomerangBird_4"] = { + ["y"] = -25.9246, + ["x"] = -17.4033, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -28.1816, + ["x"] = -10.1307, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock4_1"] = { + ["y"] = -31.2525, + ["x"] = 49.4338, + ["name"] = "LightBlock4_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -17.8997, + ["x"] = -9.87996, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -27.8472, + ["x"] = -11.8026, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 13.7269, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -18.4012, + ["x"] = -7.95732, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock11_1"] = { + ["y"] = -1.8012, + ["x"] = 37.1624, + ["name"] = "WoodBlock11_1", + ["angle"] = 4.71244, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -25.423, + ["x"] = -12.8893, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraGoldenEgg_1"] = { + ["y"] = -15.8098, + ["x"] = -3.52691, + ["name"] = "ExtraGoldenEgg_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraGoldenEgg", + + }, + ["ExtraRopeThick01_3"] = { + ["y"] = -42.4855, + ["x"] = 43.2037, + ["name"] = "ExtraRopeThick01_3", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["LightBlock3_1"] = { + ["y"] = -24.7392, + ["x"] = 52.1713, + ["name"] = "LightBlock3_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -20.3224, + ["x"] = 48.7859, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -20.4074, + ["x"] = -11.301, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock3_1"] = { + ["y"] = -24.5504, + ["x"] = 38.1064, + ["name"] = "StoneBlock3_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock4_1"] = { + ["y"] = -23.1345, + ["x"] = 37.1624, + ["name"] = "WoodBlock4_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -29.6862, + ["x"] = 0.318362, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_1"] = { + ["y"] = -36.4573, + ["x"] = -1.35349, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["MediumPiglette_1"] = { + ["y"] = -33.4236, + ["x"] = 48.4898, + ["name"] = "MediumPiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock6_1"] = { + ["y"] = -22.3793, + ["x"] = 44.9972, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -30.0206, + ["x"] = -5.53313, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_2"] = { + ["y"] = -25.7776, + ["x"] = 50.189, + ["name"] = "WoodBlock5_2", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock5", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -3.78349, + ["x"] = 52.0768, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_2"] = { + ["y"] = -22.3793, + ["x"] = 55.2863, + ["name"] = "LightBlock4_2", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -6.14337, + ["x"] = 56.5134, + ["name"] = "ExtraDonut01_2", + ["angle"] = 4.05312e-005, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -28.9339, + ["x"] = -2.18942, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = 0.657935, + ["x"] = -18.1556, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -27.1935, + ["x"] = 42.6373, + ["name"] = "WoodBlock2_1", + ["angle"] = 3.14157, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock5_3"] = { + ["y"] = -24.8336, + ["x"] = 42.5429, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -30.8566, + ["x"] = -3.6105, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -18.7356, + ["x"] = -14.8119, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.1416, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -12.2154, + ["x"] = -12.137, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -19.7387, + ["x"] = -12.137, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -9.20603, + ["x"] = -3.69409, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -28.2318, + ["x"] = 46.4132, + ["name"] = "StoneBlock10_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock5_1"] = { + ["y"] = -22.7569, + ["x"] = 51.1329, + ["name"] = "WoodBlock5_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_3"] = { + ["y"] = -1.89559, + ["x"] = 59.9117, + ["name"] = "LightBlock5_3", + ["angle"] = 4.71243, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -25.5066, + ["x"] = -4.36283, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock7_1"] = { + ["y"] = -37.577, + ["x"] = 43.4869, + ["name"] = "StoneBlock7_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock7", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -7.70134, + ["x"] = -13.8924, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -1.89559, + ["x"] = 56.891, + ["name"] = "MediumPiglette_3", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock8_1"] = { + ["y"] = -23.5121, + ["x"] = 34.1418, + ["name"] = "WoodBlock8_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -32.612, + ["x"] = -1.2699, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -25.0051, + ["x"] = 0.318362, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -31.0237, + ["x"] = -5.9511, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -25.9246, + ["x"] = -1.85505, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -3.6053, + ["x"] = -10.5487, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -2.06647, + ["x"] = 9.52193, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 0, + ["definition"] = "RIOCRATESMALL", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -20.9926, + ["x"] = -10.6323, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -6.23777, + ["x"] = 47.5459, + ["name"] = "ExtraDonut01_1", + ["angle"] = 4.05312e-005, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock1_1"] = { + ["y"] = -32.0829, + ["x"] = 50.9383, + ["name"] = "WoodBlock1_1", + ["angle"] = 0, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -14.7217, + ["x"] = 40.0087, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -18.8192, + ["x"] = -19.2424, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_1"] = { + ["y"] = -22.2849, + ["x"] = 35.0857, + ["name"] = "WoodBlock6_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -46.4762, + ["x"] = 43.1744, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 1, + ["StoneBlock6"] = 3, + ["ExtraDonut01"] = 2, + ["MediumPiglette"] = 4, + ["WoodBlock11"] = 1, + ["StaticBlockTheme02_04"] = 16, + ["ExtraBlockTNT"] = 2, + ["StoneBlock3"] = 1, + ["HatPiglette"] = 1, + ["WoodBlock2"] = 1, + ["HardTNT"] = 2, + ["WoodBlock6"] = 3, + ["LargePiglette"] = 2, + ["ExtraGoldenEgg"] = 1, + ["PIZZABOX"] = 1, + ["CHIPS"] = 1, + ["MUSTARD"] = 1, + ["LightBlock12"] = 2, + ["WoodBlock5"] = 4, + ["WoodBlock1"] = 1, + ["ExtraRopeThick01"] = 3, + ["ExtraHelmetBig2"] = 1, + ["StoneBlock10"] = 1, + ["StoneBlock7"] = 1, + ["BUSH_3"] = 1, + ["BoomerangBird"] = 5, + ["LightBlock6"] = 3, + ["StaticBlockTheme02_01"] = 26, + ["PRINGLES"] = 1, + ["GOLD_DONUT"] = 1, + ["FRIES"] = 1, + ["StaticBlockTheme02_03"] = 5, + ["StaticBlockTheme02_05"] = 12, + ["StaticBlockTheme02_02"] = 4, + ["RIOCRATESMALL"] = 1, + ["LightBlock5"] = 3, + ["LightBlock3"] = 1, + ["SmallPiglette"] = 2, + ["KETCHUP"] = 1, + ["Log"] = 4, + ["PIZZABOX_STACK"] = 1, + ["BowlingBallPig"] = 2, + ["LUNCHBOX"] = 1, + ["WoodBlock4"] = 1, + ["RIOCRATE"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 232.058, + ["screenWidth"] = 1366, + ["py"] = -492.897, + ["screenHeight"] = 768, + ["top"] = -1217.85, + ["sy"] = 0.529688, + ["sx"] = 0.529688, + ["right"] = 1917.52, + ["left"] = -661.352, + ["px"] = 628.086, + + }, + +} +filename = "Level11.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level12.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level12.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..dceeefc5297b927c1380f6e0e1baacda384d2691 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level12.temp.lua @@ -0,0 +1,1506 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 318.888, + ["screenWidth"] = 1366, + ["py"] = -446.287, + ["screenHeight"] = 768, + ["top"] = -1211.46, + ["sy"] = 0.501846, + ["sx"] = 0.501846, + ["right"] = 2425.79, + ["left"] = -296.165, + ["px"] = 1064.81, + + }, + +} +levelParticles = { + ["y"] = -2965.8, + ["x"] = 2342.86, + ["firstFrame"] = true, + ["width"] = 10180.4, + +} +joints = { + ["StoneBlock3_1StoneBlock9_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_1StoneBlock9_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_1", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StoneBlock3_2StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_2StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -6.8821, + ["x"] = -16.8249, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_4"] = { + ["y"] = -33.4418, + ["x"] = 56.3247, + ["name"] = "LightBlock5_4", + ["angle"] = 1.5708, + ["definition"] = "LightBlock5", + + }, + ["BoomerangBird_2"] = { + ["y"] = -31.6387, + ["x"] = -32.5565, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -4.31536, + ["x"] = -50.0269, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -33.6881, + ["x"] = -40.3304, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -28.4718, + ["x"] = -37.0185, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_9"] = { + ["y"] = -3.48724, + ["x"] = 30.7829, + ["name"] = "StaticBlockTheme01_02_9", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["SmallPiglette_4"] = { + ["y"] = -27.8669, + ["x"] = 60.7041, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.000195503, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -6.30251, + ["x"] = -61.5358, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -4.39802, + ["x"] = 45.4381, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -4.06697, + ["x"] = -34.7092, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = 2.66017, + ["x"] = -8.2048, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_2"] = { + ["y"] = -26.5296, + ["x"] = 68.5709, + ["name"] = "SmallPiglette_2", + ["angle"] = 0.000160217, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -19.7156, + ["x"] = 61.5009, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 3.53428, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock11_2"] = { + ["y"] = -39.2738, + ["x"] = 64.0868, + ["name"] = "LightBlock11_2", + ["angle"] = 0.000230789, + ["definition"] = "LightBlock11", + + }, + ["WoodBlock6_4"] = { + ["y"] = -1.38947, + ["x"] = -87.8995, + ["name"] = "WoodBlock6_4", + ["angle"] = 0.000407219, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -24.9943, + ["x"] = -26.172, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 5.49777, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -14.0026, + ["x"] = 45.5209, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -18.3705, + ["x"] = -23.6052, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_31"] = { + ["y"] = -12.264, + ["x"] = -67.8284, + ["name"] = "StaticBlockTheme02_04_31", + ["angle"] = 5.89054, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_5"] = { + ["y"] = -13.7462, + ["x"] = 29.8223, + ["name"] = "StoneBlock5_5", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_3"] = { + ["y"] = -9.76095, + ["x"] = 27.73, + ["name"] = "StoneBlock5_3", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -13.5886, + ["x"] = 62.0805, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -27.7267, + ["x"] = -32.8786, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -22.0136, + ["x"] = -24.2676, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_1"] = { + ["y"] = -28.4176, + ["x"] = 56.6921, + ["name"] = "StoneBlock5_1", + ["angle"] = 0.000195503, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock6_1"] = { + ["y"] = -3.97645, + ["x"] = 78.3978, + ["name"] = "WoodBlock6_1", + ["angle"] = 1.57089, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -30.4795, + ["x"] = -41.4159, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 3.53432, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LargePiglette_1"] = { + ["y"] = -11.2139, + ["x"] = 81.7019, + ["name"] = "LargePiglette_1", + ["angle"] = 0.000107288, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock1_2"] = { + ["y"] = -17.4326, + ["x"] = 18.6635, + ["name"] = "StoneBlock1_2", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock10_6"] = { + ["y"] = -21.4179, + ["x"] = 32.612, + ["name"] = "StoneBlock10_6", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock10", + + }, + ["GlobeBird_3"] = { + ["y"] = -16.0727, + ["x"] = -63.8541, + ["name"] = "GlobeBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["StoneBlock3_1"] = { + ["y"] = -5.77566, + ["x"] = 16.7705, + ["name"] = "StoneBlock3_1", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -20.6266, + ["x"] = -48.3709, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -21.2061, + ["x"] = -31.8941, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_23"] = { + ["y"] = -25.0976, + ["x"] = -53.8356, + ["name"] = "StaticBlockTheme02_04_23", + ["angle"] = 0.785441, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = 0.507428, + ["x"] = -10.1092, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 11.3317, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock9_5"] = { + ["y"] = -28.2925, + ["x"] = 45.8631, + ["name"] = "StoneBlock9_5", + ["angle"] = 1.17844, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock10_4"] = { + ["y"] = -36.835, + ["x"] = 62.2775, + ["name"] = "StoneBlock10_4", + ["angle"] = 0.000230789, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = 1.97742, + ["x"] = 28.0506, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 1.17808, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_1"] = { + ["y"] = -25.9789, + ["x"] = 63.4575, + ["name"] = "WoodBlock4_1", + ["angle"] = 0.39286, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock9_6"] = { + ["y"] = -26.1006, + ["x"] = 24.5418, + ["name"] = "StoneBlock9_6", + ["angle"] = 1.57114, + ["definition"] = "StoneBlock9", + + }, + ["BoomerangBird_1"] = { + ["y"] = -31.5559, + ["x"] = -48.8677, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -30.0696, + ["x"] = 70.6949, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000195503, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock4_2"] = { + ["y"] = -30.935, + ["x"] = 67.6269, + ["name"] = "LightBlock4_2", + ["angle"] = 0.000195503, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -14.9962, + ["x"] = 67.4624, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -17.2334, + ["x"] = 34.7043, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 0.393002, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_27"] = { + ["y"] = -15.4103, + ["x"] = -57.3131, + ["name"] = "StaticBlockTheme02_04_27", + ["angle"] = 3.92704, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBalloon03_1"] = { + ["y"] = -16.8534, + ["x"] = 75.4936, + ["name"] = "StaticBalloon03_1", + ["angle"] = 0.000142574, + ["definition"] = "StaticBalloon03", + + }, + ["GlobeBird_2"] = { + ["y"] = -17.8114, + ["x"] = -17.7357, + ["name"] = "GlobeBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["StaticBlockTheme02_04_28"] = { + ["y"] = -13.8371, + ["x"] = -58.6378, + ["name"] = "StaticBlockTheme02_04_28", + ["angle"] = 4.31974, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_3"] = { + ["y"] = -26.5296, + ["x"] = 72.9763, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.000195503, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_26"] = { + ["y"] = -16.2383, + ["x"] = -57.0647, + ["name"] = "StaticBlockTheme02_04_26", + ["angle"] = 3.53434, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock11_3"] = { + ["y"] = -29.4881, + ["x"] = 43.3723, + ["name"] = "StoneBlock11_3", + ["angle"] = 1.96386, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = -27.7472, + ["x"] = -47.2117, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = 4.71243, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -15.2447, + ["x"] = -52.3452, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -28.7407, + ["x"] = -43.4858, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 4.31973, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -30.1278, + ["x"] = -39.3368, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 2.35621, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -16.0727, + ["x"] = -39.7599, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_3"] = { + ["y"] = -19.7984, + ["x"] = 70.3603, + ["name"] = "StaticBlockTheme01_02_3", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock1_1"] = { + ["y"] = -30.935, + ["x"] = 72.8976, + ["name"] = "StoneBlock1_1", + ["angle"] = 0.000248432, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock10_4"] = { + ["y"] = -5.0736, + ["x"] = 24.6398, + ["name"] = "WoodBlock10_4", + ["angle"] = 5.89077, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock3_3"] = { + ["y"] = -29.1892, + ["x"] = 24.0436, + ["name"] = "StoneBlock3_3", + ["angle"] = 0.000389576, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -26.6707, + ["x"] = 53.9663, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_25"] = { + ["y"] = -18.4738, + ["x"] = -56.6507, + ["name"] = "StaticBlockTheme02_04_25", + ["angle"] = 3.14164, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -19.1264, + ["x"] = 34.8039, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 0.000301361, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -4.72921, + ["x"] = 61.9977, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -34.0817, + ["x"] = 62.3561, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.000230789, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock5_1"] = { + ["y"] = -22.4389, + ["x"] = 75.1003, + ["name"] = "WoodBlock5_1", + ["angle"] = 1.57094, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -16.9629, + ["x"] = -23.1912, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -1.00344, + ["x"] = -19.4744, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_4"] = { + ["y"] = -12.2638, + ["x"] = 75.3282, + ["name"] = "StaticBlockTheme01_02_4", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -8.70365, + ["x"] = -55.3259, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_34"] = { + ["y"] = -2.99059, + ["x"] = -74.535, + ["name"] = "StaticBlockTheme02_04_34", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -0.982935, + ["x"] = -10.7715, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = 0.189038, + ["x"] = 108.591, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -9.76095, + ["x"] = 45.8631, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = 0.393002, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BoomerangBird_3"] = { + ["y"] = -1.66583, + ["x"] = -1.25888, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["WoodBlock10_6"] = { + ["y"] = -2.18427, + ["x"] = 22.946, + ["name"] = "WoodBlock10_6", + ["angle"] = 5.89077, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_2"] = { + ["y"] = -3.89778, + ["x"] = 85.0846, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.57089, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_3"] = { + ["y"] = -1.88762, + ["x"] = -80.726, + ["name"] = "WoodBlock6_3", + ["angle"] = 5.89089, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock10_5"] = { + ["y"] = -20.4216, + ["x"] = 31.516, + ["name"] = "StoneBlock10_5", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_3"] = { + ["y"] = -31.8003, + ["x"] = 62.7495, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.000195503, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_1"] = { + ["y"] = -24.8776, + ["x"] = 70.6162, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock10_3"] = { + ["y"] = -32.2779, + ["x"] = 37.1951, + ["name"] = "LightBlock10_3", + ["angle"] = 0.785753, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_35"] = { + ["y"] = 0.155725, + ["x"] = -75.8598, + ["name"] = "StaticBlockTheme02_04_35", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock4_2"] = { + ["y"] = -27.4736, + ["x"] = 70.6949, + ["name"] = "WoodBlock4_2", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -21.2888, + ["x"] = 53.9663, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_2"] = { + ["y"] = -6.26918, + ["x"] = 25.1379, + ["name"] = "StoneBlock6_2", + ["angle"] = 5.89077, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock5_3"] = { + ["y"] = -15.0415, + ["x"] = 18.9624, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.57112, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_22"] = { + ["y"] = -27.0848, + ["x"] = -50.8548, + ["name"] = "StaticBlockTheme02_04_22", + ["angle"] = 5.89053, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_2"] = { + ["y"] = -30.3843, + ["x"] = 56.5347, + ["name"] = "StoneBlock5_2", + ["angle"] = 0.000195503, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_6"] = { + ["y"] = -15.6393, + ["x"] = 30.6193, + ["name"] = "StoneBlock5_6", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock5", + + }, + ["StaticBalloon05_1"] = { + ["y"] = -33.4734, + ["x"] = 33.0105, + ["name"] = "StaticBalloon05_1", + ["angle"] = 0.000389576, + ["definition"] = "StaticBalloon05", + + }, + ["LargePiglette_3"] = { + ["y"] = -24.2076, + ["x"] = 35.8999, + ["name"] = "LargePiglette_3", + ["angle"] = 0.000319004, + ["definition"] = "LargePiglette", + + }, + ["SmallPiglette_5"] = { + ["y"] = -31.5643, + ["x"] = 71.1669, + ["name"] = "SmallPiglette_5", + ["angle"] = 0.000248432, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock9_2"] = { + ["y"] = -5.97493, + ["x"] = 16.7705, + ["name"] = "StoneBlock9_2", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -9.86282, + ["x"] = -22.3724, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -26.0084, + ["x"] = -40.4223, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock11_1"] = { + ["y"] = -2.08842, + ["x"] = 87.6019, + ["name"] = "LightBlock11_1", + ["angle"] = 0.000107288, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = 3.1366, + ["x"] = 24.5731, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 1.17808, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_1"] = { + ["y"] = -10.088, + ["x"] = 85.4058, + ["name"] = "SmallPiglette_1", + ["angle"] = 0.000160217, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -4.14976, + ["x"] = -28.0854, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_6"] = { + ["y"] = -34.3177, + ["x"] = 58.8161, + ["name"] = "WoodBlock4_6", + ["angle"] = 1.57101, + ["definition"] = "WoodBlock4", + + }, + ["BirthdayCake_1_1"] = { + ["y"] = -23.4106, + ["x"] = 31.4164, + ["name"] = "BirthdayCake_1_1", + ["angle"] = 0.000319004, + ["definition"] = "BirthdayCake_1", + + }, + ["LightBlock5_1"] = { + ["y"] = -0.908408, + ["x"] = 81.7019, + ["name"] = "LightBlock5_1", + ["angle"] = 0.000107288, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -11.1048, + ["x"] = -33.1361, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_24"] = { + ["y"] = -22.1169, + ["x"] = -55.8227, + ["name"] = "StaticBlockTheme02_04_24", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["PartyHat_2_1"] = { + ["y"] = -27.2962, + ["x"] = 35.8002, + ["name"] = "PartyHat_2_1", + ["angle"] = 0.000319004, + ["definition"] = "PartyHat_2", + + }, + ["LightBlock10_1"] = { + ["y"] = -17.5323, + ["x"] = 24.3425, + ["name"] = "LightBlock10_1", + ["angle"] = 0.000336647, + ["definition"] = "LightBlock10", + + }, + ["LightBlock11_3"] = { + ["y"] = -39.2738, + ["x"] = 60.0748, + ["name"] = "LightBlock11_3", + ["angle"] = 4.71263, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -6.6337, + ["x"] = -39.3459, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -8.76594, + ["x"] = -9.69517, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -11.6639, + ["x"] = -11.6823, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 5.49776, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -4.64641, + ["x"] = 35.9164, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_32"] = { + ["y"] = -10.2768, + ["x"] = -70.8091, + ["name"] = "StaticBlockTheme02_04_32", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock5_2"] = { + ["y"] = -10.9565, + ["x"] = 18.8628, + ["name"] = "WoodBlock5_2", + ["angle"] = 1.57112, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -15.6587, + ["x"] = -26.3466, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_7"] = { + ["y"] = -8.3661, + ["x"] = 22.6488, + ["name"] = "StoneBlock10_7", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock10_2"] = { + ["y"] = -32.1782, + ["x"] = 28.826, + ["name"] = "LightBlock10_2", + ["angle"] = 5.49814, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -5.28843, + ["x"] = -9.03278, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_5"] = { + ["y"] = -3.77838, + ["x"] = 24.1416, + ["name"] = "WoodBlock10_5", + ["angle"] = 5.89077, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -12.448, + ["x"] = 54.9614, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = 0.000195503, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -6.13691, + ["x"] = -65.5101, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -16.9345, + ["x"] = 37.5936, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 0.393002, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -27.0643, + ["x"] = -29.2355, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 0.392688, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -3.98417, + ["x"] = -50.5236, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -15.5554, + ["x"] = -21.9493, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -13.7338, + ["x"] = -14.663, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 0.39267, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -11.5188, + ["x"] = -45.887, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_3"] = { + ["y"] = -27.3949, + ["x"] = 66.2109, + ["name"] = "WoodBlock4_3", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -11.5186, + ["x"] = 38.3175, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_8"] = { + ["y"] = -12.3466, + ["x"] = 32.5217, + ["name"] = "StaticBlockTheme01_02_8", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -15.7413, + ["x"] = 41.0498, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_1"] = { + ["y"] = -22.2028, + ["x"] = 72.0323, + ["name"] = "MediumPiglette_1", + ["angle"] = 0.000142574, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock4_5"] = { + ["y"] = -34.239, + ["x"] = 65.5815, + ["name"] = "WoodBlock4_5", + ["angle"] = 1.57101, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -3.47992, + ["x"] = 81.4724, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.000107288, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -14.6446, + ["x"] = -20.1277, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.96347, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock11_1"] = { + ["y"] = -20.2362, + ["x"] = 73.8416, + ["name"] = "StoneBlock11_1", + ["angle"] = 5.49791, + ["definition"] = "StoneBlock11", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -27.7883, + ["x"] = 64.0868, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.000195503, + ["definition"] = "ExtraDonut01", + + }, + ["GlobeBird_1"] = { + ["y"] = -37.0205, + ["x"] = -40.3395, + ["name"] = "GlobeBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -24.8491, + ["x"] = 62.8257, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_30"] = { + ["y"] = -12.9263, + ["x"] = -64.1853, + ["name"] = "StaticBlockTheme02_04_30", + ["angle"] = 4.71244, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_33"] = { + ["y"] = -7.21329, + ["x"] = -72.7963, + ["name"] = "StaticBlockTheme02_04_33", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock9_3"] = { + ["y"] = -20.0231, + ["x"] = 24.4422, + ["name"] = "StoneBlock9_3", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme01_02_5"] = { + ["y"] = -3.40444, + ["x"] = 77.0669, + ["name"] = "StaticBlockTheme01_02_5", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LargePiglette_4"] = { + ["y"] = -11.2554, + ["x"] = 22.848, + ["name"] = "LargePiglette_4", + ["angle"] = 0.000319004, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -4.23242, + ["x"] = 71.6851, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -8.46051, + ["x"] = 82.0165, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -4.14976, + ["x"] = -42.8234, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock9_4"] = { + ["y"] = -26.4992, + ["x"] = 41.8778, + ["name"] = "StoneBlock9_4", + ["angle"] = 1.17844, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock3_2"] = { + ["y"] = -1.79037, + ["x"] = 15.9734, + ["name"] = "StoneBlock3_2", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_04_29"] = { + ["y"] = -12.9263, + ["x"] = -62.0326, + ["name"] = "StaticBlockTheme02_04_29", + ["angle"] = 4.71244, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -1.25184, + ["x"] = -58.8034, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock5_4"] = { + ["y"] = -11.7536, + ["x"] = 28.9256, + ["name"] = "StoneBlock5_4", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -4.39802, + ["x"] = 53.9663, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -29.8171, + ["x"] = -42.1611, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = 3.92702, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock4_1"] = { + ["y"] = -27.3949, + ["x"] = 75.179, + ["name"] = "LightBlock4_1", + ["angle"] = 1.57096, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -31.5354, + ["x"] = -40.082, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 5.89051, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_7"] = { + ["y"] = -19.8812, + ["x"] = 37.5723, + ["name"] = "StaticBlockTheme01_02_7", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -19.964, + ["x"] = 46.5973, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock9_1"] = { + ["y"] = -1.89001, + ["x"] = 15.9734, + ["name"] = "StoneBlock9_1", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -1.08624, + ["x"] = -68.822, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_7"] = { + ["y"] = -31.5804, + ["x"] = 45.9627, + ["name"] = "SmallPiglette_7", + ["angle"] = 0.000389576, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -14.479, + ["x"] = -18.2233, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock5_4"] = { + ["y"] = -23.1117, + ["x"] = 24.4422, + ["name"] = "WoodBlock5_4", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_02_6"] = { + ["y"] = -24.9319, + ["x"] = 45.1069, + ["name"] = "StaticBlockTheme01_02_6", + ["angle"] = 5.89049, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock1_1"] = { + ["y"] = -18.3293, + ["x"] = 19.4605, + ["name"] = "LightBlock1_1", + ["angle"] = 0.000336647, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -2.07968, + ["x"] = 32.6873, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 0.392683, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -9.53149, + ["x"] = 70.8571, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = 0.652655, + ["x"] = 29.9549, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 0.785381, + ["definition"] = "StaticBlockTheme02_05", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["KETCHUP"] = 1, + ["BirthdayCake_1"] = 1, + ["ExtraDonut01"] = 1, + ["MediumPiglette"] = 2, + ["WoodBlock4"] = 6, + ["StaticBlockTheme02_04"] = 35, + ["StoneBlock11"] = 3, + ["LightBlock11"] = 3, + ["StoneBlock3"] = 3, + ["StaticBlockTheme01_02"] = 9, + ["GlobeBird"] = 3, + ["WoodBlock10"] = 6, + ["StoneBlock1"] = 2, + ["WoodBlock6"] = 4, + ["LargePiglette"] = 5, + ["WoodBlock5"] = 4, + ["HandsomePiglette"] = 2, + ["PartyHat_4"] = 1, + ["StoneBlock10"] = 7, + ["BoomerangBird"] = 3, + ["WoodBlock7"] = 1, + ["StaticBalloon05"] = 1, + ["LightBlock4"] = 2, + ["StaticBlockTheme02_05"] = 47, + ["StaticBlockTheme02_02"] = 3, + ["StaticBalloon03"] = 1, + ["StoneBlock9"] = 6, + ["StoneBlock6"] = 2, + ["StoneBlock5"] = 6, + ["PartyHat_2"] = 1, + ["LightBlock1"] = 1, + ["LightBlock10"] = 3, + ["LightBlock5"] = 4, + ["SmallPiglette"] = 7, + ["StaticBlockTheme01_01"] = 6, + ["ExtraBlockTNT"] = 1, + ["WoodBlock12"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 318.888, + ["screenWidth"] = 1366, + ["py"] = -370.524, + ["screenHeight"] = 768, + ["top"] = -1135.7, + ["sy"] = 0.501846, + ["sx"] = 0.501846, + ["right"] = 2425.79, + ["left"] = -2066.85, + ["px"] = -705.873, + + }, + +} +filename = "Level12.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level13.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level13.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..412039e63176fce3ef8fb095c1525b6ca97eeaec --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level13.temp.lua @@ -0,0 +1,1448 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1580.51, + ["bottom"] = 63.0914, + ["screenWidth"] = 480, + ["right"] = 2005.31, + ["screenHeight"] = 320, + ["left"] = 1155.71, + ["top"] = -503.307, + ["iphone"] = { + ["bottom"] = 63.0914, + ["screenWidth"] = 480, + ["py"] = -220.108, + ["screenHeight"] = 320, + ["top"] = -503.307, + ["sy"] = 0.564973, + ["sx"] = 0.564973, + ["right"] = 2005.31, + ["left"] = 1155.71, + ["px"] = 1580.51, + + }, + ["version"] = "0.02", + ["sx"] = 0.564973, + ["windows"] = { + ["bottom"] = 104.957, + ["screenWidth"] = 1366, + ["py"] = -666.739, + ["screenHeight"] = 768, + ["top"] = -1438.44, + ["sy"] = 0.497605, + ["sx"] = 0.497605, + ["px"] = 1002.46, + ["left"] = -370.115, + ["right"] = 2375.03, + + }, + ["sy"] = 0.564973, + ["ipad"] = { + ["bottom"] = 156.781, + ["screenWidth"] = 1024, + ["py"] = -244.629, + ["screenHeight"] = 768, + ["top"] = -646.039, + ["sy"] = 0.956627, + ["sx"] = 0.956627, + ["right"] = 2108.88, + ["left"] = 1038.46, + ["px"] = 1573.67, + + }, + ["py"] = -220.108, + +} +levelParticles = { + ["y"] = -2794.11, + ["x"] = 2604.2, + ["firstFrame"] = true, + ["width"] = 9247.61, + +} +joints = { + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -9.76024, + ["x"] = 81.5108, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_4"] = { + ["y"] = -10.6245, + ["x"] = 45.525, + ["name"] = "LightBlock5_4", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -54.6701, + ["x"] = 101.869, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_9"] = { + ["y"] = -26.0073, + ["x"] = 93.5611, + ["name"] = "StaticBlockTheme02_03_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -14.6258, + ["x"] = 61.3471, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = 0.0700531, + ["x"] = -25.6742, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_53"] = { + ["y"] = -18.3687, + ["x"] = 91.7335, + ["name"] = "StaticBlockTheme02_05_53", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -53.2159, + ["x"] = 90.9249, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -14.8067, + ["x"] = 89.1389, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -47.067, + ["x"] = 95.06, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = -21.776, + ["x"] = 114.573, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_3"] = { + ["y"] = -29.4683, + ["x"] = 74.6327, + ["name"] = "WoodBlock11_3", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -3.17356, + ["x"] = 72.8372, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock11_2"] = { + ["y"] = -39.5769, + ["x"] = 69.7249, + ["name"] = "LightBlock11_2", + ["angle"] = 2.35641, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -19.8081, + ["x"] = 74.0157, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock11_4"] = { + ["y"] = -29.4683, + ["x"] = 64.5974, + ["name"] = "WoodBlock11_4", + ["angle"] = 4.71253, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -62.9731, + ["x"] = 99.3046, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 0.392683, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -62.2077, + ["x"] = 85.605, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock2_3"] = { + ["y"] = -14.452, + ["x"] = 44.7193, + ["name"] = "WoodBlock2_3", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -63.8149, + ["x"] = 92.7226, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -14.424, + ["x"] = 73.6791, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = 0.582803, + ["x"] = -26.9195, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -4.03196, + ["x"] = -26.0405, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 2.74891, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LargePiglette_1"] = { + ["y"] = -20.7516, + ["x"] = 37.2478, + ["name"] = "LargePiglette_1", + ["angle"] = 7.20024e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_05_48"] = { + ["y"] = -21.7352, + ["x"] = 98.6951, + ["name"] = "StaticBlockTheme02_05_48", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_6"] = { + ["y"] = -38.9176, + ["x"] = 69.6516, + ["name"] = "StoneBlock10_6", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_5"] = { + ["y"] = -27.0783, + ["x"] = 64.4236, + ["name"] = "StoneBlock10_5", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock10", + + }, + ["HardTNT_2"] = { + ["y"] = -29.3951, + ["x"] = 69.5784, + ["name"] = "HardTNT_2", + ["angle"] = 0.000107288, + ["definition"] = "HardTNT", + + }, + ["StoneBlock3_1"] = { + ["y"] = -19.5063, + ["x"] = 40.9835, + ["name"] = "StoneBlock3_1", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -9.2245, + ["x"] = 90.1591, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -9.60717, + ["x"] = 107.15, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_11"] = { + ["y"] = -15.2754, + ["x"] = 27.7252, + ["name"] = "LightBlock5_11", + ["angle"] = 4.71247, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -10.6021, + ["x"] = 63.5254, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_7"] = { + ["y"] = -24.6153, + ["x"] = 70.5034, + ["name"] = "LightBlock5_7", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 58.0255, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -15.4043, + ["x"] = 32.047, + ["name"] = "WoodBlock11_1", + ["angle"] = 4.71246, + ["definition"] = "WoodBlock11", + + }, + ["StoneBlock10_4"] = { + ["y"] = -27.0783, + ["x"] = 74.6054, + ["name"] = "StoneBlock10_4", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_2"] = { + ["y"] = -28.4428, + ["x"] = 77.1964, + ["name"] = "WoodBlock2_2", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_56"] = { + ["y"] = -2.34721, + ["x"] = -20.1072, + ["name"] = "StaticBlockTheme02_05_56", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_2"] = { + ["y"] = -13.0875, + ["x"] = 31.8272, + ["name"] = "StoneBlock10_2", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_52"] = { + ["y"] = -5.12832, + ["x"] = 56.9872, + ["name"] = "StaticBlockTheme02_05_52", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = -39.6433, + ["x"] = 98.7336, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_2"] = { + ["y"] = -15.5508, + ["x"] = 42.2288, + ["name"] = "WoodBlock11_2", + ["angle"] = 7.20024e-005, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_55"] = { + ["y"] = -2.34721, + ["x"] = -14.6867, + ["name"] = "StaticBlockTheme02_05_55", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -3.32663, + ["x"] = 81.562, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -40.013, + ["x"] = 91.8008, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_8"] = { + ["y"] = -19.8081, + ["x"] = 81.8514, + ["name"] = "StaticBlockTheme02_03_8", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -45.4468, + ["x"] = 87.8976, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -13.0875, + ["x"] = 42.0823, + ["name"] = "StoneBlock10_1", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_4"] = { + ["y"] = -14.452, + ["x"] = 29.3367, + ["name"] = "WoodBlock2_4", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -14.7495, + ["x"] = 61.1075, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 0.000248432, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["RedBigBird_3"] = { + ["y"] = -8.75963, + ["x"] = -17.3299, + ["name"] = "RedBigBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -18.1024, + ["x"] = 107.609, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -15.3583, + ["x"] = 61.7866, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -10.9848, + ["x"] = 96.9706, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = -19.1958, + ["x"] = 75.0872, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["MediumPiglette_4"] = { + ["y"] = -22.3903, + ["x"] = 73.9462, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000142574, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock3_3"] = { + ["y"] = -33.4239, + ["x"] = 65.8426, + ["name"] = "StoneBlock3_3", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock12_1"] = { + ["y"] = -19.2032, + ["x"] = 27.7252, + ["name"] = "StoneBlock12_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -38.7884, + ["x"] = 92.5661, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -14.6536, + ["x"] = 82.7866, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -8.4207, + ["x"] = 41.1543, + ["name"] = "MediumPiglette_2", + ["angle"] = 5.24521e-006, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -56.2381, + ["x"] = 76.7236, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_03_11"] = { + ["y"] = -10.7006, + ["x"] = 119.969, + ["name"] = "StaticBlockTheme02_03_11", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -58.8794, + ["x"] = 94.2158, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LargePiglette_2"] = { + ["y"] = -34.6691, + ["x"] = 69.6516, + ["name"] = "LargePiglette_2", + ["angle"] = 0.000142574, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -52.1444, + ["x"] = 83.0419, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -10.1429, + ["x"] = 73.8575, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_2"] = { + ["y"] = -19.433, + ["x"] = 33.512, + ["name"] = "StoneBlock3_2", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock3", + + }, + ["BUSH_3_1"] = { + ["y"] = -6.35754, + ["x"] = 24.2977, + ["name"] = "BUSH_3_1", + ["angle"] = 2.74889, + ["definition"] = "BUSH_3", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -5.24475, + ["x"] = 112.048, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -48.0882, + ["x"] = 105.543, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_50"] = { + ["y"] = -25.715, + ["x"] = 106.578, + ["name"] = "StaticBlockTheme02_05_50", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["HardTNT_1"] = { + ["y"] = -15.4775, + ["x"] = 37.1013, + ["name"] = "HardTNT_1", + ["angle"] = 4.05312e-005, + ["definition"] = "HardTNT", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -4.47941, + ["x"] = 114.88, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_51"] = { + ["y"] = -33.2918, + ["x"] = 106.425, + ["name"] = "StaticBlockTheme02_05_51", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -52.488, + ["x"] = 76.0348, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -3.40794, + ["x"] = 108.604, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_3"] = { + ["y"] = -7.52368, + ["x"] = 36.8486, + ["name"] = "WoodBlock5_3", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -58.9168, + ["x"] = 104.585, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 0.785381, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_2"] = { + ["y"] = -2.23123, + ["x"] = 12.7261, + ["name"] = "BUSH_2_2", + ["angle"] = 5.24521e-006, + ["definition"] = "BUSH_2", + + }, + ["LightBlock11_1"] = { + ["y"] = -25.6593, + ["x"] = 37.4675, + ["name"] = "LightBlock11_1", + ["angle"] = 2.35629, + ["definition"] = "LightBlock11", + + }, + ["WoodBlock2_1"] = { + ["y"] = -28.5161, + ["x"] = 62.1801, + ["name"] = "WoodBlock2_1", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -61.5189, + ["x"] = 81.9279, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock4_7"] = { + ["y"] = -29.5416, + ["x"] = 72.1421, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_2"] = { + ["y"] = -31.9588, + ["x"] = 69.6516, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.00017786, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -0.95408, + ["x"] = 47.3515, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -10.1429, + ["x"] = 72.3268, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BUSH_4_1"] = { + ["y"] = -1.07451, + ["x"] = 24.7953, + ["name"] = "BUSH_4_1", + ["angle"] = 3.14184, + ["definition"] = "BUSH_4", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -12.9747, + ["x"] = 114.65, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock12_2"] = { + ["y"] = -19.4507, + ["x"] = 46.4041, + ["name"] = "StoneBlock12_2", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -7.71575, + ["x"] = 52.5097, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock5_4"] = { + ["y"] = -21.5173, + ["x"] = 60.9351, + ["name"] = "WoodBlock5_4", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -58.2671, + ["x"] = 90.9249, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -59.7978, + ["x"] = 89.3942, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -39.5667, + ["x"] = 108.913, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_4"] = { + ["y"] = -33.4239, + ["x"] = 73.3874, + ["name"] = "StoneBlock3_4", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock3", + + }, + ["BlackBird_1"] = { + ["y"] = -8.1584, + ["x"] = -22.6807, + ["name"] = "BlackBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -31.148, + ["x"] = 112.663, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -52.488, + ["x"] = 76.0348, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -28.5459, + ["x"] = 113.352, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -45.753, + ["x"] = 78.79, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_49"] = { + ["y"] = -15.9186, + ["x"] = 98.9247, + ["name"] = "StaticBlockTheme02_05_49", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_6"] = { + ["y"] = -21.6638, + ["x"] = 78.1463, + ["name"] = "WoodBlock5_6", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock12_3"] = { + ["y"] = -33.3405, + ["x"] = 60.5686, + ["name"] = "StoneBlock12_3", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock12", + + }, + ["LightBlock5_8"] = { + ["y"] = -24.6885, + ["x"] = 77.9017, + ["name"] = "LightBlock5_8", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -4.50133, + ["x"] = 58.709, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock4_5"] = { + ["y"] = -15.5508, + ["x"] = 39.7383, + ["name"] = "StoneBlock4_5", + ["angle"] = 4.71244, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock5_12"] = { + ["y"] = -24.5146, + ["x"] = 68.4524, + ["name"] = "LightBlock5_12", + ["angle"] = 4.71249, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -48.8143, + ["x"] = 76.7236, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 4.31968, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -1.26022, + ["x"] = 39.0858, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_3"] = { + ["y"] = -10.6245, + ["x"] = 37.9802, + ["name"] = "LightBlock5_3", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -50.3076, + ["x"] = 83.348, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_5"] = { + ["y"] = -10.6245, + ["x"] = 28.531, + ["name"] = "LightBlock5_5", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock4_18"] = { + ["y"] = -36.3539, + ["x"] = 65.9159, + ["name"] = "WoodBlock4_18", + ["angle"] = 1.57098, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock4_17"] = { + ["y"] = -36.4271, + ["x"] = 73.4607, + ["name"] = "WoodBlock4_17", + ["angle"] = 1.57098, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock4_16"] = { + ["y"] = -22.4363, + ["x"] = 33.6585, + ["name"] = "WoodBlock4_16", + ["angle"] = 1.57087, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -59.376, + ["x"] = 78.7901, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 5.49777, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -58.1141, + ["x"] = 96.971, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -30.9958, + ["x"] = 98.9247, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -3.17834, + ["x"] = 100.874, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_15"] = { + ["y"] = -22.5096, + ["x"] = 41.0568, + ["name"] = "WoodBlock4_15", + ["angle"] = 1.57087, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -3.25487, + ["x"] = 91.0775, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_1"] = { + ["y"] = -8.4207, + ["x"] = 32.812, + ["name"] = "MediumPiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_6"] = { + ["y"] = -15.5508, + ["x"] = 34.5375, + ["name"] = "StoneBlock4_6", + ["angle"] = 1.57086, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock5_6"] = { + ["y"] = -24.6153, + ["x"] = 61.3471, + ["name"] = "LightBlock5_6", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -43.6866, + ["x"] = 81.8513, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 3.53428, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_13"] = { + ["y"] = -29.2662, + ["x"] = 60.4953, + ["name"] = "LightBlock5_13", + ["angle"] = 4.71254, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock4_8"] = { + ["y"] = -29.4683, + ["x"] = 67.0879, + ["name"] = "StoneBlock4_8", + ["angle"] = 4.71251, + ["definition"] = "StoneBlock4", + + }, + ["BUSH_2_1"] = { + ["y"] = -11.8294, + ["x"] = 55.6039, + ["name"] = "BUSH_2_1", + ["angle"] = 4.71237, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = 1.02231, + ["x"] = -31.168, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -40.6252, + ["x"] = 91.6477, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_10"] = { + ["y"] = -41.0079, + ["x"] = 113.922, + ["name"] = "StaticBlockTheme02_03_10", + ["angle"] = 1.17808, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -41.4671, + ["x"] = 90.6528, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock5_9"] = { + ["y"] = -10.5238, + ["x"] = 35.856, + ["name"] = "LightBlock5_9", + ["angle"] = 4.71244, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_1"] = { + ["y"] = -7.61338, + ["x"] = 28.596, + ["name"] = "WoodBlock5_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_2"] = { + ["y"] = -7.52368, + ["x"] = 45.2806, + ["name"] = "WoodBlock5_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["BUSH_1_1"] = { + ["y"] = -39.8166, + ["x"] = 85.7439, + ["name"] = "BUSH_1_1", + ["angle"] = 1.17811, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -49.5926, + ["x"] = 95.9784, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_10"] = { + ["y"] = -15.4498, + ["x"] = 46.4041, + ["name"] = "LightBlock5_10", + ["angle"] = 1.57087, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -1.98095, + ["x"] = -29.117, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 3.92701, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["RedBigBird_2"] = { + ["y"] = -8.75963, + ["x"] = -11.4979, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -14.3475, + ["x"] = 64.342, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock12_4"] = { + ["y"] = -33.4415, + ["x"] = 78.7347, + ["name"] = "StoneBlock12_4", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -0.877548, + ["x"] = 54.5456, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -22.3171, + ["x"] = 65.1561, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.000142574, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_1"] = { + ["y"] = -18.0413, + ["x"] = 37.2478, + ["name"] = "WoodBlock10_1", + ["angle"] = 7.20024e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -11.9888, + ["x"] = 61.7134, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_14"] = { + ["y"] = -29.4406, + ["x"] = 78.7347, + ["name"] = "LightBlock5_14", + ["angle"] = 1.57096, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -3.02049, + ["x"] = 64.2654, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_54"] = { + ["y"] = -2.34721, + ["x"] = -5.8234, + ["name"] = "StaticBlockTheme02_05_54", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -11.597, + ["x"] = 101.103, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -5.87894, + ["x"] = 43.0195, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock10_3"] = { + ["y"] = -25.0001, + ["x"] = 37.321, + ["name"] = "StoneBlock10_3", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -0.801013, + ["x"] = 31.8917, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["RedBigBird_1"] = { + ["y"] = -8.81975, + ["x"] = -5.66594, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -42.2462, + ["x"] = 100.838, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -55.5885, + ["x"] = 83.8838, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -3.56101, + ["x"] = 98.7309, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_5"] = { + ["y"] = -21.5173, + ["x"] = 69.4181, + ["name"] = "WoodBlock5_5", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["MediumPiglette"] = 4, + ["LightBlock5"] = 14, + ["StaticBlockTheme02_04"] = 17, + ["LightBlock3"] = 3, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 4, + ["RedBird"] = 1, + ["StaticBlockTheme01_03"] = 5, + ["StaticBlockTheme01_04"] = 2, + ["WoodBlock2"] = 4, + ["HardTNT"] = 2, + ["COOLHAT"] = 1, + ["StaticBlockTheme01_05"] = 2, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock5"] = 6, + ["SmallBlueBird"] = 3, + ["BlackBird"] = 1, + ["StoneBlock10"] = 6, + ["SmallPiglette"] = 3, + ["StaticBlockTheme02_01"] = 2, + ["BUSH_4"] = 1, + ["BUSH_2"] = 2, + ["StaticBlockTheme02_03"] = 11, + ["StaticBlockTheme02_05"] = 56, + ["StaticBlockTheme02_02"] = 6, + ["WoodBlock6"] = 1, + ["ShootingPlatform01"] = 1, + ["WoodBlock10"] = 2, + ["WoodBlock11"] = 4, + ["BUSH_1"] = 1, + ["WoodBlock4"] = 18, + ["StoneBlock4"] = 8, + ["BUSH_3"] = 1, + ["ExtraPoleYellow"] = 1, + ["RedBigBird"] = 3, + ["StoneBlock12"] = 4, + ["LightBlock4"] = 23, + +} +theme = "theme2" +birdCameraData = { + ["px"] = 60.3374, + ["py"] = -198.925, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 39.0903, + ["screenWidth"] = 480, + ["py"] = -198.925, + ["screenHeight"] = 320, + ["top"] = -470.124, + ["sy"] = 0.589973, + ["sx"] = 0.589973, + ["right"] = 1969.31, + ["left"] = -346.461, + ["px"] = 60.3374, + + }, + ["version"] = "0.02", + ["sx"] = 0.589973, + ["windows"] = { + ["bottom"] = 104.957, + ["screenWidth"] = 1366, + ["py"] = -492.223, + ["screenHeight"] = 768, + ["top"] = -1263.92, + ["sy"] = 0.497605, + ["sx"] = 0.497605, + ["px"] = 39.2594, + ["left"] = -1333.32, + ["right"] = 2375.03, + + }, + ["sy"] = 0.589973, + ["ipad"] = { + ["bottom"] = 306.074, + ["screenWidth"] = 1024, + ["py"] = -262.981, + ["screenHeight"] = 768, + ["top"] = -739.037, + ["sy"] = 0.806627, + ["sx"] = 0.806627, + ["px"] = 205.07, + ["left"] = -429.672, + ["right"] = 2307.94, + + }, + ["screenWidth"] = 480, + +} +filename = "Level13.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level14.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level14.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..8fcf5cb1d6998d3f222b52457dc4c90fd8adca33 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level14.temp.lua @@ -0,0 +1,1023 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -261.071, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 29.0721, + ["screenWidth"] = 480, + ["py"] = -261.071, + ["screenHeight"] = 320, + ["top"] = -551.214, + ["sy"] = 0.551452, + ["sx"] = 0.551452, + ["right"] = 89.0987, + ["left"] = -781.331, + ["px"] = -346.116, + + }, + ["version"] = "0.02", + ["sx"] = 0.551452, + ["windows"] = { + ["bottom"] = 148.404, + ["screenWidth"] = 1366, + ["py"] = -400.162, + ["screenHeight"] = 768, + ["top"] = -948.728, + ["sy"] = 0.700007, + ["sx"] = 0.700007, + ["right"] = 477.217, + ["left"] = -1474.19, + ["px"] = -498.488, + + }, + ["px"] = -346.116, + ["ipad"] = { + ["bottom"] = 180.527, + ["screenWidth"] = 1024, + ["py"] = -242.502, + ["screenHeight"] = 768, + ["top"] = -665.531, + ["sy"] = 0.90774, + ["sx"] = 0.90774, + ["px"] = -370.732, + ["left"] = -934.77, + ["right"] = 193.306, + + }, + ["sy"] = 0.551452, + +} +levelParticles = { + ["y"] = -2202.68, + ["x"] = 537.092, + ["firstFrame"] = true, + ["width"] = 7212.72, + +} +joints = { + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -4.5584, + ["x"] = 12.6016, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock4_3"] = { + ["y"] = -8.58779, + ["x"] = -44.9251, + ["name"] = "StoneBlock4_3", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock1_3"] = { + ["y"] = -0.425253, + ["x"] = -16.6329, + ["name"] = "WoodBlock1_3", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock4_4"] = { + ["y"] = -10.4976, + ["x"] = -22.4026, + ["name"] = "StoneBlock4_4", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock4_1"] = { + ["y"] = -9.55623, + ["x"] = -14.4885, + ["name"] = "StoneBlock4_1", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock5_6"] = { + ["y"] = -18.1646, + ["x"] = -31.5665, + ["name"] = "LightBlock5_6", + ["angle"] = 2.28882e-005, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_22"] = { + ["y"] = -1.94708, + ["x"] = -13.2434, + ["name"] = "WoodBlock5_22", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -2.93215, + ["x"] = -52.6187, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock6_2"] = { + ["y"] = -3.95313, + ["x"] = -11.3757, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock12_3"] = { + ["y"] = -27.0224, + ["x"] = -35.6548, + ["name"] = "LightBlock12_3", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -20.1819, + ["x"] = 22.2147, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 3.53428, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -28.8979, + ["x"] = 25.9501, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_27"] = { + ["y"] = -18.1049, + ["x"] = -41.7351, + ["name"] = "WoodBlock5_27", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_5"] = { + ["y"] = -11.1841, + ["x"] = -31.6357, + ["name"] = "LightBlock5_5", + ["angle"] = 1.57079, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -5.00277, + ["x"] = -49.5259, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = -6.01106, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -46.4666, + ["x"] = 33.2768, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_4"] = { + ["y"] = -4.09148, + ["x"] = -30.191, + ["name"] = "WoodBlock6_4", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["LargePiglette_2"] = { + ["y"] = -20.8071, + ["x"] = 1.19299, + ["name"] = "LargePiglette_2", + ["angle"] = 0.392671, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -10.6998, + ["x"] = -5.11572, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 2.28882e-005, + ["definition"] = "ExtraBlockTNT", + + }, + ["SmallPiglette_8"] = { + ["y"] = -11.18, + ["x"] = -14.5591, + ["name"] = "SmallPiglette_8", + ["angle"] = 4.05312e-005, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = 0.595727, + ["x"] = 3.61977, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -6.62384, + ["x"] = 6.16631, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["RIOCRATE_1"] = { + ["y"] = -3.05942, + ["x"] = -60.3397, + ["name"] = "RIOCRATE_1", + ["angle"] = 6.28317, + ["definition"] = "RIOCRATE", + + }, + ["WoodBlock6_3"] = { + ["y"] = -4.16065, + ["x"] = -15.3878, + ["name"] = "WoodBlock6_3", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock12_2"] = { + ["y"] = -27.0224, + ["x"] = -27.0772, + ["name"] = "LightBlock12_2", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock12", + + }, + ["GlobeBird_1"] = { + ["y"] = -0.882388, + ["x"] = -99.402, + ["name"] = "GlobeBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["WoodBlock9_1"] = { + ["y"] = -22.0419, + ["x"] = -31.5735, + ["name"] = "WoodBlock9_1", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -29.3227, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -12.642, + ["x"] = 17.0958, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -0.425253, + ["x"] = -31.6437, + ["name"] = "WoodBlock2_1", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -8.65697, + ["x"] = -17.5322, + ["name"] = "WoodBlock10_3", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_2"] = { + ["y"] = -8.58779, + ["x"] = -37.8693, + ["name"] = "WoodBlock10_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -3.20425, + ["x"] = -1.72663, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock9_2"] = { + ["y"] = -22.0419, + ["x"] = -23.4801, + ["name"] = "WoodBlock9_2", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock9", + + }, + ["LargePiglette_1"] = { + ["y"] = -11.2856, + ["x"] = -10.0614, + ["name"] = "LargePiglette_1", + ["angle"] = 2.86102e-006, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock10_5"] = { + ["y"] = -24.463, + ["x"] = -26.2471, + ["name"] = "StoneBlock10_5", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock9_3"] = { + ["y"] = -22.0419, + ["x"] = -39.8052, + ["name"] = "WoodBlock9_3", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock9", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -0.674868, + ["x"] = -92.0696, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["WoodBlock5_21"] = { + ["y"] = -1.80873, + ["x"] = -28.3925, + ["name"] = "WoodBlock5_21", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock10_6"] = { + ["y"] = -18.0409, + ["x"] = 0.199449, + ["name"] = "StoneBlock10_6", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock5_1"] = { + ["y"] = -12.0886, + ["x"] = -19.2897, + ["name"] = "LightBlock5_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock5", + + }, + ["SmallPiglette_7"] = { + ["y"] = -12.0194, + ["x"] = -22.4717, + ["name"] = "SmallPiglette_7", + ["angle"] = 6.28318, + ["definition"] = "SmallPiglette", + + }, + ["RedBigBird_1"] = { + ["y"] = -1.50496, + ["x"] = -95.3207, + ["name"] = "RedBigBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StoneBlock3_1"] = { + ["y"] = -19.5128, + ["x"] = -3.33438, + ["name"] = "StoneBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -4.5584, + ["x"] = 25.5371, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -11.4758, + ["x"] = 23.5311, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -21.5752, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -13.4819, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -3.27342, + ["x"] = -43.5077, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_3"] = { + ["y"] = -19.6208, + ["x"] = -36.8999, + ["name"] = "StoneBlock10_3", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock6_5"] = { + ["y"] = -3.88396, + ["x"] = -34.549, + ["name"] = "WoodBlock6_5", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -1.58392, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -3.58997, + ["x"] = 30.8635, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -28.1467, + ["x"] = 32.0395, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_2"] = { + ["y"] = -12.1578, + ["x"] = -25.377, + ["name"] = "LightBlock5_2", + ["angle"] = 1.5708, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -29.2215, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock5_25"] = { + ["y"] = -12.0142, + ["x"] = -41.8735, + ["name"] = "WoodBlock5_25", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock11_1"] = { + ["y"] = -17.2056, + ["x"] = -19.3227, + ["name"] = "WoodBlock11_1", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock11", + + }, + ["LightBlock12_1"] = { + ["y"] = -27.0224, + ["x"] = -31.2968, + ["name"] = "LightBlock12_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -21.6444, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_1"] = { + ["y"] = -1.53429, + ["x"] = -8.19818, + ["name"] = "WoodBlock4_1", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock10_4"] = { + ["y"] = -24.5321, + ["x"] = -36.4157, + ["name"] = "StoneBlock10_4", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock5_3"] = { + ["y"] = -15.3379, + ["x"] = -31.5665, + ["name"] = "LightBlock5_3", + ["angle"] = 1.57079, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -2.85838, + ["x"] = 7.47352, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock1_1"] = { + ["y"] = -19.0845, + ["x"] = 4.05951, + ["name"] = "StoneBlock1_1", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -43.6996, + ["x"] = 38.534, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_6"] = { + ["y"] = -9.59832, + ["x"] = -22.4026, + ["name"] = "WoodBlock6_6", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_26"] = { + ["y"] = -15.0612, + ["x"] = -41.7351, + ["name"] = "WoodBlock5_26", + ["angle"] = 1.57082, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock10_2"] = { + ["y"] = -19.6208, + ["x"] = -26.593, + ["name"] = "StoneBlock10_2", + ["angle"] = 2.28882e-005, + ["definition"] = "StoneBlock10", + + }, + ["ExtraPillar_1"] = { + ["y"] = -12.8708, + ["x"] = 0.0596567, + ["name"] = "ExtraPillar_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraPillar", + + }, + ["LightBlock5_4"] = { + ["y"] = -17.2056, + ["x"] = -22.3664, + ["name"] = "LightBlock5_4", + ["angle"] = 1.57079, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock1_2"] = { + ["y"] = -4.36817, + ["x"] = -13.2434, + ["name"] = "WoodBlock1_2", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -9.52915, + ["x"] = 10.4551, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock4_2"] = { + ["y"] = -11.1651, + ["x"] = -39.2388, + ["name"] = "LightBlock4_2", + ["angle"] = 1.57084, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -52.9689, + ["x"] = 38.4649, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -21.4885, + ["x"] = -27.5614, + ["name"] = "ExtraDonut01_2", + ["angle"] = 4.05312e-005, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock5_24"] = { + ["y"] = -10.0773, + ["x"] = -41.8735, + ["name"] = "WoodBlock5_24", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock5", + + }, + ["MediumPiglette_1"] = { + ["y"] = -10.9765, + ["x"] = -28.5921, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -23.0279, + ["x"] = 31.4169, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -12.0292, + ["x"] = 29.8259, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -4.9336, + ["x"] = 4.36069, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 0.392699, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -3.3426, + ["x"] = -22.2713, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_1"] = { + ["y"] = -8.65697, + ["x"] = -27.7008, + ["name"] = "WoodBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock6_1"] = { + ["y"] = -14.6515, + ["x"] = -22.3334, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["GlobeBird_2"] = { + ["y"] = -0.813214, + ["x"] = -105.835, + ["name"] = "GlobeBird_2", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -21.4885, + ["x"] = -35.6548, + ["name"] = "ExtraDonut01_3", + ["angle"] = 4.05312e-005, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -4.07419, + ["x"] = 20.6258, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -55.2517, + ["x"] = 36.943, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BlackBird_1"] = { + ["y"] = -1.22826, + ["x"] = -102.722, + ["name"] = "BlackBird_1", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = 0.0423366, + ["x"] = -48.1916, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -30.0144, + ["x"] = 32.4545, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock4_1"] = { + ["y"] = -2.24162, + ["x"] = -33.2206, + ["name"] = "LightBlock4_1", + ["angle"] = 1.57084, + ["definition"] = "LightBlock4", + + }, + ["LargePiglette_3"] = { + ["y"] = -11.3224, + ["x"] = -36.3396, + ["name"] = "LargePiglette_3", + ["angle"] = 2.28882e-005, + ["definition"] = "LargePiglette", + + }, + ["YellowBird_7"] = { + ["y"] = -0.67023, + ["x"] = -89.6359, + ["name"] = "YellowBird_7", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -37.6815, + ["x"] = 29.6106, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_4"] = { + ["y"] = -8.58779, + ["x"] = -7.36358, + ["name"] = "WoodBlock10_4", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -18.5316, + ["x"] = 29.6184, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -6.67938, + ["x"] = -55.0945, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 0.785388, + ["definition"] = "RIOCRATESMALL", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.254455, + ["x"] = 9.61792, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = 0.180685, + ["x"] = -54.6939, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock1_4"] = { + ["y"] = -4.299, + ["x"] = -28.185, + ["name"] = "WoodBlock1_4", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock1", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -16.7214, + ["x"] = -24.995, + ["name"] = "ExtraDonut01_1", + ["angle"] = 2.28882e-005, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock1_1"] = { + ["y"] = -1.32451, + ["x"] = -31.4361, + ["name"] = "WoodBlock1_1", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -35.3295, + ["x"] = 38.534, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_6"] = { + ["y"] = -2.36889, + ["x"] = -9.78467, + ["name"] = "SmallPiglette_6", + ["angle"] = 2.86102e-006, + ["definition"] = "SmallPiglette", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["ExtraDonut01"] = 3, + ["MediumPiglette"] = 1, + ["LightBlock5"] = 6, + ["StaticBlockTheme02_04"] = 10, + ["WoodBlock1"] = 4, + ["YellowBird"] = 7, + ["StoneBlock3"] = 1, + ["RedBird"] = 1, + ["GlobeBird"] = 2, + ["WoodBlock2"] = 1, + ["WoodBlock10"] = 4, + ["StoneBlock1"] = 1, + ["WoodBlock6"] = 6, + ["LargePiglette"] = 3, + ["BasicBird2"] = 1, + ["Log"] = 1, + ["ExtraPillar"] = 1, + ["BLOCK_GREEN_BAG"] = 1, + ["WoodBlock5"] = 27, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig"] = 1, + ["BlackBird"] = 1, + ["StoneBlock10"] = 6, + ["SmallPiglette"] = 8, + ["StoneBlock4"] = 4, + ["WoodBlock9"] = 3, + ["StaticBlockTheme01_05"] = 4, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme02_03"] = 4, + ["StaticBlockTheme02_05"] = 31, + ["ExtraRopeThin02"] = 2, + ["RIOCRATESMALL"] = 1, + ["LightBlock12"] = 3, + ["WoodBlock11"] = 1, + ["ExtraBlockTNT"] = 2, + ["ImmovableWall03"] = 3, + ["SpecialBlockSwing"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock4"] = 1, + ["ExtraPoleYellow"] = 1, + ["RedBigBird"] = 1, + ["RIOCRATE"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["right"] = 279.356, + ["bottom"] = 118.353, + ["px"] = -1506.05, + ["py"] = -226.161, + ["left"] = -2037.67, + ["sy"] = 0.451452, + ["top"] = -580.573, + ["iphone"] = { + ["bottom"] = 157.61, + ["screenWidth"] = 480, + ["py"] = -226.161, + ["screenHeight"] = 320, + ["top"] = -580.573, + ["sy"] = 0.451452, + ["sx"] = 0.451452, + ["right"] = 281.905, + ["left"] = -2037.67, + ["px"] = -1506.05, + + }, + ["version"] = "0.02", + ["sx"] = 0.451452, + ["windows"] = { + ["bottom"] = 148.404, + ["screenWidth"] = 1366, + ["py"] = -267.34, + ["screenHeight"] = 768, + ["top"] = -815.906, + ["sy"] = 0.700007, + ["sx"] = 0.700007, + ["right"] = 477.217, + ["left"] = -2581.41, + ["px"] = -1605.71, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = 229.846, + ["screenWidth"] = 1024, + ["py"] = -251.511, + ["screenHeight"] = 768, + ["top"] = -699.199, + ["sy"] = 0.85774, + ["sx"] = 0.85774, + ["px"] = -1400.85, + ["left"] = -1997.77, + ["right"] = 259.065, + + }, + ["screenHeight"] = 320, + +} +filename = "Level14.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level15.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level15.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..2be60df946d04e798c5dde5395b02d6961f14835 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level15.temp.lua @@ -0,0 +1,2603 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -190.377, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 86.2047, + ["screenWidth"] = 480, + ["py"] = -190.377, + ["screenHeight"] = 320, + ["top"] = -466.959, + ["sy"] = 0.578491, + ["sx"] = 0.578491, + ["right"] = 1196.22, + ["left"] = 366.472, + ["px"] = 781.345, + + }, + ["version"] = "0.02", + ["sx"] = 0.578491, + ["windows"] = { + ["bottom"] = 25.7905, + ["screenWidth"] = 1366, + ["py"] = -1064.53, + ["screenHeight"] = 768, + ["top"] = -2154.85, + ["sy"] = 0.35219, + ["sx"] = 0.35219, + ["right"] = 2584.29, + ["left"] = -1294.3, + ["px"] = 644.996, + + }, + ["px"] = 781.345, + ["ipad"] = { + ["bottom"] = 216.668, + ["screenWidth"] = 1024, + ["py"] = -223.379, + ["screenHeight"] = 768, + ["top"] = -663.426, + ["sy"] = 0.872634, + ["sx"] = 0.872634, + ["right"] = 1373.25, + ["left"] = 199.788, + ["px"] = 786.517, + + }, + ["sy"] = 0.578491, + +} +levelParticles = { + ["y"] = -4009.56, + ["x"] = 2886.89, + ["firstFrame"] = true, + ["width"] = 13231.8, + +} +joints = { + ["BLOCK_GREEN_SPANNER_2_1MediumPiglette_6"] = { + ["type"] = 1, + ["end2"] = "MediumPiglette_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BLOCK_GREEN_SPANNER_2_1MediumPiglette_6", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "BLOCK_GREEN_SPANNER_2_1", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock3_1StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_1StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_1", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StaticBlockTheme02_05_6StaticBlockTheme02_05_5"] = { + ["type"] = 1, + ["end2"] = "StaticBlockTheme02_05_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme02_05_6StaticBlockTheme02_05_5", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticBlockTheme02_05_6", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -17.9874, + ["x"] = 26.0689, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -53.6684, + ["x"] = 84.3181, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -10.7982, + ["x"] = 72.6723, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_92"] = { + ["y"] = -39.3437, + ["x"] = -63.0538, + ["name"] = "StaticBlockTheme02_05_92", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["SmallPiglette_4"] = { + ["y"] = -48.9101, + ["x"] = 20.6905, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.000266075, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_53"] = { + ["y"] = -17.1179, + ["x"] = 9.58265, + ["name"] = "StaticBlockTheme02_05_53", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_12"] = { + ["y"] = -72.9674, + ["x"] = 13.607, + ["name"] = "WoodBlock5_12", + ["angle"] = 4.71277, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -40.7258, + ["x"] = 73.202, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 0.392702, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -4.15163, + ["x"] = 92.6119, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_116"] = { + ["y"] = -29.9738, + ["x"] = -63.5326, + ["name"] = "StaticBlockTheme02_05_116", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = -24.0238, + ["x"] = 64.4367, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = 3.53428, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -30.3396, + ["x"] = 83.5854, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock11_2"] = { + ["y"] = -59.1313, + ["x"] = 1.48468, + ["name"] = "LightBlock11_2", + ["angle"] = 4.7127, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_115"] = { + ["y"] = -27.4223, + ["x"] = -72.6826, + ["name"] = "StaticBlockTheme02_05_115", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -20.4546, + ["x"] = 103.814, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 1.17812, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_114"] = { + ["y"] = -21.8795, + ["x"] = -72.8586, + ["name"] = "StaticBlockTheme02_05_114", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["Estrade02_5"] = { + ["y"] = -36.6162, + ["x"] = -81.8818, + ["name"] = "Estrade02_5", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -53.7326, + ["x"] = 101.949, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 4.31971, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock6_8"] = { + ["y"] = -57.6989, + ["x"] = 17.7, + ["name"] = "StoneBlock6_8", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_84"] = { + ["y"] = -9.10293, + ["x"] = 110.173, + ["name"] = "StaticBlockTheme02_05_84", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_7"] = { + ["y"] = -55.0415, + ["x"] = 13.6206, + ["name"] = "StoneBlock5_7", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_5"] = { + ["y"] = -59.074, + ["x"] = 13.5172, + ["name"] = "StoneBlock5_5", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_120"] = { + ["y"] = -20.9997, + ["x"] = -42.857, + ["name"] = "StaticBlockTheme02_05_120", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_82"] = { + ["y"] = -13.2857, + ["x"] = 100.489, + ["name"] = "StaticBlockTheme02_05_82", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockSmiley_1"] = { + ["y"] = -56.1583, + ["x"] = 72.3012, + ["name"] = "ExtraBlockSmiley_1", + ["angle"] = 4.31983, + ["definition"] = "ExtraBlockSmiley", + + }, + ["StaticBlockTheme02_05_118"] = { + ["y"] = -33.405, + ["x"] = -56.1422, + ["name"] = "StaticBlockTheme02_05_118", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_9"] = { + ["y"] = -61.8866, + ["x"] = 72.9949, + ["name"] = "StoneBlock5_9", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_60"] = { + ["y"] = -3.88208, + ["x"] = -1.18934, + ["name"] = "StaticBlockTheme02_05_60", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_90"] = { + ["y"] = -45.0624, + ["x"] = -44.3149, + ["name"] = "StaticBlockTheme02_05_90", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LargePiglette_1"] = { + ["y"] = -50.2246, + ["x"] = 72.827, + ["name"] = "LargePiglette_1", + ["angle"] = 0.000107288, + ["definition"] = "LargePiglette", + + }, + ["Estrade02_3"] = { + ["y"] = -45.4143, + ["x"] = -62.8779, + ["name"] = "Estrade02_3", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_48"] = { + ["y"] = -10.7982, + ["x"] = 79.3188, + ["name"] = "StaticBlockTheme02_05_48", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_6"] = { + ["y"] = -74.1684, + ["x"] = 76.0898, + ["name"] = "StoneBlock10_6", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_5"] = { + ["y"] = -74.2436, + ["x"] = 89.9098, + ["name"] = "StoneBlock10_5", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock3_1"] = { + ["y"] = -61.7862, + ["x"] = 70.0718, + ["name"] = "StoneBlock3_1", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -28.2778, + ["x"] = 69.7654, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_80"] = { + ["y"] = -12.8273, + ["x"] = 97.109, + ["name"] = "StaticBlockTheme02_05_80", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -16.8616, + ["x"] = 63.1188, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 10.191, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme02_05_83"] = { + ["y"] = -9.38942, + ["x"] = 104.615, + ["name"] = "StaticBlockTheme02_05_83", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_122"] = { + ["y"] = -4.2833, + ["x"] = -66.4359, + ["name"] = "StaticBlockTheme02_05_122", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_134"] = { + ["y"] = -12.5535, + ["x"] = -70.835, + ["name"] = "StaticBlockTheme02_05_134", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -12.5187, + ["x"] = 25.4942, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_10"] = { + ["y"] = -62.34, + ["x"] = 18.674, + ["name"] = "StoneBlock10_10", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock4_21"] = { + ["y"] = -43.2528, + ["x"] = 54.1127, + ["name"] = "WoodBlock4_21", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_56"] = { + ["y"] = -4.97074, + ["x"] = 20.1254, + ["name"] = "StaticBlockTheme02_05_56", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["HelmetPiglette_3"] = { + ["y"] = -43.5367, + ["x"] = 44.1749, + ["name"] = "HelmetPiglette_3", + ["angle"] = 4.76837e-007, + ["definition"] = "HelmetPiglette", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -53.8299, + ["x"] = 77.4837, + ["name"] = "ExtraDiamond_1", + ["angle"] = 0.000124931, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_05_95"] = { + ["y"] = -20.4277, + ["x"] = -91.4717, + ["name"] = "StaticBlockTheme02_05_95", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_52"] = { + ["y"] = -14.4249, + ["x"] = 18.12, + ["name"] = "StaticBlockTheme02_05_52", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = -4.03703, + ["x"] = 74.8496, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -49.511, + ["x"] = 2.06351, + ["name"] = "ExtraDonut01_2", + ["angle"] = 0.000266075, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -23.0628, + ["x"] = 85.0752, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_127"] = { + ["y"] = -26.8064, + ["x"] = -54.0306, + ["name"] = "StaticBlockTheme02_05_127", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_78"] = { + ["y"] = -20.9477, + ["x"] = 98.128, + ["name"] = "StaticBlockTheme02_05_78", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -59.437, + ["x"] = 69.0404, + ["name"] = "StoneBlock10_1", + ["angle"] = 5.81741e-005, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_68"] = { + ["y"] = -44.1604, + ["x"] = 98.772, + ["name"] = "StaticBlockTheme02_05_68", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_97"] = { + ["y"] = -37.672, + ["x"] = -43.3461, + ["name"] = "StaticBlockTheme02_05_97", + ["angle"] = 1.17849, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_132"] = { + ["y"] = -12.5535, + ["x"] = -62.2128, + ["name"] = "StaticBlockTheme02_05_132", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock3_6"] = { + ["y"] = -69.0711, + ["x"] = 13.5497, + ["name"] = "StoneBlock3_6", + ["angle"] = 0.000371933, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_96"] = { + ["y"] = -22.2753, + ["x"] = -81.8818, + ["name"] = "StaticBlockTheme02_05_96", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock2_11"] = { + ["y"] = -66.9975, + ["x"] = 73.2788, + ["name"] = "StoneBlock2_11", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock6_5"] = { + ["y"] = -51.1634, + ["x"] = 18.6626, + ["name"] = "StoneBlock6_5", + ["angle"] = 1.57101, + ["definition"] = "StoneBlock6", + + }, + ["SmallPiglette_10"] = { + ["y"] = -69.1857, + ["x"] = 11.3151, + ["name"] = "SmallPiglette_10", + ["angle"] = 0.000371933, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock12_1"] = { + ["y"] = -64.9457, + ["x"] = 17.9043, + ["name"] = "WoodBlock12_1", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock12", + + }, + ["StaticBlockTheme02_05_101"] = { + ["y"] = -8.28635, + ["x"] = -32.2605, + ["name"] = "StaticBlockTheme02_05_101", + ["angle"] = 1.17851, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock3_5"] = { + ["y"] = -68.8992, + ["x"] = 9.13776, + ["name"] = "StoneBlock3_5", + ["angle"] = 0.000371933, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_121"] = { + ["y"] = -4.19532, + ["x"] = -40.0416, + ["name"] = "StaticBlockTheme02_05_121", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDiamond_6"] = { + ["y"] = -59.1886, + ["x"] = 8.01663, + ["name"] = "ExtraDiamond_6", + ["angle"] = 5.49816, + ["definition"] = "ExtraDiamond", + + }, + ["StoneBlock4_13"] = { + ["y"] = -59.3605, + ["x"] = 4.06308, + ["name"] = "StoneBlock4_13", + ["angle"] = 1.57112, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -42.1583, + ["x"] = 66.0397, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -49.8328, + ["x"] = 81.9062, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 2.35621, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -56.884, + ["x"] = 99.829, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 3.92701, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_93"] = { + ["y"] = -35.6484, + ["x"] = -72.6438, + ["name"] = "StaticBlockTheme02_05_93", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_135"] = { + ["y"] = -28.1262, + ["x"] = -47.784, + ["name"] = "StaticBlockTheme02_05_135", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -18.2202, + ["x"] = 110.834, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.392696, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_05_88"] = { + ["y"] = -1.48232, + ["x"] = 121.002, + ["name"] = "StaticBlockTheme02_05_88", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -50.4798, + ["x"] = 64.8067, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 0.000301361, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock5_8"] = { + ["y"] = -47.9774, + ["x"] = 68.9258, + ["name"] = "WoodBlock5_8", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock5", + + }, + ["ExtraMelon_1"] = { + ["y"] = -55.6325, + ["x"] = 80.7885, + ["name"] = "ExtraMelon_1", + ["angle"] = 0.000142574, + ["definition"] = "ExtraMelon", + + }, + ["StaticBlockTheme02_05_77"] = { + ["y"] = -27.1932, + ["x"] = 91.5962, + ["name"] = "StaticBlockTheme02_05_77", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_99"] = { + ["y"] = -25.6186, + ["x"] = -35.5158, + ["name"] = "StaticBlockTheme02_05_99", + ["angle"] = 2.74929, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock10_3"] = { + ["y"] = -53.9364, + ["x"] = 70.0145, + ["name"] = "LightBlock10_3", + ["angle"] = 1.57084, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_05_59"] = { + ["y"] = -4.34047, + ["x"] = 5.39991, + ["name"] = "StaticBlockTheme02_05_59", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_6"] = { + ["y"] = -60.9075, + ["x"] = 13.5172, + ["name"] = "StoneBlock5_6", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock4_2"] = { + ["y"] = -65.9224, + ["x"] = 91.9046, + ["name"] = "StoneBlock4_2", + ["angle"] = 1.57089, + ["definition"] = "StoneBlock4", + + }, + ["ExtraHolyGrail_4"] = { + ["y"] = -50.9381, + ["x"] = 10.8512, + ["name"] = "ExtraHolyGrail_4", + ["angle"] = 0.000266075, + ["definition"] = "ExtraHolyGrail", + + }, + ["StoneBlock2_10"] = { + ["y"] = -66.1457, + ["x"] = 73.1368, + ["name"] = "StoneBlock2_10", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock4_7"] = { + ["y"] = -71.7058, + ["x"] = 87.323, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_11"] = { + ["y"] = -48.9852, + ["x"] = 24.2206, + ["name"] = "WoodBlock5_11", + ["angle"] = 0.000248432, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -25.4934, + ["x"] = 24.5218, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon05_6"] = { + ["y"] = -40.8751, + ["x"] = 33.8115, + ["name"] = "StaticBalloon05_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock12_2"] = { + ["y"] = -76.647, + ["x"] = 73.2357, + ["name"] = "StoneBlock12_2", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -1.57545, + ["x"] = -9.65157, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["YellowBird_6"] = { + ["y"] = -47.7018, + ["x"] = -63.3177, + ["name"] = "YellowBird_6", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = 1.4185, + ["x"] = 57.8566, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 3.53427, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -56.7625, + ["x"] = 86.4381, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0.785406, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_49"] = { + ["y"] = -33.104, + ["x"] = 13.5362, + ["name"] = "StaticBlockTheme02_05_49", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_10"] = { + ["y"] = -49.1354, + ["x"] = 5.59363, + ["name"] = "WoodBlock5_10", + ["angle"] = 0.000248432, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock11_4"] = { + ["y"] = -72.7955, + ["x"] = 10.5702, + ["name"] = "StoneBlock11_4", + ["angle"] = 4.71277, + ["definition"] = "StoneBlock11", + + }, + ["Estrade02_4"] = { + ["y"] = -41.7191, + ["x"] = -72.6438, + ["name"] = "Estrade02_4", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -33.3134, + ["x"] = 4.2145, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_16"] = { + ["y"] = -40.9426, + ["x"] = 44.1385, + ["name"] = "WoodBlock4_16", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -59.6274, + ["x"] = 93.1992, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -15.7132, + ["x"] = 86.5363, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_19"] = { + ["y"] = -46.0922, + ["x"] = 29.2682, + ["name"] = "WoodBlock4_19", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockSmiley_2"] = { + ["y"] = -70.6383, + ["x"] = 90.3605, + ["name"] = "ExtraBlockSmiley_2", + ["angle"] = 0.000160217, + ["definition"] = "ExtraBlockSmiley", + + }, + ["StaticBalloon05_3"] = { + ["y"] = -41.017, + ["x"] = 54.113, + ["name"] = "StaticBalloon05_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -61.7289, + ["x"] = 66.0036, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71246, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock4_8"] = { + ["y"] = -70.6543, + ["x"] = 72.9021, + ["name"] = "StoneBlock4_8", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_70"] = { + ["y"] = -47.0826, + ["x"] = 85.4788, + ["name"] = "StaticBlockTheme02_05_70", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["MediumPiglette_7"] = { + ["y"] = -64.6713, + ["x"] = 13.4125, + ["name"] = "MediumPiglette_7", + ["angle"] = 0, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_66"] = { + ["y"] = -29.7942, + ["x"] = 99.173, + ["name"] = "StaticBlockTheme02_05_66", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -47.4079, + ["x"] = 23.1691, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -4.43812, + ["x"] = 83.3297, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock12_4"] = { + ["y"] = -76.647, + ["x"] = 79.019, + ["name"] = "StoneBlock12_4", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_61"] = { + ["y"] = -5.25723, + ["x"] = -0.960147, + ["name"] = "StaticBlockTheme02_05_61", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -7.10215, + ["x"] = 28.2005, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["YellowBird_7"] = { + ["y"] = -38.8488, + ["x"] = -81.8529, + ["name"] = "YellowBird_7", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -36.6004, + ["x"] = 79.3901, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_54"] = { + ["y"] = -9.26808, + ["x"] = 3.91017, + ["name"] = "StaticBlockTheme02_05_54", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_81"] = { + ["y"] = -12.8273, + ["x"] = 97.166, + ["name"] = "StaticBlockTheme02_05_81", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_11"] = { + ["y"] = -62.34, + ["x"] = 8.53231, + ["name"] = "StoneBlock10_11", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock2_7"] = { + ["y"] = -55.7507, + ["x"] = 8.24582, + ["name"] = "StoneBlock2_7", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme02_05_89"] = { + ["y"] = -1.76881, + ["x"] = 113.553, + ["name"] = "StaticBlockTheme02_05_89", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHolyGrail_5"] = { + ["y"] = -51.0224, + ["x"] = 16.1706, + ["name"] = "ExtraHolyGrail_5", + ["angle"] = 0, + ["definition"] = "ExtraHolyGrail", + + }, + ["DecorationSpotsTheme02_01_4"] = { + ["y"] = 36.6766, + ["x"] = -17.2243, + ["name"] = "DecorationSpotsTheme02_01_4", + ["angle"] = 0, + ["definition"] = "DecorationSpotsTheme03_01", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -13.5789, + ["x"] = 113.841, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 4.71243, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_94"] = { + ["y"] = -30.5455, + ["x"] = -81.8818, + ["name"] = "StaticBlockTheme02_05_94", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_100"] = { + ["y"] = -18.2282, + ["x"] = -34.0201, + ["name"] = "StaticBlockTheme02_05_100", + ["angle"] = 3.14199, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -23.7497, + ["x"] = 4.2145, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_57"] = { + ["y"] = -1.53287, + ["x"] = 24.3655, + ["name"] = "StaticBlockTheme02_05_57", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_13"] = { + ["y"] = -70.389, + ["x"] = 13.6643, + ["name"] = "StoneBlock10_13", + ["angle"] = 0.000371933, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -42.2308, + ["x"] = 13.3618, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock3_1"] = { + ["y"] = -59.1886, + ["x"] = 21.7108, + ["name"] = "LightBlock3_1", + ["angle"] = 0.000336647, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_05_110"] = { + ["y"] = -3.75541, + ["x"] = -83.6802, + ["name"] = "StaticBlockTheme02_05_110", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_51"] = { + ["y"] = -23.7644, + ["x"] = 18.0627, + ["name"] = "StaticBlockTheme02_05_51", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock4_9"] = { + ["y"] = -70.8045, + ["x"] = 93.4068, + ["name"] = "StoneBlock4_9", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_79"] = { + ["y"] = -19.0569, + ["x"] = 91.7108, + ["name"] = "StaticBlockTheme02_05_79", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -42.2308, + ["x"] = 4.19415, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -14.4956, + ["x"] = 109.315, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 3.53432, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock3_7"] = { + ["y"] = -69.0044, + ["x"] = 18.0819, + ["name"] = "StoneBlock3_7", + ["angle"] = 0, + ["definition"] = "StoneBlock3", + + }, + ["RedBigBird_2"] = { + ["y"] = -29.3469, + ["x"] = -91.4429, + ["name"] = "RedBigBird_2", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StoneBlock5_1"] = { + ["y"] = -48.0839, + ["x"] = 15.683, + ["name"] = "StoneBlock5_1", + ["angle"] = 0.000248432, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_74"] = { + ["y"] = -40.0675, + ["x"] = 85.7125, + ["name"] = "StaticBlockTheme02_05_74", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -3.89555, + ["x"] = 124.327, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 5.89053, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_113"] = { + ["y"] = -12.9054, + ["x"] = -77.4336, + ["name"] = "StaticBlockTheme02_05_113", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_130"] = { + ["y"] = -20.8237, + ["x"] = -59.3095, + ["name"] = "StaticBlockTheme02_05_130", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_109"] = { + ["y"] = -3.84339, + ["x"] = -92.6543, + ["name"] = "StaticBlockTheme02_05_109", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["RedBigBird_1"] = { + ["y"] = -51.749, + ["x"] = -53.8158, + ["name"] = "RedBigBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["WoodBlock12_2"] = { + ["y"] = -65.003, + ["x"] = 9.08046, + ["name"] = "WoodBlock12_2", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock12", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -32.8043, + ["x"] = 71.9427, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_91"] = { + ["y"] = -42.5109, + ["x"] = -53.553, + ["name"] = "StaticBlockTheme02_05_91", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_103"] = { + ["y"] = -13.7852, + ["x"] = -93.5341, + ["name"] = "StaticBlockTheme02_05_103", + ["angle"] = 3.53471, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -4.55271, + ["x"] = 66.3122, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_4"] = { + ["y"] = -69.1521, + ["x"] = 82.8165, + ["name"] = "StoneBlock10_4", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_105"] = { + ["y"] = -2.78762, + ["x"] = -102.508, + ["name"] = "StaticBlockTheme02_05_105", + ["angle"] = 4.32011, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockFlag02_1"] = { + ["y"] = -78.0093, + ["x"] = 13.5647, + ["name"] = "ExtraBlockFlag02_1", + ["angle"] = 0.000389576, + ["definition"] = "ExtraBlockFlag02", + + }, + ["ExtraHolyGrail_1"] = { + ["y"] = -72.2907, + ["x"] = 82.9247, + ["name"] = "ExtraHolyGrail_1", + ["angle"] = 0.000160217, + ["definition"] = "ExtraHolyGrail", + + }, + ["StaticBlockTheme02_05_72"] = { + ["y"] = -52.1, + ["x"] = 96.255, + ["name"] = "StaticBlockTheme02_05_72", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_71"] = { + ["y"] = -52.6157, + ["x"] = 90.8693, + ["name"] = "StaticBlockTheme02_05_71", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_2"] = { + ["y"] = -47.9419, + ["x"] = 11.4943, + ["name"] = "StoneBlock5_2", + ["angle"] = 0.000248432, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_55"] = { + ["y"] = -9.66916, + ["x"] = 12.0465, + ["name"] = "StaticBlockTheme02_05_55", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_117"] = { + ["y"] = -35.6045, + ["x"] = -51.9191, + ["name"] = "StaticBlockTheme02_05_117", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_1"] = { + ["y"] = -19.8645, + ["x"] = -5.04244, + ["name"] = "WoodBlock10_1", + ["angle"] = 5.49823, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock4_12"] = { + ["y"] = -59.2459, + ["x"] = 23.2579, + ["name"] = "StoneBlock4_12", + ["angle"] = 1.57112, + ["definition"] = "StoneBlock4", + + }, + ["SmallPiglette_9"] = { + ["y"] = -69.0711, + ["x"] = 16.0135, + ["name"] = "SmallPiglette_9", + ["angle"] = 0.000371933, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_98"] = { + ["y"] = -31.9532, + ["x"] = -39.7388, + ["name"] = "StaticBlockTheme02_05_98", + ["angle"] = 2.35659, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock11_3"] = { + ["y"] = -72.7955, + ["x"] = 16.7584, + ["name"] = "StoneBlock11_3", + ["angle"] = 0.000371933, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock1_1"] = { + ["y"] = -57.6416, + ["x"] = 22.2838, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_05_128"] = { + ["y"] = -19.9439, + ["x"] = -50.7753, + ["name"] = "StaticBlockTheme02_05_128", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon05_4"] = { + ["y"] = -43.1466, + ["x"] = 59.3659, + ["name"] = "StaticBalloon05_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -27.6475, + ["x"] = 75.8389, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall2_1"] = { + ["y"] = -52.8535, + ["x"] = 79.2863, + ["name"] = "ExtraHelmetSmall2_1", + ["angle"] = 0.000124931, + ["definition"] = "ExtraHelmetSmall2", + + }, + ["StaticBlockTheme02_05_58"] = { + ["y"] = -3.65289, + ["x"] = 11.3589, + ["name"] = "StaticBlockTheme02_05_58", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["Estrade02_6"] = { + ["y"] = -26.2345, + ["x"] = -91.5597, + ["name"] = "Estrade02_6", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["BlackBird_3"] = { + ["y"] = -53.4851, + ["x"] = -43.4714, + ["name"] = "BlackBird_3", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock6_7"] = { + ["y"] = -52.1398, + ["x"] = 0.185788, + ["name"] = "StoneBlock6_7", + ["angle"] = 1.57101, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_129"] = { + ["y"] = -21.6156, + ["x"] = -64.6763, + ["name"] = "StaticBlockTheme02_05_129", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock11_1"] = { + ["y"] = -59.1822, + ["x"] = 25.6623, + ["name"] = "LightBlock11_1", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock11", + + }, + ["StoneBlock12_1"] = { + ["y"] = -76.7222, + ["x"] = 92.764, + ["name"] = "StoneBlock12_1", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock12", + + }, + ["ExtraRubberBall_1"] = { + ["y"] = -53.3792, + ["x"] = 74.7047, + ["name"] = "ExtraRubberBall_1", + ["angle"] = 0.000124931, + ["definition"] = "ExtraRubberBall", + + }, + ["StaticBlockTheme02_05_50"] = { + ["y"] = -24.6239, + ["x"] = 12.5048, + ["name"] = "StaticBlockTheme02_05_50", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -5.11312, + ["x"] = 96.85, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_7"] = { + ["y"] = -56.6463, + ["x"] = 22.7184, + ["name"] = "StoneBlock10_7", + ["angle"] = 0.000230789, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_69"] = { + ["y"] = -37.5139, + ["x"] = 98.886, + ["name"] = "StaticBlockTheme02_05_69", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -50.8255, + ["x"] = 76.5824, + ["name"] = "ExtraDonut01_1", + ["angle"] = 5.89061, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_125"] = { + ["y"] = -4.37128, + ["x"] = -43.9128, + ["name"] = "StaticBlockTheme02_05_125", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["MediumPiglette_6"] = { + ["y"] = -48.7609, + ["x"] = 64.8067, + ["name"] = "MediumPiglette_6", + ["angle"] = 0.000283718, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_106"] = { + ["y"] = 0.907587, + ["x"] = -106.291, + ["name"] = "StaticBlockTheme02_05_106", + ["angle"] = 5.10551, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = 1.37837, + ["x"] = 31.753, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock9_1"] = { + ["y"] = -61.7862, + ["x"] = 70.0145, + ["name"] = "StoneBlock9_1", + ["angle"] = 4.71246, + ["definition"] = "StoneBlock9", + + }, + ["MediumPiglette_4"] = { + ["y"] = -51.614, + ["x"] = 24.2957, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000248432, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock2_1"] = { + ["y"] = -70.0375, + ["x"] = 82.8496, + ["name"] = "LightBlock2_1", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_05_65"] = { + ["y"] = -29.7942, + ["x"] = 99.173, + ["name"] = "StaticBlockTheme02_05_65", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -9.02416, + ["x"] = -8.21912, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = 1.96347, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -19.4524, + ["x"] = 2.15178, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = 0.39267, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -18.4798, + ["x"] = 78.5319, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock3_2"] = { + ["y"] = -59.1313, + ["x"] = 5.61012, + ["name"] = "LightBlock3_2", + ["angle"] = 0.000336647, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -32.8848, + ["x"] = 22.4591, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -24.0644, + ["x"] = 102.554, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_3"] = { + ["y"] = -57.1347, + ["x"] = 78.6104, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.392843, + ["definition"] = "SmallPiglette", + + }, + ["ExtraDiamond_3"] = { + ["y"] = -76.0462, + ["x"] = 89.7596, + ["name"] = "ExtraDiamond_3", + ["angle"] = 0.000213146, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_05_111"] = { + ["y"] = -3.84339, + ["x"] = -75.498, + ["name"] = "StaticBlockTheme02_05_111", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon04_2"] = { + ["y"] = -65.9681, + ["x"] = 87.7011, + ["name"] = "StaticBalloon04_2", + ["angle"] = 0, + ["definition"] = "StaticBalloon04", + + }, + ["DecorationSpotsTheme02_01_3"] = { + ["y"] = -39.8443, + ["x"] = -19.6379, + ["name"] = "DecorationSpotsTheme02_01_3", + ["angle"] = 0, + ["definition"] = "DecorationSpotsTheme03_01", + + }, + ["StoneBlock11_2"] = { + ["y"] = -65.6251, + ["x"] = 69.8999, + ["name"] = "StoneBlock11_2", + ["angle"] = 4.71246, + ["definition"] = "StoneBlock11", + + }, + ["Estrade02_2"] = { + ["y"] = -48.5816, + ["x"] = -53.465, + ["name"] = "Estrade02_2", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -33.7071, + ["x"] = 66.0983, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["GlobeBird_1"] = { + ["y"] = -44.0066, + ["x"] = -72.8198, + ["name"] = "GlobeBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -68.3259, + ["x"] = 90.0269, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_86"] = { + ["y"] = -6.00885, + ["x"] = 110.803, + ["name"] = "StaticBlockTheme02_05_86", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_12"] = { + ["y"] = -67.5814, + ["x"] = 13.607, + ["name"] = "StoneBlock10_12", + ["angle"] = 0.000371933, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock6_2"] = { + ["y"] = -47.4831, + ["x"] = 3.6408, + ["name"] = "StoneBlock6_2", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock6", + + }, + ["StaticBalloon05_2"] = { + ["y"] = -39.4554, + ["x"] = 49.8539, + ["name"] = "StaticBalloon05_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -36.3261, + ["x"] = 104.273, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 4.71241, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["StaticBlockTheme02_05_112"] = { + ["y"] = -12.8175, + ["x"] = -86.4076, + ["name"] = "StaticBlockTheme02_05_112", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = 5.42727, + ["x"] = 111.84, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -61.7578, + ["x"] = 3.99114, + ["name"] = "WoodBlock2_1", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -8.79093, + ["x"] = -23.0725, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.393143, + ["definition"] = "WoodBlock10", + + }, + ["SmallPiglette_5"] = { + ["y"] = -59.3605, + ["x"] = 17.1843, + ["name"] = "SmallPiglette_5", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock10_4"] = { + ["y"] = -21.2015, + ["x"] = 111.828, + ["name"] = "WoodBlock10_4", + ["angle"] = 3.53429, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock2_2"] = { + ["y"] = -61.6158, + ["x"] = 23.015, + ["name"] = "WoodBlock2_2", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock4_22"] = { + ["y"] = -45.3823, + ["x"] = 59.0816, + ["name"] = "WoodBlock4_22", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -13.5188, + ["x"] = 63.5905, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_8"] = { + ["y"] = -56.7214, + ["x"] = 4.467, + ["name"] = "StoneBlock10_8", + ["angle"] = 0.000230789, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_126"] = { + ["y"] = -12.9054, + ["x"] = -43.9128, + ["name"] = "StaticBlockTheme02_05_126", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_119"] = { + ["y"] = -29.2699, + ["x"] = -45.2325, + ["name"] = "StaticBlockTheme02_05_119", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_3"] = { + ["y"] = -68.1006, + ["x"] = 76.4322, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -50.0083, + ["x"] = 102.694, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 4.71241, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["ExtraHam_1"] = { + ["y"] = -59.5795, + ["x"] = 84.2938, + ["name"] = "ExtraHam_1", + ["angle"] = 0, + ["definition"] = "ExtraHam", + + }, + ["StoneBlock5_8"] = { + ["y"] = -50.9244, + ["x"] = 13.6206, + ["name"] = "StoneBlock5_8", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock5_9"] = { + ["y"] = -62.9894, + ["x"] = 93.1628, + ["name"] = "WoodBlock5_9", + ["angle"] = 4.05312e-005, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock2_9"] = { + ["y"] = -73.33, + ["x"] = 93.6237, + ["name"] = "StoneBlock2_9", + ["angle"] = 0, + ["definition"] = "StoneBlock2", + + }, + ["StaticBalloon04_1"] = { + ["y"] = -66.0285, + ["x"] = 75.5116, + ["name"] = "StaticBalloon04_1", + ["angle"] = 0, + ["definition"] = "StaticBalloon04", + + }, + ["StaticBlockTheme02_05_124"] = { + ["y"] = -3.93137, + ["x"] = -50.9513, + ["name"] = "StaticBlockTheme02_05_124", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_85"] = { + ["y"] = -6.75372, + ["x"] = 113.496, + ["name"] = "StaticBlockTheme02_05_85", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_73"] = { + ["y"] = -44.4221, + ["x"] = 92.7601, + ["name"] = "StaticBlockTheme02_05_73", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_104"] = { + ["y"] = -7.18667, + ["x"] = -97.3173, + ["name"] = "StaticBlockTheme02_05_104", + ["angle"] = 3.92741, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon05_5"] = { + ["y"] = -43.7144, + ["x"] = 29.1265, + ["name"] = "StaticBalloon05_5", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock12_3"] = { + ["y"] = -76.7222, + ["x"] = 86.9806, + ["name"] = "StoneBlock12_3", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock12", + + }, + ["StoneBlock2_8"] = { + ["y"] = -73.1696, + ["x"] = 72.9582, + ["name"] = "StoneBlock2_8", + ["angle"] = 0, + ["definition"] = "StoneBlock2", + + }, + ["WoodBlock4_18"] = { + ["y"] = -43.2528, + ["x"] = 33.6692, + ["name"] = "WoodBlock4_18", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock3_8"] = { + ["y"] = -64.726, + ["x"] = 72.9949, + ["name"] = "StoneBlock3_8", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock10_2"] = { + ["y"] = -53.9937, + ["x"] = 68.0663, + ["name"] = "LightBlock10_2", + ["angle"] = 1.57084, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock2_6"] = { + ["y"] = -55.7507, + ["x"] = 18.6167, + ["name"] = "StoneBlock2_6", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock4_10"] = { + ["y"] = -61.3554, + ["x"] = 88.1518, + ["name"] = "StoneBlock4_10", + ["angle"] = 5.89077, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -12.7485, + ["x"] = -4.49477, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = 1.17807, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -6.12809, + ["x"] = 60.8985, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 0.392683, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_108"] = { + ["y"] = -1.20396, + ["x"] = -32.1233, + ["name"] = "StaticBlockTheme02_05_108", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock4_14"] = { + ["y"] = -17.9362, + ["x"] = 114.099, + ["name"] = "StoneBlock4_14", + ["angle"] = 1.17809, + ["definition"] = "StoneBlock4", + + }, + ["StaticBalloon05_7"] = { + ["y"] = -39.4554, + ["x"] = 38.7804, + ["name"] = "StaticBalloon05_7", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -7.67721, + ["x"] = 122.665, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 5.89053, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -58.8321, + ["x"] = 96.85, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 3.53431, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -16.1291, + ["x"] = -0.312027, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = 0.78537, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_76"] = { + ["y"] = -35.6555, + ["x"] = 91.2131, + ["name"] = "StaticBlockTheme02_05_76", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDiamond_5"] = { + ["y"] = -59.2459, + ["x"] = 19.4762, + ["name"] = "ExtraDiamond_5", + ["angle"] = 0.785737, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_05_75"] = { + ["y"] = -35.5409, + ["x"] = 91.786, + ["name"] = "StaticBlockTheme02_05_75", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraStrawberry_1"] = { + ["y"] = -57.5853, + ["x"] = 82.8165, + ["name"] = "ExtraStrawberry_1", + ["angle"] = 0.392843, + ["definition"] = "ExtraStrawberry", + + }, + ["MediumPiglette_5"] = { + ["y"] = -51.7643, + ["x"] = 5.59363, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.000248432, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_6"] = { + ["y"] = -71.7809, + ["x"] = 78.385, + ["name"] = "StoneBlock4_6", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_67"] = { + ["y"] = -44.1604, + ["x"] = 98.772, + ["name"] = "StaticBlockTheme02_05_67", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -0.285791, + ["x"] = 125.874, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = 5.89053, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_123"] = { + ["y"] = -3.57945, + ["x"] = -59.8374, + ["name"] = "StaticBlockTheme02_05_123", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_9"] = { + ["y"] = -57.6416, + ["x"] = 9.50637, + ["name"] = "StoneBlock6_9", + ["angle"] = 0.000336647, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock6_10"] = { + ["y"] = -51.2521, + ["x"] = 8.25021, + ["name"] = "StoneBlock6_10", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -16.7303, + ["x"] = 106.163, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 2.35622, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -42.2308, + ["x"] = 22.4721, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_133"] = { + ["y"] = -13.6973, + ["x"] = -70.3071, + ["name"] = "StaticBlockTheme02_05_133", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["BLOCK_GREEN_BAG_1"] = { + ["y"] = -59.2956, + ["x"] = 80.4607, + ["name"] = "BLOCK_GREEN_BAG_1", + ["angle"] = 0, + ["definition"] = "BLOCK_GREEN_BAG", + + }, + ["StaticBlockTheme02_05_62"] = { + ["y"] = -44.2143, + ["x"] = 76.8693, + ["name"] = "StaticBlockTheme02_05_62", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_107"] = { + ["y"] = -12.3776, + ["x"] = -36.6104, + ["name"] = "StaticBlockTheme02_05_107", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_6"] = { + ["y"] = -51.9896, + ["x"] = 26.7743, + ["name"] = "StoneBlock6_6", + ["angle"] = 1.57101, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -58.8825, + ["x"] = 89.5322, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.17811, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_102"] = { + ["y"] = -0.0161316, + ["x"] = -26.6297, + ["name"] = "StaticBlockTheme02_05_102", + ["angle"] = 2.35661, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_17"] = { + ["y"] = -41.8331, + ["x"] = 38.6381, + ["name"] = "WoodBlock4_17", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock4", + + }, + ["StaticBalloon05_1"] = { + ["y"] = -38.6036, + ["x"] = 44.1752, + ["name"] = "StaticBalloon05_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StaticBlockTheme02_05_87"] = { + ["y"] = -5.20668, + ["x"] = 117.679, + ["name"] = "StaticBlockTheme02_05_87", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDiamond_2"] = { + ["y"] = -76.1213, + ["x"] = 76.0898, + ["name"] = "ExtraDiamond_2", + ["angle"] = 0.000213146, + ["definition"] = "ExtraDiamond", + + }, + ["SmallPiglette_6"] = { + ["y"] = -59.3032, + ["x"] = 10.1366, + ["name"] = "SmallPiglette_6", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock4_3"] = { + ["y"] = -65.9224, + ["x"] = 94.4583, + ["name"] = "StoneBlock4_3", + ["angle"] = 1.57089, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -0.930381, + ["x"] = 103.267, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_20"] = { + ["y"] = -41.8331, + ["x"] = 49.7117, + ["name"] = "WoodBlock4_20", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -10.7713, + ["x"] = 120.545, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 5.49783, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -12.834, + ["x"] = 117.451, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 5.10513, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_12"] = { + ["y"] = -63.1271, + ["x"] = 66.7927, + ["name"] = "WoodBlock6_12", + ["angle"] = 2.35619, + ["definition"] = "WoodBlock6", + + }, + ["ExtraApple_1"] = { + ["y"] = -55.7827, + ["x"] = 76.7326, + ["name"] = "ExtraApple_1", + ["angle"] = 0.000142574, + ["definition"] = "ExtraApple", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -19.282, + ["x"] = 72.2865, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockSmiley_3"] = { + ["y"] = -70.3896, + ["x"] = 75.6997, + ["name"] = "ExtraBlockSmiley_3", + ["angle"] = 0, + ["definition"] = "ExtraBlockSmiley", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -49.8328, + ["x"] = 81.9062, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 2.35621, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock10_2"] = { + ["y"] = -5.66761, + ["x"] = -18.9554, + ["name"] = "WoodBlock10_2", + ["angle"] = 5.89093, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock1_2"] = { + ["y"] = -57.6416, + ["x"] = 5.03714, + ["name"] = "WoodBlock1_2", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock1", + + }, + ["BLOCK_GREEN_SPANNER_2_1"] = { + ["y"] = -49.1619, + ["x"] = 62.3429, + ["name"] = "BLOCK_GREEN_SPANNER_2_1", + ["angle"] = 5.89079, + ["definition"] = "BLOCK_GREEN_SPANNER_2", + + }, + ["Estrade02_1"] = { + ["y"] = -51.133, + ["x"] = -44.227, + ["name"] = "Estrade02_1", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -9.35316, + ["x"] = 90.6618, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_131"] = { + ["y"] = -11.8497, + ["x"] = -52.8869, + ["name"] = "StaticBlockTheme02_05_131", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 12, + ["ExtraDonut01"] = 2, + ["ExtraBlockFlag02"] = 1, + ["ExtraBlockSmiley"] = 3, + ["KingPiglette"] = 1, + ["ExtraBlockStairs"] = 1, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 8, + ["StoneBlock2"] = 11, + ["StaticBlockTheme01_04"] = 1, + ["WoodBlock10"] = 4, + ["WoodBlock6"] = 12, + ["LargePiglette"] = 2, + ["ExtraHam"] = 1, + ["ExtraPoleRed"] = 1, + ["BLOCK_GREEN_BAG"] = 1, + ["WoodBlock5"] = 12, + ["BlackBird"] = 3, + ["SmallPiglette"] = 10, + ["ExtraMelon"] = 1, + ["StoneBlock5"] = 9, + ["LightBlock1"] = 2, + ["ExtraHelmetBoss"] = 3, + ["BombPig"] = 3, + ["ExtraPoleYellow"] = 1, + ["StaticBalloon01"] = 6, + ["MediumPiglette"] = 7, + ["WoodBlock4"] = 22, + ["StaticBlockTheme02_04"] = 20, + ["ExtraStrawberry"] = 1, + ["StoneBlock11"] = 4, + ["YellowBird"] = 8, + ["StaticBalloon04"] = 2, + ["GlobeBird"] = 1, + ["WoodBlock2"] = 5, + ["BLOCK_GREEN_SPANNER_2"] = 1, + ["HelmetPiglette"] = 3, + ["ExtraRubberBall"] = 1, + ["ExtraCowboyHelmet_1"] = 1, + ["WoodBlock3"] = 9, + ["LightBlock10"] = 3, + ["ShootingPlatform01"] = 1, + ["ExtraHolyGrail"] = 5, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 13, + ["StaticBlockTheme01_02"] = 1, + ["DecorationSpotsTheme02_01"] = 4, + ["ExtraHelmetSmall"] = 1, + ["StoneBlock4"] = 15, + ["ExtraHelmetSmall2"] = 1, + ["StaticBlockTheme01_01"] = 1, + ["StaticBalloon05"] = 7, + ["StaticBlockTheme02_03"] = 4, + ["StaticBlockTheme02_05"] = 135, + ["LightBlock3"] = 2, + ["HatPiglette"] = 1, + ["Estrade02"] = 6, + ["ExtraApple"] = 1, + ["LightBlock2"] = 1, + ["ExtraDiamond"] = 6, + ["WoodBlock1"] = 2, + ["StoneBlock12"] = 4, + ["ExtraBlockTNT"] = 1, + ["StaticBlockTheme02_06"] = 4, + ["RedBigBird"] = 2, + ["StoneBlock9"] = 1, + ["WoodBlock12"] = 2, + +} +theme = "theme2boss" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -177.52, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 86.2047, + ["screenWidth"] = 480, + ["py"] = -177.52, + ["screenHeight"] = 320, + ["top"] = -454.102, + ["sy"] = 0.578491, + ["sx"] = 0.578491, + ["right"] = 1196.22, + ["left"] = -1228.86, + ["px"] = -813.992, + + }, + ["version"] = "0.02", + ["sx"] = 0.578491, + ["windows"] = { + ["bottom"] = 25.7905, + ["screenWidth"] = 1366, + ["py"] = -902.659, + ["screenHeight"] = 768, + ["top"] = -1992.98, + ["sy"] = 0.35219, + ["sx"] = 0.35219, + ["right"] = 2584.29, + ["left"] = -2759.37, + ["px"] = -820.078, + + }, + ["px"] = -813.992, + ["ipad"] = { + ["sy"] = 0.772634, + ["sx"] = 0.772634, + ["px"] = -571.409, + ["py"] = -239.239, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["sy"] = 0.578491, + +} +filename = "Level15.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level2.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level2.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..1eab6e930bac643a5e78864bad22300bb9b55c92 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level2.temp.lua @@ -0,0 +1,608 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1192.88, + ["bottom"] = 54.4621, + ["screenWidth"] = 480, + ["py"] = -213.395, + ["left"] = 791.094, + ["screenHeight"] = 320, + ["top"] = -481.252, + ["iphone"] = { + ["bottom"] = 54.4623, + ["screenWidth"] = 480, + ["py"] = -213.395, + ["screenHeight"] = 320, + ["top"] = -481.252, + ["sy"] = 0.170667, + ["sx"] = 0.597333, + ["right"] = 1594.67, + ["left"] = 791.094, + ["px"] = 1192.88, + + }, + ["sy"] = 0.170667, + ["sx"] = 0.597333, + ["windows"] = { + ["bottom"] = 131.488, + ["screenWidth"] = 1366, + ["py"] = -294.507, + ["screenHeight"] = 768, + ["top"] = -720.502, + ["sy"] = 0.90142, + ["sx"] = 0.90142, + ["px"] = 1005.16, + ["left"] = 247.466, + ["right"] = 1762.85, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["bottom"] = 205.5, + ["screenWidth"] = 1024, + ["py"] = -220.495, + ["screenHeight"] = 768, + ["top"] = -646.49, + ["sy"] = 0.90142, + ["sx"] = 0.90142, + ["px"] = 1150.35, + ["left"] = 582.357, + ["right"] = 1718.34, + + }, + ["right"] = 1594.67, + +} +levelParticles = { + ["y"] = -1679.68, + ["x"] = 1869.57, + ["firstFrame"] = true, + ["width"] = 5419.01, + +} +joints = { + +} +world = { + ["ExtraBlueBird_3"] = { + ["y"] = -0.671673, + ["x"] = 74.879, + ["name"] = "ExtraBlueBird_3", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlueBird", + + }, + ["RedBird_3"] = { + ["y"] = -3.72149, + ["x"] = 5.20437, + ["name"] = "RedBird_3", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock4_1"] = { + ["y"] = -2.16931, + ["x"] = 76.2657, + ["name"] = "StoneBlock4_1", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_4"] = { + ["y"] = -11.9819, + ["x"] = 79.0481, + ["name"] = "WoodBlock5_4", + ["angle"] = 3.14161, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock8_2"] = { + ["y"] = -2.0029, + ["x"] = 70.4415, + ["name"] = "WoodBlock8_2", + ["angle"] = 3.92699, + ["definition"] = "WoodBlock8", + + }, + ["RedBird_4"] = { + ["y"] = -2.93012, + ["x"] = -2.99359, + ["name"] = "RedBird_4", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme01_04_2"] = { + ["y"] = -13.8175, + ["x"] = 71.6064, + ["name"] = "StaticBlockTheme01_04_2", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = 0.825961, + ["x"] = 69.7759, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock6_4"] = { + ["y"] = -14.6143, + ["x"] = 64.4978, + ["name"] = "StoneBlock6_4", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock6", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 36.8125, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = 0.32675, + ["x"] = 54.356, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlueBird_2"] = { + ["y"] = -0.671673, + ["x"] = 73.4923, + ["name"] = "ExtraBlueBird_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlueBird", + + }, + ["WoodBlock4_1"] = { + ["y"] = -14.3167, + ["x"] = 76.3766, + ["name"] = "WoodBlock4_1", + ["angle"] = 1.57079, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock6_8"] = { + ["y"] = -1.19115, + ["x"] = 28.7366, + ["name"] = "WoodBlock6_8", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_1"] = { + ["y"] = -7.43877, + ["x"] = 56.7411, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock11_2"] = { + ["y"] = -11.1349, + ["x"] = 83.023, + ["name"] = "LightBlock11_2", + ["angle"] = 0, + ["definition"] = "LightBlock11", + + }, + ["MediumPiglette_2"] = { + ["y"] = -4.55442, + ["x"] = 49.8076, + ["name"] = "MediumPiglette_2", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = 0.271283, + ["x"] = 45.0374, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_5"] = { + ["y"] = -2.85518, + ["x"] = 40.7178, + ["name"] = "WoodBlock6_5", + ["angle"] = 2.35619, + ["definition"] = "WoodBlock6", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -19.6971, + ["x"] = 77.9852, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -2.80068, + ["x"] = -7.33141, + ["name"] = "RedBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock6_6"] = { + ["y"] = -19.1119, + ["x"] = 61.9479, + ["name"] = "StoneBlock6_6", + ["angle"] = 0, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock6_4"] = { + ["y"] = -3.93909, + ["x"] = 84.8723, + ["name"] = "LightBlock6_4", + ["angle"] = 1.57082, + ["definition"] = "LightBlock6", + + }, + ["StoneBlock4_2"] = { + ["y"] = -6.32941, + ["x"] = 76.2657, + ["name"] = "StoneBlock4_2", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock1_1"] = { + ["y"] = -6.21847, + ["x"] = 43.928, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = 0.215814, + ["x"] = 70.3861, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_3"] = { + ["y"] = -10.2677, + ["x"] = 76.2102, + ["name"] = "StoneBlock4_3", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock4", + + }, + ["Estrade02_1"] = { + ["y"] = -0.83338, + ["x"] = -4.76833, + ["name"] = "Estrade02_1", + ["angle"] = 7.20024e-005, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -1.55917, + ["x"] = 59.2372, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["RedBird_1"] = { + ["y"] = -2.21704, + ["x"] = -13.7817, + ["name"] = "RedBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["Estrade03_1"] = { + ["y"] = -1.499, + ["x"] = 4.93858, + ["name"] = "Estrade03_1", + ["angle"] = 7.20024e-005, + ["definition"] = "Estrade03", + + }, + ["WoodBlock5_2"] = { + ["y"] = -9.43562, + ["x"] = 56.7411, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["ExtraStrongBall_2"] = { + ["y"] = -18.9206, + ["x"] = 75.5446, + ["name"] = "ExtraStrongBall_2", + ["angle"] = 6.28316, + ["definition"] = "ExtraStrongBall", + + }, + ["StoneBlock7_1"] = { + ["y"] = -21.3613, + ["x"] = 60.7903, + ["name"] = "StoneBlock7_1", + ["angle"] = 3.14159, + ["definition"] = "StoneBlock7", + + }, + ["StoneBlock10_1"] = { + ["y"] = -17.6448, + ["x"] = 74.8235, + ["name"] = "StoneBlock10_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["SmallPiglette_5"] = { + ["y"] = -11.6543, + ["x"] = 61.8441, + ["name"] = "SmallPiglette_5", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + ["ExtraBlueBird_1"] = { + ["y"] = -2.94586, + ["x"] = 69.1658, + ["name"] = "ExtraBlueBird_1", + ["angle"] = 5.89048, + ["definition"] = "ExtraBlueBird", + + }, + ["WoodBlock5_3"] = { + ["y"] = -15.1436, + ["x"] = 78.8817, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.57081, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_03_4"] = { + ["y"] = -2.11384, + ["x"] = 64.0628, + ["name"] = "StaticBlockTheme01_03_4", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock2_1"] = { + ["y"] = -16.7019, + ["x"] = 76.4321, + ["name"] = "WoodBlock2_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock2", + + }, + ["MediumPiglette_3"] = { + ["y"] = -21.3916, + ["x"] = 64.6306, + ["name"] = "MediumPiglette_3", + ["angle"] = 0, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock8_1"] = { + ["y"] = -0.949015, + ["x"] = 71.8837, + ["name"] = "WoodBlock8_1", + ["angle"] = 3.92699, + ["definition"] = "WoodBlock8", + + }, + ["LightBlock6_3"] = { + ["y"] = -3.88362, + ["x"] = 77.7169, + ["name"] = "LightBlock6_3", + ["angle"] = 1.57082, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -5.60833, + ["x"] = 63.6191, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -10.545, + ["x"] = 68.3337, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["ExtraApple_1"] = { + ["y"] = -1.05476, + ["x"] = 79.4364, + ["name"] = "ExtraApple_1", + ["angle"] = 4.05312e-005, + ["definition"] = "ExtraApple", + + }, + ["WoodBlock6_1"] = { + ["y"] = -8.54294, + ["x"] = 81.2114, + ["name"] = "WoodBlock6_1", + ["angle"] = 3.14161, + ["definition"] = "WoodBlock6", + + }, + ["Estrade02_2"] = { + ["y"] = -0.167764, + ["x"] = -13.5878, + ["name"] = "Estrade02_2", + ["angle"] = 7.20024e-005, + ["definition"] = "Estrade02", + + }, + ["ExtraHolyGrail_2"] = { + ["y"] = -1.88677, + ["x"] = 81.6551, + ["name"] = "ExtraHolyGrail_2", + ["angle"] = 7.20024e-005, + ["definition"] = "ExtraHolyGrail", + + }, + ["WoodBlock6_7"] = { + ["y"] = -1.74583, + ["x"] = 36.3358, + ["name"] = "WoodBlock6_7", + ["angle"] = 2.74889, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock1_1"] = { + ["y"] = -13.5403, + ["x"] = 80.4259, + ["name"] = "WoodBlock1_1", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock1", + + }, + ["LightBlock1_1"] = { + ["y"] = -20.0278, + ["x"] = 58.4688, + ["name"] = "LightBlock1_1", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock6_5"] = { + ["y"] = -14.5589, + ["x"] = 59.3947, + ["name"] = "StoneBlock6_5", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -1.39276, + ["x"] = 63.6191, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_5"] = { + ["y"] = -9.98506, + ["x"] = 79.0481, + ["name"] = "WoodBlock5_5", + ["angle"] = 3.14161, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 2, + ["StoneBlock6"] = 6, + ["Estrade03"] = 1, + ["MediumPiglette"] = 3, + ["LightBlock5"] = 4, + ["ImmovableWall01"] = 1, + ["ExtraBlockTNT"] = 1, + ["LightBlock11"] = 2, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 4, + ["StaticBlockTheme01_04"] = 3, + ["WoodBlock2"] = 1, + ["StoneBlock1"] = 3, + ["StaticBlockTheme01_05"] = 9, + ["ExtraPoleRed"] = 1, + ["WoodBlock5"] = 5, + ["StoneBlock10"] = 3, + ["WoodBlock3"] = 6, + ["SmallPiglette"] = 5, + ["LightBlock6"] = 5, + ["StoneBlock4"] = 3, + ["StoneBlock7"] = 1, + ["ExtraHolyGrail"] = 2, + ["StaticBlockTheme01_01"] = 1, + ["StaticBlockTheme01_02"] = 2, + ["StoneBlock11"] = 1, + ["WoodBlock4"] = 1, + ["LightBlock1"] = 1, + ["Estrade02"] = 2, + ["ExtraApple"] = 1, + ["StoneBlock5"] = 4, + ["ImmovableWall03"] = 2, + ["ExtraBlueBird"] = 3, + ["LightBlock10"] = 2, + ["WoodBlock1"] = 1, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["WoodBlock6"] = 8, + ["ExtraStrongBall"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -50.5523, + ["bottom"] = 10.5511, + ["screenWidth"] = 480, + ["py"] = -156.296, + ["left"] = -419.405, + ["screenHeight"] = 320, + ["top"] = -402.198, + ["iphone"] = { + ["bottom"] = 10.5507, + ["screenWidth"] = 480, + ["py"] = -156.296, + ["screenHeight"] = 320, + ["top"] = -402.198, + ["sy"] = 0.650667, + ["sx"] = 0.650667, + ["right"] = 1528.8, + ["left"] = -419.405, + ["px"] = -50.5523, + + }, + ["sy"] = 0.650667, + ["sx"] = 0.650667, + ["windows"] = { + ["bottom"] = 131.488, + ["screenWidth"] = 1366, + ["py"] = -184.529, + ["screenHeight"] = 768, + ["top"] = -610.524, + ["sy"] = 0.90142, + ["sx"] = 0.90142, + ["px"] = 296.604, + ["left"] = -461.089, + ["right"] = 1762.85, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["sy"] = 0.75142, + ["sx"] = 0.75142, + ["px"] = 219.767, + ["py"] = -233.033, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["right"] = 1528.8, + +} +filename = "Level2.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level3.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level3.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ef0382ab2ddf3f7323d8786fa564c4671aae4dc --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level3.temp.lua @@ -0,0 +1,1636 @@ +themeSprites = { + +} +castleCameraData = { + ["screenHeight"] = 320, + ["bottom"] = 77.9304, + ["px"] = 1293.29, + ["right"] = 1650.03, + ["left"] = 936.547, + ["screenWidth"] = 480, + ["top"] = -397.726, + ["iphone"] = { + ["bottom"] = 77.9304, + ["screenWidth"] = 480, + ["py"] = -159.898, + ["screenHeight"] = 320, + ["top"] = -397.726, + ["sy"] = 0.252282, + ["sx"] = 0.672754, + ["right"] = 1650.03, + ["left"] = 936.547, + ["px"] = 1293.29, + + }, + ["sy"] = 0.252282, + ["sx"] = 0.672754, + ["windows"] = { + ["sy"] = 0.899558, + ["sx"] = 0.899558, + ["px"] = 988.303, + ["py"] = -574.214, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["bottom"] = 227.743, + ["screenWidth"] = 1024, + ["py"] = -199.133, + ["screenHeight"] = 768, + ["top"] = -626.009, + ["sy"] = 0.899558, + ["sx"] = 0.899558, + ["right"] = 1867.05, + ["left"] = 728.712, + ["px"] = 1297.88, + + }, + ["py"] = -159.898, + +} +levelParticles = { + ["y"] = -1986.38, + ["x"] = 2016.31, + ["firstFrame"] = true, + ["width"] = 6071.79, + +} +joints = { + ["WoodBlock9_1WoodBlock3_1"] = { + ["type"] = 1, + ["end2"] = "WoodBlock3_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock9_1WoodBlock3_1", + ["collideConnected"] = 1, + ["x1"] = 0, + ["end1"] = "WoodBlock9_1", + ["dampingRatio"] = 0.5, + ["frequency"] = 5.1, + + }, + ["WoodBlock9_2WoodBlock3_2"] = { + ["type"] = 1, + ["end2"] = "WoodBlock3_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock9_2WoodBlock3_2", + ["collideConnected"] = 1, + ["x1"] = 0, + ["end1"] = "WoodBlock9_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 75.1994, + + }, + +} +world = { + ["LightBlock5_4"] = { + ["y"] = -2.30266, + ["x"] = 39.678, + ["name"] = "LightBlock5_4", + ["angle"] = 1.57114, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_11"] = { + ["y"] = -30.723, + ["x"] = 47.1664, + ["name"] = "LightBlock1_11", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -45.4683, + ["x"] = 41.4719, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -15.1947, + ["x"] = 40.2334, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_7"] = { + ["y"] = -31.6124, + ["x"] = 52.4468, + ["name"] = "LightBlock1_7", + ["angle"] = 0.785525, + ["definition"] = "LightBlock1", + + }, + ["SmallPiglette_4"] = { + ["y"] = -19.422, + ["x"] = 59.2432, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -8.52794, + ["x"] = 69.4704, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_3"] = { + ["y"] = -17.3336, + ["x"] = 39.4454, + ["name"] = "LightBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["SmallBlueBird_3"] = { + ["y"] = -20.2994, + ["x"] = -15.4583, + ["name"] = "SmallBlueBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -13.3801, + ["x"] = 75.1646, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 3.5345, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -6.0823, + ["x"] = 74.3617, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock2_4"] = { + ["y"] = -19.0011, + ["x"] = 38.5561, + ["name"] = "LightBlock2_4", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -14.1026, + ["x"] = 68.5503, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -16.9089, + ["x"] = 2.10592, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -4.63714, + ["x"] = 76.0292, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock3_1"] = { + ["y"] = -19.8904, + ["x"] = 41.1129, + ["name"] = "LightBlock3_1", + ["angle"] = 6.28317, + ["definition"] = "LightBlock3", + + }, + ["LightBlock2_5"] = { + ["y"] = -19.8904, + ["x"] = 39.501, + ["name"] = "LightBlock2_5", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["LightBlock4_4"] = { + ["y"] = -29.8371, + ["x"] = 39.3957, + ["name"] = "LightBlock4_4", + ["angle"] = 1.57082, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_33"] = { + ["y"] = -16.0401, + ["x"] = 69.7892, + ["name"] = "StaticBlockTheme02_04_33", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock9_1"] = { + ["y"] = -2.06844, + ["x"] = -11.206, + ["name"] = "WoodBlock9_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -4.69272, + ["x"] = 63.2451, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -16.9089, + ["x"] = 3.10641, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_29"] = { + ["y"] = -35.8822, + ["x"] = 65.2873, + ["name"] = "StaticBlockTheme02_02_29", + ["angle"] = 4.31992, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -36.3485, + ["x"] = 62.3255, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 3.92707, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -48.7477, + ["x"] = 44.6957, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock9_2"] = { + ["y"] = -2.01285, + ["x"] = -1.92364, + ["name"] = "WoodBlock9_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock9", + + }, + ["LightBlock2_7"] = { + ["y"] = -35.7255, + ["x"] = 45.5545, + ["name"] = "LightBlock2_7", + ["angle"] = 1.57091, + ["definition"] = "LightBlock2", + + }, + ["SmallBlueBird_4"] = { + ["y"] = -12.2955, + ["x"] = -21.2389, + ["name"] = "SmallBlueBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["LightBlock6_5"] = { + ["y"] = -37.2262, + ["x"] = 43.0533, + ["name"] = "LightBlock6_5", + ["angle"] = 0.000124931, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -0.0117004, + ["x"] = -6.62059, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock1_5"] = { + ["y"] = -22.3361, + ["x"] = 42.6692, + ["name"] = "LightBlock1_5", + ["angle"] = 4.71241, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock3_1"] = { + ["y"] = -4.08131, + ["x"] = 53.4625, + ["name"] = "StoneBlock3_1", + ["angle"] = 3.9273, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_04_23"] = { + ["y"] = -48.3883, + ["x"] = 63.1195, + ["name"] = "StaticBlockTheme02_04_23", + ["angle"] = 0.785631, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_36"] = { + ["y"] = -2.80291, + ["x"] = 79.6421, + ["name"] = "StaticBlockTheme02_04_36", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -9.29404, + ["x"] = -21.1277, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_1"] = { + ["y"] = -22.8919, + ["x"] = 41.224, + ["name"] = "LightBlock8_1", + ["angle"] = 4.71241, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -41.2009, + ["x"] = 55.2723, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 3.53437, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 23.7391, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -2.13591, + ["x"] = 54.1295, + ["name"] = "WoodBlock11_1", + ["angle"] = 0.000248432, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_02_32"] = { + ["y"] = -16.6986, + ["x"] = 60.4104, + ["name"] = "StaticBlockTheme02_02_32", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -4.34716, + ["x"] = 2.60617, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BLOCK_GREEN_BAG_1"] = { + ["y"] = -3.8034, + ["x"] = 47.6819, + ["name"] = "BLOCK_GREEN_BAG_1", + ["angle"] = 1.17837, + ["definition"] = "BLOCK_GREEN_BAG", + + }, + ["LightBlock1_14"] = { + ["y"] = -16.1427, + ["x"] = 45.1807, + ["name"] = "LightBlock1_14", + ["angle"] = 3.14194, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock8_1"] = { + ["y"] = -38.6538, + ["x"] = 42.5683, + ["name"] = "StoneBlock8_1", + ["angle"] = 1.96386, + ["definition"] = "StoneBlock8", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -3.58107, + ["x"] = 41.5122, + ["name"] = "ExtraDiamond_1", + ["angle"] = 2.35654, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_02_22"] = { + ["y"] = -34.9798, + ["x"] = 69.2261, + ["name"] = "StaticBlockTheme02_02_22", + ["angle"] = 1.57098, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock4_2"] = { + ["y"] = -18.3341, + ["x"] = 41.1129, + ["name"] = "LightBlock4_2", + ["angle"] = 6.28316, + ["definition"] = "LightBlock4", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -7.47187, + ["x"] = 46.8482, + ["name"] = "ExtraDonut01_2", + ["angle"] = 0.393019, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -6.74929, + ["x"] = 73.0833, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -12.629, + ["x"] = -17.8483, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_38"] = { + ["y"] = -13.9751, + ["x"] = 59.0764, + ["name"] = "StaticBlockTheme02_04_38", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_27"] = { + ["y"] = -40.0509, + ["x"] = 65.5096, + ["name"] = "StaticBlockTheme02_04_27", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallBlueBird_5"] = { + ["y"] = -3.34667, + ["x"] = -25.352, + ["name"] = "SmallBlueBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme02_04_28"] = { + ["y"] = -43.2747, + ["x"] = 58.1171, + ["name"] = "StaticBlockTheme02_04_28", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_18"] = { + ["y"] = -14.4488, + ["x"] = 50.0973, + ["name"] = "StaticBlockTheme02_02_18", + ["angle"] = 3.14169, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -16.1863, + ["x"] = -6.67617, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_3"] = { + ["y"] = -33.8515, + ["x"] = 48.0862, + ["name"] = "SmallPiglette_3", + ["angle"] = 7.20024e-005, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock7_1"] = { + ["y"] = -29.5558, + ["x"] = 53.5029, + ["name"] = "LightBlock7_1", + ["angle"] = 0.000107288, + ["definition"] = "LightBlock7", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -15.1947, + ["x"] = 42.1232, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_26"] = { + ["y"] = -42.0519, + ["x"] = 64.8982, + ["name"] = "StaticBlockTheme02_04_26", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = -37.6608, + ["x"] = 65.3428, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = 5.49802, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_39"] = { + ["y"] = -13.1969, + ["x"] = 58.7985, + ["name"] = "StaticBlockTheme02_04_39", + ["angle"] = 3.92723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -36.3824, + ["x"] = 66.8992, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 4.31992, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_29"] = { + ["y"] = -7.15477, + ["x"] = 57.7672, + ["name"] = "StaticBlockTheme02_01_29", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -52.2105, + ["x"] = 60.3884, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 0.392878, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -12.6379, + ["x"] = 44.4021, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 5.49777, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock2_3"] = { + ["y"] = -18.8899, + ["x"] = 43.892, + ["name"] = "LightBlock2_3", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = 2.50946, + ["x"] = 37.8891, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_27"] = { + ["y"] = -34.048, + ["x"] = 68.0108, + ["name"] = "StaticBlockTheme02_02_27", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_20"] = { + ["y"] = -53.0998, + ["x"] = 53.8297, + ["name"] = "StaticBlockTheme02_02_20", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_23"] = { + ["y"] = -28.1431, + ["x"] = 69.2817, + ["name"] = "StaticBlockTheme02_02_23", + ["angle"] = 1.57098, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_25"] = { + ["y"] = -42.9412, + ["x"] = 59.5066, + ["name"] = "StaticBlockTheme02_04_25", + ["angle"] = 0.785631, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -5.06974, + ["x"] = -22.4061, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -10.0843, + ["x"] = 62.5225, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -40.9536, + ["x"] = 37.0612, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockFlag01_2"] = { + ["y"] = -7.03172, + ["x"] = -10.9732, + ["name"] = "ExtraBlockFlag01_2", + ["angle"] = 0, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = 0.710876, + ["x"] = -24.7406, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -13.7135, + ["x"] = 48.596, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 5.8907, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -7.43268, + ["x"] = 81.0564, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 4.3199, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock3_1"] = { + ["y"] = -2.06844, + ["x"] = -11.2616, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -27.0023, + ["x"] = 45.3986, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_34"] = { + ["y"] = 0.865561, + ["x"] = 81.643, + ["name"] = "StaticBlockTheme02_04_34", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock1_2"] = { + ["y"] = -17.3336, + ["x"] = 44.0032, + ["name"] = "LightBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -28.5669, + ["x"] = 67.3838, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 4.31977, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -10.9344, + ["x"] = 78.7219, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 3.9272, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_8"] = { + ["y"] = -32.2794, + ["x"] = 51.7242, + ["name"] = "LightBlock1_8", + ["angle"] = 0.785525, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_02_31"] = { + ["y"] = -17.0321, + ["x"] = 62.3558, + ["name"] = "StaticBlockTheme02_02_31", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock2_1"] = { + ["y"] = -16.4443, + ["x"] = 38.8896, + ["name"] = "LightBlock2_1", + ["angle"] = 6.28316, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -43.0658, + ["x"] = 48.6224, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 5.81741e-005, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_3"] = { + ["y"] = -2.02475, + ["x"] = 50.6834, + ["name"] = "StoneBlock4_3", + ["angle"] = 4.31999, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -13.7135, + ["x"] = 53.932, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 0.392913, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_2"] = { + ["y"] = -1.07984, + ["x"] = 46.4035, + ["name"] = "LightBlock8_2", + ["angle"] = 0.000248432, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_02_24"] = { + ["y"] = -18.8272, + ["x"] = 71.0515, + ["name"] = "StaticBlockTheme02_02_24", + ["angle"] = 1.1783, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_35"] = { + ["y"] = -0.746341, + ["x"] = 80.587, + ["name"] = "StaticBlockTheme02_04_35", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_22"] = { + ["y"] = -40.3844, + ["x"] = 62.7304, + ["name"] = "StaticBlockTheme02_04_22", + ["angle"] = 5.49802, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -8.41678, + ["x"] = 71.6381, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_19"] = { + ["y"] = -14.9931, + ["x"] = 51.891, + ["name"] = "StaticBlockTheme02_02_19", + ["angle"] = 0.000107288, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -25.8989, + ["x"] = 66.7168, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 5.10517, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -17.2424, + ["x"] = -15.3471, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_25"] = { + ["y"] = -3.09722, + ["x"] = 82.8351, + ["name"] = "StaticBlockTheme02_02_25", + ["angle"] = 4.3199, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -27.0023, + ["x"] = 41.2299, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -13.3049, + ["x"] = 41.345, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_37"] = { + ["y"] = -3.52549, + ["x"] = 79.3086, + ["name"] = "StaticBlockTheme02_04_37", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_2"] = { + ["y"] = -17.0001, + ["x"] = 41.1129, + ["name"] = "SmallPiglette_2", + ["angle"] = 6.28316, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -1.06777, + ["x"] = -15.3471, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = 7.49199, + ["x"] = -21.0721, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock1_10"] = { + ["y"] = -36.2257, + ["x"] = 46.4995, + ["name"] = "LightBlock1_10", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -46.5541, + ["x"] = 58.2282, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -8.34913, + ["x"] = -20.5163, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -14.5744, + ["x"] = -1.45138, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 3.1416, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -27.0023, + ["x"] = 50.4011, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = 1.95363, + ["x"] = 44.5034, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -16.2419, + ["x"] = -15.7918, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -12.6379, + ["x"] = 37.8433, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 0.785394, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_30"] = { + ["y"] = -15.4202, + ["x"] = 59.0764, + ["name"] = "StaticBlockTheme02_02_30", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock5_1"] = { + ["y"] = -28.6698, + ["x"] = 49.7341, + ["name"] = "LightBlock5_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_24"] = { + ["y"] = -45.498, + ["x"] = 63.6754, + ["name"] = "StaticBlockTheme02_04_24", + ["angle"] = 0.785631, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -16.9089, + ["x"] = 2.10592, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock2_2"] = { + ["y"] = -16.4999, + ["x"] = 43.5029, + ["name"] = "LightBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "LightBlock2", + + }, + ["LightBlock1_4"] = { + ["y"] = -17.3336, + ["x"] = 38.3893, + ["name"] = "LightBlock1_4", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_28"] = { + ["y"] = -9.54483, + ["x"] = 57.7116, + ["name"] = "StaticBlockTheme02_01_28", + ["angle"] = 1.17831, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -15.1302, + ["x"] = -5.95359, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -0.289615, + ["x"] = -25.2964, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -48.1104, + ["x"] = 51.8918, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_32"] = { + ["y"] = -20.32, + ["x"] = 67.7327, + ["name"] = "StaticBlockTheme02_04_32", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock2_6"] = { + ["y"] = -19.946, + ["x"] = 42.8915, + ["name"] = "LightBlock2_6", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_02_17"] = { + ["y"] = -16.5054, + ["x"] = 57.4342, + ["name"] = "StaticBlockTheme02_02_17", + ["angle"] = 2.74899, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_30"] = { + ["y"] = -46.165, + ["x"] = 44.3881, + ["name"] = "StaticBlockTheme02_04_30", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_2"] = { + ["y"] = -5.52647, + ["x"] = 50.7946, + ["name"] = "LightBlock10_2", + ["angle"] = 3.1419, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -49.7649, + ["x"] = 64.0013, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 0.785578, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_2"] = { + ["y"] = -32.6162, + ["x"] = 50.1232, + ["name"] = "LightBlock3_2", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -27.0023, + ["x"] = 50.0676, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_15"] = { + ["y"] = -21.897, + ["x"] = 65.5495, + ["name"] = "StaticBlockTheme02_02_15", + ["angle"] = 5.49787, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock1_9"] = { + ["y"] = -35.2253, + ["x"] = 46.555, + ["name"] = "LightBlock1_9", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["ExtraTire02_1"] = { + ["y"] = -1.63567, + ["x"] = 48.8492, + ["name"] = "ExtraTire02_1", + ["angle"] = 0.000248432, + ["definition"] = "ExtraTire02", + + }, + ["LightBlock7_2"] = { + ["y"] = -34.5583, + ["x"] = 43.0533, + ["name"] = "LightBlock7_2", + ["angle"] = 0.000107288, + ["definition"] = "LightBlock7", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -7.0873, + ["x"] = -1.63532, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_02_21"] = { + ["y"] = -43.8731, + ["x"] = 67.4475, + ["name"] = "StaticBlockTheme02_02_21", + ["angle"] = 1.17828, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -16.2419, + ["x"] = -14.8468, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = 0.710876, + ["x"] = -25.6299, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -4.74831, + ["x"] = 70.9156, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock3_3"] = { + ["y"] = -33.7403, + ["x"] = 45.9185, + ["name"] = "LightBlock3_3", + ["angle"] = 7.20024e-005, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -7.74978, + ["x"] = 72.3051, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_1"] = { + ["y"] = -29.6174, + ["x"] = 41.7799, + ["name"] = "MediumPiglette_1", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock4_5"] = { + ["y"] = -1.74683, + ["x"] = 55.2968, + ["name"] = "WoodBlock4_5", + ["angle"] = 3.92723, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_02_26"] = { + ["y"] = -2.37465, + ["x"] = 57.8228, + ["name"] = "StaticBlockTheme02_02_26", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -15.1302, + ["x"] = -7.39875, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -27.5108, + ["x"] = 67.2726, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -19.1878, + ["x"] = -6.73175, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -39.1161, + ["x"] = 44.7764, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.000142574, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_02_16"] = { + ["y"] = -19.5069, + ["x"] = 64.5489, + ["name"] = "StaticBlockTheme02_02_16", + ["angle"] = 5.89057, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -15.3526, + ["x"] = -9.84439, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 0.3927, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock5_2"] = { + ["y"] = -30.6708, + ["x"] = 49.7341, + ["name"] = "LightBlock5_2", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_12"] = { + ["y"] = -38.06, + ["x"] = 41.1635, + ["name"] = "LightBlock1_12", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["LightBlock4_3"] = { + ["y"] = -21.3912, + ["x"] = 41.1685, + ["name"] = "LightBlock4_3", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -13.9163, + ["x"] = 41.345, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -47.6658, + ["x"] = 55.7826, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -52.2661, + ["x"] = 47.2153, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 2.74906, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_1"] = { + ["y"] = -32.2827, + ["x"] = 44.0091, + ["name"] = "LightBlock10_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock10", + + }, + ["LightBlock12_1"] = { + ["y"] = -29.7815, + ["x"] = 45.621, + ["name"] = "LightBlock12_1", + ["angle"] = 2.28882e-005, + ["definition"] = "LightBlock12", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -1.24659, + ["x"] = 42.2348, + ["name"] = "ExtraDonut01_3", + ["angle"] = 5.89082, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_29"] = { + ["y"] = -49.5556, + ["x"] = 47.0561, + ["name"] = "StaticBlockTheme02_04_29", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_31"] = { + ["y"] = -46.6653, + ["x"] = 46.2779, + ["name"] = "StaticBlockTheme02_04_31", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock11_1"] = { + ["y"] = -17.2543, + ["x"] = 56.7975, + ["name"] = "LightBlock11_1", + ["angle"] = 1.96386, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -12.6967, + ["x"] = 63.8009, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -12.4907, + ["x"] = 70.7736, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -43.2018, + ["x"] = 43.5999, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 2.74897, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -42.1889, + ["x"] = 38.1925, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_28"] = { + ["y"] = -36.5492, + ["x"] = 67.7329, + ["name"] = "StaticBlockTheme02_02_28", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -40.3422, + ["x"] = 40.1183, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -42.0097, + ["x"] = 44.1758, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 5.89054, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallBlueBird_6"] = { + ["y"] = -20.9664, + ["x"] = 2.55059, + ["name"] = "SmallBlueBird_6", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme02_01_27"] = { + ["y"] = -11.9349, + ["x"] = 56.3221, + ["name"] = "StaticBlockTheme02_01_27", + ["angle"] = 0.785614, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -8.34913, + ["x"] = -21.6835, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_3"] = { + ["y"] = -34.8362, + ["x"] = 40.2186, + ["name"] = "LightBlock5_3", + ["angle"] = 1.57091, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -14.9931, + ["x"] = 46.8885, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 0.000107288, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_1"] = { + ["y"] = -17.3892, + ["x"] = 42.9471, + ["name"] = "LightBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["LightBlock1_13"] = { + ["y"] = -38.2267, + ["x"] = 46.7774, + ["name"] = "LightBlock1_13", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["LightBlock1_6"] = { + ["y"] = -22.2805, + ["x"] = 39.7789, + ["name"] = "LightBlock1_6", + ["angle"] = 4.71241, + ["definition"] = "LightBlock1", + + }, + ["WoodBlock3_2"] = { + ["y"] = -2.06844, + ["x"] = -1.92364, + ["name"] = "WoodBlock3_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock3", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraBlockFlag01"] = 2, + ["StoneBlock6"] = 1, + ["ExtraDonut01"] = 3, + ["MediumPiglette"] = 1, + ["WoodBlock11"] = 1, + ["StaticBlockTheme02_04"] = 39, + ["ExtraRopeThin01"] = 2, + ["LightBlock3"] = 3, + ["LightBlock11"] = 1, + ["StoneBlock3"] = 1, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 4, + ["StaticBlockTheme01_04"] = 3, + ["ExtraDiamond"] = 1, + ["LightBlock7"] = 2, + ["StaticBlockTheme01_05"] = 3, + ["ExtraPoleRed"] = 1, + ["DecorationEstrade02"] = 1, + ["WoodBlock3"] = 2, + ["SmallBlueBird"] = 6, + ["ExtraTire02"] = 1, + ["BLOCK_GREEN_BAG"] = 1, + ["LightBlock8"] = 2, + ["SmallPiglette"] = 5, + ["LightBlock6"] = 7, + ["StoneBlock4"] = 3, + ["WoodBlock9"] = 2, + ["StoneBlock8"] = 1, + ["ExtraBlockTNT"] = 1, + ["StaticBlockTheme02_03"] = 7, + ["StaticBlockTheme02_05"] = 14, + ["StaticBlockTheme02_02"] = 32, + ["LightBlock5"] = 4, + ["WoodBlock5"] = 1, + ["StaticBlockTheme02_01"] = 29, + ["LightBlock2"] = 8, + ["WoodBlock4"] = 5, + ["LightBlock1"] = 16, + ["LightBlock10"] = 2, + ["LightBlock12"] = 1, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme01_02"] = 2, + ["LightBlock4"] = 4, + +} +theme = "theme2" +birdCameraData = { + ["screenHeight"] = 320, + ["bottom"] = 150.001, + ["px"] = 218.236, + ["right"] = 1758.14, + ["left"] = -192.56, + ["screenWidth"] = 480, + ["top"] = -430.948, + ["iphone"] = { + ["bottom"] = 150.001, + ["screenWidth"] = 480, + ["py"] = -157.084, + ["screenHeight"] = 320, + ["top"] = -430.948, + ["sy"] = 0.584232, + ["sx"] = 0.584232, + ["right"] = 1758.14, + ["left"] = -192.56, + ["px"] = 218.236, + + }, + ["sy"] = 0.584232, + ["sx"] = 0.584232, + ["windows"] = { + ["sy"] = 0.899558, + ["sx"] = 0.899558, + ["px"] = -38.2648, + ["py"] = -312.941, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["sy"] = 0.749558, + ["sx"] = 0.749558, + ["px"] = 427.335, + ["py"] = -236.738, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["py"] = -157.084, + +} +filename = "Level3.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level4.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level4.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..926803b92890f59cac89d00d804b9f615ada413b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level4.temp.lua @@ -0,0 +1,651 @@ +themeSprites = { + +} +castleCameraData = { + ["left"] = 719.991, + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -251.154, + ["screenHeight"] = 320, + ["right"] = 1594.67, + ["top"] = -542.713, + ["iphone"] = { + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -251.154, + ["screenHeight"] = 320, + ["top"] = -542.713, + ["sy"] = 0.548774, + ["sx"] = 0.548774, + ["right"] = 1594.67, + ["left"] = 719.991, + ["px"] = 1157.33, + + }, + ["version"] = "0.02", + ["sx"] = 0.548774, + ["windows"] = { + ["bottom"] = 211.875, + ["screenWidth"] = 1366, + ["py"] = -222.083, + ["screenHeight"] = 768, + ["top"] = -656.041, + ["sy"] = 0.884878, + ["sx"] = 0.884878, + ["px"] = 1208.13, + ["left"] = 436.272, + ["right"] = 1979.99, + + }, + ["sy"] = 0.548774, + ["ipad"] = { + ["bottom"] = 175.724, + ["screenWidth"] = 1024, + ["py"] = -258.234, + ["screenHeight"] = 768, + ["top"] = -692.192, + ["sy"] = 0.884878, + ["sx"] = 0.884878, + ["px"] = 1157.77, + ["left"] = 579.159, + ["right"] = 1736.38, + + }, + ["px"] = 1157.33, + +} +levelParticles = { + ["y"] = -1879.67, + ["x"] = 1921.37, + ["firstFrame"] = true, + ["width"] = 6192.15, + +} +joints = { + +} +world = { + ["StoneBlock4_3"] = { + ["y"] = -1.69973, + ["x"] = 85.5911, + ["name"] = "StoneBlock4_3", + ["angle"] = 3.92709, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock4_4"] = { + ["y"] = -9.78028, + ["x"] = 83.6781, + ["name"] = "StoneBlock4_4", + ["angle"] = 0, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.09777, + ["x"] = 75.0007, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0.392772, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock5_4"] = { + ["y"] = -9.0285, + ["x"] = 37.212, + ["name"] = "WoodBlock5_4", + ["angle"] = 0.000142574, + ["definition"] = "WoodBlock5", + + }, + ["RedBird_7"] = { + ["y"] = -0.66178, + ["x"] = -24.1437, + ["name"] = "RedBird_7", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock5_15"] = { + ["y"] = -3.81497, + ["x"] = 50.7357, + ["name"] = "LightBlock5_15", + ["angle"] = 6.28317, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock11_4"] = { + ["y"] = -2.70609, + ["x"] = 53.9933, + ["name"] = "StoneBlock11_4", + ["angle"] = 5.49779, + ["definition"] = "StoneBlock11", + + }, + ["SmallPiglette_4"] = { + ["y"] = -12.3472, + ["x"] = 50.4532, + ["name"] = "SmallPiglette_4", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + ["MediumPiglette_1"] = { + ["y"] = -1.72428, + ["x"] = 66.0486, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 36.0575, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["LightBlock4_9"] = { + ["y"] = -6.05337, + ["x"] = 38.6761, + ["name"] = "LightBlock4_9", + ["angle"] = 1.5708, + ["definition"] = "LightBlock4", + + }, + ["MediumPiglette_2"] = { + ["y"] = -8.67439, + ["x"] = 53.9566, + ["name"] = "MediumPiglette_2", + ["angle"] = 5.24521e-006, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock1_7"] = { + ["y"] = -4.09749, + ["x"] = 59.833, + ["name"] = "WoodBlock1_7", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock1", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -10.9296, + ["x"] = 56.6366, + ["name"] = "ExtraDonut01_1", + ["angle"] = 7.20024e-005, + ["definition"] = "ExtraDonut01", + + }, + ["ExtraAmethyst_1"] = { + ["y"] = -17.6172, + ["x"] = 37.438, + ["name"] = "ExtraAmethyst_1", + ["angle"] = 0.00017786, + ["definition"] = "ExtraAmethyst", + + }, + ["StoneBlock11_5"] = { + ["y"] = -0.0503601, + ["x"] = 56.9881, + ["name"] = "StoneBlock11_5", + ["angle"] = 2.3562, + ["definition"] = "StoneBlock11", + + }, + ["SmallBlueBird_3"] = { + ["y"] = -0.54877, + ["x"] = -22.2791, + ["name"] = "SmallBlueBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -6.95469, + ["x"] = 83.5005, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 3.14167, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock1_8"] = { + ["y"] = -3.19341, + ["x"] = 60.7936, + ["name"] = "WoodBlock1_8", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock1", + + }, + ["LightBlock11_2"] = { + ["y"] = -8.78741, + ["x"] = 50.9617, + ["name"] = "LightBlock11_2", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock11", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -0.603507, + ["x"] = -14.081, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["WoodBlock6_6"] = { + ["y"] = -4.07294, + ["x"] = 71.8604, + ["name"] = "WoodBlock6_6", + ["angle"] = 5.10523, + ["definition"] = "WoodBlock6", + + }, + ["ExtraTire02_1"] = { + ["y"] = -1.58672, + ["x"] = 82.8789, + ["name"] = "ExtraTire02_1", + ["angle"] = 5.49789, + ["definition"] = "ExtraTire02", + + }, + ["LightBlock8_4"] = { + ["y"] = -3.78872, + ["x"] = 53.9353, + ["name"] = "LightBlock8_4", + ["angle"] = 0, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -0.965167, + ["x"] = 92.2587, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 4.31977, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock11_3"] = { + ["y"] = 0.00614624, + ["x"] = 51.1116, + ["name"] = "StoneBlock11_3", + ["angle"] = 2.3562, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock11_1"] = { + ["y"] = -2.70609, + ["x"] = 48.2298, + ["name"] = "StoneBlock11_1", + ["angle"] = 5.49779, + ["definition"] = "StoneBlock11", + + }, + ["RedBird_6"] = { + ["y"] = -0.66001, + ["x"] = -20.0705, + ["name"] = "RedBird_6", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["RedBird_5"] = { + ["y"] = -0.773022, + ["x"] = -16.2282, + ["name"] = "RedBird_5", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -4.14904, + ["x"] = 77.0349, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 2.35627, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -6.27663, + ["x"] = 80.1102, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.74897, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock1_6"] = { + ["y"] = -3.1369, + ["x"] = 59.7765, + ["name"] = "WoodBlock1_6", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock10_1"] = { + ["y"] = -6.35769, + ["x"] = 53.9565, + ["name"] = "WoodBlock10_1", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock11_2"] = { + ["y"] = -0.0503601, + ["x"] = 45.348, + ["name"] = "StoneBlock11_2", + ["angle"] = 2.3562, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock5_14"] = { + ["y"] = -3.81497, + ["x"] = 57.2338, + ["name"] = "LightBlock5_14", + ["angle"] = 6.28317, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_2"] = { + ["y"] = -11.1606, + ["x"] = 52.8264, + ["name"] = "WoodBlock5_2", + ["angle"] = 5.89053, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_7"] = { + ["y"] = -1.19188, + ["x"] = 39.2103, + ["name"] = "StoneBlock5_7", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock11_7"] = { + ["y"] = -2.74137, + ["x"] = 59.607, + ["name"] = "StoneBlock11_7", + ["angle"] = 5.49779, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock5_6"] = { + ["y"] = -1.13537, + ["x"] = 35.0854, + ["name"] = "StoneBlock5_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock11_6"] = { + ["y"] = 0.0273712, + ["x"] = 62.4323, + ["name"] = "StoneBlock11_6", + ["angle"] = 2.3562, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock10_1"] = { + ["y"] = -5.26231, + ["x"] = 53.989, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock5_3"] = { + ["y"] = -3.0804, + ["x"] = 37.1745, + ["name"] = "WoodBlock5_3", + ["angle"] = 5.81741e-005, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_06_1"] = { + ["y"] = -0.00458069, + ["x"] = 81.2403, + ["name"] = "StaticBlockTheme02_06_1", + ["angle"] = 0.000107288, + ["definition"] = "StaticBlockTheme02_06", + + }, + ["StoneBlock10_1"] = { + ["y"] = -16.2611, + ["x"] = 37.438, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock1_3"] = { + ["y"] = -17.0522, + ["x"] = 39.6417, + ["name"] = "StoneBlock1_3", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock1", + + }, + ["LightBlock4_1"] = { + ["y"] = -11.2171, + ["x"] = 49.3796, + ["name"] = "LightBlock4_1", + ["angle"] = 3.92701, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_3"] = { + ["y"] = -4.8075, + ["x"] = 73.3296, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.10523, + ["definition"] = "WoodBlock10", + + }, + ["SmallPiglette_5"] = { + ["y"] = -3.928, + ["x"] = 47.3455, + ["name"] = "SmallPiglette_5", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock4_7"] = { + ["y"] = -12.0409, + ["x"] = 38.7583, + ["name"] = "LightBlock4_7", + ["angle"] = 1.5708, + ["definition"] = "LightBlock4", + + }, + ["LightBlock4_2"] = { + ["y"] = -6.13165, + ["x"] = 35.6489, + ["name"] = "LightBlock4_2", + ["angle"] = 1.57086, + ["definition"] = "LightBlock4", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -0.603507, + ["x"] = -18.2058, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["LightBlock5_18"] = { + ["y"] = -6.10988, + ["x"] = 37.2635, + ["name"] = "LightBlock5_18", + ["angle"] = 1.5708, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -6.16362, + ["x"] = 87.1168, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 3.53437, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock11_1"] = { + ["y"] = -8.7309, + ["x"] = 56.7252, + ["name"] = "LightBlock11_1", + ["angle"] = 4.71236, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -4.01643, + ["x"] = 90.2245, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 3.92707, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock1_2"] = { + ["y"] = -17.1652, + ["x"] = 34.8952, + ["name"] = "StoneBlock1_2", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock1", + + }, + ["LightBlock4_8"] = { + ["y"] = -12.0974, + ["x"] = 35.82, + ["name"] = "LightBlock4_8", + ["angle"] = 1.5708, + ["definition"] = "LightBlock4", + + }, + ["LightBlock5_16"] = { + ["y"] = -12.0409, + ["x"] = 37.2891, + ["name"] = "LightBlock5_16", + ["angle"] = 1.5708, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_5"] = { + ["y"] = -14.9049, + ["x"] = 37.2684, + ["name"] = "WoodBlock5_5", + ["angle"] = 0.00017786, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraDonut01"] = 1, + ["MediumPiglette"] = 3, + ["KingPiglette"] = 2, + ["StaticBlockTheme02_04"] = 7, + ["WoodBlock1"] = 8, + ["LightBlock11"] = 2, + ["RedBird"] = 7, + ["StaticBlockTheme01_03"] = 5, + ["StaticBlockTheme01_04"] = 2, + ["WoodBlock2"] = 4, + ["WoodBlock10"] = 3, + ["StoneBlock1"] = 3, + ["WoodBlock6"] = 6, + ["LargePiglette"] = 1, + ["HelmetPiglette"] = 1, + ["ExtraDiamond"] = 1, + ["ExtraCowboyHelmet_1"] = 1, + ["StaticBlockTheme01_05"] = 4, + ["ExtraPoleRed"] = 1, + ["SpecialBlockStart"] = 2, + ["WoodBlock5"] = 5, + ["LightBlock8"] = 4, + ["SmallBlueBird"] = 3, + ["LightBlock5"] = 18, + ["GrandpaPiglette"] = 2, + ["StoneBlock10"] = 1, + ["ExtraHelmetSmall"] = 1, + ["ExtraTire02"] = 1, + ["LightBlock6"] = 1, + ["StoneBlock4"] = 5, + ["ExtraAmethyst"] = 1, + ["ExtraBlockSmiley"] = 2, + ["StaticBlockTheme01_01"] = 1, + ["LightBlock1"] = 9, + ["StoneBlock11"] = 10, + ["LightBlock2"] = 2, + ["HatPiglette"] = 2, + ["LightBlock3"] = 5, + ["WoodBlock3"] = 1, + ["StoneBlock5"] = 7, + ["WoodBlock4"] = 6, + ["SpecialBlockSwing"] = 2, + ["LightBlock10"] = 1, + ["SmallPiglette"] = 6, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 2, + ["StaticBlockTheme02_06"] = 1, + ["LightBlock4"] = 9, + +} +theme = "theme2" +birdCameraData = { + ["left"] = -639.422, + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -166.643, + ["screenHeight"] = 320, + ["right"] = 1594.67, + ["top"] = -458.202, + ["iphone"] = { + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -166.643, + ["screenHeight"] = 320, + ["top"] = -458.202, + ["sy"] = 0.548774, + ["sx"] = 0.548774, + ["right"] = 1594.67, + ["left"] = -639.422, + ["px"] = -202.083, + + }, + ["version"] = "0.02", + ["sx"] = 0.548774, + ["windows"] = { + ["bottom"] = 211.875, + ["screenWidth"] = 1366, + ["py"] = -170.137, + ["screenHeight"] = 768, + ["top"] = -604.095, + ["sy"] = 0.884878, + ["sx"] = 0.884878, + ["px"] = -16.9217, + ["left"] = -788.78, + ["right"] = 1979.99, + + }, + ["sy"] = 0.548774, + ["ipad"] = { + ["sy"] = 0.734878, + ["sx"] = 0.734878, + ["px"] = 24.4597, + ["py"] = -252.213, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["px"] = -202.083, + +} +filename = "Level4.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level5.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level5.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..c737a9f3b2bc33685a1b73a381749a5d185447c9 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level5.temp.lua @@ -0,0 +1,1876 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -278.867, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 86.4874, + ["screenWidth"] = 480, + ["py"] = -278.867, + ["screenHeight"] = 320, + ["top"] = -644.221, + ["sy"] = 0.437931, + ["sx"] = 0.437931, + ["px"] = 906.489, + ["left"] = 358.457, + ["right"] = 1454.52, + + }, + ["version"] = "0.02", + ["sx"] = 0.437931, + ["windows"] = { + ["bottom"] = 135.315, + ["screenWidth"] = 1366, + ["py"] = -481.871, + ["screenHeight"] = 768, + ["top"] = -1099.06, + ["sy"] = 0.622179, + ["sx"] = 0.622179, + ["right"] = 1954.33, + ["left"] = -241.184, + ["px"] = 856.571, + + }, + ["sy"] = 0.437931, + ["ipad"] = { + ["sy"] = 0.751727, + ["sx"] = 0.751727, + ["px"] = 879.733, + ["py"] = -283.154, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["px"] = 906.489, + +} +levelParticles = { + ["y"] = -2591.34, + ["x"] = 1962.61, + ["firstFrame"] = true, + ["width"] = 8459.38, + +} +joints = { + ["RIO_TNT_1SmallPiglette_8"] = { + ["type"] = 2, + ["end2"] = "SmallPiglette_8", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "RIO_TNT_1SmallPiglette_8", + ["end1"] = "RIO_TNT_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["StoneBlock3_5StoneBlock9_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_5StoneBlock9_2", + ["collideConnected"] = 1, + ["x1"] = 0, + ["end1"] = "StoneBlock3_5", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock3_3LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_3LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_3", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock9_2StoneBlock3_5"] = { + ["type"] = 2, + ["end2"] = "StoneBlock3_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock9_2StoneBlock3_5", + ["end1"] = "StoneBlock9_2", + ["collideConnected"] = true, + ["x1"] = 0, + + }, + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -36.6684, + ["x"] = 95.9681, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 3.53446, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_4"] = { + ["y"] = -6.99235, + ["x"] = 75.9086, + ["name"] = "LightBlock5_4", + ["angle"] = 0.000195503, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock4_1"] = { + ["y"] = -2.22021, + ["x"] = 53.8311, + ["name"] = "StoneBlock4_1", + ["angle"] = 1.57089, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = 0.582272, + ["x"] = 94.9595, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -23.2326, + ["x"] = 45.1518, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -32.1628, + ["x"] = 49.9026, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 2.35634, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -24.0308, + ["x"] = 125.725, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 0.000160217, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ExtraBlockStairs_2"] = { + ["y"] = -2.89399, + ["x"] = 91.2349, + ["name"] = "ExtraBlockStairs_2", + ["angle"] = 0.000266075, + ["definition"] = "ExtraBlockStairs", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -25.978, + ["x"] = 125.334, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_12"] = { + ["y"] = -8.17047, + ["x"] = 106.444, + ["name"] = "WoodBlock5_12", + ["angle"] = 0.000266075, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock2_1"] = { + ["y"] = -12.8895, + ["x"] = 74.4514, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57101, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock5_5"] = { + ["y"] = -4.99694, + ["x"] = 71.7848, + ["name"] = "LightBlock5_5", + ["angle"] = 0.000195503, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = 2.03364, + ["x"] = 27.7034, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = 5.10514, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_7"] = { + ["y"] = -24.9214, + ["x"] = -74.8374, + ["name"] = "StaticBlockTheme01_04_7", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = 1.31557, + ["x"] = -30.6893, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_9"] = { + ["y"] = -31.3732, + ["x"] = -77.5644, + ["name"] = "StaticBlockTheme01_04_9", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock6_4"] = { + ["y"] = -30.0432, + ["x"] = 42.074, + ["name"] = "WoodBlock6_4", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock6", + + }, + ["ExtraTire03_5"] = { + ["y"] = -5.31966, + ["x"] = 17.373, + ["name"] = "ExtraTire03_5", + ["angle"] = 0, + ["definition"] = "ExtraTire03", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -29.2372, + ["x"] = 121.277, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock4_4"] = { + ["y"] = -3.2766, + ["x"] = 58.408, + ["name"] = "WoodBlock4_4", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -6.51713, + ["x"] = -73.6747, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -26.6431, + ["x"] = 123.738, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock2_3"] = { + ["y"] = -0.464294, + ["x"] = -120.891, + ["name"] = "WoodBlock2_3", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock1_6"] = { + ["y"] = -4.37578, + ["x"] = 78.5087, + ["name"] = "WoodBlock1_6", + ["angle"] = 4.7126, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -50.0085, + ["x"] = 68.3413, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.71263, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -6.45061, + ["x"] = -83.1196, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -29.5697, + ["x"] = 118.683, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -19.7001, + ["x"] = -99.4389, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -29.2372, + ["x"] = 121.277, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_1"] = { + ["y"] = -45.9008, + ["x"] = 66.2807, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.71263, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock9_5"] = { + ["y"] = -8.85296, + ["x"] = -51.0351, + ["name"] = "WoodBlock9_5", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock6_1"] = { + ["y"] = -7.67432, + ["x"] = 52.3678, + ["name"] = "WoodBlock6_1", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -19.6547, + ["x"] = 125.252, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 1.57107, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LargePiglette_1"] = { + ["y"] = -37.7269, + ["x"] = 48.7912, + ["name"] = "LargePiglette_1", + ["angle"] = 8.96454e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -20.9971, + ["x"] = -77.1653, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -32.7441, + ["x"] = 52.0027, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_22"] = { + ["y"] = -12.0511, + ["x"] = -80.283, + ["name"] = "StaticBlockTheme01_05_22", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -37.6661, + ["x"] = 89.2502, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 4.71256, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -37.533, + ["x"] = 80.0049, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 4.71256, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockStairs_4"] = { + ["y"] = -6.30819, + ["x"] = 99.2428, + ["name"] = "ExtraBlockStairs_4", + ["angle"] = 0.000266075, + ["definition"] = "ExtraBlockStairs", + + }, + ["RIO_TNT_1"] = { + ["y"] = -2.10515, + ["x"] = 36.5797, + ["name"] = "RIO_TNT_1", + ["angle"] = 0, + ["definition"] = "RIO_TNT", + + }, + ["WoodBlock6_5"] = { + ["y"] = -1.38876, + ["x"] = -21.6268, + ["name"] = "WoodBlock6_5", + ["angle"] = 0, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -43.1512, + ["x"] = 62.9054, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 3.14174, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -29.1523, + ["x"] = 99.6264, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 0.39286, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 8.9615, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -23.6348, + ["x"] = 40.065, + ["name"] = "WoodBlock11_1", + ["angle"] = 1.57105, + ["definition"] = "WoodBlock11", + + }, + ["StoneBlock10_4"] = { + ["y"] = -7.08765, + ["x"] = 17.4533, + ["name"] = "StoneBlock10_4", + ["angle"] = 0, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -1.33676, + ["x"] = -101.821, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockStairs_5"] = { + ["y"] = -8.17047, + ["x"] = 103.34, + ["name"] = "ExtraBlockStairs_5", + ["angle"] = 0.000266075, + ["definition"] = "ExtraBlockStairs", + + }, + ["BLOCK_GREEN_OILCANISTER_1"] = { + ["y"] = -10.2811, + ["x"] = 118.362, + ["name"] = "BLOCK_GREEN_OILCANISTER_1", + ["angle"] = 0.000301361, + ["definition"] = "BLOCK_GREEN_OILCANISTER", + + }, + ["YellowBird_5"] = { + ["y"] = -7.44812, + ["x"] = -36.4177, + ["name"] = "YellowBird_5", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -53.5231, + ["x"] = 67.4841, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000248432, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock1_2"] = { + ["y"] = -1.19594, + ["x"] = -118.962, + ["name"] = "WoodBlock1_2", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock5_2"] = { + ["y"] = -45.9008, + ["x"] = 68.3379, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.71263, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock11_2"] = { + ["y"] = -32.5262, + ["x"] = 49.2749, + ["name"] = "WoodBlock11_2", + ["angle"] = 1.5711, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_04_10"] = { + ["y"] = -33.3686, + ["x"] = -80.5575, + ["name"] = "StaticBlockTheme01_04_10", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -4.92849, + ["x"] = -61.0485, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 0.785406, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockStairs_3"] = { + ["y"] = -4.63213, + ["x"] = 95.332, + ["name"] = "ExtraBlockStairs_3", + ["angle"] = 0.000266075, + ["definition"] = "ExtraBlockStairs", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -28.8371, + ["x"] = 55.1572, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.35634, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_23"] = { + ["y"] = -11.7185, + ["x"] = -86.8013, + ["name"] = "StaticBlockTheme01_05_23", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_1"] = { + ["y"] = -11.1809, + ["x"] = -53.9617, + ["name"] = "WoodBlock10_1", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 0.728133, + ["x"] = 11.0396, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -52.4944, + ["x"] = 67.4841, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.000248432, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_4"] = { + ["y"] = -9.65112, + ["x"] = -58.0855, + ["name"] = "WoodBlock2_4", + ["angle"] = 0.785423, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -20.922, + ["x"] = 40.3912, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -23.2326, + ["x"] = 43.0233, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_21"] = { + ["y"] = -17.2391, + ["x"] = -82.8105, + ["name"] = "StaticBlockTheme01_05_21", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -25.9524, + ["x"] = -95.182, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock1_4"] = { + ["y"] = -9.3643, + ["x"] = 69.3964, + ["name"] = "WoodBlock1_4", + ["angle"] = 4.7126, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -30.2092, + ["x"] = -88.9963, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = 1.10331, + ["x"] = 59.6152, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = 1.32719, + ["x"] = 101.291, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_12"] = { + ["y"] = -34.067, + ["x"] = -84.0743, + ["name"] = "StaticBlockTheme01_04_12", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = 1.10331, + ["x"] = 61.3028, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock1_1"] = { + ["y"] = -1.26246, + ["x"] = -118.164, + ["name"] = "WoodBlock1_1", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock1", + + }, + ["ExtraTire03_6"] = { + ["y"] = -5.31966, + ["x"] = 21.3911, + ["name"] = "ExtraTire03_6", + ["angle"] = 0, + ["definition"] = "ExtraTire03", + + }, + ["SmallPiglette_10"] = { + ["y"] = -31.656, + ["x"] = 46.2988, + ["name"] = "SmallPiglette_10", + ["angle"] = 0.000319004, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -26.5101, + ["x"] = 116.023, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -37.533, + ["x"] = 72.6884, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 4.71256, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_11"] = { + ["y"] = -34.067, + ["x"] = -84.0743, + ["name"] = "StaticBlockTheme01_04_11", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock4_4"] = { + ["y"] = -11.4262, + ["x"] = 74.1854, + ["name"] = "StoneBlock4_4", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -21.762, + ["x"] = -87.3999, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_6"] = { + ["y"] = -4.99694, + ["x"] = 75.9086, + ["name"] = "LightBlock5_6", + ["angle"] = 0.000195503, + ["definition"] = "LightBlock5", + + }, + ["YellowBird_4"] = { + ["y"] = -7.75806, + ["x"] = -45.9361, + ["name"] = "YellowBird_4", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StoneBlock3_5"] = { + ["y"] = -9.57889, + ["x"] = 14.2389, + ["name"] = "StoneBlock3_5", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock2_2"] = { + ["y"] = -0.530807, + ["x"] = -118.895, + ["name"] = "WoodBlock2_2", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock6_2"] = { + ["y"] = -0.51799, + ["x"] = 73.8528, + ["name"] = "WoodBlock6_2", + ["angle"] = 3.14181, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock9_2"] = { + ["y"] = -9.65926, + ["x"] = 14.3192, + ["name"] = "StoneBlock9_2", + ["angle"] = 0, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme01_04_13"] = { + ["y"] = -10.9869, + ["x"] = -67.3794, + ["name"] = "StaticBlockTheme01_04_13", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -24.1146, + ["x"] = 50.2352, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 2.35634, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -5.51942, + ["x"] = -91.2343, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = 6.30573, + ["x"] = 34.0222, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 5.49784, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -16.8733, + ["x"] = -75.303, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_18"] = { + ["y"] = -11.2529, + ["x"] = -102.964, + ["name"] = "StaticBlockTheme01_05_18", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock1_5"] = { + ["y"] = -4.5088, + ["x"] = 69.3299, + ["name"] = "WoodBlock1_5", + ["angle"] = 4.7126, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -25.0285, + ["x"] = 46.8811, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 5.49796, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_05_24"] = { + ["y"] = -13.1153, + ["x"] = -94.783, + ["name"] = "StaticBlockTheme01_05_24", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -32.0789, + ["x"] = 78.8076, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 3.14176, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -4.13552, + ["x"] = 113.334, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -13.1485, + ["x"] = -71.6447, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -25.8266, + ["x"] = 107.808, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 0.39286, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock2_1"] = { + ["y"] = -9.53623, + ["x"] = 112.465, + ["name"] = "LightBlock2_1", + ["angle"] = 0.000301361, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -2.21116, + ["x"] = 109.361, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -43.0847, + ["x"] = 78.3365, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 3.14174, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme01_04_8"] = { + ["y"] = -28.3136, + ["x"] = -75.5025, + ["name"] = "StaticBlockTheme01_04_8", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_8"] = { + ["y"] = -4.79005, + ["x"] = 35.7344, + ["name"] = "SmallPiglette_8", + ["angle"] = 0.000230789, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock1_2"] = { + ["y"] = -35.9404, + ["x"] = 45.4882, + ["name"] = "LightBlock1_2", + ["angle"] = 0.000301361, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -21.8894, + ["x"] = 121.155, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_8"] = { + ["y"] = -2.83192, + ["x"] = 94.4629, + ["name"] = "WoodBlock5_8", + ["angle"] = 0.000266075, + ["definition"] = "WoodBlock5", + + }, + ["YellowBird_2"] = { + ["y"] = -4.47372, + ["x"] = -33.2246, + ["name"] = "YellowBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -21.2066, + ["x"] = 120.162, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock2_5"] = { + ["y"] = -8.539, + ["x"] = 52.3678, + ["name"] = "WoodBlock2_5", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -24.0308, + ["x"] = 116.587, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 0.000160217, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock6_3"] = { + ["y"] = -13.0746, + ["x"] = 125.252, + ["name"] = "WoodBlock6_3", + ["angle"] = 1.57107, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = 0.728355, + ["x"] = 20.3515, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock4_2"] = { + ["y"] = -4.74772, + ["x"] = 52.3678, + ["name"] = "StoneBlock4_2", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock11_3"] = { + ["y"] = -37.0578, + ["x"] = 53.6202, + ["name"] = "WoodBlock11_3", + ["angle"] = 1.5711, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -37.533, + ["x"] = 59.4522, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 5.49796, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock5_2"] = { + ["y"] = -2.22841, + ["x"] = 60.9953, + ["name"] = "WoodBlock5_2", + ["angle"] = 7.20024e-005, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock4_2"] = { + ["y"] = -6.92584, + ["x"] = 78.4361, + ["name"] = "WoodBlock4_2", + ["angle"] = 4.7126, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -31.1477, + ["x"] = 53.3995, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 5.49796, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -1.07071, + ["x"] = -83.264, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_6"] = { + ["y"] = -12.1505, + ["x"] = 17.0515, + ["name"] = "WoodBlock10_6", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock3_3"] = { + ["y"] = -2.92529, + ["x"] = -114.705, + ["name"] = "WoodBlock3_3", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_05_26"] = { + ["y"] = -17.5717, + ["x"] = -90.26, + ["name"] = "StaticBlockTheme01_05_26", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_1"] = { + ["y"] = -0.996402, + ["x"] = -115.836, + ["name"] = "WoodBlock5_1", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock2_1"] = { + ["y"] = -2.4597, + ["x"] = -116.634, + ["name"] = "WoodBlock2_1", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -3.46713, + ["x"] = 73.7137, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock4_7"] = { + ["y"] = -27.5779, + ["x"] = 38.9506, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.57105, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -37.0985, + ["x"] = 108.6, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 3.53444, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock10_2"] = { + ["y"] = -10.3845, + ["x"] = 73.9132, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_25"] = { + ["y"] = -18.2368, + ["x"] = -93.5857, + ["name"] = "StaticBlockTheme01_05_25", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -33.9413, + ["x"] = 102.553, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 3.53446, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = 0.658643, + ["x"] = -108.954, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -21.7693, + ["x"] = 42.6243, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -31.4138, + ["x"] = 94.1722, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 3.53446, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme01_05_19"] = { + ["y"] = -26.4845, + ["x"] = -81.9458, + ["name"] = "StaticBlockTheme01_05_19", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -6.05153, + ["x"] = -96.8879, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock7_3"] = { + ["y"] = -37.4302, + ["x"] = 43.4397, + ["name"] = "StoneBlock7_3", + ["angle"] = 0.000301361, + ["definition"] = "StoneBlock7", + + }, + ["LightBlock5_1"] = { + ["y"] = -8.92125, + ["x"] = 75.8421, + ["name"] = "LightBlock5_1", + ["angle"] = 0.000195503, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -24.7808, + ["x"] = 126.066, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockSmiley_1"] = { + ["y"] = -1.82557, + ["x"] = 40.6347, + ["name"] = "ExtraBlockSmiley_1", + ["angle"] = 5.89061, + ["definition"] = "ExtraBlockSmiley", + + }, + ["LightBlock2_2"] = { + ["y"] = -8.61453, + ["x"] = 22.1144, + ["name"] = "LightBlock2_2", + ["angle"] = 1.5708, + ["definition"] = "LightBlock2", + + }, + ["MediumPiglette_1"] = { + ["y"] = -32.2779, + ["x"] = 39.0323, + ["name"] = "MediumPiglette_1", + ["angle"] = 0.000301361, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -4.19768, + ["x"] = 122.893, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 1.57108, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_9"] = { + ["y"] = -4.63213, + ["x"] = 98.4978, + ["name"] = "WoodBlock5_9", + ["angle"] = 0.000266075, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -1.93538, + ["x"] = -54.9293, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_10"] = { + ["y"] = -6.37026, + ["x"] = 102.409, + ["name"] = "WoodBlock5_10", + ["angle"] = 0.000266075, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock7_2"] = { + ["y"] = -8.71993, + ["x"] = -54.9594, + ["name"] = "StoneBlock7_2", + ["angle"] = 2.28882e-005, + ["definition"] = "StoneBlock7", + + }, + ["ExtraBlockStairs_1"] = { + ["y"] = -1.09379, + ["x"] = 87.3862, + ["name"] = "ExtraBlockStairs_1", + ["angle"] = 0.000266075, + ["definition"] = "ExtraBlockStairs", + + }, + ["LightBlock5_3"] = { + ["y"] = -6.92584, + ["x"] = 71.7848, + ["name"] = "LightBlock5_3", + ["angle"] = 0.000195503, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_6"] = { + ["y"] = -1.98129, + ["x"] = 73.8528, + ["name"] = "WoodBlock5_6", + ["angle"] = 0.000230789, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock10_2"] = { + ["y"] = -15.1353, + ["x"] = 43.5838, + ["name"] = "LightBlock10_2", + ["angle"] = 1.57093, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_2"] = { + ["y"] = -8.92125, + ["x"] = 71.7848, + ["name"] = "LightBlock5_2", + ["angle"] = 0.000195503, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_5"] = { + ["y"] = -0.504773, + ["x"] = -20.7428, + ["name"] = "WoodBlock10_5", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -27.6535, + ["x"] = 126.492, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 3.92714, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -0.410947, + ["x"] = 105.388, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -27.6408, + ["x"] = 121.809, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -4.92849, + ["x"] = -61.0485, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 0.785406, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -27.8886, + ["x"] = 50.0073, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 5.49796, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -22.6343, + ["x"] = 122.024, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock1_7"] = { + ["y"] = -9.29778, + ["x"] = 78.5087, + ["name"] = "WoodBlock1_7", + ["angle"] = 4.7126, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -34.4069, + ["x"] = 56.4591, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 5.49796, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock4_3"] = { + ["y"] = -2.1537, + ["x"] = 50.838, + ["name"] = "StoneBlock4_3", + ["angle"] = 4.71251, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -1.13722, + ["x"] = -65.1059, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -22.8335, + ["x"] = 46.8146, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_3"] = { + ["y"] = -32.5883, + ["x"] = 43.0052, + ["name"] = "LightBlock3_3", + ["angle"] = 0.000301361, + ["definition"] = "LightBlock3", + + }, + ["MediumPiglette_5"] = { + ["y"] = -9.49852, + ["x"] = 18.4981, + ["name"] = "MediumPiglette_5", + ["angle"] = 0, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_6"] = { + ["y"] = -14.0868, + ["x"] = 72.7886, + ["name"] = "StoneBlock4_6", + ["angle"] = 1.57101, + ["definition"] = "StoneBlock4", + + }, + ["ExtraTire01_3"] = { + ["y"] = -10.6536, + ["x"] = 115.32, + ["name"] = "ExtraTire01_3", + ["angle"] = 0.000301361, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -1.94359, + ["x"] = -40.2007, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.92519, + ["x"] = 4.29233, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71244, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock4_8"] = { + ["y"] = -27.6583, + ["x"] = 41.2115, + ["name"] = "StoneBlock4_8", + ["angle"] = 1.57105, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_7"] = { + ["y"] = -0.969635, + ["x"] = 90.5521, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.000266075, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -30.2349, + ["x"] = 116.754, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -32.063, + ["x"] = 62.806, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 3.14174, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -9.17766, + ["x"] = -67.2229, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraTire03_4"] = { + ["y"] = -5.40002, + ["x"] = 13.5156, + ["name"] = "ExtraTire03_4", + ["angle"] = 0, + ["definition"] = "ExtraTire03", + + }, + ["MediumPiglette_2"] = { + ["y"] = -4.99805, + ["x"] = 60.9921, + ["name"] = "MediumPiglette_2", + ["angle"] = 0, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -26.9757, + ["x"] = 124.736, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["YellowBird_1"] = { + ["y"] = -4.40459, + ["x"] = -28.4943, + ["name"] = "YellowBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StoneBlock6_1"] = { + ["y"] = -35.0093, + ["x"] = 47.0401, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000301361, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock10_1"] = { + ["y"] = -5.02526, + ["x"] = 43.5838, + ["name"] = "LightBlock10_1", + ["angle"] = 1.57093, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -20.922, + ["x"] = 45.0471, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -23.1309, + ["x"] = 122.893, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock2_6"] = { + ["y"] = -34.9472, + ["x"] = 41.8878, + ["name"] = "WoodBlock2_6", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -30.2831, + ["x"] = 111.333, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 3.53446, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock5_4"] = { + ["y"] = -50.0085, + ["x"] = 66.2841, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.71263, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -1.92769, + ["x"] = -46.9363, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -22.8205, + ["x"] = 125.252, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = 1.57107, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock4_1"] = { + ["y"] = -9.65925, + ["x"] = 20.9893, + ["name"] = "LightBlock4_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -26.3771, + ["x"] = 119.282, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 3.14178, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["YellowBird_3"] = { + ["y"] = -7.66637, + ["x"] = -39.8758, + ["name"] = "YellowBird_3", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -4.12264, + ["x"] = -107.064, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_1"] = { + ["y"] = -7.12538, + ["x"] = 69.3238, + ["name"] = "WoodBlock4_1", + ["angle"] = 1.571, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -37.5995, + ["x"] = 64.4407, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 4.71256, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_3"] = { + ["y"] = -2.35312, + ["x"] = -23.7163, + ["name"] = "WoodBlock4_3", + ["angle"] = 0, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -35.072, + ["x"] = 59.4522, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 5.49796, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock9_1"] = { + ["y"] = -32.5883, + ["x"] = 43.0052, + ["name"] = "LightBlock9_1", + ["angle"] = 0.000301361, + ["definition"] = "LightBlock9", + + }, + ["LightBlock12_1"] = { + ["y"] = -13.6419, + ["x"] = -56.8218, + ["name"] = "LightBlock12_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock12", + + }, + ["LightBlock1_1"] = { + ["y"] = -35.8162, + ["x"] = 41.3291, + ["name"] = "LightBlock1_1", + ["angle"] = 0.000301361, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -1.40327, + ["x"] = -92.6424, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -1.80236, + ["x"] = -74.3512, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_5"] = { + ["y"] = -6.27753, + ["x"] = 52.3678, + ["name"] = "WoodBlock5_5", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["ExtraBlockSmiley"] = 1, + ["WoodBlock9"] = 5, + ["LightBlock3"] = 3, + ["WOODEN_TIRE"] = 8, + ["LightBlock11"] = 1, + ["StoneBlock3"] = 5, + ["RedBird"] = 5, + ["StoneBlock2"] = 1, + ["StaticBlockTheme01_04"] = 13, + ["WoodBlock10"] = 6, + ["SIGN_2"] = 2, + ["WoodBlock6"] = 7, + ["LargePiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["LightBlock12"] = 2, + ["WoodBlock5"] = 12, + ["SmallPiglette"] = 11, + ["LightBlock6"] = 1, + ["StaticBlockTheme02_01"] = 11, + ["ExtraTreasureChest"] = 1, + ["StoneBlock8"] = 2, + ["RIO_TNT"] = 2, + ["StoneBlock5"] = 5, + ["LightBlock1"] = 2, + ["ExtraHelmetBoss"] = 1, + ["ExtraPoleYellow"] = 1, + ["LightBlock4"] = 1, + ["MediumPiglette"] = 5, + ["WoodBlock4"] = 4, + ["StaticBlockTheme02_04"] = 21, + ["WoodBlock1"] = 7, + ["YellowBird"] = 5, + ["StaticBlockTheme01_02"] = 1, + ["StaticBlockTheme01_03"] = 5, + ["ExtraTire03"] = 6, + ["WoodBlock2"] = 8, + ["BP_METAL"] = 3, + ["StaticBlockTheme01_05"] = 26, + ["WoodBlock3"] = 3, + ["StoneBlock9"] = 2, + ["StaticBlockTheme02_06"] = 1, + ["ShootingPlatform01"] = 1, + ["StoneBlock10"] = 4, + ["BLOCK_GREEN_OILCANISTER"] = 1, + ["StoneBlock11"] = 1, + ["ExtraTire01"] = 3, + ["StoneBlock4"] = 8, + ["BP_WOOD"] = 5, + ["ENGINE"] = 2, + ["StaticBlockTheme01_01"] = 1, + ["StaticBlockTheme02_03"] = 5, + ["StaticBlockTheme02_05"] = 33, + ["StaticBlockTheme02_02"] = 14, + ["LightBlock5"] = 6, + ["WoodBlock11"] = 3, + ["ExtraBlockStairs"] = 5, + ["LightBlock2"] = 2, + ["HatPiglette"] = 4, + ["ExtraDiamond"] = 2, + ["LightBlock10"] = 8, + ["ExtraBlockTNT"] = 1, + ["LightBlock9"] = 1, + ["ExtraHolyGrail"] = 1, + ["StoneBlock7"] = 3, + ["WoodBlock12"] = 4, + +} +theme = "theme2" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -229.198, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 11.6091, + ["screenWidth"] = 480, + ["py"] = -229.198, + ["screenHeight"] = 320, + ["top"] = -557.113, + ["sy"] = 0.487931, + ["sx"] = 0.487931, + ["px"] = -223.504, + ["left"] = -715.377, + ["right"] = 1342.2, + + }, + ["version"] = "0.02", + ["sx"] = 0.487931, + ["windows"] = { + ["bottom"] = 135.315, + ["screenWidth"] = 1366, + ["py"] = -528.489, + ["screenHeight"] = 768, + ["top"] = -1145.67, + ["sy"] = 0.622179, + ["sx"] = 0.622179, + ["right"] = 1954.33, + ["left"] = -1718.21, + ["px"] = -620.454, + + }, + ["sy"] = 0.487931, + ["ipad"] = { + ["bottom"] = 243.27, + ["screenWidth"] = 1024, + ["py"] = -312.145, + ["screenHeight"] = 768, + ["top"] = -859.366, + ["sy"] = 0.701727, + ["sx"] = 0.701727, + ["right"] = 1543.62, + ["left"] = -763.73, + ["px"] = -34.102, + + }, + ["px"] = -223.504, + +} +filename = "Level5.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level6.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level6.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..24e637b96182117c2da6fb927bd4578efe5ed9a0 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level6.temp.lua @@ -0,0 +1,1686 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 61.3817, + ["px"] = 946.699, + ["py"] = -255.181, + ["screenHeight"] = 320, + ["left"] = 471.855, + ["top"] = -571.744, + ["iphone"] = { + ["bottom"] = 61.3817, + ["screenWidth"] = 480, + ["py"] = -255.181, + ["screenHeight"] = 320, + ["top"] = -571.744, + ["sy"] = 0.505429, + ["sx"] = 0.505429, + ["px"] = 946.699, + ["left"] = 471.855, + ["right"] = 1421.54, + + }, + ["version"] = "0.02", + ["sx"] = 0.505429, + ["windows"] = { + ["bottom"] = 33.6924, + ["screenWidth"] = 1366, + ["py"] = -752.674, + ["screenHeight"] = 768, + ["top"] = -1539.04, + ["sy"] = 0.488322, + ["sx"] = 0.488322, + ["px"] = 814.377, + ["left"] = -584.29, + ["right"] = 2213.04, + + }, + ["sy"] = 0.505429, + ["ipad"] = { + ["bottom"] = 234.564, + ["screenWidth"] = 1024, + ["py"] = -247.071, + ["screenHeight"] = 768, + ["top"] = -728.706, + ["sy"] = 0.797285, + ["sx"] = 0.797285, + ["right"] = 1545.13, + ["left"] = 260.776, + ["px"] = 902.955, + + }, + ["right"] = 1421.54, + +} +levelParticles = { + ["y"] = -2889.4, + ["x"] = 2493.55, + ["firstFrame"] = true, + ["width"] = 9413.78, + +} +joints = { + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -55.5049, + ["x"] = 105.155, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_104"] = { + ["y"] = -10.8433, + ["x"] = -47.2481, + ["name"] = "StaticBlockTheme02_05_104", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -31.9031, + ["x"] = 122.705, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -27.8075, + ["x"] = 106.732, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -3.46396, + ["x"] = -5.49119, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_94"] = { + ["y"] = -29.581, + ["x"] = -38.9544, + ["name"] = "StaticBlockTheme02_05_94", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_13"] = { + ["y"] = -50.2199, + ["x"] = 33.8771, + ["name"] = "WoodBlock4_13", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_53"] = { + ["y"] = -17.1651, + ["x"] = 40.7957, + ["name"] = "StaticBlockTheme02_05_53", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -3.84818, + ["x"] = 122.29, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -23.2257, + ["x"] = 63.7253, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_3"] = { + ["y"] = -29.7939, + ["x"] = 87.7207, + ["name"] = "LightBlock1_3", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -46.0332, + ["x"] = 108.268, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_3"] = { + ["y"] = -31.2245, + ["x"] = 73.1148, + ["name"] = "WoodBlock11_3", + ["angle"] = 4.71249, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -17.5945, + ["x"] = 77.548, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_57"] = { + ["y"] = -2.3184, + ["x"] = 71.6155, + ["name"] = "StaticBlockTheme02_05_57", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_4"] = { + ["y"] = -7.13174, + ["x"] = -11.5137, + ["name"] = "WoodBlock4_4", + ["angle"] = 1.57079, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -42.8663, + ["x"] = -32.1968, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_1"] = { + ["y"] = -37.2656, + ["x"] = 30.9296, + ["name"] = "LightBlock3_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_05_110"] = { + ["y"] = -14.8111, + ["x"] = -22.06, + ["name"] = "StaticBlockTheme02_05_110", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_51"] = { + ["y"] = -3.85427, + ["x"] = 27.5872, + ["name"] = "StaticBlockTheme02_05_51", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_84"] = { + ["y"] = -30.9121, + ["x"] = -30.4559, + ["name"] = "StaticBlockTheme02_05_84", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_79"] = { + ["y"] = -4.36622, + ["x"] = 35.5737, + ["name"] = "StaticBlockTheme02_05_79", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_10"] = { + ["y"] = -21.4973, + ["x"] = 91.9548, + ["name"] = "WoodBlock6_10", + ["angle"] = 2.35636, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock5_5"] = { + ["y"] = -38.0847, + ["x"] = 38.097, + ["name"] = "StoneBlock5_5", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock9_1"] = { + ["y"] = -38.1871, + ["x"] = 34.0013, + ["name"] = "WoodBlock9_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme02_05_82"] = { + ["y"] = -13.3007, + ["x"] = -23.1862, + ["name"] = "StaticBlockTheme02_05_82", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_8"] = { + ["y"] = -5.21705, + ["x"] = -4.19066, + ["name"] = "YellowBird_8", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_90"] = { + ["y"] = -18.4203, + ["x"] = -52.9821, + ["name"] = "StaticBlockTheme02_05_90", + ["angle"] = 5.10506, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_74"] = { + ["y"] = -2.42079, + ["x"] = 89.4316, + ["name"] = "StaticBlockTheme02_05_74", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_2"] = { + ["y"] = -46.1429, + ["x"] = -32.1968, + ["name"] = "YellowBird_2", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["LargePiglette_1"] = { + ["y"] = -31.5316, + ["x"] = 84.8898, + ["name"] = "LargePiglette_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_05_48"] = { + ["y"] = -23.8142, + ["x"] = 113.899, + ["name"] = "StaticBlockTheme02_05_48", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock6_5"] = { + ["y"] = -33.4771, + ["x"] = 80.1798, + ["name"] = "LightBlock6_5", + ["angle"] = 4.71244, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_05_109"] = { + ["y"] = -24.5383, + ["x"] = -25.5413, + ["name"] = "StaticBlockTheme02_05_109", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_9"] = { + ["y"] = -36.6512, + ["x"] = 40.2472, + ["name"] = "StoneBlock6_9", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = 2.00569, + ["x"] = -13.1882, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_80"] = { + ["y"] = -9.89536, + ["x"] = 43.8674, + ["name"] = "StaticBlockTheme02_05_80", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_91"] = { + ["y"] = -12.072, + ["x"] = -55.5418, + ["name"] = "StaticBlockTheme02_05_91", + ["angle"] = 5.10506, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_103"] = { + ["y"] = -15.0414, + ["x"] = -45.7123, + ["name"] = "StaticBlockTheme02_05_103", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -33.439, + ["x"] = 114.206, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_14"] = { + ["y"] = -47.7624, + ["x"] = 34.0819, + ["name"] = "WoodBlock4_14", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock4", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 46.3657, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -6.21022, + ["x"] = -7.93001, + ["name"] = "WoodBlock11_1", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_83"] = { + ["y"] = -22.2088, + ["x"] = -26.8722, + ["name"] = "StaticBlockTheme02_05_83", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_2"] = { + ["y"] = -46.2761, + ["x"] = 35.23, + ["name"] = "WoodBlock2_2", + ["angle"] = 1.57094, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_56"] = { + ["y"] = -5.90209, + ["x"] = 62.1955, + ["name"] = "StaticBlockTheme02_05_56", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_5"] = { + ["y"] = -20.545, + ["x"] = -18.9883, + ["name"] = "YellowBird_5", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_86"] = { + ["y"] = -36.7484, + ["x"] = -41.5142, + ["name"] = "StaticBlockTheme02_05_86", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_72"] = { + ["y"] = -3.4447, + ["x"] = 99.6707, + ["name"] = "StaticBlockTheme02_05_72", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_71"] = { + ["y"] = -3.64948, + ["x"] = 106.941, + ["name"] = "StaticBlockTheme02_05_71", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_52"] = { + ["y"] = -12.5575, + ["x"] = 36.4953, + ["name"] = "StaticBlockTheme02_05_52", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = -37.3299, + ["x"] = 107.448, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_2"] = { + ["y"] = -22.5212, + ["x"] = 79.4631, + ["name"] = "WoodBlock11_2", + ["angle"] = 3.14161, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_55"] = { + ["y"] = -11.9432, + ["x"] = 52.9803, + ["name"] = "StaticBlockTheme02_05_55", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -14.4203, + ["x"] = 81.1317, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 0.392702, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_78"] = { + ["y"] = -4.16144, + ["x"] = 40.079, + ["name"] = "StaticBlockTheme02_05_78", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 0.631689, + ["x"] = -19.5188, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -28.8695, + ["x"] = 83.2516, + ["name"] = "StoneBlock10_1", + ["angle"] = 3.14161, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_4"] = { + ["y"] = -46.1737, + ["x"] = 33.8989, + ["name"] = "WoodBlock2_4", + ["angle"] = 1.57094, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_97"] = { + ["y"] = -4.2903, + ["x"] = -37.8281, + ["name"] = "StaticBlockTheme02_05_97", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -42.7639, + ["x"] = -31.992, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock2_13"] = { + ["y"] = -5.90304, + ["x"] = -10.3874, + ["name"] = "LightBlock2_13", + ["angle"] = 1.57079, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_05_98"] = { + ["y"] = -4.18791, + ["x"] = -47.6577, + ["name"] = "StaticBlockTheme02_05_98", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_3"] = { + ["y"] = -41.4636, + ["x"] = 79.2583, + ["name"] = "StoneBlock11_3", + ["angle"] = 4.71246, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -26.5025, + ["x"] = 100.176, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_6"] = { + ["y"] = -34.3986, + ["x"] = 77.6201, + ["name"] = "SmallPiglette_6", + ["angle"] = 8.96454e-005, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -23.7118, + ["x"] = 122.705, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = 1.08417, + ["x"] = 5.3446, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_58"] = { + ["y"] = -2.11361, + ["x"] = 80.8307, + ["name"] = "StaticBlockTheme02_05_58", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_101"] = { + ["y"] = -22.4136, + ["x"] = -34.654, + ["name"] = "StaticBlockTheme02_05_101", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock1_1"] = { + ["y"] = -36.6512, + ["x"] = 49.5648, + ["name"] = "StoneBlock1_1", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock1", + + }, + ["LightBlock3_4"] = { + ["y"] = -39.1086, + ["x"] = 48.6433, + ["name"] = "LightBlock3_4", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock10_4"] = { + ["y"] = -28.9011, + ["x"] = 73.0074, + ["name"] = "WoodBlock10_4", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock12_1"] = { + ["y"] = -55.2866, + ["x"] = 33.8989, + ["name"] = "StoneBlock12_1", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_96"] = { + ["y"] = -4.18791, + ["x"] = -28.3057, + ["name"] = "StaticBlockTheme02_05_96", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_8"] = { + ["y"] = -42.1309, + ["x"] = 32.4436, + ["name"] = "WoodBlock4_8", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -21.4973, + ["x"] = 82.9444, + ["name"] = "ExtraDonut01_2", + ["angle"] = 4.05312e-005, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -9.15496, + ["x"] = 27.8707, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -59.9114, + ["x"] = 114.055, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -59.5749, + ["x"] = 100.586, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -62.4419, + ["x"] = 107.344, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_3"] = { + ["y"] = -27.5057, + ["x"] = 77.7863, + ["name"] = "LightBlock5_3", + ["angle"] = 0, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_93"] = { + ["y"] = 0.112531, + ["x"] = -56.9753, + ["name"] = "StaticBlockTheme02_05_93", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -26.1519, + ["x"] = 47.5298, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_12"] = { + ["y"] = -50.2199, + ["x"] = 32.6484, + ["name"] = "WoodBlock4_12", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_81"] = { + ["y"] = -4.49509, + ["x"] = -19.5001, + ["name"] = "StaticBlockTheme02_05_81", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -22.2611, + ["x"] = 55.2092, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_3"] = { + ["y"] = -42.0472, + ["x"] = -42.0263, + ["name"] = "WoodBlock4_3", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_54"] = { + ["y"] = -16.7556, + ["x"] = 46.5296, + ["name"] = "StaticBlockTheme02_05_54", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -51.0503, + ["x"] = 122.5, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_88"] = { + ["y"] = -32.5503, + ["x"] = -45.6099, + ["name"] = "StaticBlockTheme02_05_88", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_2"] = { + ["y"] = -33.7872, + ["x"] = 75.8433, + ["name"] = "LightBlock1_2", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -41.0678, + ["x"] = 101.777, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -49.8734, + ["x"] = 101.469, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_63"] = { + ["y"] = -15.1173, + ["x"] = 61.3764, + ["name"] = "StaticBlockTheme02_05_63", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = 1.28896, + ["x"] = -4.07541, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -39.4038, + ["x"] = 96.2856, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_60"] = { + ["y"] = -11.1241, + ["x"] = 112.674, + ["name"] = "StaticBlockTheme02_05_60", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraRuby_2"] = { + ["y"] = -31.2245, + ["x"] = 59.9064, + ["name"] = "ExtraRuby_2", + ["angle"] = 1.96366, + ["definition"] = "ExtraRuby", + + }, + ["StaticBlockTheme02_05_77"] = { + ["y"] = -3.75187, + ["x"] = 48.0655, + ["name"] = "StaticBlockTheme02_05_77", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_99"] = { + ["y"] = -4.59747, + ["x"] = -44.2788, + ["name"] = "StaticBlockTheme02_05_99", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_9"] = { + ["y"] = -43.8902, + ["x"] = -39.7737, + ["name"] = "WoodBlock6_9", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -31.5194, + ["x"] = 40.0729, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_59"] = { + ["y"] = -3.4447, + ["x"] = 115.029, + ["name"] = "StaticBlockTheme02_05_59", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock5_6"] = { + ["y"] = -38.5966, + ["x"] = 81.1014, + ["name"] = "StoneBlock5_6", + ["angle"] = 5.81741e-005, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_11"] = { + ["y"] = -37.6751, + ["x"] = 47.005, + ["name"] = "StoneBlock6_11", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -20.1542, + ["x"] = 98.9478, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_3"] = { + ["y"] = -46.2761, + ["x"] = 32.5678, + ["name"] = "WoodBlock2_3", + ["angle"] = 1.57094, + ["definition"] = "WoodBlock2", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -19.7566, + ["x"] = 85.2994, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.392723, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -42.9614, + ["x"] = 115.025, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_100"] = { + ["y"] = -12.584, + ["x"] = -29.7392, + ["name"] = "StaticBlockTheme02_05_100", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_11"] = { + ["y"] = -50.3222, + ["x"] = 35.1058, + ["name"] = "WoodBlock4_11", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_3"] = { + ["y"] = -30.4053, + ["x"] = 58.9848, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.392772, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_69"] = { + ["y"] = -8.46188, + ["x"] = 97.7253, + ["name"] = "StaticBlockTheme02_05_69", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_2"] = { + ["y"] = -23.3403, + ["x"] = 87.3472, + ["name"] = "WoodBlock10_2", + ["angle"] = 4.71241, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_9"] = { + ["y"] = -42.1309, + ["x"] = 35.413, + ["name"] = "WoodBlock4_9", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -16.7748, + ["x"] = 28.5028, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -9.58182, + ["x"] = 122.193, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -59.9114, + ["x"] = 123.475, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_66"] = { + ["y"] = -9.48579, + ["x"] = 78.2709, + ["name"] = "StaticBlockTheme02_05_66", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -9.99166, + ["x"] = 127.409, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock11_2"] = { + ["y"] = -41.4636, + ["x"] = 83.1492, + ["name"] = "StoneBlock11_2", + ["angle"] = 5.81741e-005, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_05_85"] = { + ["y"] = -38.8986, + ["x"] = -33.8349, + ["name"] = "StaticBlockTheme02_05_85", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -31.417, + ["x"] = 50.312, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -15.6229, + ["x"] = 123.012, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_7"] = { + ["y"] = -39.3134, + ["x"] = 44.5476, + ["name"] = "SmallPiglette_7", + ["angle"] = 0.000142574, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -56.5032, + ["x"] = 98.5382, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_111"] = { + ["y"] = -6.51739, + ["x"] = -16.8381, + ["name"] = "StaticBlockTheme02_05_111", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_6"] = { + ["y"] = -12.1489, + ["x"] = -14.4831, + ["name"] = "YellowBird_6", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -52.279, + ["x"] = 114.513, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_73"] = { + ["y"] = -2.42079, + ["x"] = 90.7627, + ["name"] = "StaticBlockTheme02_05_73", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_49"] = { + ["y"] = -19.0018, + ["x"] = 106.527, + ["name"] = "StaticBlockTheme02_05_49", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -1.72331, + ["x"] = 13.3488, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_105"] = { + ["y"] = -12.7888, + ["x"] = -37.6233, + ["name"] = "StaticBlockTheme02_05_105", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -35.0267, + ["x"] = 101.469, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -38.1871, + ["x"] = 27.9602, + ["name"] = "StoneBlock11_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock5_2"] = { + ["y"] = -25.3555, + ["x"] = 79.4246, + ["name"] = "LightBlock5_2", + ["angle"] = 0, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -33.1577, + ["x"] = 46.2164, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_76"] = { + ["y"] = -3.23992, + ["x"] = 56.052, + ["name"] = "StaticBlockTheme02_05_76", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -19.8037, + ["x"] = 32.0687, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -61.6227, + ["x"] = 103.658, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -17.5432, + ["x"] = 103.452, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -13.4988, + ["x"] = 87.3776, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_75"] = { + ["y"] = -2.62557, + ["x"] = 64.5505, + ["name"] = "StaticBlockTheme02_05_75", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_65"] = { + ["y"] = -11.1241, + ["x"] = 70.4892, + ["name"] = "StaticBlockTheme02_05_65", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_16"] = { + ["y"] = -52.7796, + ["x"] = 33.8771, + ["name"] = "WoodBlock4_16", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -26.8094, + ["x"] = 56.5579, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -41.4255, + ["x"] = 122.705, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -31.417, + ["x"] = 30.7553, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -15.4442, + ["x"] = 94.9545, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_15"] = { + ["y"] = -44.6907, + ["x"] = 33.9795, + ["name"] = "WoodBlock4_15", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock7_1"] = { + ["y"] = -39.6206, + ["x"] = 29.2913, + ["name"] = "WoodBlock7_1", + ["angle"] = 2.35636, + ["definition"] = "WoodBlock7", + + }, + ["StoneBlock2_5"] = { + ["y"] = -29.0742, + ["x"] = 58.0633, + ["name"] = "StoneBlock2_5", + ["angle"] = 0.392825, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock2_14"] = { + ["y"] = -38.5966, + ["x"] = 46.6979, + ["name"] = "LightBlock2_14", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_05_67"] = { + ["y"] = -7.64275, + ["x"] = 82.7762, + ["name"] = "StaticBlockTheme02_05_67", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock2_6"] = { + ["y"] = -27.57, + ["x"] = 71.1643, + ["name"] = "StoneBlock2_6", + ["angle"] = 0.392699, + ["definition"] = "StoneBlock2", + + }, + ["WoodBlock4_10"] = { + ["y"] = -42.1309, + ["x"] = 33.8771, + ["name"] = "WoodBlock4_10", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_92"] = { + ["y"] = -4.80226, + ["x"] = -57.0777, + ["name"] = "StaticBlockTheme02_05_92", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_10"] = { + ["y"] = -34.2962, + ["x"] = 52.3294, + ["name"] = "StoneBlock6_10", + ["angle"] = 0.392825, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_70"] = { + ["y"] = -8.05231, + ["x"] = 106.838, + ["name"] = "StaticBlockTheme02_05_70", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_89"] = { + ["y"] = -26.4068, + ["x"] = -49.7055, + ["name"] = "StaticBlockTheme02_05_89", + ["angle"] = 3.53427, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_64"] = { + ["y"] = -14.9125, + ["x"] = 68.2366, + ["name"] = "StaticBlockTheme02_05_64", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -23.8993, + ["x"] = 38.5194, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_62"] = { + ["y"] = -16.0388, + ["x"] = 54.1066, + ["name"] = "StaticBlockTheme02_05_62", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_107"] = { + ["y"] = -33.4463, + ["x"] = -29.4322, + ["name"] = "StaticBlockTheme02_05_107", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -7.66201, + ["x"] = 22.4617, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -29.3692, + ["x"] = 53.2814, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_102"] = { + ["y"] = -24.0518, + ["x"] = -45.8147, + ["name"] = "StaticBlockTheme02_05_102", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_61"] = { + ["y"] = -9.79296, + ["x"] = 102.845, + ["name"] = "StaticBlockTheme02_05_61", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -30.7125, + ["x"] = 70.3503, + ["name"] = "ExtraDonut01_3", + ["angle"] = 0.000124931, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -40.1702, + ["x"] = 127.409, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock2_1"] = { + ["y"] = -4.57195, + ["x"] = -11.0017, + ["name"] = "WoodBlock2_1", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock6_4"] = { + ["y"] = -33.3747, + ["x"] = 82.1253, + ["name"] = "LightBlock6_4", + ["angle"] = 1.57084, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -27.3214, + ["x"] = 30.7553, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -29.9958, + ["x"] = 65.3331, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.392825, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock9_2"] = { + ["y"] = -31.3269, + ["x"] = 77.0057, + ["name"] = "WoodBlock9_2", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock4_6"] = { + ["y"] = -39.6206, + ["x"] = 38.097, + ["name"] = "WoodBlock4_6", + ["angle"] = 0.000142574, + ["definition"] = "WoodBlock4", + + }, + ["YellowBird_3"] = { + ["y"] = -39.0779, + ["x"] = -26.5652, + ["name"] = "YellowBird_3", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -21.7923, + ["x"] = 71.3023, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_106"] = { + ["y"] = -14.0175, + ["x"] = -32.7086, + ["name"] = "StaticBlockTheme02_05_106", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -2.29474, + ["x"] = 20.7033, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraRuby_1"] = { + ["y"] = -35.4225, + ["x"] = 52.5342, + ["name"] = "ExtraRuby_1", + ["angle"] = 5.10525, + ["definition"] = "ExtraRuby", + + }, + ["StaticBlockTheme02_05_87"] = { + ["y"] = -35.3149, + ["x"] = -43.6644, + ["name"] = "StaticBlockTheme02_05_87", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_4"] = { + ["y"] = -30.0674, + ["x"] = -22.7768, + ["name"] = "YellowBird_4", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_95"] = { + ["y"] = -20.7753, + ["x"] = -38.7496, + ["name"] = "StaticBlockTheme02_05_95", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_1"] = { + ["y"] = -42.5592, + ["x"] = -39.057, + ["name"] = "LightBlock1_1", + ["angle"] = 6.28317, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_68"] = { + ["y"] = -6.72122, + ["x"] = 91.377, + ["name"] = "StaticBlockTheme02_05_68", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -17.6968, + ["x"] = 96.7976, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_50"] = { + ["y"] = -14.8038, + ["x"] = 114.718, + ["name"] = "StaticBlockTheme02_05_50", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_05", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 11, + ["ExtraDonut01"] = 3, + ["MediumPiglette"] = 3, + ["WoodBlock11"] = 3, + ["StaticBlockTheme02_04"] = 8, + ["LightBlock3"] = 4, + ["YellowBird"] = 8, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 4, + ["StoneBlock2"] = 6, + ["WoodBlock2"] = 4, + ["WoodBlock10"] = 4, + ["StoneBlock1"] = 1, + ["WoodBlock6"] = 11, + ["LargePiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock3"] = 4, + ["StoneBlock7"] = 1, + ["SmallPiglette"] = 7, + ["LightBlock6"] = 5, + ["StaticBlockTheme02_01"] = 2, + ["StoneBlock12"] = 1, + ["WoodBlock5"] = 2, + ["StaticBlockTheme01_05"] = 2, + ["StaticBlockTheme02_03"] = 6, + ["StaticBlockTheme02_05"] = 111, + ["WoodBlock7"] = 2, + ["StoneBlock11"] = 3, + ["LightBlock5"] = 3, + ["WoodBlock4"] = 16, + ["StoneBlock5"] = 6, + ["WoodBlock9"] = 4, + ["LightBlock1"] = 3, + ["ExtraRuby"] = 2, + ["LightBlock2"] = 14, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["StoneBlock10"] = 2, + ["LightBlock4"] = 4, + +} +theme = "theme2" +birdCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 4.38751, + ["px"] = -302.496, + ["py"] = -171.924, + ["screenHeight"] = 320, + ["left"] = -734.594, + ["top"] = -459.99, + ["iphone"] = { + ["bottom"] = 4.38751, + ["screenWidth"] = 480, + ["py"] = -171.924, + ["screenHeight"] = 320, + ["top"] = -459.99, + ["sy"] = 0.555429, + ["sx"] = 0.555429, + ["px"] = -302.496, + ["left"] = -734.594, + ["right"] = 1336.05, + + }, + ["version"] = "0.02", + ["sx"] = 0.555429, + ["windows"] = { + ["bottom"] = 33.6924, + ["screenWidth"] = 1366, + ["py"] = -693.286, + ["screenHeight"] = 768, + ["top"] = -1479.65, + ["sy"] = 0.488322, + ["sx"] = 0.488322, + ["px"] = -115.335, + ["left"] = -1514, + ["right"] = 2213.04, + + }, + ["sy"] = 0.555429, + ["ipad"] = { + ["bottom"] = 372.709, + ["screenWidth"] = 1024, + ["py"] = -263.955, + ["screenHeight"] = 768, + ["top"] = -814.662, + ["sy"] = 0.697285, + ["sx"] = 0.697285, + ["right"] = 1729.33, + ["left"] = -798.262, + ["px"] = -63.9853, + + }, + ["right"] = 1336.05, + +} +filename = "Level6.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level7.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level7.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..d60fa0bc02e65986b37642c4ca1ce5433b41adde --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level7.temp.lua @@ -0,0 +1,1294 @@ +themeSprites = { + +} +castleCameraData = { + ["screenHeight"] = 320, + ["bottom"] = 124.18, + ["px"] = -126.133, + ["py"] = -316.675, + ["left"] = -787.415, + ["sy"] = 0.1361, + ["top"] = -757.53, + ["iphone"] = { + ["bottom"] = 124.18, + ["screenWidth"] = 480, + ["py"] = -316.675, + ["screenHeight"] = 320, + ["top"] = -757.53, + ["sy"] = 0.1361, + ["sx"] = 0.362931, + ["px"] = -126.133, + ["left"] = -787.416, + ["right"] = 535.15, + + }, + ["version"] = "0.02", + ["sx"] = 0.362931, + ["windows"] = { + ["bottom"] = 249.849, + ["screenWidth"] = 1366, + ["py"] = -405.368, + ["screenHeight"] = 768, + ["top"] = -1060.59, + ["sy"] = 0.586065, + ["sx"] = 0.586065, + ["right"] = 1492.87, + ["left"] = -837.927, + ["px"] = 327.473, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["sy"] = 0.671034, + ["sx"] = 0.671034, + ["px"] = 80.0175, + ["py"] = -319.045, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["right"] = 535.149, + +} +levelParticles = { + ["y"] = -2653.31, + ["x"] = 1427.49, + ["firstFrame"] = true, + ["width"] = 8933.59, + +} +joints = { + ["StoneBlock3_4StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_4StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_4", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock9_3LightBlock3_22"] = { + ["type"] = 1, + ["end2"] = "LightBlock3_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock9_3LightBlock3_22", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock9_3", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["ExtraBlockTNT_1LargePiglette_1"] = { + ["type"] = 1, + ["end2"] = "LargePiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_1LargePiglette_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraBlockTNT_1", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StoneBlock3_2StoneBlock9_3"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_2StoneBlock9_3", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock3_21LightBlock9_4"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_4", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_21LightBlock9_4", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_21", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock9_2LightBlock3_23"] = { + ["type"] = 1, + ["end2"] = "LightBlock3_23", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock9_2LightBlock3_23", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock9_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock3_3StoneBlock9_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_3StoneBlock9_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_3", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LargePiglette_1StaticBalloon04_1"] = { + ["type"] = 1, + ["end2"] = "StaticBalloon04_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_1StaticBalloon04_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LargePiglette_1", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["LightBlock3_24LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_24LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_24", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock9_4StoneBlock3_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock3_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock9_4StoneBlock3_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock9_4", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["LightBlock9_2"] = { + ["y"] = -5.90609, + ["x"] = -23.289, + ["name"] = "LightBlock9_2", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.83756, + ["x"] = -71.6585, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -8.36498, + ["x"] = -14.422, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -1.8098, + ["x"] = 40.4904, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -10.3787, + ["x"] = 46.7494, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 5.10513, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_3"] = { + ["y"] = -11.1094, + ["x"] = 43.1751, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -0.468585, + ["x"] = 30.5058, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -2.50817, + ["x"] = -67.0387, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -2.50817, + ["x"] = -64.7289, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -22.5097, + ["x"] = 47.6458, + ["name"] = "MediumPiglette_2", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_6"] = { + ["y"] = -14.6114, + ["x"] = 43.026, + ["name"] = "WoodBlock10_6", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock10", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -21.9881, + ["x"] = 51.1478, + ["name"] = "ExtraDonut01_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -0.692123, + ["x"] = 44.1415, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -3.0765, + ["x"] = 46.0043, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 1.57086, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock3_21"] = { + ["y"] = -13.8043, + ["x"] = -23.2144, + ["name"] = "LightBlock3_21", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock4_3"] = { + ["y"] = -0.394076, + ["x"] = 50.326, + ["name"] = "WoodBlock4_3", + ["angle"] = 3.14166, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -5.33961, + ["x"] = -53.5522, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -5.3845, + ["x"] = -16.5084, + ["name"] = "WoodBlock2_1", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock3_1"] = { + ["y"] = -17.6568, + ["x"] = 45.9777, + ["name"] = "WoodBlock3_1", + ["angle"] = 0.392699, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock3_2"] = { + ["y"] = -9.78257, + ["x"] = 56.2869, + ["name"] = "StoneBlock3_2", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock10_3"] = { + ["y"] = -5.83158, + ["x"] = -6.0022, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.392702, + ["definition"] = "StoneBlock10", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -34.595, + ["x"] = -3.32258, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.39279, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock4_4"] = { + ["y"] = -5.81904, + ["x"] = 4.87595, + ["name"] = "WoodBlock4_4", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock1_2"] = { + ["y"] = -18.1528, + ["x"] = -15.5241, + ["name"] = "LightBlock1_2", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -2.55492, + ["x"] = 42.5767, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock3_23"] = { + ["y"] = -5.83158, + ["x"] = -23.289, + ["name"] = "LightBlock3_23", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["StoneBlock6_12"] = { + ["y"] = -2.03334, + ["x"] = 30.6548, + ["name"] = "StoneBlock6_12", + ["angle"] = 5.89046, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock2_3"] = { + ["y"] = -18.0834, + ["x"] = 49.0491, + ["name"] = "WoodBlock2_3", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock5_1"] = { + ["y"] = -2.92561, + ["x"] = -16.6574, + ["name"] = "WoodBlock5_1", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -4.7139, + ["x"] = -12.0377, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -5.33961, + ["x"] = -54.9679, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_2"] = { + ["y"] = -0.156656, + ["x"] = -28.1592, + ["name"] = "StoneBlock11_2", + ["angle"] = 2.35629, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -12.1669, + ["x"] = 48.4632, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -0.394073, + ["x"] = 37.8825, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock10_7"] = { + ["y"] = -12.0179, + ["x"] = 46.1533, + ["name"] = "StoneBlock10_7", + ["angle"] = 1.96352, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock12_1"] = { + ["y"] = -8.20342, + ["x"] = 41.9083, + ["name"] = "LightBlock12_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock12", + + }, + ["StoneBlock10_9"] = { + ["y"] = -8.27793, + ["x"] = 4.65241, + ["name"] = "StoneBlock10_9", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock3_22"] = { + ["y"] = -9.85522, + ["x"] = -23.289, + ["name"] = "LightBlock3_22", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["BasicBird2_2"] = { + ["y"] = -12.2692, + ["x"] = -66.0701, + ["name"] = "BasicBird2_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = 0.621335, + ["x"] = -76.7998, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_13"] = { + ["y"] = -20.1253, + ["x"] = 48.2419, + ["name"] = "StoneBlock6_13", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock7_1"] = { + ["y"] = -19.3575, + ["x"] = -18.0003, + ["name"] = "StoneBlock7_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock7", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -6.05511, + ["x"] = -10.8455, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BasicBird2_6"] = { + ["y"] = -14.834, + ["x"] = -53.6203, + ["name"] = "BasicBird2_6", + ["startNumber"] = 1, + ["angle"] = 4.76837e-007, + ["definition"] = "BasicBird2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -10.8257, + ["x"] = 50.326, + ["name"] = "WoodBlock10_3", + ["angle"] = 1.57087, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock3_3"] = { + ["y"] = -5.83344, + ["x"] = 56.2869, + ["name"] = "StoneBlock3_3", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock10_2"] = { + ["y"] = -10.8239, + ["x"] = -16.6574, + ["name"] = "WoodBlock10_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_4"] = { + ["y"] = -16.2651, + ["x"] = 53.4555, + ["name"] = "WoodBlock10_4", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -10.5258, + ["x"] = -13.975, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 4.31968, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_24"] = { + ["y"] = -1.88245, + ["x"] = -23.438, + ["name"] = "LightBlock3_24", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["LargePiglette_1"] = { + ["y"] = -36.5323, + ["x"] = -6.07952, + ["name"] = "LargePiglette_1", + ["angle"] = 8.96454e-005, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock3_4"] = { + ["y"] = -1.66078, + ["x"] = 56.4359, + ["name"] = "StoneBlock3_4", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -1.95696, + ["x"] = -12.8573, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -3.37455, + ["x"] = 44.2905, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock10_5"] = { + ["y"] = -0.394073, + ["x"] = 21.6389, + ["name"] = "StoneBlock10_5", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -5.08646, + ["x"] = -12.8573, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_1"] = { + ["y"] = -1.7954, + ["x"] = 10.3153, + ["name"] = "LightBlock5_1", + ["angle"] = 6.28316, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock3_1"] = { + ["y"] = -13.5827, + ["x"] = 56.3614, + ["name"] = "StoneBlock3_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock10_8"] = { + ["y"] = -17.2338, + ["x"] = 53.53, + ["name"] = "StoneBlock10_8", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -8.14331, + ["x"] = 46.9729, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock9_4"] = { + ["y"] = -13.7317, + ["x"] = 56.2869, + ["name"] = "StoneBlock9_4", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock6_11"] = { + ["y"] = -2.18049, + ["x"] = 2.56666, + ["name"] = "StoneBlock6_11", + ["angle"] = 0.392702, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = 1.21743, + ["x"] = -82.1647, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -5.01381, + ["x"] = 41.5336, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_4"] = { + ["y"] = -14.7605, + ["x"] = 44.8143, + ["name"] = "WoodBlock5_4", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock5", + + }, + ["Estrade03_2"] = { + ["y"] = -5.78669, + ["x"] = -77.4704, + ["name"] = "Estrade03_2", + ["angle"] = 0, + ["definition"] = "Estrade03", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -19.2312, + ["x"] = 53.9793, + ["name"] = "ExtraDonut01_2", + ["angle"] = 0.39279, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -8.66302, + ["x"] = -12.7828, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -8.0688, + ["x"] = 47.7181, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_7"] = { + ["y"] = -3.28564, + ["x"] = 7.33484, + ["name"] = "WoodBlock10_7", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_2"] = { + ["y"] = -6.04258, + ["x"] = -2.87329, + ["name"] = "LightBlock5_2", + ["angle"] = 0.392705, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -16.8972, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["LightBlock3_25"] = { + ["y"] = -18.6351, + ["x"] = 51.4459, + ["name"] = "LightBlock3_25", + ["angle"] = 6.28317, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock4_7"] = { + ["y"] = -19.1925, + ["x"] = 47.8546, + ["name"] = "WoodBlock4_7", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock9_3"] = { + ["y"] = -9.85708, + ["x"] = 56.2869, + ["name"] = "StoneBlock9_3", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock11_1"] = { + ["y"] = -19.6037, + ["x"] = 56.5872, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71247, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = 2.43924, + ["x"] = -0.115765, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_5"] = { + ["y"] = -2.01945, + ["x"] = -33.0025, + ["name"] = "StoneBlock11_5", + ["angle"] = 4.71253, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock2_2"] = { + ["y"] = -5.38637, + ["x"] = 50.2514, + ["name"] = "WoodBlock2_2", + ["angle"] = 7.20024e-005, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = 1.39421, + ["x"] = 32.9647, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock4_1"] = { + ["y"] = -0.317697, + ["x"] = -16.6574, + ["name"] = "WoodBlock4_1", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock9_4"] = { + ["y"] = -13.8043, + ["x"] = -23.2144, + ["name"] = "LightBlock9_4", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["StaticBalloon04_1"] = { + ["y"] = -41.9266, + ["x"] = 15.017, + ["name"] = "StaticBalloon04_1", + ["angle"] = 0.000107288, + ["definition"] = "StaticBalloon04", + + }, + ["Estrade03_3"] = { + ["y"] = -8.9907, + ["x"] = -65.9956, + ["name"] = "Estrade03_3", + ["angle"] = 0, + ["definition"] = "Estrade03", + + }, + ["StoneBlock10_2"] = { + ["y"] = -12.7612, + ["x"] = -12.7828, + ["name"] = "StoneBlock10_2", + ["angle"] = 4.31969, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -0.913791, + ["x"] = -8.23756, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -5.14895, + ["x"] = -29.3514, + ["name"] = "ExtraDiamond_1", + ["angle"] = 0.000142574, + ["definition"] = "ExtraDiamond", + + }, + ["LightBlock5_3"] = { + ["y"] = -7.53281, + ["x"] = -1.97915, + ["name"] = "LightBlock5_3", + ["angle"] = 0.392705, + ["definition"] = "LightBlock5", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -5.44648, + ["x"] = 1.67194, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock10_4"] = { + ["y"] = -0.466721, + ["x"] = 11.5081, + ["name"] = "StoneBlock10_4", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock11_1"] = { + ["y"] = -6.86221, + ["x"] = -7.49302, + ["name"] = "WoodBlock11_1", + ["angle"] = 2.74894, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -12.9102, + ["x"] = -14.422, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -2.43365, + ["x"] = -60.0347, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_5"] = { + ["y"] = -13.1957, + ["x"] = 45.6339, + ["name"] = "WoodBlock10_5", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -4.11967, + ["x"] = 39.2982, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock11_4"] = { + ["y"] = -2.01945, + ["x"] = -29.1279, + ["name"] = "StoneBlock11_4", + ["angle"] = 1.57093, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -5.68255, + ["x"] = -11.069, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_2"] = { + ["y"] = -2.85297, + ["x"] = 50.1769, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.71246, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -16.2632, + ["x"] = -20.1595, + ["name"] = "WoodBlock10_1", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_1"] = { + ["y"] = -9.99171, + ["x"] = -2.87329, + ["name"] = "LightBlock10_1", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock10_1"] = { + ["y"] = -17.0829, + ["x"] = -20.234, + ["name"] = "StoneBlock10_1", + ["angle"] = 0, + ["definition"] = "StoneBlock10", + + }, + ["MediumPiglette_4"] = { + ["y"] = -12.3016, + ["x"] = -4.2145, + ["name"] = "MediumPiglette_4", + ["angle"] = 8.96454e-005, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -0.570859, + ["x"] = -64.6544, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["Estrade03_4"] = { + ["y"] = -11.8222, + ["x"] = -54.2973, + ["name"] = "Estrade03_4", + ["angle"] = 0, + ["definition"] = "Estrade03", + + }, + ["LightBlock3_26"] = { + ["y"] = -1.72089, + ["x"] = 7.40935, + ["name"] = "LightBlock3_26", + ["angle"] = 6.28316, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -10.8984, + ["x"] = -13.6024, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["MediumPiglette_3"] = { + ["y"] = -5.5955, + ["x"] = 7.63289, + ["name"] = "MediumPiglette_3", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock9_2"] = { + ["y"] = -5.83344, + ["x"] = 56.2869, + ["name"] = "StoneBlock9_2", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock10_6"] = { + ["y"] = -5.46088, + ["x"] = 39.1492, + ["name"] = "StoneBlock10_6", + ["angle"] = 5.89047, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -12.4631, + ["x"] = -15.2417, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -4.71576, + ["x"] = 45.4827, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 5.49784, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock9_3"] = { + ["y"] = -9.85522, + ["x"] = -23.289, + ["name"] = "LightBlock9_3", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = 0.54682, + ["x"] = -77.9919, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BasicBird2_3"] = { + ["y"] = -8.84167, + ["x"] = -77.2469, + ["name"] = "BasicBird2_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StoneBlock11_3"] = { + ["y"] = -2.9136, + ["x"] = -25.4023, + ["name"] = "StoneBlock11_3", + ["angle"] = 0.785508, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock9_1"] = { + ["y"] = -1.88245, + ["x"] = -23.289, + ["name"] = "LightBlock9_1", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["WoodBlock1_1"] = { + ["y"] = -21.0195, + ["x"] = 45.4104, + ["name"] = "WoodBlock1_1", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock1", + + }, + ["LightBlock1_1"] = { + ["y"] = -10.8858, + ["x"] = -1.83012, + ["name"] = "LightBlock1_1", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -8.514, + ["x"] = -13.1553, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock9_1"] = { + ["y"] = -1.73529, + ["x"] = 56.3614, + ["name"] = "StoneBlock9_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.500067, + ["x"] = 36.1687, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ImmovableWall03"] = 3, + ["ExtraDonut01"] = 3, + ["Estrade03"] = 4, + ["MediumPiglette"] = 4, + ["WoodBlock4"] = 7, + ["StaticBlockTheme02_04"] = 9, + ["StoneBlock11"] = 5, + ["StoneBlock3"] = 4, + ["StaticBalloon04"] = 1, + ["StaticBlockTheme01_03"] = 1, + ["StaticBlockTheme01_04"] = 2, + ["WoodBlock2"] = 3, + ["WoodBlock10"] = 7, + ["StaticBlockTheme01_05"] = 9, + ["LargePiglette"] = 1, + ["HelmetPiglette"] = 1, + ["BasicBird2"] = 6, + ["WoodBlock12"] = 1, + ["ExtraPoleRed"] = 1, + ["LightBlock12"] = 1, + ["LightBlock9"] = 4, + ["StoneBlock6"] = 13, + ["SmallBlueBird"] = 5, + ["StoneBlock10"] = 9, + ["StoneBlock9"] = 4, + ["StoneBlock7"] = 1, + ["ExtraBlockTNT"] = 2, + ["SmallPiglette"] = 2, + ["LightBlock6"] = 2, + ["StaticBlockTheme02_01"] = 16, + ["LightBlock3"] = 26, + ["WoodBlock5"] = 5, + ["StaticBlockTheme02_05"] = 14, + ["StaticBlockTheme02_03"] = 1, + ["Harvey"] = 1, + ["StaticBlockTheme02_02"] = 5, + ["WoodBlock11"] = 1, + ["Estrade02"] = 1, + ["LightBlock5"] = 3, + ["WoodBlock1"] = 1, + ["ExtraDiamond"] = 1, + ["LightBlock1"] = 2, + ["LightBlock10"] = 1, + ["BowlingBallPig"] = 1, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["WoodBlock3"] = 1, + ["LightBlock4"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["screenHeight"] = 320, + ["bottom"] = -48.7064, + ["px"] = -1131.97, + ["py"] = -238.129, + ["left"] = -1663.59, + ["sy"] = 0.451452, + ["top"] = -592.541, + ["iphone"] = { + ["bottom"] = -48.7061, + ["screenWidth"] = 480, + ["py"] = -238.129, + ["screenHeight"] = 320, + ["top"] = -592.541, + ["sy"] = 0.451452, + ["sx"] = 0.451452, + ["px"] = -1131.97, + ["left"] = -1663.59, + ["right"] = 275.82, + + }, + ["version"] = "0.02", + ["sx"] = 0.451452, + ["windows"] = { + ["bottom"] = 249.849, + ["screenWidth"] = 1366, + ["py"] = -282.846, + ["screenHeight"] = 768, + ["top"] = -938.063, + ["sy"] = 0.586065, + ["sx"] = 0.586065, + ["right"] = 1492.87, + ["left"] = -2456.61, + ["px"] = -1291.21, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = 173.841, + ["screenWidth"] = 1024, + ["py"] = -274.825, + ["screenHeight"] = 768, + ["top"] = -807.394, + ["sy"] = 0.721034, + ["sx"] = 0.721034, + ["right"] = 783.396, + ["left"] = -1709.55, + ["px"] = -999.459, + + }, + ["right"] = 275.82, + +} +filename = "Level7.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level8.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level8.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..f80fcaec0cc1d2778706d2b1bb578620dac40a19 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level8.temp.lua @@ -0,0 +1,3701 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -213, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 83.3111, + ["screenWidth"] = 480, + ["py"] = -213, + ["screenHeight"] = 320, + ["top"] = -509.311, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["px"] = 1533.79, + ["left"] = 1089.32, + ["right"] = 1978.26, + + }, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["windows"] = { + ["bottom"] = 462.624, + ["screenWidth"] = 1366, + ["py"] = -681.391, + ["screenHeight"] = 768, + ["top"] = -1825.41, + ["sy"] = 0.33566, + ["sx"] = 0.33566, + ["px"] = 949.43, + ["left"] = -1085.37, + ["right"] = 2984.23, + + }, + ["px"] = 1533.79, + ["ipad"] = { + ["bottom"] = 202.025, + ["screenWidth"] = 1024, + ["py"] = -234.244, + ["screenHeight"] = 768, + ["top"] = -670.513, + ["sy"] = 0.880191, + ["sx"] = 0.880191, + ["right"] = 2100.49, + ["left"] = 937.108, + ["px"] = 1518.8, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -2989.39, + ["x"] = 3461.52, + ["firstFrame"] = true, + ["width"] = 11128.6, + +} +joints = { + ["LightBlock8_25WoodBlock10_21"] = { + ["type"] = 1, + ["end2"] = "WoodBlock10_21", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock8_25WoodBlock10_21", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock8_25", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + +} +world = { + ["StaticBlockTheme02_01_75"] = { + ["y"] = -19.4855, + ["x"] = 27.0879, + ["name"] = "StaticBlockTheme02_01_75", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_78"] = { + ["y"] = -3.81647, + ["x"] = 129.862, + ["name"] = "LightBlock5_78", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["ExtraTreasureChest_1"] = { + ["y"] = -24.6683, + ["x"] = 31.5438, + ["name"] = "ExtraTreasureChest_1", + ["angle"] = 5.89096, + ["definition"] = "ExtraTreasureChest", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -46.4379, + ["x"] = -17.0256, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -29.0012, + ["x"] = -40.0622, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_7"] = { + ["y"] = -5.57428, + ["x"] = 14.1725, + ["name"] = "LightBlock1_7", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock1", + + }, + ["LightBlock10_45"] = { + ["y"] = -5.18116, + ["x"] = 127.678, + ["name"] = "LightBlock10_45", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["SmallPiglette_4"] = { + ["y"] = -19.8187, + ["x"] = 101.363, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.000460148, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock5_12"] = { + ["y"] = -11.9896, + ["x"] = 74.695, + ["name"] = "WoodBlock5_12", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock2_1"] = { + ["y"] = -17.2437, + ["x"] = 106.952, + ["name"] = "StoneBlock2_1", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock5_115"] = { + ["y"] = -4.19016, + ["x"] = -61.1578, + ["name"] = "LightBlock5_115", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_5"] = { + ["y"] = -2.17246, + ["x"] = -24.1298, + ["name"] = "LightBlock5_5", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_13"] = { + ["y"] = -0.394916, + ["x"] = 136.799, + ["name"] = "LightBlock10_13", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -39.4627, + ["x"] = -32.7852, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_125"] = { + ["y"] = -4.00823, + ["x"] = -102.912, + ["name"] = "LightBlock5_125", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_80"] = { + ["y"] = -3.81647, + ["x"] = 138.231, + ["name"] = "LightBlock5_80", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_78"] = { + ["y"] = -20.1984, + ["x"] = 33.2667, + ["name"] = "StaticBlockTheme02_01_78", + ["angle"] = 1.96375, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_114"] = { + ["y"] = -4.19016, + ["x"] = -56.8823, + ["name"] = "LightBlock5_114", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_10"] = { + ["y"] = -15.5985, + ["x"] = 115.391, + ["name"] = "LightBlock1_10", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["LightBlock5_42"] = { + ["y"] = -1.77877, + ["x"] = 129.858, + ["name"] = "LightBlock5_42", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_37"] = { + ["y"] = -5.54502, + ["x"] = 45.4432, + ["name"] = "LightBlock10_37", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_39"] = { + ["y"] = -5.36309, + ["x"] = 66.0018, + ["name"] = "LightBlock10_39", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_8"] = { + ["y"] = -17.3295, + ["x"] = 98.0249, + ["name"] = "StoneBlock6_8", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_01_57"] = { + ["y"] = -21.5637, + ["x"] = -35.5775, + ["name"] = "StaticBlockTheme02_01_57", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBalloon03_7"] = { + ["y"] = -23.3216, + ["x"] = 123.29, + ["name"] = "StaticBalloon03_7", + ["angle"] = 0.000336647, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock5_110"] = { + ["y"] = -2.09791, + ["x"] = -90.5402, + ["name"] = "LightBlock5_110", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_45"] = { + ["y"] = -25.7051, + ["x"] = -40.8826, + ["name"] = "StaticBlockTheme02_01_45", + ["angle"] = 4.31981, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_21"] = { + ["y"] = -11.9896, + ["x"] = 79.6974, + ["name"] = "WoodBlock5_21", + ["angle"] = 0.000389576, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -48.3732, + ["x"] = -37.9765, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 5.49776, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_92"] = { + ["y"] = -2.00695, + ["x"] = -36.0508, + ["name"] = "LightBlock5_92", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_17"] = { + ["y"] = -0.398376, + ["x"] = 178.038, + ["name"] = "LightBlock10_17", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_129"] = { + ["y"] = -9.79832, + ["x"] = 114.939, + ["name"] = "LightBlock5_129", + ["angle"] = 1.5708, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_46"] = { + ["y"] = -1.86974, + ["x"] = 146.323, + ["name"] = "LightBlock5_46", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_21"] = { + ["y"] = -2.14264, + ["x"] = 42.6203, + ["name"] = "LightBlock5_21", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_25"] = { + ["y"] = -0.431396, + ["x"] = -100.237, + ["name"] = "LightBlock10_25", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBalloon03_2"] = { + ["y"] = -23.1174, + ["x"] = 132.376, + ["name"] = "StaticBalloon03_2", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock5_30"] = { + ["y"] = -1.86974, + ["x"] = 80.0988, + ["name"] = "LightBlock5_30", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_72"] = { + ["y"] = -29.1795, + ["x"] = -42.3056, + ["name"] = "StaticBlockTheme02_01_72", + ["angle"] = 1.1783, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_24"] = { + ["y"] = -0.522363, + ["x"] = -90.0491, + ["name"] = "LightBlock10_24", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_112"] = { + ["y"] = -2.09791, + ["x"] = -98.9092, + ["name"] = "LightBlock5_112", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_63"] = { + ["y"] = -3.91466, + ["x"] = 71.8616, + ["name"] = "LightBlock5_63", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock3_1"] = { + ["y"] = -27.2003, + ["x"] = 132.187, + ["name"] = "StoneBlock3_1", + ["angle"] = 0.000442505, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock5_51"] = { + ["y"] = -1.96071, + ["x"] = 167.155, + ["name"] = "LightBlock5_51", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_23"] = { + ["y"] = -37.8416, + ["x"] = -16.606, + ["name"] = "StaticBlockTheme02_04_23", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_11"] = { + ["y"] = -2.0815, + ["x"] = 21.8997, + ["name"] = "LightBlock5_11", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_60"] = { + ["y"] = -21.5637, + ["x"] = -33.4855, + ["name"] = "StaticBlockTheme02_01_60", + ["angle"] = 3.53446, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_30"] = { + ["y"] = -5.55467, + ["x"] = -69.8907, + ["name"] = "LightBlock10_30", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_1"] = { + ["y"] = -0.895312, + ["x"] = -1.3559, + ["name"] = "LightBlock8_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -38.5268, + ["x"] = -42.3056, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 4.71262, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 39.458, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["LightBlock4_5"] = { + ["y"] = -0.444086, + ["x"] = 12.8939, + ["name"] = "LightBlock4_5", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock4", + + }, + ["LightBlock5_50"] = { + ["y"] = -2.05167, + ["x"] = 162.97, + ["name"] = "LightBlock5_50", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_19"] = { + ["y"] = -14.4397, + ["x"] = 117.981, + ["name"] = "WoodBlock10_19", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_59"] = { + ["y"] = -4.0966, + ["x"] = 55.2146, + ["name"] = "LightBlock5_59", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock6_6"] = { + ["y"] = -16.3854, + ["x"] = 93.6474, + ["name"] = "StoneBlock6_6", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock5_65"] = { + ["y"] = -3.8237, + ["x"] = 80.2306, + ["name"] = "LightBlock5_65", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_52"] = { + ["y"] = -1.96071, + ["x"] = 171.248, + ["name"] = "LightBlock5_52", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_27"] = { + ["y"] = -5.4637, + ["x"] = -39.1437, + ["name"] = "LightBlock10_27", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -10.4052, + ["x"] = -27.1225, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock10_50"] = { + ["y"] = -5.07314, + ["x"] = 178.982, + ["name"] = "LightBlock10_50", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_67"] = { + ["y"] = -34.8197, + ["x"] = -27.4536, + ["name"] = "StaticBlockTheme02_01_67", + ["angle"] = 0.392878, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_109"] = { + ["y"] = -2.09791, + ["x"] = -86.3557, + ["name"] = "LightBlock5_109", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_4"] = { + ["y"] = -9.84568, + ["x"] = 87.4562, + ["name"] = "WoodBlock2_4", + ["angle"] = 1.57117, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_68"] = { + ["y"] = -34.6648, + ["x"] = -23.347, + ["name"] = "StaticBlockTheme02_01_68", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_25"] = { + ["y"] = -9.64937, + ["x"] = 118.366, + ["name"] = "LightBlock8_25", + ["angle"] = 1.5708, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_77"] = { + ["y"] = -20.9113, + ["x"] = 32.6329, + ["name"] = "StaticBlockTheme02_01_77", + ["angle"] = 5.49803, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_8"] = { + ["y"] = -14.2579, + ["x"] = 74.278, + ["name"] = "LightBlock1_8", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["LightBlock10_47"] = { + ["y"] = -5.34605, + ["x"] = 148.144, + ["name"] = "LightBlock10_47", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_64"] = { + ["y"] = -4.00563, + ["x"] = 76.0461, + ["name"] = "LightBlock5_64", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_67"] = { + ["y"] = -3.8237, + ["x"] = 88.5996, + ["name"] = "LightBlock5_67", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock6_5"] = { + ["y"] = -15.4412, + ["x"] = 98.6258, + ["name"] = "StoneBlock6_5", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock5_27"] = { + ["y"] = -1.86974, + ["x"] = 67.6363, + ["name"] = "LightBlock5_27", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -47.5227, + ["x"] = -16.4057, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_10"] = { + ["y"] = -11.2749, + ["x"] = 125.332, + ["name"] = "WoodBlock10_10", + ["angle"] = 1.9638, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_7"] = { + ["y"] = -0.236493, + ["x"] = 86.0229, + ["name"] = "LightBlock10_7", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_31"] = { + ["y"] = -47.6759, + ["x"] = -13.1819, + ["name"] = "StaticBlockTheme02_01_31", + ["angle"] = 4.31974, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock1_1"] = { + ["y"] = -18.1879, + ["x"] = 107.467, + ["name"] = "StoneBlock1_1", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_4"] = { + ["y"] = -15.7845, + ["x"] = 80.6866, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000460148, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock3_4"] = { + ["y"] = -9.94777, + ["x"] = 85.7207, + ["name"] = "LightBlock3_4", + ["angle"] = 0.000336647, + ["definition"] = "LightBlock3", + + }, + ["LightBlock8_19"] = { + ["y"] = -17.9416, + ["x"] = -1.3559, + ["name"] = "LightBlock8_19", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_25"] = { + ["y"] = -3.95941, + ["x"] = 17.3445, + ["name"] = "StaticBlockTheme02_04_25", + ["angle"] = 4.71262, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -3.50925, + ["x"] = -27.1225, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_84"] = { + ["y"] = -17.822, + ["x"] = 28.8306, + ["name"] = "StaticBlockTheme02_01_84", + ["angle"] = 5.89075, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_16"] = { + ["y"] = -0.543408, + ["x"] = 167.741, + ["name"] = "LightBlock10_16", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["MediumPiglette_2"] = { + ["y"] = -27.8465, + ["x"] = 128.667, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.000442505, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -37.8355, + ["x"] = -20.9303, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -42.7962, + ["x"] = -16.3282, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -54.1087, + ["x"] = -31.3599, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_43"] = { + ["y"] = -5.27212, + ["x"] = 107.028, + ["name"] = "LightBlock10_43", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_33"] = { + ["y"] = -1.86974, + ["x"] = 92.5613, + ["name"] = "LightBlock5_33", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_9"] = { + ["y"] = -13.5231, + ["x"] = 114.027, + ["name"] = "WoodBlock2_9", + ["angle"] = 0, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock8_15"] = { + ["y"] = -13.6025, + ["x"] = -2.82808, + ["name"] = "LightBlock8_15", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -8.40283, + ["x"] = 110.471, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.000424862, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock5_48"] = { + ["y"] = -1.96071, + ["x"] = 154.601, + ["name"] = "LightBlock5_48", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_19"] = { + ["y"] = -11.8875, + ["x"] = 87.9667, + ["name"] = "WoodBlock5_19", + ["angle"] = 0.000389576, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_13"] = { + ["y"] = -13.5209, + ["x"] = 82.2496, + ["name"] = "WoodBlock10_13", + ["angle"] = 0.000319004, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_122"] = { + ["y"] = -4.00823, + ["x"] = -90.4493, + ["name"] = "LightBlock5_122", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_7"] = { + ["y"] = -11.8875, + ["x"] = 77.2472, + ["name"] = "WoodBlock2_7", + ["angle"] = 1.57119, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -32.4892, + ["x"] = -23.3322, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 3.14161, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -37.8938, + ["x"] = -2.93087, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock10_3"] = { + ["y"] = -0.553235, + ["x"] = 45.2281, + ["name"] = "LightBlock10_3", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_12"] = { + ["y"] = -10.7357, + ["x"] = -2.98305, + ["name"] = "LightBlock8_12", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_121"] = { + ["y"] = -4.09919, + ["x"] = -86.3557, + ["name"] = "LightBlock5_121", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_22"] = { + ["y"] = -35.982, + ["x"] = -19.0854, + ["name"] = "StaticBlockTheme02_04_22", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_47"] = { + ["y"] = -19.8164, + ["x"] = -35.0713, + ["name"] = "StaticBlockTheme02_01_47", + ["angle"] = 0.392843, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_22"] = { + ["y"] = -2.05167, + ["x"] = 46.8048, + ["name"] = "LightBlock5_22", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_8"] = { + ["y"] = -0.236493, + ["x"] = 96.1624, + ["name"] = "LightBlock10_8", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_1"] = { + ["y"] = -14.497, + ["x"] = 87.2958, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock5_11"] = { + ["y"] = -10.0499, + ["x"] = 74.7971, + ["name"] = "WoodBlock5_11", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock4_9"] = { + ["y"] = -10.152, + ["x"] = 71.0198, + ["name"] = "WoodBlock4_9", + ["angle"] = 0.785737, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock10_5"] = { + ["y"] = -0.394922, + ["x"] = 65.6648, + ["name"] = "LightBlock10_5", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_41"] = { + ["y"] = -44.8865, + ["x"] = -41.7732, + ["name"] = "StaticBlockTheme02_01_41", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock3_5"] = { + ["y"] = -11.8875, + ["x"] = 71.4281, + ["name"] = "WoodBlock3_5", + ["angle"] = 0.785737, + ["definition"] = "WoodBlock3", + + }, + ["LightBlock8_18"] = { + ["y"] = -16.4694, + ["x"] = -2.90557, + ["name"] = "LightBlock8_18", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_48"] = { + ["y"] = -18.2667, + ["x"] = -33.5991, + ["name"] = "StaticBlockTheme02_01_48", + ["angle"] = 0.785543, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBalloon03_6"] = { + ["y"] = -16.5836, + ["x"] = 59.994, + ["name"] = "StaticBalloon03_6", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock10_22"] = { + ["y"] = -0.522363, + ["x"] = -69.7634, + ["name"] = "LightBlock10_22", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_20"] = { + ["y"] = -2.14264, + ["x"] = 38.4358, + ["name"] = "LightBlock5_20", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_47"] = { + ["y"] = -1.86974, + ["x"] = 150.417, + ["name"] = "LightBlock5_47", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_24"] = { + ["y"] = -1.42455, + ["x"] = 17.3445, + ["name"] = "StaticBlockTheme02_04_24", + ["angle"] = 4.71262, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock1_12"] = { + ["y"] = -19.1735, + ["x"] = 103.027, + ["name"] = "LightBlock1_12", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -4.51542, + ["x"] = -10.2665, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_18"] = { + ["y"] = -4.05295, + ["x"] = 34.1603, + ["name"] = "LightBlock5_18", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_5"] = { + ["y"] = -6.37468, + ["x"] = 97.7673, + ["name"] = "WoodBlock10_5", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -4.62971, + ["x"] = -30.1124, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock8_7"] = { + ["y"] = -6.24164, + ["x"] = -1.43339, + ["name"] = "LightBlock8_7", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["WoodBlock5_10"] = { + ["y"] = -8.00806, + ["x"] = 74.695, + ["name"] = "WoodBlock5_10", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock10_42"] = { + ["y"] = -5.36309, + ["x"] = 96.7487, + ["name"] = "LightBlock10_42", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_14"] = { + ["y"] = -4.05295, + ["x"] = 25.8823, + ["name"] = "LightBlock5_14", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -36.361, + ["x"] = -0.65863, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BasicBird2_4"] = { + ["y"] = -56.1825, + ["x"] = -19.8408, + ["name"] = "BasicBird2_4", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["LightBlock5_12"] = { + ["y"] = -4.17375, + ["x"] = 21.8087, + ["name"] = "LightBlock5_12", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -37.758, + ["x"] = -31.9328, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 3.92697, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_35"] = { + ["y"] = -5.55467, + ["x"] = 24.8973, + ["name"] = "LightBlock10_35", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -45.0414, + ["x"] = -19.4581, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 1.17807, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_56"] = { + ["y"] = -4.18757, + ["x"] = 42.4792, + ["name"] = "LightBlock5_56", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_55"] = { + ["y"] = -24.3531, + ["x"] = -38.8318, + ["name"] = "StaticBlockTheme02_01_55", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_4"] = { + ["y"] = -17.5012, + ["x"] = 87.8108, + ["name"] = "ExtraBlockTNT_4", + ["angle"] = 0.000460148, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_01_65"] = { + ["y"] = -15.9849, + ["x"] = -30.7736, + ["name"] = "StaticBlockTheme02_01_65", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -31.2345, + ["x"] = 132.272, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0.000442505, + ["definition"] = "ExtraBlockFlag01", + + }, + ["LightBlock2_2"] = { + ["y"] = -4.18756, + ["x"] = 14.1884, + ["name"] = "LightBlock2_2", + ["angle"] = 1.57107, + ["definition"] = "LightBlock2", + + }, + ["LightBlock5_72"] = { + ["y"] = -3.72551, + ["x"] = 105.21, + ["name"] = "LightBlock5_72", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_102"] = { + ["y"] = -2.09791, + ["x"] = -56.8823, + ["name"] = "LightBlock5_102", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock3_7"] = { + ["y"] = -11.8875, + ["x"] = 95.5214, + ["name"] = "WoodBlock3_7", + ["angle"] = 0.000389576, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -32.1792, + ["x"] = -41.6957, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock3_3"] = { + ["y"] = -9.84568, + ["x"] = 94.1942, + ["name"] = "LightBlock3_3", + ["angle"] = 0.000336647, + ["definition"] = "LightBlock3", + + }, + ["LightBlock5_79"] = { + ["y"] = -3.90744, + ["x"] = 134.046, + ["name"] = "LightBlock5_79", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock3_5"] = { + ["y"] = -9.84568, + ["x"] = 77.8598, + ["name"] = "LightBlock3_5", + ["angle"] = 0.000336647, + ["definition"] = "LightBlock3", + + }, + ["LightBlock8_16"] = { + ["y"] = -15.0747, + ["x"] = -1.3559, + ["name"] = "LightBlock8_16", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_54"] = { + ["y"] = -27.7623, + ["x"] = -40.5364, + ["name"] = "StaticBlockTheme02_01_54", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_6"] = { + ["y"] = -4.92443, + ["x"] = -3.13801, + ["name"] = "LightBlock8_6", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_13"] = { + ["y"] = -2.05168, + ["x"] = 25.9733, + ["name"] = "LightBlock5_13", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -35.8209, + ["x"] = -31.158, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_2"] = { + ["y"] = -3.91487, + ["x"] = -16.638, + ["name"] = "LightBlock3_2", + ["angle"] = 1.57107, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock5_20"] = { + ["y"] = -11.8875, + ["x"] = 83.8831, + ["name"] = "WoodBlock5_20", + ["angle"] = 0.000389576, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_50"] = { + ["y"] = -15.3999, + ["x"] = -33.2892, + ["name"] = "StaticBlockTheme02_01_50", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -27.6054, + ["x"] = 2.98307, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_9"] = { + ["y"] = -2.0815, + ["x"] = 11.5294, + ["name"] = "LightBlock5_9", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -51.705, + ["x"] = -29.9958, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_23"] = { + ["y"] = -2.05167, + ["x"] = 50.8983, + ["name"] = "LightBlock5_23", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -35.511, + ["x"] = -25.5792, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_1"] = { + ["y"] = -0.632446, + ["x"] = 24.8699, + ["name"] = "LightBlock10_1", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -7.80651, + ["x"] = -30.2674, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_6"] = { + ["y"] = -6.37468, + ["x"] = 107.874, + ["name"] = "WoodBlock10_6", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_40"] = { + ["y"] = -1.77877, + ["x"] = 121.671, + ["name"] = "LightBlock5_40", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["BasicBird2_7"] = { + ["y"] = -57.2444, + ["x"] = -36.4782, + ["name"] = "BasicBird2_7", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["LightBlock5_28"] = { + ["y"] = -1.86974, + ["x"] = 71.8208, + ["name"] = "LightBlock5_28", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_20"] = { + ["y"] = -17.9416, + ["x"] = -4.45523, + ["name"] = "LightBlock8_20", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -51.3968, + ["x"] = -37.1712, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = 3.92714, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -35.9127, + ["x"] = -42.3056, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 4.71262, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock2_2"] = { + ["y"] = -15.4412, + ["x"] = 105.063, + ["name"] = "StoneBlock2_2", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -35.8335, + ["x"] = -43.2561, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 4.71262, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -42.3295, + ["x"] = -19.2256, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_108"] = { + ["y"] = -2.09791, + ["x"] = -82.0803, + ["name"] = "LightBlock5_108", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_43"] = { + ["y"] = -42.209, + ["x"] = -32.7468, + ["name"] = "StaticBlockTheme02_01_43", + ["angle"] = 2.35631, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_27"] = { + ["y"] = -33.1865, + ["x"] = -19.1481, + ["name"] = "StaticBlockTheme02_01_27", + ["angle"] = 5.89051, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_31"] = { + ["y"] = -5.4637, + ["x"] = -80.079, + ["name"] = "LightBlock10_31", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -50.5445, + ["x"] = -19.7375, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBalloon03_4"] = { + ["y"] = -7.70179, + ["x"] = 68.8759, + ["name"] = "StaticBalloon03_4", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -36.361, + ["x"] = -5.23013, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 0.3927, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockTNT_5"] = { + ["y"] = -27.8414, + ["x"] = 123.288, + ["name"] = "ExtraBlockTNT_5", + ["angle"] = 0.000477791, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock5_16"] = { + ["y"] = -4.14392, + ["x"] = 29.9758, + ["name"] = "LightBlock5_16", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_6"] = { + ["y"] = -0.535052, + ["x"] = -25.8581, + ["name"] = "LightBlock1_6", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_80"] = { + ["y"] = -16.4753, + ["x"] = 26.375, + ["name"] = "StaticBlockTheme02_01_80", + ["angle"] = 3.14185, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_46"] = { + ["y"] = -22.2958, + ["x"] = -38.6355, + ["name"] = "StaticBlockTheme02_01_46", + ["angle"] = 0.785525, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_98"] = { + ["y"] = -2.09791, + ["x"] = -48.5133, + ["name"] = "LightBlock5_98", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["ExtraStrongBall_1"] = { + ["y"] = -7.63033, + ["x"] = 107.81, + ["name"] = "ExtraStrongBall_1", + ["angle"] = 0.000424862, + ["definition"] = "ExtraStrongBall", + + }, + ["LightBlock1_11"] = { + ["y"] = -15.3006, + ["x"] = 120.903, + ["name"] = "LightBlock1_11", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock4_1"] = { + ["y"] = -17.1579, + ["x"] = 104.119, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -38.7714, + ["x"] = -17.2258, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["MediumPiglette_5"] = { + ["y"] = -18.3064, + ["x"] = 91.5719, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.000460148, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_04_26"] = { + ["y"] = -8.39543, + ["x"] = 17.4237, + ["name"] = "StaticBlockTheme02_04_26", + ["angle"] = 4.71262, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -48.2975, + ["x"] = -17.4905, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_4"] = { + ["y"] = -0.474017, + ["x"] = 55.4467, + ["name"] = "LightBlock10_4", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -38.606, + ["x"] = -43.3354, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 4.71262, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -25.3595, + ["x"] = -37.5827, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 3.92697, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -50.9301, + ["x"] = -34.4123, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 5.89046, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_11"] = { + ["y"] = -9.10852, + ["x"] = -4.37774, + ["name"] = "LightBlock8_11", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_17"] = { + ["y"] = -2.14264, + ["x"] = 34.3422, + ["name"] = "LightBlock5_17", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_117"] = { + ["y"] = -4.09919, + ["x"] = -69.3449, + ["name"] = "LightBlock5_117", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_49"] = { + ["y"] = -5.16411, + ["x"] = 168.794, + ["name"] = "LightBlock10_49", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_85"] = { + ["y"] = -17.6635, + ["x"] = 24.3154, + ["name"] = "StaticBlockTheme02_01_85", + ["angle"] = 5.89075, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_3"] = { + ["y"] = -9.94777, + ["x"] = 92.7649, + ["name"] = "WoodBlock2_3", + ["angle"] = 1.57116, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_70"] = { + ["y"] = -33.8899, + ["x"] = -20.945, + ["name"] = "StaticBlockTheme02_01_70", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_100"] = { + ["y"] = -2.09791, + ["x"] = -52.6069, + ["name"] = "LightBlock5_100", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -20.3995, + ["x"] = -10.2665, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_119"] = { + ["y"] = -4.00823, + ["x"] = -77.7138, + ["name"] = "LightBlock5_119", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_34"] = { + ["y"] = -5.73661, + ["x"] = -20.8593, + ["name"] = "LightBlock10_34", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_60"] = { + ["y"] = -4.00563, + ["x"] = 59.2172, + ["name"] = "LightBlock5_60", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_3"] = { + ["y"] = -2.29001, + ["x"] = -2.90557, + ["name"] = "LightBlock8_3", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_58"] = { + ["y"] = -4.0966, + ["x"] = 50.9391, + ["name"] = "LightBlock5_58", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock3_6"] = { + ["y"] = -7.80388, + ["x"] = 95.113, + ["name"] = "WoodBlock3_6", + ["angle"] = 0.000389576, + ["definition"] = "WoodBlock3", + + }, + ["LightBlock5_96"] = { + ["y"] = -2.09791, + ["x"] = -44.4198, + ["name"] = "LightBlock5_96", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -16.9913, + ["x"] = -27.9748, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 4.31968, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_18"] = { + ["y"] = -11.8875, + ["x"] = 92.2545, + ["name"] = "WoodBlock5_18", + ["angle"] = 0.000389576, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock3_1"] = { + ["y"] = -2.00455, + ["x"] = -16.82, + ["name"] = "LightBlock3_1", + ["angle"] = 1.57107, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -44.5765, + ["x"] = -40.456, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 5.10506, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_8"] = { + ["y"] = -4.17375, + ["x"] = -19.9453, + ["name"] = "LightBlock5_8", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_64"] = { + ["y"] = -17.922, + ["x"] = -30.3861, + ["name"] = "StaticBlockTheme02_01_64", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_40"] = { + ["y"] = -5.36309, + ["x"] = 76.2811, + ["name"] = "LightBlock10_40", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_84"] = { + ["y"] = -3.91259, + ["x"] = 154.51, + ["name"] = "LightBlock5_84", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_59"] = { + ["y"] = -20.4014, + ["x"] = -34.3378, + ["name"] = "StaticBlockTheme02_01_59", + ["angle"] = 3.53446, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_2"] = { + ["y"] = -0.632446, + ["x"] = 35.0094, + ["name"] = "LightBlock10_2", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_30"] = { + ["y"] = -43.4143, + ["x"] = -12.2522, + ["name"] = "StaticBlockTheme02_01_30", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_23"] = { + ["y"] = -0.522363, + ["x"] = -79.9517, + ["name"] = "LightBlock10_23", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_13"] = { + ["y"] = -12.1304, + ["x"] = -1.43339, + ["name"] = "LightBlock8_13", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -54.0313, + ["x"] = -27.2533, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["BasicBird2_1"] = { + ["y"] = -45.9689, + ["x"] = -2.54729, + ["name"] = "BasicBird2_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -52.1717, + ["x"] = -21.752, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_32"] = { + ["y"] = -5.4637, + ["x"] = -90.2673, + ["name"] = "LightBlock10_32", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -49.6147, + ["x"] = -18.4977, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_11"] = { + ["y"] = -20.5651, + ["x"] = 129.211, + ["name"] = "WoodBlock10_11", + ["angle"] = 1.9638, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_12"] = { + ["y"] = -0.394916, + ["x"] = 126.581, + ["name"] = "LightBlock10_12", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_14"] = { + ["y"] = -0.394916, + ["x"] = 147.018, + ["name"] = "LightBlock10_14", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock10_21"] = { + ["y"] = -12.3979, + ["x"] = 117.981, + ["name"] = "WoodBlock10_21", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_18"] = { + ["y"] = -25.6696, + ["x"] = 117.981, + ["name"] = "WoodBlock10_18", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_8"] = { + ["y"] = -10.8666, + ["x"] = 68.7738, + ["name"] = "WoodBlock10_8", + ["angle"] = 0.785702, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_9"] = { + ["y"] = -0.394922, + ["x"] = 106.302, + ["name"] = "LightBlock10_9", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_86"] = { + ["y"] = -18.218, + ["x"] = 26.8503, + ["name"] = "StaticBlockTheme02_01_86", + ["angle"] = 5.89075, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -53.4889, + ["x"] = -34.1493, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 2.74904, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_69"] = { + ["y"] = -3.8237, + ["x"] = 97.0596, + ["name"] = "LightBlock5_69", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -42.7962, + ["x"] = -15.2435, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -2.73331, + ["x"] = 4.45525, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock1_2"] = { + ["y"] = -15.2695, + ["x"] = 103.432, + ["name"] = "StoneBlock1_2", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock1", + + }, + ["LightBlock8_21"] = { + ["y"] = -19.3363, + ["x"] = -2.90557, + ["name"] = "LightBlock8_21", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["WoodBlock2_6"] = { + ["y"] = -9.84568, + ["x"] = 79.3911, + ["name"] = "WoodBlock2_6", + ["angle"] = 1.57117, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock5_41"] = { + ["y"] = -1.77877, + ["x"] = 125.673, + ["name"] = "LightBlock5_41", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_5"] = { + ["y"] = -0.444086, + ["x"] = 9.98298, + ["name"] = "LightBlock1_5", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.22045, + ["x"] = -30.1899, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_61"] = { + ["y"] = -3.91466, + ["x"] = 63.4017, + ["name"] = "LightBlock5_61", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_36"] = { + ["y"] = -5.4637, + ["x"] = 35.1766, + ["name"] = "LightBlock10_36", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_32"] = { + ["y"] = -51.2401, + ["x"] = -15.5839, + ["name"] = "StaticBlockTheme02_01_32", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_25"] = { + ["y"] = -1.96071, + ["x"] = 59.2673, + ["name"] = "LightBlock5_25", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_53"] = { + ["y"] = -1.86974, + ["x"] = 175.342, + ["name"] = "LightBlock5_53", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_73"] = { + ["y"] = -3.72551, + ["x"] = 109.212, + ["name"] = "LightBlock5_73", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_39"] = { + ["y"] = -52.7897, + ["x"] = -38.5189, + ["name"] = "StaticBlockTheme02_01_39", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_15"] = { + ["y"] = -2.14264, + ["x"] = 30.1577, + ["name"] = "LightBlock5_15", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_37"] = { + ["y"] = -56.1215, + ["x"] = -30.6156, + ["name"] = "StaticBlockTheme02_01_37", + ["angle"] = 3.14167, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_63"] = { + ["y"] = -18.0769, + ["x"] = -31.6259, + ["name"] = "StaticBlockTheme02_01_63", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_75"] = { + ["y"] = -3.81647, + ["x"] = 117.581, + ["name"] = "LightBlock5_75", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_7"] = { + ["y"] = -4.17375, + ["x"] = -24.2207, + ["name"] = "LightBlock5_7", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_2"] = { + ["y"] = -0.895312, + ["x"] = -4.53271, + ["name"] = "LightBlock8_2", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -2.77011, + ["x"] = -33.2117, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_82"] = { + ["y"] = -17.1882, + ["x"] = 22.8103, + ["name"] = "StaticBlockTheme02_01_82", + ["angle"] = 5.89075, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_49"] = { + ["y"] = -1.86974, + ["x"] = 158.786, + ["name"] = "LightBlock5_49", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -20.633, + ["x"] = -30.4543, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 0.785381, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_118"] = { + ["y"] = -4.00823, + ["x"] = -73.4384, + ["name"] = "LightBlock5_118", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_41"] = { + ["y"] = -5.36309, + ["x"] = 86.5604, + ["name"] = "LightBlock10_41", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_4"] = { + ["y"] = -3.83967, + ["x"] = -1.51087, + ["name"] = "LightBlock8_4", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["WoodBlock10_22"] = { + ["y"] = -7.287, + ["x"] = 117.938, + ["name"] = "WoodBlock10_22", + ["angle"] = 0.000442505, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_69"] = { + ["y"] = -33.9674, + ["x"] = -22.2622, + ["name"] = "StaticBlockTheme02_01_69", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_83"] = { + ["y"] = -18.6933, + ["x"] = 30.7318, + ["name"] = "StaticBlockTheme02_01_83", + ["angle"] = 5.89075, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -33.1078, + ["x"] = -41.0695, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 4.71236, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -50.8527, + ["x"] = -25.4243, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 0.39267, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_36"] = { + ["y"] = -1.77877, + ["x"] = 105.115, + ["name"] = "LightBlock5_36", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_74"] = { + ["y"] = -3.81647, + ["x"] = 113.397, + ["name"] = "LightBlock5_74", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_93"] = { + ["y"] = -4.00823, + ["x"] = -36.0508, + ["name"] = "LightBlock5_93", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_116"] = { + ["y"] = -4.09919, + ["x"] = -65.2513, + ["name"] = "LightBlock5_116", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -27.7603, + ["x"] = -8.71687, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_68"] = { + ["y"] = -3.8237, + ["x"] = 92.8751, + ["name"] = "LightBlock5_68", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_14"] = { + ["y"] = -13.5209, + ["x"] = 92.3566, + ["name"] = "WoodBlock10_14", + ["angle"] = 0.000319004, + ["definition"] = "WoodBlock10", + + }, + ["MISC_FB_BARREL_1"] = { + ["y"] = -16.2137, + ["x"] = 68.0692, + ["name"] = "MISC_FB_BARREL_1", + ["angle"] = 0.000442505, + ["definition"] = "MISC_FB_BARREL", + + }, + ["LightBlock5_62"] = { + ["y"] = -3.91466, + ["x"] = 67.6771, + ["name"] = "LightBlock5_62", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_17"] = { + ["y"] = -25.7717, + ["x"] = 128.19, + ["name"] = "WoodBlock10_17", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_1"] = { + ["y"] = -22.5205, + ["x"] = 30.9839, + ["name"] = "WoodBlock10_1", + ["angle"] = 5.89079, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock8_22"] = { + ["y"] = -20.8859, + ["x"] = -4.37774, + ["name"] = "LightBlock8_22", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_27"] = { + ["y"] = -12.0393, + ["x"] = 18.1367, + ["name"] = "StaticBlockTheme02_04_27", + ["angle"] = 5.10532, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock4_6"] = { + ["y"] = -0.364862, + ["x"] = 185.075, + ["name"] = "LightBlock4_6", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock4", + + }, + ["BasicBird2_5"] = { + ["y"] = -58.352, + ["x"] = -29.9136, + ["name"] = "BasicBird2_5", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBalloon03_1"] = { + ["y"] = -14.1335, + ["x"] = 128.701, + ["name"] = "StaticBalloon03_1", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock8_5"] = { + ["y"] = -3.60722, + ["x"] = -4.53271, + ["name"] = "LightBlock8_5", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_123"] = { + ["y"] = -4.09919, + ["x"] = -94.5428, + ["name"] = "LightBlock5_123", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_28"] = { + ["y"] = -15.1287, + ["x"] = 20.117, + ["name"] = "StaticBlockTheme02_04_28", + ["angle"] = 5.49802, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_79"] = { + ["y"] = -17.4259, + ["x"] = 30.6526, + ["name"] = "StaticBlockTheme02_01_79", + ["angle"] = 2.74915, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_06_1"] = { + ["y"] = -10.6624, + ["x"] = 105.424, + ["name"] = "StaticBlockTheme02_06_1", + ["angle"] = 0.000336647, + ["definition"] = "StaticBlockTheme02_06", + + }, + ["StaticBlockTheme02_01_40"] = { + ["y"] = -49.0706, + ["x"] = -40.9209, + ["name"] = "StaticBlockTheme02_01_40", + ["angle"] = 5.10519, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_10"] = { + ["y"] = -13.5232, + ["x"] = 122.07, + ["name"] = "WoodBlock2_10", + ["angle"] = 0, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock5_87"] = { + ["y"] = -3.91259, + ["x"] = 166.972, + ["name"] = "LightBlock5_87", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_33"] = { + ["y"] = -5.4637, + ["x"] = -100.547, + ["name"] = "LightBlock10_33", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_44"] = { + ["y"] = -5.27212, + ["x"] = 117.398, + ["name"] = "LightBlock10_44", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_3"] = { + ["y"] = -15.4412, + ["x"] = 90.3858, + ["name"] = "StoneBlock6_3", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock5_94"] = { + ["y"] = -2.00695, + ["x"] = -40.2353, + ["name"] = "LightBlock5_94", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_52"] = { + ["y"] = -0.382843, + ["x"] = 116.58, + ["name"] = "LightBlock10_52", + ["angle"] = 0, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_62"] = { + ["y"] = -19.4716, + ["x"] = -30.9285, + ["name"] = "StaticBlockTheme02_01_62", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBalloon03_5"] = { + ["y"] = -12.6239, + ["x"] = 63.8818, + ["name"] = "StaticBalloon03_5", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = -39.9336, + ["x"] = -16.1411, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_91"] = { + ["y"] = -3.82162, + ["x"] = 183.528, + ["name"] = "LightBlock5_91", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_120"] = { + ["y"] = -4.09919, + ["x"] = -82.1712, + ["name"] = "LightBlock5_120", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_45"] = { + ["y"] = -1.77877, + ["x"] = 142.229, + ["name"] = "LightBlock5_45", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -36.0534, + ["x"] = -29.3759, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 3.53427, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_29"] = { + ["y"] = -39.0753, + ["x"] = -13.1045, + ["name"] = "StaticBlockTheme02_01_29", + ["angle"] = 5.10513, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_24"] = { + ["y"] = -1.96071, + ["x"] = 55.1738, + ["name"] = "LightBlock5_24", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_4"] = { + ["y"] = -6.37468, + ["x"] = 87.5583, + ["name"] = "WoodBlock10_4", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_46"] = { + ["y"] = -5.16411, + ["x"] = 137.865, + ["name"] = "LightBlock10_46", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_83"] = { + ["y"] = -3.91259, + ["x"] = 146.413, + ["name"] = "LightBlock5_83", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_21"] = { + ["y"] = -0.522363, + ["x"] = -59.5751, + ["name"] = "LightBlock10_21", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_38"] = { + ["y"] = -55.2692, + ["x"] = -34.9547, + ["name"] = "StaticBlockTheme02_01_38", + ["angle"] = 5.89057, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_105"] = { + ["y"] = -1.91598, + ["x"] = -69.3449, + ["name"] = "LightBlock5_105", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_35"] = { + ["y"] = -55.2692, + ["x"] = -23.2547, + ["name"] = "StaticBlockTheme02_01_35", + ["angle"] = 0.392772, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_77"] = { + ["y"] = -3.81647, + ["x"] = 125.768, + ["name"] = "LightBlock5_77", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock6_7"] = { + ["y"] = -16.3854, + ["x"] = 101.973, + ["name"] = "StoneBlock6_7", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -37.913, + ["x"] = -41.6957, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -39.1527, + ["x"] = -33.405, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_74"] = { + ["y"] = -18.6141, + ["x"] = 22.7311, + ["name"] = "StaticBlockTheme02_01_74", + ["angle"] = 5.89072, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_101"] = { + ["y"] = -4.19016, + ["x"] = -52.6978, + ["name"] = "LightBlock5_101", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_8"] = { + ["y"] = -6.55158, + ["x"] = -4.30026, + ["name"] = "LightBlock8_8", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_97"] = { + ["y"] = -4.19016, + ["x"] = -44.4198, + ["name"] = "LightBlock5_97", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -11.4889, + ["x"] = -10.2665, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock10_19"] = { + ["y"] = -0.61333, + ["x"] = -39.1074, + ["name"] = "LightBlock10_19", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -10.869, + ["x"] = 4.53273, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_2"] = { + ["y"] = -15.8704, + ["x"] = 107.037, + ["name"] = "StoneBlock3_2", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock5_82"] = { + ["y"] = -3.91259, + ["x"] = 150.325, + ["name"] = "LightBlock5_82", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_85"] = { + ["y"] = -3.91259, + ["x"] = 158.694, + ["name"] = "LightBlock5_85", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -33.419, + ["x"] = -27.5938, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 0.392705, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_86"] = { + ["y"] = -3.82162, + ["x"] = 162.878, + ["name"] = "LightBlock5_86", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_88"] = { + ["y"] = -3.91259, + ["x"] = 171.066, + ["name"] = "LightBlock5_88", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock2_1"] = { + ["y"] = -2.00435, + ["x"] = 14.2793, + ["name"] = "LightBlock2_1", + ["angle"] = 1.57107, + ["definition"] = "LightBlock2", + + }, + ["LightBlock5_89"] = { + ["y"] = -3.91259, + ["x"] = 175.159, + ["name"] = "LightBlock5_89", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_29"] = { + ["y"] = -1.86974, + ["x"] = 76.0053, + ["name"] = "LightBlock5_29", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -48.5282, + ["x"] = -21.8601, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 0.78537, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_103"] = { + ["y"] = -2.00695, + ["x"] = -61.0668, + ["name"] = "LightBlock5_103", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_52"] = { + ["y"] = -46.9028, + ["x"] = -40.348, + ["name"] = "StaticBlockTheme02_01_52", + ["angle"] = 5.10525, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_15"] = { + ["y"] = -0.394916, + ["x"] = 157.237, + ["name"] = "LightBlock10_15", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_76"] = { + ["y"] = -3.81647, + ["x"] = 121.675, + ["name"] = "LightBlock5_76", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_15"] = { + ["y"] = -7.90597, + ["x"] = 78.9828, + ["name"] = "WoodBlock5_15", + ["angle"] = 0.000371933, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_81"] = { + ["y"] = -16.0792, + ["x"] = 23.9986, + ["name"] = "StaticBlockTheme02_01_81", + ["angle"] = 5.89075, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_5"] = { + ["y"] = -9.74359, + ["x"] = 84.3935, + ["name"] = "WoodBlock2_5", + ["angle"] = 1.57117, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock10_6"] = { + ["y"] = -0.315704, + ["x"] = 75.7251, + ["name"] = "LightBlock10_6", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_76"] = { + ["y"] = -20.1984, + ["x"] = 31.2071, + ["name"] = "StaticBlockTheme02_01_76", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_6"] = { + ["y"] = -2.17246, + ["x"] = -20.0362, + ["name"] = "LightBlock5_6", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_18"] = { + ["y"] = -0.522363, + ["x"] = -20.2772, + ["name"] = "LightBlock10_18", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_111"] = { + ["y"] = -2.09791, + ["x"] = -94.8157, + ["name"] = "LightBlock5_111", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_44"] = { + ["y"] = -1.77877, + ["x"] = 138.136, + ["name"] = "LightBlock5_44", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_81"] = { + ["y"] = -3.90744, + ["x"] = 142.325, + ["name"] = "LightBlock5_81", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_39"] = { + ["y"] = -1.77877, + ["x"] = 117.486, + ["name"] = "LightBlock5_39", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["SmallPiglette_3"] = { + ["y"] = -7.80199, + ["x"] = 100.085, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.393106, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock6_2"] = { + ["y"] = -14.4112, + ["x"] = 95.5358, + ["name"] = "StoneBlock6_2", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock5_95"] = { + ["y"] = -4.09919, + ["x"] = -40.2353, + ["name"] = "LightBlock5_95", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_17"] = { + ["y"] = -9.84568, + ["x"] = 90.2127, + ["name"] = "WoodBlock5_17", + ["angle"] = 0.000371933, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_104"] = { + ["y"] = -1.91598, + ["x"] = -65.1604, + ["name"] = "LightBlock5_104", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_32"] = { + ["y"] = -1.77877, + ["x"] = 88.4678, + ["name"] = "LightBlock5_32", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_1"] = { + ["y"] = -12.3979, + ["x"] = 69.3863, + ["name"] = "WoodBlock2_1", + ["angle"] = 2.74924, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -6.47677, + ["x"] = 77.3493, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock10", + + }, + ["ExtraTire03_1"] = { + ["y"] = -27.498, + ["x"] = 120.283, + ["name"] = "ExtraTire03_1", + ["angle"] = 0.000477791, + ["definition"] = "ExtraTire03", + + }, + ["LightBlock5_54"] = { + ["y"] = -1.77877, + ["x"] = 179.526, + ["name"] = "LightBlock5_54", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_56"] = { + ["y"] = -23.4233, + ["x"] = -37.4371, + ["name"] = "StaticBlockTheme02_01_56", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_15"] = { + ["y"] = -13.5209, + ["x"] = 102.463, + ["name"] = "WoodBlock10_15", + ["angle"] = 0.000319004, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_107"] = { + ["y"] = -2.00695, + ["x"] = -77.8958, + ["name"] = "LightBlock5_107", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_55"] = { + ["y"] = -1.86974, + ["x"] = 183.711, + ["name"] = "LightBlock5_55", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_73"] = { + ["y"] = -45.1808, + ["x"] = -42.5432, + ["name"] = "StaticBlockTheme02_01_73", + ["angle"] = 1.9637, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_2"] = { + ["y"] = -9.84568, + ["x"] = 95.7255, + ["name"] = "WoodBlock2_2", + ["angle"] = 1.57116, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_9"] = { + ["y"] = -18.0129, + ["x"] = 61.6275, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.785702, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_113"] = { + ["y"] = -2.09791, + ["x"] = -103.003, + ["name"] = "LightBlock5_113", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_29"] = { + ["y"] = -5.64564, + ["x"] = -59.6114, + ["name"] = "LightBlock10_29", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_23"] = { + ["y"] = -20.8085, + ["x"] = -1.3559, + ["name"] = "LightBlock8_23", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_66"] = { + ["y"] = -3.8237, + ["x"] = 84.3242, + ["name"] = "LightBlock5_66", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_13"] = { + ["y"] = -7.80388, + ["x"] = 87.3542, + ["name"] = "WoodBlock5_13", + ["angle"] = 0.000371933, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_16"] = { + ["y"] = -9.84568, + ["x"] = 81.8413, + ["name"] = "WoodBlock5_16", + ["angle"] = 0.000371933, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_61"] = { + ["y"] = -19.4716, + ["x"] = -30.9285, + ["name"] = "StaticBlockTheme02_01_61", + ["angle"] = 3.92716, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_28"] = { + ["y"] = -35.511, + ["x"] = -15.5064, + ["name"] = "StaticBlockTheme02_01_28", + ["angle"] = 2.35622, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_31"] = { + ["y"] = -1.86974, + ["x"] = 84.2833, + ["name"] = "LightBlock5_31", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_49"] = { + ["y"] = -16.9495, + ["x"] = -33.2892, + ["name"] = "StaticBlockTheme02_01_49", + ["angle"] = 1.17824, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_19"] = { + ["y"] = -4.14392, + ["x"] = 38.3448, + ["name"] = "LightBlock5_19", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_130"] = { + ["y"] = -9.79833, + ["x"] = 121.345, + ["name"] = "LightBlock5_130", + ["angle"] = 1.5708, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -40.3925, + ["x"] = -19.6905, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 1.96347, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_66"] = { + ["y"] = -34.8197, + ["x"] = -27.4536, + ["name"] = "StaticBlockTheme02_01_66", + ["angle"] = 0.392878, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_71"] = { + ["y"] = -36.6018, + ["x"] = -19.0854, + ["name"] = "StaticBlockTheme02_01_71", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_7"] = { + ["y"] = -6.27253, + ["x"] = 117.981, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_12"] = { + ["y"] = -13.5209, + ["x"] = 72.0406, + ["name"] = "WoodBlock10_12", + ["angle"] = 0.000319004, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -53.3339, + ["x"] = -24.7739, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_26"] = { + ["y"] = -1.86974, + ["x"] = 63.4518, + ["name"] = "LightBlock5_26", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock6_9"] = { + ["y"] = -18.1879, + ["x"] = 102.917, + ["name"] = "StoneBlock6_9", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -37.913, + ["x"] = -41.6957, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock6_4"] = { + ["y"] = -14.4112, + ["x"] = 103.862, + ["name"] = "StoneBlock6_4", + ["angle"] = 0.000460148, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock10_48"] = { + ["y"] = -5.25508, + ["x"] = 158.514, + ["name"] = "LightBlock10_48", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_124"] = { + ["y"] = -4.00823, + ["x"] = -98.6363, + ["name"] = "LightBlock5_124", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_34"] = { + ["y"] = -1.77877, + ["x"] = 96.7458, + ["name"] = "LightBlock5_34", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_51"] = { + ["y"] = -48.22, + ["x"] = -39.8831, + ["name"] = "StaticBlockTheme02_01_51", + ["angle"] = 5.10525, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_14"] = { + ["y"] = -12.2078, + ["x"] = -4.53271, + ["name"] = "LightBlock8_14", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock1_9"] = { + ["y"] = -19.3225, + ["x"] = 99.7504, + ["name"] = "LightBlock1_9", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_44"] = { + ["y"] = -44.611, + ["x"] = -29.1826, + ["name"] = "StaticBlockTheme02_01_44", + ["angle"] = 2.74901, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_90"] = { + ["y"] = -3.73066, + ["x"] = 179.344, + ["name"] = "LightBlock5_90", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_9"] = { + ["y"] = -7.80388, + ["x"] = 91.7441, + ["name"] = "WoodBlock5_9", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_57"] = { + ["y"] = -4.18757, + ["x"] = 46.7547, + ["name"] = "LightBlock5_57", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_33"] = { + ["y"] = -53.5646, + ["x"] = -19.0707, + ["name"] = "StaticBlockTheme02_01_33", + ["angle"] = 3.53436, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -20.167, + ["x"] = 4.53273, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["Estrade01_1"] = { + ["y"] = -43.7994, + ["x"] = -2.70226, + ["name"] = "Estrade01_1", + ["angle"] = 4.76837e-007, + ["definition"] = "Estrade01", + + }, + ["LightBlock5_37"] = { + ["y"] = -1.77877, + ["x"] = 109.208, + ["name"] = "LightBlock5_37", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_7"] = { + ["y"] = -12.0917, + ["x"] = 105.526, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -22.9575, + ["x"] = -33.941, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 3.53427, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -38.3004, + ["x"] = -41.0759, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 4.71236, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_14"] = { + ["y"] = -7.80388, + ["x"] = 83.1685, + ["name"] = "WoodBlock5_14", + ["angle"] = 0.000371933, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock10_38"] = { + ["y"] = -5.54502, + ["x"] = 55.7225, + ["name"] = "LightBlock10_38", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_17"] = { + ["y"] = -14.9972, + ["x"] = -4.37774, + ["name"] = "LightBlock8_17", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock10_20"] = { + ["y"] = -0.522363, + ["x"] = -49.3867, + ["name"] = "LightBlock10_20", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_10"] = { + ["y"] = -4.08278, + ["x"] = 11.4385, + ["name"] = "LightBlock5_10", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_38"] = { + ["y"] = -1.86974, + ["x"] = 113.302, + ["name"] = "LightBlock5_38", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_9"] = { + ["y"] = -7.86879, + ["x"] = -2.67311, + ["name"] = "LightBlock8_9", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock10_28"] = { + ["y"] = -5.4637, + ["x"] = -49.3321, + ["name"] = "LightBlock10_28", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock10", + + }, + ["StaticBalloon03_3"] = { + ["y"] = -7.8424, + ["x"] = 126.093, + ["name"] = "StaticBalloon03_3", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme02_01_36"] = { + ["y"] = -56.1215, + ["x"] = -27.5163, + ["name"] = "StaticBlockTheme02_01_36", + ["angle"] = 3.14167, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_35"] = { + ["y"] = -1.77877, + ["x"] = 100.93, + ["name"] = "LightBlock5_35", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_43"] = { + ["y"] = -1.86974, + ["x"] = 134.042, + ["name"] = "LightBlock5_43", + ["angle"] = 0.000266075, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_106"] = { + ["y"] = -2.00695, + ["x"] = -73.6203, + ["name"] = "LightBlock5_106", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["MediumPiglette_3"] = { + ["y"] = -15.8704, + ["x"] = 72.275, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.393143, + ["definition"] = "MediumPiglette", + + }, + ["StaticBalloon03_9"] = { + ["y"] = -23.3862, + ["x"] = 116.388, + ["name"] = "StaticBalloon03_9", + ["angle"] = 0, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -46.283, + ["x"] = -15.3984, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock8_10"] = { + ["y"] = -9.49594, + ["x"] = -1.3559, + ["name"] = "LightBlock8_10", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["LightBlock4_7"] = { + ["y"] = -5.57428, + ["x"] = 11.3914, + ["name"] = "LightBlock4_7", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock4", + + }, + ["LargePiglette_3"] = { + ["y"] = -17.2436, + ["x"] = 118.024, + ["name"] = "LargePiglette_3", + ["angle"] = 0.000424862, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_01_53"] = { + ["y"] = -50.777, + ["x"] = -38.1784, + ["name"] = "StaticBlockTheme02_01_53", + ["angle"] = 5.10525, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BasicBird2_3"] = { + ["y"] = -38.0515, + ["x"] = -25.9619, + ["name"] = "BasicBird2_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -14.3926, + ["x"] = -30.1899, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -11.5257, + ["x"] = -30.1899, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -36.2859, + ["x"] = -22.6349, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_24"] = { + ["y"] = -22.3581, + ["x"] = -2.82808, + ["name"] = "LightBlock8_24", + ["angle"] = 6.28318, + ["definition"] = "LightBlock8", + + }, + ["BLOCK_GREEN_SPANNER_2_1"] = { + ["y"] = -8.91782, + ["x"] = 97.5959, + ["name"] = "BLOCK_GREEN_SPANNER_2_1", + ["angle"] = 5.89091, + ["definition"] = "BLOCK_GREEN_SPANNER_2", + + }, + ["LightBlock5_99"] = { + ["y"] = -4.09919, + ["x"] = -48.5133, + ["name"] = "LightBlock5_99", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_71"] = { + ["y"] = -3.81647, + ["x"] = 101.116, + ["name"] = "LightBlock5_71", + ["angle"] = 0.000283718, + ["definition"] = "LightBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraBlockFlag01"] = 1, + ["StoneBlock6"] = 9, + ["MediumPiglette"] = 5, + ["LightBlock5"] = 130, + ["StaticBlockTheme02_04"] = 28, + ["LightBlock3"] = 5, + ["BLOCK_GREEN_GOGGLES"] = 5, + ["StaticBlockTheme01_02"] = 2, + ["StaticBlockTheme01_03"] = 5, + ["StoneBlock2"] = 2, + ["StaticBlockTheme01_04"] = 2, + ["WoodBlock2"] = 10, + ["WoodBlock10"] = 22, + ["StoneBlock1"] = 2, + ["MISC_FB_BARREL"] = 1, + ["WoodBlock1"] = 1, + ["ExtraStrongBall"] = 2, + ["LargePiglette"] = 3, + ["ExtraTire03"] = 1, + ["BasicBird2"] = 8, + ["BLOCK_GREEN_SPANNER_2"] = 1, + ["RedBird"] = 4, + ["ExtraPoleRed"] = 1, + ["SpecialBlockStart"] = 1, + ["Estrade01"] = 1, + ["ExtraBlockTNT"] = 5, + ["ExtraSheriffHat_2"] = 2, + ["SpecialBlockSwing"] = 1, + ["WoodBlock6"] = 5, + ["StaticBlockTheme02_06"] = 1, + ["LightBlock2"] = 3, + ["SmallPiglette"] = 4, + ["StoneBlock4"] = 1, + ["StaticBlockTheme02_01"] = 86, + ["ExtraTreasureChest"] = 1, + ["WoodBlock4"] = 9, + ["StaticBlockTheme01_01"] = 2, + ["StaticBlockTheme02_03"] = 1, + ["WoodBlock5"] = 21, + ["StaticBlockTheme02_02"] = 10, + ["StaticBalloon03"] = 9, + ["WoodBlock3"] = 7, + ["LightBlock8"] = 25, + ["StoneBlock5"] = 6, + ["BLOCK_GREEN_PILOTHELMET"] = 2, + ["LightBlock1"] = 12, + ["LightBlock10"] = 52, + ["StoneBlock3"] = 2, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme01_05"] = 14, + ["LightBlock4"] = 9, + +} +theme = "theme2" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -216.242, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 83.3111, + ["screenWidth"] = 480, + ["py"] = -216.242, + ["screenHeight"] = 320, + ["top"] = -512.553, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["px"] = 76.4603, + ["left"] = -368.006, + ["right"] = 1978.26, + + }, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["windows"] = { + ["bottom"] = 462.624, + ["screenWidth"] = 1366, + ["py"] = -681.391, + ["screenHeight"] = 768, + ["top"] = -1825.41, + ["sy"] = 0.33566, + ["sx"] = 0.33566, + ["px"] = 949.43, + ["left"] = -1085.37, + ["right"] = 2984.23, + + }, + ["px"] = 76.4603, + ["ipad"] = { + ["sy"] = 0.780191, + ["sx"] = 0.780191, + ["px"] = 228.013, + ["py"] = -239.863, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["version"] = "0.02", + +} +filename = "Level8.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level9.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level9.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..acbbc5dec46035d97f300dd8a0b9315b88b4228c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack1/temp/Level9.temp.lua @@ -0,0 +1,618 @@ +themeSprites = { + +} +castleCameraData = { + ["right"] = 1757.16, + ["bottom"] = 114.695, + ["screenWidth"] = 480, + ["py"] = -221.121, + ["screenHeight"] = 320, + ["left"] = 749.717, + ["top"] = -556.937, + ["iphone"] = { + ["bottom"] = 114.695, + ["screenWidth"] = 480, + ["py"] = -221.121, + ["screenHeight"] = 320, + ["top"] = -556.937, + ["sy"] = 0.476452, + ["sx"] = 0.476452, + ["right"] = 1757.16, + ["left"] = 749.717, + ["px"] = 1253.44, + + }, + ["version"] = "0.02", + ["sx"] = 0.476452, + ["windows"] = { + ["bottom"] = 224.674, + ["screenWidth"] = 1366, + ["py"] = -399.371, + ["screenHeight"] = 768, + ["top"] = -1023.42, + ["sy"] = 0.61534, + ["sx"] = 0.61534, + ["right"] = 2402.98, + ["left"] = 183.065, + ["px"] = 1293.02, + + }, + ["sy"] = 0.476452, + ["ipad"] = { + ["sy"] = 0.556194, + ["sx"] = 0.556194, + ["px"] = 1234.27, + ["py"] = -257.768, + ["screenHeight"] = 574, + ["screenWidth"] = 755, + + }, + ["px"] = 1253.44, + +} +levelParticles = { + ["y"] = -2001.96, + ["x"] = 2629.54, + ["firstFrame"] = true, + ["width"] = 6880.66, + +} +joints = { + ["StoneBlock10_2StoneBlock8_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock8_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock10_2StoneBlock8_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock10_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock10_2StoneBlock8_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock8_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock10_2StoneBlock8_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock10_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + +} +world = { + ["StoneBlock4_3"] = { + ["y"] = -2.17747, + ["x"] = 95.2613, + ["name"] = "StoneBlock4_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -1.04085, + ["x"] = 5.49219, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["MISC_FB_UMBRELLA_BOTTOM_2"] = { + ["y"] = -4.0561, + ["x"] = 82.5166, + ["name"] = "MISC_FB_UMBRELLA_BOTTOM_2", + ["angle"] = 0, + ["definition"] = "MISC_FB_UMBRELLA_BOTTOM", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = 2.07211, + ["x"] = 88.4358, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_4"] = { + ["y"] = -5.58737, + ["x"] = 71.7058, + ["name"] = "MediumPiglette_4", + ["angle"] = 2.86102e-006, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock2_4"] = { + ["y"] = -3.18529, + ["x"] = 66.3703, + ["name"] = "StoneBlock2_4", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock11_4"] = { + ["y"] = -17.1438, + ["x"] = 77.148, + ["name"] = "StoneBlock11_4", + ["angle"] = 4.71236, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock6_4"] = { + ["y"] = -8.14052, + ["x"] = 88.5029, + ["name"] = "StoneBlock6_4", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock2_6"] = { + ["y"] = -9.97133, + ["x"] = 83.8393, + ["name"] = "StoneBlock2_6", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 52.4936, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock3_8"] = { + ["y"] = -1.85341, + ["x"] = 13.6178, + ["name"] = "StoneBlock3_8", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock10_4"] = { + ["y"] = -0.430569, + ["x"] = 98.352, + ["name"] = "StoneBlock10_4", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["LargePiglette_2"] = { + ["y"] = -5.11705, + ["x"] = 78.4246, + ["name"] = "LargePiglette_2", + ["angle"] = 2.86102e-006, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock8_1"] = { + ["y"] = -11.9031, + ["x"] = 76.8121, + ["name"] = "StoneBlock8_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock8", + + }, + ["StoneBlock8_2"] = { + ["y"] = -11.9031, + ["x"] = 83.8669, + ["name"] = "StoneBlock8_2", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock8", + + }, + ["StoneBlock2_5"] = { + ["y"] = -9.97133, + ["x"] = 76.7845, + ["name"] = "StoneBlock2_5", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock10_2"] = { + ["y"] = -14.725, + ["x"] = 80.3731, + ["name"] = "StoneBlock10_2", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock4_6"] = { + ["y"] = -0.390805, + ["x"] = -3.60847, + ["name"] = "StoneBlock4_6", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock4_1"] = { + ["y"] = -10.0218, + ["x"] = 80.2388, + ["name"] = "StoneBlock4_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock6_6"] = { + ["y"] = -1.43839, + ["x"] = 62.8765, + ["name"] = "StoneBlock6_6", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock11_1"] = { + ["y"] = -10.4921, + ["x"] = 87.4278, + ["name"] = "StoneBlock11_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock5_2"] = { + ["y"] = -5.72174, + ["x"] = 85.7481, + ["name"] = "StoneBlock5_2", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["MISC_FB_SMALL_HAT_1"] = { + ["y"] = -7.26708, + ["x"] = 78.6262, + ["name"] = "MISC_FB_SMALL_HAT_1", + ["angle"] = 2.86102e-006, + ["definition"] = "MISC_FB_SMALL_HAT", + + }, + ["StoneBlock9_1"] = { + ["y"] = -12.4406, + ["x"] = 80.306, + ["name"] = "StoneBlock9_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock4_2"] = { + ["y"] = -2.31184, + ["x"] = 64.9594, + ["name"] = "StoneBlock4_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock3_5"] = { + ["y"] = -9.68586, + ["x"] = 68.6823, + ["name"] = "StoneBlock3_5", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock6_2"] = { + ["y"] = -3.23577, + ["x"] = 88.7716, + ["name"] = "StoneBlock6_2", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock11_2"] = { + ["y"] = -10.6937, + ["x"] = 73.2511, + ["name"] = "StoneBlock11_2", + ["angle"] = 4.71238, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock10_3"] = { + ["y"] = -0.497757, + ["x"] = 61.8687, + ["name"] = "StoneBlock10_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = 2.07211, + ["x"] = 71.7729, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -3.30296, + ["x"] = 71.5714, + ["name"] = "StoneBlock6_1", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 2.07211, + ["x"] = 80.2387, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -9.08116, + ["x"] = 80.3059, + ["name"] = "StoneBlock10_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock6_3"] = { + ["y"] = -8.20771, + ["x"] = 71.9745, + ["name"] = "StoneBlock6_3", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock5_3"] = { + ["y"] = -5.58737, + ["x"] = 91.5935, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_4"] = { + ["y"] = -5.78893, + ["x"] = 74.5949, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock5", + + }, + ["BlackBird_1"] = { + ["y"] = -4.61611, + ["x"] = 10.5301, + ["name"] = "BlackBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["BlackBird_2"] = { + ["y"] = -4.61611, + ["x"] = 5.08592, + ["name"] = "BlackBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["MediumPiglette_3"] = { + ["y"] = -5.52018, + ["x"] = 88.6372, + ["name"] = "MediumPiglette_3", + ["angle"] = 2.86102e-006, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock3_6"] = { + ["y"] = -9.61867, + ["x"] = 91.5935, + ["name"] = "StoneBlock3_6", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock5_1"] = { + ["y"] = -5.78893, + ["x"] = 68.8167, + ["name"] = "StoneBlock5_1", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock4_7"] = { + ["y"] = -0.447205, + ["x"] = 14.6039, + ["name"] = "StoneBlock4_7", + ["angle"] = 0, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock12_1"] = { + ["y"] = -12.7093, + ["x"] = 68.6151, + ["name"] = "StoneBlock12_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock12", + + }, + ["MISC_FB_UMBRELLA_TOP_2"] = { + ["y"] = -6.41252, + ["x"] = 82.5979, + ["name"] = "MISC_FB_UMBRELLA_TOP_2", + ["angle"] = 0, + ["definition"] = "MISC_FB_UMBRELLA_TOP", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = 1.42168, + ["x"] = 3.22807, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_7"] = { + ["y"] = -1.6909, + ["x"] = -2.55214, + ["name"] = "StoneBlock3_7", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock11_3"] = { + ["y"] = -17.0766, + ["x"] = 83.5981, + ["name"] = "StoneBlock11_3", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock12_2"] = { + ["y"] = -12.575, + ["x"] = 91.4591, + ["name"] = "StoneBlock12_2", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.04085, + ["x"] = 10.205, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["BlackBird_3"] = { + ["y"] = -4.67251, + ["x"] = -0.022171, + ["name"] = "BlackBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock6_5"] = { + ["y"] = -1.37121, + ["x"] = 97.4786, + ["name"] = "StoneBlock6_5", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock2_3"] = { + ["y"] = -3.11811, + ["x"] = 93.9176, + ["name"] = "StoneBlock2_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["SmallPiglette_6"] = { + ["y"] = -16.2703, + ["x"] = 80.3731, + ["name"] = "SmallPiglette_6", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 6, + ["MediumPiglette"] = 4, + ["LightBlock5"] = 1, + ["StaticBlockTheme02_04"] = 2, + ["StoneBlock11"] = 4, + ["StoneBlock3"] = 8, + ["StaticBlockTheme01_02"] = 2, + ["StaticBlockTheme01_03"] = 1, + ["StoneBlock2"] = 6, + ["HatPiglette"] = 1, + ["StoneBlock1"] = 4, + ["StaticBlockTheme01_05"] = 5, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock3"] = 6, + ["SmallBlueBird"] = 3, + ["BlackBird"] = 3, + ["StoneBlock10"] = 4, + ["SmallPiglette"] = 6, + ["MISC_FB_UMBRELLA_TOP"] = 2, + ["StoneBlock4"] = 7, + ["StoneBlock12"] = 2, + ["StoneBlock8"] = 2, + ["StoneBlock9"] = 1, + ["KingPiglette"] = 1, + ["StaticBlockTheme02_05"] = 4, + ["RedBird"] = 1, + ["ImmovableWall03"] = 3, + ["MISC_FB_SMALL_HAT"] = 1, + ["WoodBlock5"] = 6, + ["StoneBlock5"] = 4, + ["ImmovableWall02"] = 1, + ["WoodBlock6"] = 3, + ["WoodBlock4"] = 2, + ["MISC_FB_UMBRELLA_BOTTOM"] = 2, + ["ExtraPoleYellow"] = 1, + ["GrandpaPiglette"] = 1, + ["LightBlock3"] = 14, + ["LightBlock4"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -204.953, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 114.695, + ["screenWidth"] = 480, + ["py"] = -204.953, + ["screenHeight"] = 320, + ["top"] = -540.769, + ["sy"] = 0.476452, + ["sx"] = 0.476452, + ["right"] = 1757.16, + ["left"] = -432.238, + ["px"] = 71.4855, + + }, + ["version"] = "0.02", + ["sx"] = 0.476452, + ["windows"] = { + ["bottom"] = 224.674, + ["screenWidth"] = 1366, + ["py"] = -329.589, + ["screenHeight"] = 768, + ["top"] = -953.634, + ["sy"] = 0.61534, + ["sx"] = 0.61534, + ["right"] = 2402.98, + ["left"] = -255.812, + ["px"] = 854.143, + + }, + ["px"] = 71.4855, + ["ipad"] = { + ["bottom"] = 258.239, + ["screenWidth"] = 755, + ["py"] = -248.607, + ["screenHeight"] = 574, + ["top"] = -764.614, + ["sy"] = 0.556194, + ["sx"] = 0.556194, + ["px"] = 253.695, + ["left"] = -425.025, + ["right"] = 1952.55, + + }, + ["sy"] = 0.476452, + +} +filename = "Level9.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_442.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_442.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfdc6fdba3ef98012abc636ac2f1d18fbe28c527 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_442.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_443.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_443.lua new file mode 100644 index 0000000000000000000000000000000000000000..91d815ce72224196a9457ffea32c62c5f8122227 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_443.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_444.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_444.lua new file mode 100644 index 0000000000000000000000000000000000000000..815060e77f05387c181872e4d1d8d9298f926c02 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_444.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_445.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_445.lua new file mode 100644 index 0000000000000000000000000000000000000000..413db76b9696df162fd2961e24bc206c2d0c802b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_445.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_448.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_448.lua new file mode 100644 index 0000000000000000000000000000000000000000..28f4eb5b57c42eb34728713b17a61e03ce2a8dc0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_448.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_449.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_449.lua new file mode 100644 index 0000000000000000000000000000000000000000..55be9d46400535736ff713edbb0010ad8c19b2d0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_449.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_451.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_451.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d4819039b15ae0e516a0fdc2da520266a2ba0b6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_451.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_452.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_452.lua new file mode 100644 index 0000000000000000000000000000000000000000..269ea7b082a163908145f44f1baec45990e7bc27 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_452.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_453.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_453.lua new file mode 100644 index 0000000000000000000000000000000000000000..c10eeee6339ad585f0a8714f50c2431e7136619d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_453.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_454.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_454.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b1974864de4ee721a67591f221b18a8aca5553 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_454.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_455.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_455.lua new file mode 100644 index 0000000000000000000000000000000000000000..3599fc2737abf32dbaed4e6802221aaa3a620fa7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_455.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_457.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_457.lua new file mode 100644 index 0000000000000000000000000000000000000000..a89f1c73e5e42a9d845dea958dd64286c39275e8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_457.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_458.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_458.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a6233c47b38143f845fbfec51388f3e157455e2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_458.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_459.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_459.lua new file mode 100644 index 0000000000000000000000000000000000000000..bcea8a9098a5cbfe7b21f676ae5ae7309c1fcffb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_459.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_462.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_462.lua new file mode 100644 index 0000000000000000000000000000000000000000..ae9c1f1da81087c8c4eeecb110e0ce17d4420454 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack10/LevelP4_462.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack10/temp/LevelP4_462.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack10/temp/LevelP4_462.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f4cd8c1ba9c20ecb2cde3689978862a4d163bc2 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack10/temp/LevelP4_462.temp.lua @@ -0,0 +1,1053 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 102.884, + ["px"] = 991.506, + ["py"] = -376.517, + ["screenHeight"] = 320, + ["right"] = 1710.61, + ["top"] = -855.918, + ["iphone"] = { + ["sy"] = 0.268972, + ["sx"] = 0.268972, + ["px"] = 1007.81, + ["py"] = -544.365, + ["screenHeight"] = 320, + ["screenWidth"] = 480, + + }, + ["version"] = "0.02", + ["sx"] = 0.33375, + ["windows"] = { + ["bottom"] = 117.144, + ["screenWidth"] = 1366, + ["py"] = -539.756, + ["screenHeight"] = 768, + ["top"] = -1196.66, + ["sy"] = 0.584564, + ["sx"] = 0.584564, + ["right"] = 2182.11, + ["left"] = -154.672, + ["px"] = 1013.72, + + }, + ["sy"] = 0.33375, + ["ipad"] = { + ["sy"] = 0.584564, + ["sx"] = 0.584564, + ["px"] = 1013.72, + ["py"] = -539.756, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["left"] = 272.405, + +} +levelParticles = { + ["y"] = -2275.9, + ["x"] = 2441.31, + ["firstFrame"] = true, + ["width"] = 7647.87, + +} +joints = { + ["StaticFragileBlock06_2ExtraRopeThick01_1"] = { + ["type"] = 1, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = -3, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticFragileBlock06_2ExtraRopeThick01_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticFragileBlock06_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["ExtraRopeThick01_2ExtraRopeThick01_1"] = { + ["type"] = 1, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = 3, + ["y1"] = -3, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_2ExtraRopeThick01_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraRopeThick01_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["ExtraBlockTNT_6ExtraRopeThick01_2"] = { + ["type"] = 1, + ["end2"] = "ExtraRopeThick01_2", + ["x2"] = 0, + ["y2"] = 3, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_6ExtraRopeThick01_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraBlockTNT_6", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["ExtraRopeThick01_2"] = { + ["y"] = -35.6338, + ["x"] = 59.3407, + ["name"] = "ExtraRopeThick01_2", + ["angle"] = 6.28287, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_02_3"] = { + ["y"] = -9.47164, + ["x"] = -27.635, + ["name"] = "StaticBlockTheme01_02_3", + ["angle"] = 6.19592, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["WoodBlock6_7"] = { + ["y"] = -21.9537, + ["x"] = 42.7643, + ["name"] = "WoodBlock6_7", + ["angle"] = 4.71301, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -17.4799, + ["x"] = 43.1335, + ["name"] = "WoodBlock10_4", + ["angle"] = 3.14887, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_2"] = { + ["y"] = -4.01286, + ["x"] = 56.8277, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.57152, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_23"] = { + ["y"] = -30.3861, + ["x"] = 77.5133, + ["name"] = "WoodBlock10_23", + ["angle"] = 4.71246, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_17"] = { + ["y"] = -6.01663, + ["x"] = 49.4186, + ["name"] = "WoodBlock4_17", + ["angle"] = 1.56691, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -20.6212, + ["x"] = 74.204, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_25"] = { + ["y"] = -39.1154, + ["x"] = 77.6016, + ["name"] = "WoodBlock6_25", + ["angle"] = 1.57036, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -13.5595, + ["x"] = 19.768, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 1.20423, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_18"] = { + ["y"] = -18.5893, + ["x"] = 79.005, + ["name"] = "StaticBlockTheme01_05_18", + ["angle"] = 5.49773, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock1_5"] = { + ["y"] = -18.527, + ["x"] = 46.1163, + ["name"] = "WoodBlock1_5", + ["angle"] = 0.00739347, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme01_04_7"] = { + ["y"] = -3.69329, + ["x"] = -11.055, + ["name"] = "StaticBlockTheme01_04_7", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_8"] = { + ["y"] = -21.9321, + ["x"] = 63.4238, + ["name"] = "WoodBlock6_8", + ["angle"] = 4.75251, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock1_5"] = { + ["y"] = -18.5802, + ["x"] = 62.2147, + ["name"] = "StoneBlock1_5", + ["angle"] = 0.048732, + ["definition"] = "StoneBlock1", + + }, + ["LargePiglette_2"] = { + ["y"] = -49.1357, + ["x"] = 61.3932, + ["name"] = "LargePiglette_2", + ["angle"] = 0.0428684, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -18.6118, + ["x"] = 27.731, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 0.820233, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_32"] = { + ["y"] = -39.1017, + ["x"] = 34.4132, + ["name"] = "WoodBlock6_32", + ["angle"] = 4.548, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -3.06143, + ["x"] = 67.127, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticFragileBlock06_2"] = { + ["y"] = -45.2449, + ["x"] = 59.3146, + ["name"] = "StaticFragileBlock06_2", + ["angle"] = 9.53674e-007, + ["definition"] = "StaticFragileBlock06", + + }, + ["WoodBlock6_3"] = { + ["y"] = -12.9835, + ["x"] = 47.6075, + ["name"] = "WoodBlock6_3", + ["angle"] = 4.71064, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -11.6629, + ["x"] = 72.191, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock9_1"] = { + ["y"] = -20.9831, + ["x"] = 52.5169, + ["name"] = "WoodBlock9_1", + ["angle"] = 3.1455, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -5.70376, + ["x"] = -18.301, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock9_3"] = { + ["y"] = -2.04001, + ["x"] = 45.9177, + ["name"] = "WoodBlock9_3", + ["angle"] = 4.71091, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock10_20"] = { + ["y"] = -26.3119, + ["x"] = 38.8596, + ["name"] = "WoodBlock10_20", + ["angle"] = 3.11072, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_11"] = { + ["y"] = -10.0279, + ["x"] = 65.8677, + ["name"] = "WoodBlock4_11", + ["angle"] = 2.04337, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -10.2888, + ["x"] = 25.752, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_31"] = { + ["y"] = -40.7547, + ["x"] = 68.1315, + ["name"] = "WoodBlock10_31", + ["angle"] = 4.71454, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_26"] = { + ["y"] = -13.0002, + ["x"] = 48.757, + ["name"] = "WoodBlock6_26", + ["angle"] = 1.5899, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetSmall_2"] = { + ["y"] = -20.175, + ["x"] = 44.5182, + ["name"] = "ExtraHelmetSmall_2", + ["angle"] = 0.0420332, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_01_1"] = { + ["y"] = -11.2888, + ["x"] = 15.752, + ["name"] = "StaticBlockTheme01_01_1", + ["angle"] = 4.71234, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock6_24"] = { + ["y"] = -21.3929, + ["x"] = 66.556, + ["name"] = "WoodBlock6_24", + ["angle"] = 2.20082, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_18"] = { + ["y"] = -26.2872, + ["x"] = 66.4202, + ["name"] = "WoodBlock6_18", + ["angle"] = 0.040748, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_29"] = { + ["y"] = -25.8036, + ["x"] = 46.533, + ["name"] = "WoodBlock10_29", + ["angle"] = 0.551091, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock1_1"] = { + ["y"] = -47.4609, + ["x"] = 58.8293, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.0348092, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock9_2"] = { + ["y"] = -46.2568, + ["x"] = 34.8903, + ["name"] = "WoodBlock9_2", + ["angle"] = 1.42545, + ["definition"] = "WoodBlock9", + + }, + ["ExtraBlockTNT_7"] = { + ["y"] = -11.7559, + ["x"] = 53.6833, + ["name"] = "ExtraBlockTNT_7", + ["angle"] = 0.00903672, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -2.98802, + ["x"] = 29.625, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockTNT_6"] = { + ["y"] = -31.5667, + ["x"] = 59.2203, + ["name"] = "ExtraBlockTNT_6", + ["angle"] = 6.24828, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock1_7"] = { + ["y"] = -27.2598, + ["x"] = 34.9083, + ["name"] = "StoneBlock1_7", + ["angle"] = 6.25229, + ["definition"] = "StoneBlock1", + + }, + ["RedBigBird_2"] = { + ["y"] = -12.3148, + ["x"] = -11.4676, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -12.0032, + ["x"] = 34.906, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["RedBigBird_4"] = { + ["y"] = -12.2171, + ["x"] = -16.1699, + ["name"] = "RedBigBird_4", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["WoodBlock6_23"] = { + ["y"] = -21.7415, + ["x"] = 39.8987, + ["name"] = "WoodBlock6_23", + ["angle"] = 1.09033, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -2.98802, + ["x"] = 20.34, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock11_4"] = { + ["y"] = -27.5534, + ["x"] = 29.0531, + ["name"] = "WoodBlock11_4", + ["angle"] = 4.71214, + ["definition"] = "WoodBlock11", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -51.5079, + ["x"] = 61.5172, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 0.0283043, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_34"] = { + ["y"] = -39.4475, + ["x"] = 36.5918, + ["name"] = "WoodBlock6_34", + ["angle"] = 1.47147, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -8.28877, + ["x"] = 18.467, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 3.14153, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["LargePiglette_3"] = { + ["y"] = -2.4104, + ["x"] = 53.2563, + ["name"] = "LargePiglette_3", + ["angle"] = 0.0604968, + ["definition"] = "LargePiglette", + + }, + ["SmallPiglette_3"] = { + ["y"] = -19.051, + ["x"] = 44.497, + ["name"] = "SmallPiglette_3", + ["angle"] = 6.23946, + ["definition"] = "SmallPiglette", + + }, + ["ExtraHelmetBig_2"] = { + ["y"] = -4.77637, + ["x"] = 53.4675, + ["name"] = "ExtraHelmetBig_2", + ["angle"] = 0.107176, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_11"] = { + ["y"] = -8.5406, + ["x"] = 60.5745, + ["name"] = "WoodBlock6_11", + ["angle"] = 6.26592, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_28"] = { + ["y"] = -18.4929, + ["x"] = 52.1121, + ["name"] = "WoodBlock10_28", + ["angle"] = 3.145, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_7"] = { + ["y"] = -12.9928, + ["x"] = 43.5782, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.859791, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_22"] = { + ["y"] = -29.5585, + ["x"] = 75.0307, + ["name"] = "WoodBlock6_22", + ["angle"] = 4.63878, + ["definition"] = "WoodBlock6", + + }, + ["GrandpaPiglette_1"] = { + ["y"] = -37.1814, + ["x"] = 73.3408, + ["name"] = "GrandpaPiglette_1", + ["angle"] = 0.122173, + ["definition"] = "GrandpaPiglette", + + }, + ["WoodBlock11_1"] = { + ["y"] = -20.9534, + ["x"] = 48.5764, + ["name"] = "WoodBlock11_1", + ["angle"] = 4.71559, + ["definition"] = "WoodBlock11", + + }, + ["WoodBlock10_26"] = { + ["y"] = -46.2444, + ["x"] = 62.974, + ["name"] = "WoodBlock10_26", + ["angle"] = 0.0348847, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_20"] = { + ["y"] = -30.8052, + ["x"] = 39.4947, + ["name"] = "WoodBlock6_20", + ["angle"] = 4.68406, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_03_1"] = { + ["y"] = -0.55043, + ["x"] = -7.198, + ["name"] = "StaticBlockTheme01_03_1", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["StaticBlockTheme01_01_2"] = { + ["y"] = -8.73211, + ["x"] = 78.719, + ["name"] = "StaticBlockTheme01_01_2", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock4_16"] = { + ["y"] = -2.05606, + ["x"] = 49.4509, + ["name"] = "WoodBlock4_16", + ["angle"] = 1.5692, + ["definition"] = "WoodBlock4", + + }, + ["ExtraHelmetBoss_1"] = { + ["y"] = -39.4463, + ["x"] = 73.4996, + ["name"] = "ExtraHelmetBoss_1", + ["angle"] = 0.1142, + ["definition"] = "ExtraHelmetBoss", + + }, + ["WoodBlock10_22"] = { + ["y"] = -34.7244, + ["x"] = 71.5397, + ["name"] = "WoodBlock10_22", + ["angle"] = 3.3195, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_22"] = { + ["y"] = -4.87164, + ["x"] = -27.901, + ["name"] = "StaticBlockTheme01_05_22", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_19"] = { + ["y"] = -29.5767, + ["x"] = 31.5174, + ["name"] = "WoodBlock6_19", + ["angle"] = 4.71219, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_29"] = { + ["y"] = -13.04, + ["x"] = 61.7221, + ["name"] = "WoodBlock6_29", + ["angle"] = 1.57099, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_31"] = { + ["y"] = -14.009, + ["x"] = 56.0335, + ["name"] = "WoodBlock6_31", + ["angle"] = 1.57395, + ["definition"] = "WoodBlock6", + + }, + ["MediumPiglette_1"] = { + ["y"] = -1.89982, + ["x"] = 59.2642, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.24395, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock1_3"] = { + ["y"] = -9.57339, + ["x"] = 44.2034, + ["name"] = "StoneBlock1_3", + ["angle"] = 3.13837, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_5"] = { + ["y"] = -28.6174, + ["x"] = 37.0918, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.0197297, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock1_2"] = { + ["y"] = -47.2895, + ["x"] = 63.8351, + ["name"] = "WoodBlock1_2", + ["angle"] = 0.0446903, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock4_10"] = { + ["y"] = -11.0342, + ["x"] = 42.3064, + ["name"] = "WoodBlock4_10", + ["angle"] = 1.58261, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_1"] = { + ["y"] = -8.51004, + ["x"] = 45.6611, + ["name"] = "WoodBlock10_1", + ["angle"] = 3.13762, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock11_2"] = { + ["y"] = -24.8566, + ["x"] = 52.3818, + ["name"] = "WoodBlock11_2", + ["angle"] = 4.71634, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -5.729, + ["x"] = 5.73798, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_04_6"] = { + ["y"] = -3.40757, + ["x"] = -6.48401, + ["name"] = "StaticBlockTheme01_04_6", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_21"] = { + ["y"] = -30.699, + ["x"] = 68.5965, + ["name"] = "WoodBlock6_21", + ["angle"] = 4.6767, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -9.57498, + ["x"] = 12.683, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.06656, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["RedBigBird_1"] = { + ["y"] = -12.4433, + ["x"] = -2.92388, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -2.98782, + ["x"] = 38.944, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_19"] = { + ["y"] = -12.3035, + ["x"] = 83.576, + ["name"] = "StaticBlockTheme01_05_19", + ["angle"] = 5.82933, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -9.56488, + ["x"] = 53.17, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.00915731, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -4.87496, + ["x"] = 85.576, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 6.21333, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_30"] = { + ["y"] = -17.3626, + ["x"] = 65.1984, + ["name"] = "WoodBlock6_30", + ["angle"] = 3.19093, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_27"] = { + ["y"] = -29.9743, + ["x"] = 71.8872, + ["name"] = "WoodBlock10_27", + ["angle"] = 1.04109, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_28"] = { + ["y"] = -22.9548, + ["x"] = 55.0677, + ["name"] = "WoodBlock6_28", + ["angle"] = 1.57139, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -20.6629, + ["x"] = 32.705, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 27.989, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_3"] = { + ["y"] = -36.7238, + ["x"] = 32.2975, + ["name"] = "WoodBlock11_3", + ["angle"] = 4.55988, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_04_4"] = { + ["y"] = -8.14505, + ["x"] = -6.72998, + ["name"] = "StaticBlockTheme01_04_4", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_20"] = { + ["y"] = -43.7785, + ["x"] = 35.1838, + ["name"] = "WoodBlock4_20", + ["angle"] = 6.13764, + ["definition"] = "WoodBlock4", + + }, + ["ExtraHelmetSmall_3"] = { + ["y"] = -3.79869, + ["x"] = 59.1985, + ["name"] = "ExtraHelmetSmall_3", + ["angle"] = 6.22881, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -3.61184, + ["x"] = 76.303, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 6.28312, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -11.5893, + ["x"] = 77.862, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_21"] = { + ["y"] = -5.69329, + ["x"] = 0.416016, + ["name"] = "StaticBlockTheme01_05_21", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -30.5049, + ["x"] = 37.3032, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 0.119203, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_04_5"] = { + ["y"] = -8.14505, + ["x"] = -11.445, + ["name"] = "StaticBlockTheme01_04_5", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -4.7609, + ["x"] = 10.841, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_25"] = { + ["y"] = -44.8626, + ["x"] = 72.9769, + ["name"] = "WoodBlock10_25", + ["angle"] = 0.277329, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock1_4"] = { + ["y"] = -35.1023, + ["x"] = 75.4606, + ["name"] = "WoodBlock1_4", + ["angle"] = 0.226939, + ["definition"] = "WoodBlock1", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -5.66202, + ["x"] = 45.5518, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28282, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock10_30"] = { + ["y"] = -40.5906, + ["x"] = 38.4693, + ["name"] = "WoodBlock10_30", + ["angle"] = 4.52839, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_21"] = { + ["y"] = -34.7047, + ["x"] = 35.2876, + ["name"] = "WoodBlock10_21", + ["angle"] = 2.9893, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_1"] = { + ["y"] = -41.7433, + ["x"] = 59.3294, + ["name"] = "ExtraRopeThick01_1", + ["angle"] = 6.27979, + ["definition"] = "ExtraRopeThick01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["MediumPiglette"] = 5, + ["WoodBlock4"] = 20, + ["StaticBlockTheme05_06"] = 2, + ["WoodBlock1"] = 5, + ["YellowBird"] = 7, + ["StaticBlockTheme01_02"] = 3, + ["StaticBlockTheme01_03"] = 1, + ["StaticBlockTheme01_04"] = 7, + ["WoodBlock10"] = 31, + ["StoneBlock1"] = 7, + ["WoodBlock6"] = 34, + ["LargePiglette"] = 3, + ["WoodBlock5"] = 2, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig2"] = 2, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 1, + ["StoneBlock9"] = 1, + ["ExtraHelmetSmall"] = 3, + ["ExtraHelmetSmall2"] = 3, + ["StaticBlockTheme01_01"] = 2, + ["WoodBlock11"] = 4, + ["WoodBlock9"] = 3, + ["StoneBlock11"] = 2, + ["ExtraHelmetBig"] = 2, + ["SmallPiglette"] = 3, + ["StoneBlock5"] = 2, + ["BoomerangBird"] = 2, + ["StaticFragileBlock06"] = 2, + ["ExtraHelmetBoss"] = 1, + ["LightBlock6"] = 2, + ["ExtraBlockTNT"] = 7, + ["RedBigBird"] = 5, + ["StaticBlockTheme01_05"] = 22, + ["ExtraRopeThick01"] = 2, + +} +theme = "theme13boss" +birdCameraData = { + ["screenWidth"] = 480, + ["bottom"] = -22.0415, + ["px"] = 152.508, + ["py"] = -364.548, + ["screenHeight"] = 320, + ["right"] = 1523.22, + ["top"] = -781.486, + ["iphone"] = { + ["sy"] = 0.368972, + ["sx"] = 0.368972, + ["px"] = 287.714, + ["py"] = -488.111, + ["screenHeight"] = 320, + ["screenWidth"] = 480, + + }, + ["version"] = "0.02", + ["sx"] = 0.38375, + ["windows"] = { + ["bottom"] = 240.029, + ["screenWidth"] = 1366, + ["py"] = -556.281, + ["screenHeight"] = 768, + ["top"] = -1274.62, + ["sy"] = 0.534564, + ["sx"] = 0.534564, + ["right"] = 2400.68, + ["left"] = -743.785, + ["px"] = 533.892, + + }, + ["sy"] = 0.38375, + ["ipad"] = { + ["sy"] = 0.534564, + ["sx"] = 0.534564, + ["px"] = 533.892, + ["py"] = -556.281, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["left"] = -472.899, + +} +filename = "LevelP4_462.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_463.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_463.lua new file mode 100644 index 0000000000000000000000000000000000000000..ee6c3a44abffe4cf02806ea26c35fc2d475782da Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_463.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_464.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_464.lua new file mode 100644 index 0000000000000000000000000000000000000000..5ed515a9326b40b6354307afb970d0a64d8ea040 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_464.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_465.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_465.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8a46320f1487dbd70e7caf2af52d123e0ec1f60 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_465.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_466.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_466.lua new file mode 100644 index 0000000000000000000000000000000000000000..81e5d99a54439a6df2efeed6ea33f04d4a54ad3e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_466.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_467.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_467.lua new file mode 100644 index 0000000000000000000000000000000000000000..e60a258212db86b237c31eac9155352ad09377fc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_467.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_468.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_468.lua new file mode 100644 index 0000000000000000000000000000000000000000..f7e1c0a35595807948e2c679b9a2ac3d010f3612 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_468.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_469.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_469.lua new file mode 100644 index 0000000000000000000000000000000000000000..e8cd6a01941a7f09ab992f72ccffbf39c3919d22 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_469.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_470.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_470.lua new file mode 100644 index 0000000000000000000000000000000000000000..c9aa60dc439c7ce696ae997c23247f36e26c34d7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_470.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_471.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_471.lua new file mode 100644 index 0000000000000000000000000000000000000000..0b3b831105f179b399536a15f9a0332b5a37b732 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_471.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_472.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_472.lua new file mode 100644 index 0000000000000000000000000000000000000000..8181a7eb2e8e8f575be00a1187af8e4fdce927b0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_472.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_473.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_473.lua new file mode 100644 index 0000000000000000000000000000000000000000..af9bf855eb89645c6620023cac13c5fce9504741 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_473.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_474.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_474.lua new file mode 100644 index 0000000000000000000000000000000000000000..2edf5a1bf1e8e739b4e3a5142b494a1f738ffe94 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_474.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_475.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_475.lua new file mode 100644 index 0000000000000000000000000000000000000000..d86774156bac935decce9c78d71b2d0d9c321ebb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_475.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_477.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_477.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ad9551817d6f76b4f2d75aac5ae9639c6e74e68 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_477.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_478.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_478.lua new file mode 100644 index 0000000000000000000000000000000000000000..3c814fca07fcf81ab1fe938da5b940d4cd183fe6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack11/LevelP4_478.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack11/temp/LevelP4_478.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack11/temp/LevelP4_478.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..e8fb0201527b41256339ad470a1a2d3961bb9fd4 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack11/temp/LevelP4_478.temp.lua @@ -0,0 +1,1268 @@ +themeSprites = { + +} +castleCameraData = { + ["left"] = 35693.6, + ["bottom"] = -113.829, + ["screenWidth"] = 480, + ["py"] = -625.829, + ["screenHeight"] = 320, + ["right"] = 37229.6, + ["top"] = -1137.83, + ["iphone"] = { + ["bottom"] = -101.567, + ["screenWidth"] = 1680, + ["py"] = -575.641, + ["screenHeight"] = 1024, + ["top"] = -1049.72, + ["sy"] = 1.08, + ["sx"] = 1.08, + ["right"] = 3193.21, + ["left"] = 1637.65, + ["px"] = 2415.43, + + }, + ["version"] = "0.02", + ["sx"] = 0.3125, + ["windows"] = { + ["bottom"] = 110.157, + ["screenWidth"] = 1366, + ["py"] = -487.508, + ["screenHeight"] = 768, + ["top"] = -1085.17, + ["sy"] = 0.6425, + ["sx"] = 0.6425, + ["px"] = 2345.11, + ["left"] = 1282.08, + ["right"] = 3408.15, + + }, + ["sy"] = 0.3125, + ["ipad"] = { + ["sy"] = 0.6425, + ["sx"] = 0.6425, + ["px"] = 2345.11, + ["py"] = -487.508, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["px"] = 36461.6, + +} +levelParticles = { + ["y"] = -2175.34, + ["x"] = 3612.7, + ["firstFrame"] = true, + ["width"] = 7245.22, + +} +joints = { + +} +world = { + ["LightBlock4_17"] = { + ["y"] = -27.2744, + ["x"] = 123.3, + ["name"] = "LightBlock4_17", + ["angle"] = 1.63278, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock6_22"] = { + ["y"] = -13.1136, + ["x"] = 125.68, + ["name"] = "WoodBlock6_22", + ["angle"] = 4.71127, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_8"] = { + ["y"] = -17.602, + ["x"] = 120.7, + ["name"] = "WoodBlock10_8", + ["angle"] = 3.14734, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock4_14"] = { + ["y"] = -35.3905, + ["x"] = 99.1899, + ["name"] = "LightBlock4_14", + ["angle"] = 3.14803, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -13.6883, + ["x"] = 144.19, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_11"] = { + ["y"] = -14.0025, + ["x"] = 109.58, + ["name"] = "WoodBlock10_11", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock10", + + }, + ["SmallPiglette_2"] = { + ["y"] = -34.5244, + ["x"] = 136.09, + ["name"] = "SmallPiglette_2", + ["angle"] = 0.000764679, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -14.1772, + ["x"] = 73.3101, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 0.523433, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock11_2"] = { + ["y"] = -15.0505, + ["x"] = 92.4, + ["name"] = "LightBlock11_2", + ["angle"] = 4.7115, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme01_01_12"] = { + ["y"] = -18.2504, + ["x"] = 154.22, + ["name"] = "StaticBlockTheme01_01_12", + ["angle"] = 1.57088, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StoneBlock11_14"] = { + ["y"] = -30.7044, + ["x"] = 113.42, + ["name"] = "StoneBlock11_14", + ["angle"] = 1.59333, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -4.31327, + ["x"] = 143.8, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon04_3"] = { + ["y"] = -32.5914, + ["x"] = 125.48, + ["name"] = "StaticBalloon04_3", + ["angle"] = 4.29153e-006, + ["definition"] = "StaticBalloon04", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -11.6946, + ["x"] = 51.01, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 0.121874, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock11_17"] = { + ["y"] = -35.8535, + ["x"] = 109.11, + ["name"] = "StoneBlock11_17", + ["angle"] = 4.73963, + ["definition"] = "StoneBlock11", + + }, + ["RedBigBird_2"] = { + ["y"] = -22.8772, + ["x"] = 53.24, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["LightBlock6_3"] = { + ["y"] = -23.7642, + ["x"] = 101.7, + ["name"] = "LightBlock6_3", + ["angle"] = 1.5764, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock9_5"] = { + ["y"] = -25.7551, + ["x"] = 111.44, + ["name"] = "WoodBlock9_5", + ["angle"] = 6.28049, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock6_18"] = { + ["y"] = -30.3632, + ["x"] = 99.0601, + ["name"] = "WoodBlock6_18", + ["angle"] = 3.1483, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock6_2"] = { + ["y"] = -23.7901, + ["x"] = 96.13, + ["name"] = "LightBlock6_2", + ["angle"] = 1.57671, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock9_2"] = { + ["y"] = -22.7062, + ["x"] = 142.99, + ["name"] = "WoodBlock9_2", + ["angle"] = 1.58304, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme01_01_5"] = { + ["y"] = -18.6399, + ["x"] = 147.75, + ["name"] = "StaticBlockTheme01_01_5", + ["angle"] = 3.33151e-005, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["RedBigBird_1"] = { + ["y"] = -22.8102, + ["x"] = 64.1801, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["BoomerangBird_4"] = { + ["y"] = -22.3821, + ["x"] = 50.86, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock8_1"] = { + ["y"] = -10.1522, + ["x"] = 104.3, + ["name"] = "LightBlock8_1", + ["angle"] = 0.63829, + ["definition"] = "LightBlock8", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 56.5457, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock4_25"] = { + ["y"] = -20.3607, + ["x"] = 104.34, + ["name"] = "WoodBlock4_25", + ["angle"] = 6.27953, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock4_15"] = { + ["y"] = -32.9162, + ["x"] = 96.8, + ["name"] = "LightBlock4_15", + ["angle"] = 1.64113, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_9"] = { + ["y"] = -14.0038, + ["x"] = 96.04, + ["name"] = "WoodBlock10_9", + ["angle"] = 4.71457, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock11_15"] = { + ["y"] = -30.7299, + ["x"] = 113.75, + ["name"] = "StoneBlock11_15", + ["angle"] = 4.71071, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock6_27"] = { + ["y"] = -23.7915, + ["x"] = 108.22, + ["name"] = "WoodBlock6_27", + ["angle"] = 4.71296, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetBoss_1"] = { + ["y"] = -35.2904, + ["x"] = 147.015, + ["name"] = "ExtraHelmetBoss_1", + ["angle"] = 0, + ["definition"] = "ExtraHelmetBoss", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -7.03833, + ["x"] = 67.86, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_2"] = { + ["y"] = -29.8155, + ["x"] = 109.2, + ["name"] = "StoneBlock5_2", + ["angle"] = 0.00640744, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_04_10"] = { + ["y"] = -6.90119, + ["x"] = 74.99, + ["name"] = "StaticBlockTheme01_04_10", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_19"] = { + ["y"] = -27.245, + ["x"] = 127.7, + ["name"] = "LightBlock4_19", + ["angle"] = 1.50355, + ["definition"] = "LightBlock4", + + }, + ["ExtraHelmetSmall_4"] = { + ["y"] = -35.6426, + ["x"] = 136.15, + ["name"] = "ExtraHelmetSmall_4", + ["angle"] = 0.0851843, + ["definition"] = "ExtraHelmetSmall", + + }, + ["LightBlock4_12"] = { + ["y"] = -37.976, + ["x"] = 135.65, + ["name"] = "LightBlock4_12", + ["angle"] = 3.1455, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme15_04_4"] = { + ["y"] = -0.12691, + ["x"] = -44.9385, + ["name"] = "StaticBlockTheme15_04_4", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock7_1"] = { + ["y"] = -10.8638, + ["x"] = 88.12, + ["name"] = "LightBlock7_1", + ["angle"] = 5.28923, + ["definition"] = "LightBlock7", + + }, + ["WoodBlock6_14"] = { + ["y"] = -30.8607, + ["x"] = 135.65, + ["name"] = "WoodBlock6_14", + ["angle"] = 3.14255, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -4.28954, + ["x"] = 88.52, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_15"] = { + ["y"] = -13.153, + ["x"] = 116.69, + ["name"] = "WoodBlock6_15", + ["angle"] = 4.71402, + ["definition"] = "WoodBlock6", + + }, + ["MediumPiglette_6"] = { + ["y"] = -19.964, + ["x"] = 120.23, + ["name"] = "MediumPiglette_6", + ["angle"] = 0.00964817, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_04_12"] = { + ["y"] = -2.49303, + ["x"] = 79.5601, + ["name"] = "StaticBlockTheme01_04_12", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_28"] = { + ["y"] = -23.6861, + ["x"] = 121.88, + ["name"] = "WoodBlock4_28", + ["angle"] = 3.14785, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_10"] = { + ["y"] = -14.0023, + ["x"] = 102.13, + ["name"] = "WoodBlock10_10", + ["angle"] = 4.70774, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock9_2"] = { + ["y"] = -31.684, + ["x"] = 151.924, + ["name"] = "LightBlock9_2", + ["angle"] = 6.27533, + ["definition"] = "LightBlock9", + + }, + ["MediumPiglette_4"] = { + ["y"] = -22.5926, + ["x"] = 135.12, + ["name"] = "MediumPiglette_4", + ["angle"] = 6.28277, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_01_4"] = { + ["y"] = -19.8992, + ["x"] = 148.01, + ["name"] = "StaticBlockTheme01_01_4", + ["angle"] = 3.33151e-005, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock6_2"] = { + ["y"] = -33.3308, + ["x"] = 111.87, + ["name"] = "WoodBlock6_2", + ["angle"] = 3.16941, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -18.4362, + ["x"] = 140.89, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_02_5"] = { + ["y"] = -19.8272, + ["x"] = 144.16, + ["name"] = "StaticBlockTheme01_02_5", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_04_11"] = { + ["y"] = -2.24813, + ["x"] = 74.99, + ["name"] = "StaticBlockTheme01_04_11", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_25"] = { + ["y"] = -24.72, + ["x"] = 125.7, + ["name"] = "WoodBlock6_25", + ["angle"] = 3.14938, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -4.28954, + ["x"] = 116.36, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_1"] = { + ["y"] = -21.7877, + ["x"] = 149.02, + ["name"] = "WoodBlock5_1", + ["angle"] = 0.00109539, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_02_4"] = { + ["y"] = -19.8634, + ["x"] = 136.99, + ["name"] = "StaticBlockTheme01_02_4", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -26.6086, + ["x"] = 104.74, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 6.2635, + ["definition"] = "ExtraHelmetBig", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -4.20099, + ["x"] = 125.24, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -21.8654, + ["x"] = 120.3, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 0.0738314, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme15_01_4"] = { + ["y"] = -6.58371, + ["x"] = 47.9867, + ["name"] = "StaticBlockTheme15_01_4", + ["angle"] = 0.122172, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -12.7008, + ["x"] = 135.4, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 0.226921, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock10_3"] = { + ["y"] = -25.5496, + ["x"] = 138.83, + ["name"] = "LightBlock10_3", + ["angle"] = 1.56838, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock4_23"] = { + ["y"] = -29.2791, + ["x"] = 102.5, + ["name"] = "WoodBlock4_23", + ["angle"] = 3.1487, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock6_13"] = { + ["y"] = -32.9527, + ["x"] = 135.65, + ["name"] = "WoodBlock6_13", + ["angle"] = 3.14571, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_26"] = { + ["y"] = -28.2707, + ["x"] = 111.53, + ["name"] = "WoodBlock6_26", + ["angle"] = 3.13909, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_3"] = { + ["y"] = -14.003, + ["x"] = 106.28, + ["name"] = "WoodBlock10_3", + ["angle"] = 1.57223, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock4_7"] = { + ["y"] = -22.7475, + ["x"] = 137.48, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.57048, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock6_24"] = { + ["y"] = -22.6041, + ["x"] = 125.72, + ["name"] = "WoodBlock6_24", + ["angle"] = 3.14644, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_22"] = { + ["y"] = -31.9165, + ["x"] = 131.71, + ["name"] = "WoodBlock4_22", + ["angle"] = 3.14379, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock4_13"] = { + ["y"] = -35.4741, + ["x"] = 137.98, + ["name"] = "LightBlock4_13", + ["angle"] = 1.52394, + ["definition"] = "LightBlock4", + + }, + ["StoneBlock12_2"] = { + ["y"] = -25.6306, + ["x"] = 98.64, + ["name"] = "StoneBlock12_2", + ["angle"] = 0.00461073, + ["definition"] = "StoneBlock12", + + }, + ["LightBlock4_21"] = { + ["y"] = -20.0843, + ["x"] = 128.5, + ["name"] = "LightBlock4_21", + ["angle"] = 1.57766, + ["definition"] = "LightBlock4", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -11.1313, + ["x"] = 121.15, + ["name"] = "HelmetPiglette_1", + ["angle"] = 0.000232921, + ["definition"] = "HelmetPiglette", + + }, + ["StaticBlockTheme15_04_1"] = { + ["y"] = -4.78272, + ["x"] = 52.3247, + ["name"] = "StaticBlockTheme15_04_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -4.28954, + ["x"] = 97.64, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_24"] = { + ["y"] = -29.3236, + ["x"] = 95.11, + ["name"] = "WoodBlock4_24", + ["angle"] = 3.1463, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -9.03681, + ["x"] = 80.03, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 3.92706, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_4"] = { + ["y"] = -11.1994, + ["x"] = 107.84, + ["name"] = "WoodBlock5_4", + ["angle"] = 4.71417, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock4_11"] = { + ["y"] = -35.4886, + ["x"] = 133.27, + ["name"] = "LightBlock4_11", + ["angle"] = 1.61193, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_4"] = { + ["y"] = -13.0977, + ["x"] = 78.28, + ["name"] = "StaticBlockTheme01_04_4", + ["angle"] = 6.00462, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_2"] = { + ["y"] = -18.2495, + ["x"] = 151.15, + ["name"] = "StaticBlockTheme01_04_2", + ["angle"] = 4.71242, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_21"] = { + ["y"] = -31.8904, + ["x"] = 139.09, + ["name"] = "WoodBlock4_21", + ["angle"] = 3.14671, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock10_2"] = { + ["y"] = -29.1229, + ["x"] = 149, + ["name"] = "LightBlock10_2", + ["angle"] = 3.13368, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock9_3"] = { + ["y"] = -26.6145, + ["x"] = 142.97, + ["name"] = "WoodBlock9_3", + ["angle"] = 1.5837, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock10_5"] = { + ["y"] = -19.3261, + ["x"] = 110.42, + ["name"] = "WoodBlock10_5", + ["angle"] = 3.13913, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_5"] = { + ["y"] = -24.7143, + ["x"] = 104.81, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.0198946, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -11.8091, + ["x"] = 151.63, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 5.89921, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock11_13"] = { + ["y"] = -21.7584, + ["x"] = 98.75, + ["name"] = "StoneBlock11_13", + ["angle"] = 0.00325697, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock5_6"] = { + ["y"] = -21.883, + ["x"] = 104.29, + ["name"] = "WoodBlock5_6", + ["angle"] = 6.28244, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_01_2"] = { + ["y"] = -17.788, + ["x"] = 137.75, + ["name"] = "StaticBlockTheme01_01_2", + ["angle"] = 3.33362, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["LightBlock10_4"] = { + ["y"] = -25.5602, + ["x"] = 132.58, + ["name"] = "LightBlock10_4", + ["angle"] = 1.57251, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock6_23"] = { + ["y"] = -13.1121, + ["x"] = 128.93, + ["name"] = "WoodBlock6_23", + ["angle"] = 4.71058, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_18"] = { + ["y"] = -29.7595, + ["x"] = 125.43, + ["name"] = "LightBlock4_18", + ["angle"] = 3.15243, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_01_3"] = { + ["y"] = -18.3436, + ["x"] = 135.12, + ["name"] = "StaticBlockTheme01_01_3", + ["angle"] = 2.42612, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock6_19"] = { + ["y"] = -19.3122, + ["x"] = 98.77, + ["name"] = "WoodBlock6_19", + ["angle"] = 3.14525, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_29"] = { + ["y"] = -24.6876, + ["x"] = 153.57, + ["name"] = "WoodBlock6_29", + ["angle"] = 4.71009, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_26"] = { + ["y"] = -17.5784, + ["x"] = 127.83, + ["name"] = "WoodBlock4_26", + ["angle"] = 3.14452, + ["definition"] = "WoodBlock4", + + }, + ["StaticBalloon03_4"] = { + ["y"] = -38.2915, + ["x"] = 99.23, + ["name"] = "StaticBalloon03_4", + ["angle"] = 4.29153e-006, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -4.31327, + ["x"] = 134.43, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_28"] = { + ["y"] = -23.8085, + ["x"] = 114.91, + ["name"] = "WoodBlock6_28", + ["angle"] = 4.71116, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -14.0052, + ["x"] = 114.72, + ["name"] = "WoodBlock10_4", + ["angle"] = 1.57073, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_02_9"] = { + ["y"] = -0.605826, + ["x"] = 58.73, + ["name"] = "StaticBlockTheme01_02_9", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StoneBlock4_8"] = { + ["y"] = -15.3167, + ["x"] = 91.8101, + ["name"] = "StoneBlock4_8", + ["angle"] = 2.35516, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_05_19"] = { + ["y"] = -7.03833, + ["x"] = 58.42, + ["name"] = "StaticBlockTheme01_05_19", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_02_8"] = { + ["y"] = -1.83031, + ["x"] = 58.73, + ["name"] = "StaticBlockTheme01_02_8", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -4.25077, + ["x"] = 153.18, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["KingPiglette_2"] = { + ["y"] = -32.4259, + ["x"] = 147.044, + ["name"] = "KingPiglette_2", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -16.0151, + ["x"] = 57.3101, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 0.000437737, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock4_20"] = { + ["y"] = -20.1051, + ["x"] = 122.66, + ["name"] = "LightBlock4_20", + ["angle"] = 1.57938, + ["definition"] = "LightBlock4", + + }, + ["ExtraHelmetSmall_2"] = { + ["y"] = -24.4818, + ["x"] = 135.18, + ["name"] = "ExtraHelmetSmall_2", + ["angle"] = 0.0646674, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StoneBlock11_16"] = { + ["y"] = -21.749, + ["x"] = 98.98, + ["name"] = "StoneBlock11_16", + ["angle"] = 3.14233, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock9_3"] = { + ["y"] = -11.1762, + ["x"] = 92.24, + ["name"] = "LightBlock9_3", + ["angle"] = 6.28251, + ["definition"] = "LightBlock9", + + }, + ["StaticBalloon05_2"] = { + ["y"] = -40.8414, + ["x"] = 135.88, + ["name"] = "StaticBalloon05_2", + ["angle"] = 4.29153e-006, + ["definition"] = "StaticBalloon05", + + }, + ["StaticBlockTheme01_04_13"] = { + ["y"] = -18.5065, + ["x"] = 50.65, + ["name"] = "StaticBlockTheme01_04_13", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_02_7"] = { + ["y"] = -1.91195, + ["x"] = 68.12, + ["name"] = "StaticBlockTheme01_02_7", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["LightBlock11_1"] = { + ["y"] = -35.7416, + ["x"] = 113.27, + ["name"] = "LightBlock11_1", + ["angle"] = 0.0280407, + ["definition"] = "LightBlock11", + + }, + ["ExtraGoldenEgg_1"] = { + ["y"] = -1.58836, + ["x"] = 47.9405, + ["name"] = "ExtraGoldenEgg_1", + ["angle"] = 0, + ["definition"] = "ExtraGoldenEgg", + + }, + ["StaticBlockTheme01_04_8"] = { + ["y"] = -2.61524, + ["x"] = 82.98, + ["name"] = "StaticBlockTheme01_04_8", + ["angle"] = 4.15506, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock9_4"] = { + ["y"] = -21.831, + ["x"] = 111.38, + ["name"] = "WoodBlock9_4", + ["angle"] = 6.28041, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme15_04_2"] = { + ["y"] = -0.586928, + ["x"] = 52.3381, + ["name"] = "StaticBlockTheme15_04_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock5_1"] = { + ["y"] = -31.8387, + ["x"] = 109.12, + ["name"] = "StoneBlock5_1", + ["angle"] = 0.0125529, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_01_11"] = { + ["y"] = -18.4248, + ["x"] = 48.14, + ["name"] = "StaticBlockTheme01_01_11", + ["angle"] = 1.85088, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -16.007, + ["x"] = 66.83, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 0.000437737, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -18.2738, + ["x"] = 134.24, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 3.14162, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -4.28954, + ["x"] = 106.92, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock9_5"] = { + ["y"] = -11.1656, + ["x"] = 99, + ["name"] = "StoneBlock9_5", + ["angle"] = 6.11265e-005, + ["definition"] = "StoneBlock9", + + }, + ["WoodBlock6_17"] = { + ["y"] = -28.2418, + ["x"] = 99.0601, + ["name"] = "WoodBlock6_17", + ["angle"] = 3.14685, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock10_3"] = { + ["y"] = -14.0044, + ["x"] = 94.85, + ["name"] = "StoneBlock10_3", + ["angle"] = 4.71314, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock4_27"] = { + ["y"] = -23.6343, + ["x"] = 129.12, + ["name"] = "WoodBlock4_27", + ["angle"] = 3.1501, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_02_6"] = { + ["y"] = -0.44256, + ["x"] = 68.28, + ["name"] = "StaticBlockTheme01_02_6", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["LightBlock9_4"] = { + ["y"] = -24.758, + ["x"] = 149.09, + ["name"] = "LightBlock9_4", + ["angle"] = 0.0030316, + ["definition"] = "LightBlock9", + + }, + ["LightBlock4_16"] = { + ["y"] = -32.8811, + ["x"] = 101.5, + ["name"] = "LightBlock4_16", + ["angle"] = 1.52252, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock1_1"] = { + ["y"] = -30.032, + ["x"] = 144.336, + ["name"] = "WoodBlock1_1", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock5_5"] = { + ["y"] = -15.1677, + ["x"] = 107.85, + ["name"] = "WoodBlock5_5", + ["angle"] = 4.71525, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 5, + ["StaticBlockTheme15_05"] = 1, + ["MediumPiglette"] = 6, + ["WoodBlock4"] = 31, + ["WoodBlock1"] = 1, + ["YellowBird"] = 3, + ["LightBlock11"] = 2, + ["StaticBalloon04"] = 3, + ["StoneBlock2"] = 3, + ["StaticBlockTheme01_04"] = 13, + ["WoodBlock2"] = 11, + ["ExtraDiamond"] = 2, + ["LightBlock7"] = 3, + ["KingPiglette"] = 2, + ["ExtraGoldenEgg"] = 1, + ["StaticBlockTheme15_01"] = 4, + ["StaticBlockTheme01_05"] = 20, + ["LargePiglette"] = 1, + ["HelmetPiglette"] = 1, + ["BasicBird2"] = 1, + ["RedBigBird"] = 3, + ["LightBlock8"] = 4, + ["WoodBlock6"] = 29, + ["StaticBlockTheme15_04"] = 4, + ["WoodBlock5"] = 6, + ["LightBlock9"] = 4, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig"] = 2, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 6, + ["BoomerangBird"] = 4, + ["SmallPiglette"] = 2, + ["ExtraHelmetSmall"] = 4, + ["StoneBlock4"] = 12, + ["ExtraTreasureChest"] = 3, + ["LightBlock6"] = 3, + ["StaticBlockTheme01_01"] = 12, + ["StoneBlock12"] = 2, + ["StaticBalloon05"] = 2, + ["RedBird"] = 2, + ["StaticBalloon03"] = 4, + ["WoodBlock10"] = 13, + ["StaticBlockTheme01_02"] = 9, + ["StoneBlock5"] = 3, + ["StoneBlock9"] = 5, + ["LightBlock1"] = 2, + ["LightBlock10"] = 4, + ["WoodBlock9"] = 5, + ["StoneBlock11"] = 21, + ["ExtraHolyGrail"] = 1, + ["ExtraHelmetBoss"] = 1, + ["LightBlock4"] = 21, + +} +theme = "theme15boss" +birdCameraData = { + ["left"] = 34914.8, + ["bottom"] = -113.829, + ["screenWidth"] = 480, + ["py"] = -614.024, + ["screenHeight"] = 320, + ["right"] = 37229.6, + ["top"] = -1126.02, + ["iphone"] = { + ["bottom"] = -223.909, + ["screenWidth"] = 1680, + ["py"] = -561.288, + ["screenHeight"] = 1024, + ["top"] = -974.191, + ["sy"] = 1.24, + ["sx"] = 1.24, + ["right"] = 2992.49, + ["left"] = 903.791, + ["px"] = 1581.21, + + }, + ["version"] = "0.02", + ["sx"] = 0.3125, + ["windows"] = { + ["bottom"] = 238.965, + ["screenWidth"] = 1366, + ["py"] = -522.798, + ["screenHeight"] = 768, + ["top"] = -1184.87, + ["sy"] = 0.58, + ["sx"] = 0.58, + ["px"] = 1756.47, + ["left"] = 578.884, + ["right"] = 3637.25, + + }, + ["sy"] = 0.3125, + ["ipad"] = { + ["bottom"] = 210.986, + ["screenWidth"] = 1024, + ["py"] = -522.798, + ["screenHeight"] = 768, + ["top"] = -1184.87, + ["sy"] = 0.58, + ["sx"] = 0.58, + ["px"] = 1756.47, + ["left"] = 873.711, + ["right"] = 3326.08, + + }, + ["px"] = 35682.8, + +} +filename = "LevelP4_478.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_339.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_339.lua new file mode 100644 index 0000000000000000000000000000000000000000..8913e3f993b907a5bdd5d116383d443846b7557a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_339.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_341.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_341.lua new file mode 100644 index 0000000000000000000000000000000000000000..13581b15927dbd32f5e2be1507dbc76a2dabb4a2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_341.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_343.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_343.lua new file mode 100644 index 0000000000000000000000000000000000000000..75e27f58876913e131ab6d315318c7159589350b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_343.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_347.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_347.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9f2430544cee8990598374babf5f8d417668774 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_347.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_350.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_350.lua new file mode 100644 index 0000000000000000000000000000000000000000..66efc1b476809f6b89f0efcdbd4cce1da14217c2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_350.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_352.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_352.lua new file mode 100644 index 0000000000000000000000000000000000000000..a66ac3fa199bc86dd4c6ee18163b326bbcc0b1c1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_352.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_356.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_356.lua new file mode 100644 index 0000000000000000000000000000000000000000..710043cd4a18ea8f930dfc5c506e2ab3321dfa6b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_356.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_357.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_357.lua new file mode 100644 index 0000000000000000000000000000000000000000..62e93e776ee23a0622e04232f3c3402fef9074dd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_357.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_610.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_610.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d70b767e00e016a618121408fa791ea9eceea7e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_610.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_615.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_615.lua new file mode 100644 index 0000000000000000000000000000000000000000..61724593eadfa7c3171f437f7da3006162c62893 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_615.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_616.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_616.lua new file mode 100644 index 0000000000000000000000000000000000000000..49a695930cc48ce3a17af67b37fe69698353be21 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_616.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_620.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_620.lua new file mode 100644 index 0000000000000000000000000000000000000000..55235f69dff5018052c57a61c276e183265ef3c2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_620.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_628.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_628.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ebc5ff8ee527eba3c1092272fd2f92f01effbeb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_628.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_634.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_634.lua new file mode 100644 index 0000000000000000000000000000000000000000..827834a7e9f3114abc7c09cd0fe1dd8c4620b2b8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_634.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_640.lua b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_640.lua new file mode 100644 index 0000000000000000000000000000000000000000..235cb8338c6da8231b5a206a107fcd1f907bfd83 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack12/LevelP5_640.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_345.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_345.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd55b7b59a8f046be02329cc666bc0138817c8b5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_345.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_348.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_348.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ec09cb4842ead980d22c2f4b8593523e3e6b141 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_348.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_354.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_354.lua new file mode 100644 index 0000000000000000000000000000000000000000..4f655670fe0651cffdbaa2f03c4dbbefc0f5533e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_354.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_355.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_355.lua new file mode 100644 index 0000000000000000000000000000000000000000..676ac098e8aca4a0d1404b14415a5eaf24df9085 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_355.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_360.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_360.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4f516581a4c42ec430e385f011ce94f8d0cef9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_360.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_361.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_361.lua new file mode 100644 index 0000000000000000000000000000000000000000..4540958a1d86cc7a0ab2f4a9d600f3704df4d8d2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_361.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_363.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_363.lua new file mode 100644 index 0000000000000000000000000000000000000000..322da6bda604fd015f17a41255427ecaa33f5b92 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_363.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_366.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_366.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfcb16e40e61d9e0f41930f58aa6c3066a6d6a24 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_366.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_623.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_623.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0d9480dfeb615149fc168f221ab0e43696323f6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_623.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_631.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_631.lua new file mode 100644 index 0000000000000000000000000000000000000000..19e2cdbcc1390d3cabc21eb32e081d543cefa5dc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_631.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_635.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_635.lua new file mode 100644 index 0000000000000000000000000000000000000000..bed382e5e55a85f95602c3b92716c92f0b492c66 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_635.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_650.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_650.lua new file mode 100644 index 0000000000000000000000000000000000000000..f131ee61b2f05521cc1e6eb32928db9ce19a5471 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_650.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_664.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_664.lua new file mode 100644 index 0000000000000000000000000000000000000000..473a6a4588c122bbf3e39f14f943d24cdbba9c97 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_664.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_669.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_669.lua new file mode 100644 index 0000000000000000000000000000000000000000..420702e7219224ba801adb648c174299096e6552 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_669.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_672.lua b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_672.lua new file mode 100644 index 0000000000000000000000000000000000000000..7e8edb16d6ed606230fa7106c367657b197eb057 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack13/LevelP5_672.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_1.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..6ce588ab13cc83a1deddcde143fe910cbe8e5658 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_1.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_2.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a705e7fb1830b22833e53b200f92fd754b12723 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_2.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_3.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..77fbecd9e61706370515c09bc6291d874017e853 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelFB_3.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_340.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_340.lua new file mode 100644 index 0000000000000000000000000000000000000000..d971a153e538e60da04c5f358c1fe97989a72309 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_340.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_342.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_342.lua new file mode 100644 index 0000000000000000000000000000000000000000..706413a83028fe3a17577ad2244169038bc094d8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_342.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_351.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_351.lua new file mode 100644 index 0000000000000000000000000000000000000000..3d38cb22350945fe4ff967712692c4b0a1b2f125 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_351.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_359.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_359.lua new file mode 100644 index 0000000000000000000000000000000000000000..01485aafa948f95e63f9e59661fc30491d39800a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_359.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_362.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_362.lua new file mode 100644 index 0000000000000000000000000000000000000000..f42a519cf9371b9845e923526ddffc5c7df137ba Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_362.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_364.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_364.lua new file mode 100644 index 0000000000000000000000000000000000000000..6e134f90e6c741b1c5e4290c6c8fd133b2fd7aa8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_364.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_367.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_367.lua new file mode 100644 index 0000000000000000000000000000000000000000..f2764baa119ae7409aed4c3d44769e14f4a79e99 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_367.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_627.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_627.lua new file mode 100644 index 0000000000000000000000000000000000000000..4664b4fe6777b8790a67e8aba328810deb581a31 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_627.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_648.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_648.lua new file mode 100644 index 0000000000000000000000000000000000000000..5b1fd4cdc29f60859db998f54c6f5d042d5b3a31 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_648.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_651.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_651.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c7936be6f152d62ce2af24f2a43533fcf965246 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_651.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_656.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_656.lua new file mode 100644 index 0000000000000000000000000000000000000000..05d05dae0cec964da755042b3ff034d34e2bd008 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_656.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_662.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_662.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f30b43a2eaa3ef3bb15538555d6644387a600cd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_662.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_663.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_663.lua new file mode 100644 index 0000000000000000000000000000000000000000..5a22c59056be24d4754a483014860e5c5607589c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_663.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_668.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_668.lua new file mode 100644 index 0000000000000000000000000000000000000000..f5950b54e45e13c0e1e2be7641c3d33ba1bd8cb9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_668.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_671.lua b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_671.lua new file mode 100644 index 0000000000000000000000000000000000000000..d0507ac8243b1be8f94da78d4e11670e862e018f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack14/LevelP5_671.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/Level695.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/Level695.lua new file mode 100644 index 0000000000000000000000000000000000000000..efc189168a379471fe25c74027d8f1356f7db5ef Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/Level695.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/Level702.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/Level702.lua new file mode 100644 index 0000000000000000000000000000000000000000..641f5d3991aeb7a392681125542415c8cd1030e6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/Level702.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/Level707.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/Level707.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff15494d45b646262f713cb9d94374b55dd62c63 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/Level707.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/Level708.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/Level708.lua new file mode 100644 index 0000000000000000000000000000000000000000..c11ffa36d48b2ac94272e5998ba0ebb304fb43d3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/Level708.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/Level709.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/Level709.lua new file mode 100644 index 0000000000000000000000000000000000000000..af8a5cb850d3bfc9a5980a9c10f0de52b2dea89b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/Level709.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/Level711.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/Level711.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbf0f8bf64e280f79444b404d83603c5a877841d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/Level711.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_1.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..e62492fe0b3106ce719bc6cf1a91279b9a03171a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_1.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_12.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d381d94458933d2c3798f9da1a97c37a6c29354 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_12.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_16.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8bd24cc7932e84e4ba2c7aa90f9ac8d039c77d2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_16.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_2.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..bef7397159e6dcd27a2898ad0effa85cf7a52463 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_2.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_20.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..6f11c49752e12523e7b0510f2d325ef0f8de010c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_20.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_22.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..73223e1b3fa833b75c889d396711ef1b8a046eb3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_22.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_26.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..c69bc50fb4afd6ae43cd1da72d001f3f6e9583fe Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_26.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_28.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..871546aa29cc13c411c58ed55549d0c4d9737dc1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_28.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_8.lua b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..79653b27d55d64c4a1bf2ff4926fbf8829f97933 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack15/LevelP6_8.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/Level697.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/Level697.lua new file mode 100644 index 0000000000000000000000000000000000000000..e38d89a44998d1c4152510b51e01f2fd6a2fea6b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/Level697.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/Level701.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/Level701.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fe24f8989dad71b9e67aae99f26ba5b940cbc91 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/Level701.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/Level703.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/Level703.lua new file mode 100644 index 0000000000000000000000000000000000000000..7e2e8234b80c12ffed76c98e9b8a37111ebf39a0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/Level703.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/Level704.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/Level704.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ae2fa27ca06301e41f7803d70f9d17d7d1a29bf Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/Level704.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/Level705.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/Level705.lua new file mode 100644 index 0000000000000000000000000000000000000000..8abf05b43859882ca63800e41fe3674d02d45b01 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/Level705.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_11.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..20e3d76ed97964a966e986babcdab1bd9e681f8b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_11.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_13.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..3e451ebe2a22ab3f5735ae48e7a0e27e987bd95f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_13.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_15.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..429a10005c1fe4ad490d459d0399005f540c8405 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_15.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_19.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ba38687ecfefebaec3aa063d8e5222bb8bb97fd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_19.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_23.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..ea67a0578172078b952c0a8321ec172344db6fd1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_23.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_25.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab9da540a1ecdf644123d2780436eb211f1dd7b0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_25.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_29.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4ae93ac57543e215f32d61fa7981be0b38e25d5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_29.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_3.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..863b477eb8d79e10500fcee483dba83e61b665f1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_3.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_4.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..5705c900315e2f8675060fce90bdd3995efff71d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_4.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_5.lua b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..36f463bd7a5d9b8d6589b348a97325925106460e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack16/LevelP6_5.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/Level698_1.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/Level698_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..a6f7e56e32452ef66d31a3b2a701896addf142c3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/Level698_1.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/Level707_1.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/Level707_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..001ea9459cf1860e189b7744c5b312859bcbe445 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/Level707_1.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/Level711_1.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/Level711_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..2a48825ea174b7945193709ad6386882ea4448c2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/Level711_1.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/Level713_1.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/Level713_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b2e53d90e467c2e106560a56b823ae6b076e83d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/Level713_1.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_10.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..3bb7af711919a207875d1d3f909cbb1c28fdd3fa Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_10.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_14.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff1eb7b4b55037aae8b97a700a9622b22f0fd6da Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_14.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_17.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..b9472327acc20c18e0a09bc6fd82f5d2605c4c8f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_17.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_18.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d9f0612e518b42d34a401ca195a5f12f4db15e4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_18.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_21.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..6d589d388c65d3821a4fcff4246817bda884df09 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_21.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_24.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..106691dac942cdc3c947ab0e9b4761316119e84b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_24.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_27.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..9cb8beaa076f2d5e52d97aba74405c5a41f04758 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_27.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_30.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_30.lua new file mode 100644 index 0000000000000000000000000000000000000000..b439b8b80f1df5c55802566d361740dd41590bc0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_30.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_6.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..44d4b0b43264da129ad0b95e32259ca82ce6cc10 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_6.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_7.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..0b757b0572d0132f2d5891b7361a70f273241361 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_7.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_9.lua b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..230c3e5c3b85eed847f3bf484d3e916c6ae7e3f3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack17/LevelP6_9.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH552.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH552.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1809deaaecbc193d0480f0e288354a98fb63ec5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH552.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH555.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH555.lua new file mode 100644 index 0000000000000000000000000000000000000000..32438341d089d56b4ae2e78cfa6be4221ab22f12 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH555.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH556.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH556.lua new file mode 100644 index 0000000000000000000000000000000000000000..901269ad6a28de57ec38c1443988e332870652cb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH556.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH560.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH560.lua new file mode 100644 index 0000000000000000000000000000000000000000..b09b99bacf91d5d99c33ce3c9944bf4b6f10aec9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH560.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH561.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH561.lua new file mode 100644 index 0000000000000000000000000000000000000000..afb47d526bc772b7c2643f7b5ecab6fff10b94ba Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH561.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH564.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH564.lua new file mode 100644 index 0000000000000000000000000000000000000000..8faa10c729d018b2c9c57ef9e8ef43a9b4d7120c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH564.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH565.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH565.lua new file mode 100644 index 0000000000000000000000000000000000000000..67ba38008e3e38f7ddb46b1467d235a3d1249e30 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH565.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH566.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH566.lua new file mode 100644 index 0000000000000000000000000000000000000000..67f2a56e7f7e1bf547eba3633f20433ec5bc26e7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH566.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH567.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH567.lua new file mode 100644 index 0000000000000000000000000000000000000000..802898c34004974cde6e3c904a2954f0c29a2f58 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH567.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH800.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH800.lua new file mode 100644 index 0000000000000000000000000000000000000000..09c8968de5c51f72515c0be915c3e6baa0801bc4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH800.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH801.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH801.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4483221fea0507356dd61fd783a3485e780833f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH801.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH802.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH802.lua new file mode 100644 index 0000000000000000000000000000000000000000..e10dd173e65e8bf50b771a165a2a1b123449b759 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH802.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH804.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH804.lua new file mode 100644 index 0000000000000000000000000000000000000000..82010a08705b3221805bfc449c785a8ace6c6598 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH804.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH806.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH806.lua new file mode 100644 index 0000000000000000000000000000000000000000..8289e227968f1908e2a7018279bb69c6259c4aa3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH806.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH900.lua b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH900.lua new file mode 100644 index 0000000000000000000000000000000000000000..aa1c001c29085cf0270967103f495af9c429138f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack18/LevelH900.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level743.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level743.lua new file mode 100644 index 0000000000000000000000000000000000000000..c40c83990d4ea0db97bfb57c4f09a149165252fd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level743.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level744.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level744.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1028ba7296ea51a33a21bc2aace9d34ff6f48cd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level744.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level745.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level745.lua new file mode 100644 index 0000000000000000000000000000000000000000..a289b1f431ebbc4490c5a963f2e288f4152c2afd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level745.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level746.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level746.lua new file mode 100644 index 0000000000000000000000000000000000000000..1b8433532c29600a49cfab8b8cccdf4a2fc0dcac Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level746.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level747.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level747.lua new file mode 100644 index 0000000000000000000000000000000000000000..191b9678ba58b67a4e9cd8c1999342e1b3123e29 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level747.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level748.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level748.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0f6b9af3f247b428825b8a5201c68b02831cb7b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level748.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level749.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level749.lua new file mode 100644 index 0000000000000000000000000000000000000000..2be2c1bce1ae0abeb77eafb4d3a482c46fa3ce84 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level749.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level750.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level750.lua new file mode 100644 index 0000000000000000000000000000000000000000..472670f3eeb762aa4cca7455bcec7da8b24b9fea Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level750.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level751.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level751.lua new file mode 100644 index 0000000000000000000000000000000000000000..13ecd6848c354c994ecd45f43dd28b531beb3285 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level751.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level764.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level764.lua new file mode 100644 index 0000000000000000000000000000000000000000..754346709d539f03a60b3ff21463298e9f4c041c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level764.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level765.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level765.lua new file mode 100644 index 0000000000000000000000000000000000000000..a3dbefafc049acb0169938270b96852b826ffed0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level765.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level766.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level766.lua new file mode 100644 index 0000000000000000000000000000000000000000..5ebd2c8844c54cfc357df5b86b5730f75b89e507 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level766.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level767.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level767.lua new file mode 100644 index 0000000000000000000000000000000000000000..5480f0ca24f82a01a81f1410cc07b660f208c8d7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level767.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level768.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level768.lua new file mode 100644 index 0000000000000000000000000000000000000000..54aa64be90468455bbc0591bac63ad9b98f72f5b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level768.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack19/Level769.lua b/Angry Birds Project R/0.2.0/data/levels/pack19/Level769.lua new file mode 100644 index 0000000000000000000000000000000000000000..2428c0e078f7ff063951a9d422ef55a05dff797b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack19/Level769.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_103.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_103.lua new file mode 100644 index 0000000000000000000000000000000000000000..14f93e6ed69bf84144e8d36987fdcce62bc1afa1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_103.lua @@ -0,0 +1,773 @@ +themeSprites = { + +} +castleCameraData = { + ["right"] = 1695.91, + ["bottom"] = 90.122, + ["px"] = 1095.91, + ["py"] = -309.878, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -709.878, + ["iphone"] = { + ["bottom"] = 90.122, + ["screenWidth"] = 480, + ["py"] = -309.878, + ["screenHeight"] = 320, + ["top"] = -709.878, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1695.91, + ["left"] = 495.91, + ["px"] = 1095.91, + + }, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["windows"] = { + ["sy"] = 0.407305, + ["sx"] = 0.407305, + ["px"] = 1387.17, + ["py"] = -479.481, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["left"] = 495.91, + ["ipad"] = { + ["bottom"] = 197.336, + ["screenWidth"] = 1024, + ["py"] = -342.982, + ["screenHeight"] = 768, + ["top"] = -883.3, + ["sy"] = 0.710692, + ["sx"] = 0.710692, + ["px"] = 1096.68, + ["left"] = 376.255, + ["right"] = 1817.1, + + }, + ["screenWidth"] = 480, + +} +levelParticles = { + ["y"] = -1846.15, + ["x"] = 2231.34, + ["firstFrame"] = true, + ["width"] = 6228.15, + +} +joints = { + +} +world = { + ["StaticBlockTheme04_05_7"] = { + ["y"] = -3.50439, + ["x"] = -29.5847, + ["name"] = "StaticBlockTheme04_05_7", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["RedBird_7"] = { + ["y"] = -7.11612, + ["x"] = -11.0572, + ["name"] = "RedBird_7", + ["angle"] = 0.39267, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_05_3"] = { + ["y"] = -2.48867, + ["x"] = 7.05173, + ["name"] = "StaticBlockTheme04_05_3", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock10_8"] = { + ["y"] = -9.04065, + ["x"] = 79.7905, + ["name"] = "WoodBlock10_8", + ["angle"] = 5.89065, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_13"] = { + ["y"] = -16.9906, + ["x"] = 67.8304, + ["name"] = "WoodBlock4_13", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock4", + + }, + ["ExtraApple_2"] = { + ["y"] = -14.8333, + ["x"] = -28.0803, + ["name"] = "ExtraApple_2", + ["angle"] = 0.392913, + ["definition"] = "ExtraApple", + + }, + ["MediumPiglette_2"] = { + ["y"] = -13.1915, + ["x"] = 68.0414, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.000124931, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock3_1"] = { + ["y"] = -15.8033, + ["x"] = 102.199, + ["name"] = "WoodBlock3_1", + ["angle"] = 3.14167, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_6"] = { + ["y"] = -3.50439, + ["x"] = -20.298, + ["name"] = "StaticBlockTheme04_05_6", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_01_5"] = { + ["y"] = 1.4864, + ["x"] = 51.853, + ["name"] = "StaticBlockTheme04_01_5", + ["angle"] = 2.35622, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WOODEN_TIRE_2"] = { + ["y"] = -2.09732, + ["x"] = -36.8312, + ["name"] = "WOODEN_TIRE_2", + ["angle"] = 4.71238, + ["definition"] = "WOODEN_TIRE", + + }, + ["WOODEN_TIRE_4"] = { + ["y"] = -11.6524, + ["x"] = 101.355, + ["name"] = "WOODEN_TIRE_4", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_05_5"] = { + ["y"] = -2.06655, + ["x"] = -12.9288, + ["name"] = "StaticBlockTheme04_05_5", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_01_6"] = { + ["y"] = -0.0613861, + ["x"] = 56.1446, + ["name"] = "StaticBlockTheme04_01_6", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_01_8"] = { + ["y"] = -7.94349, + ["x"] = 104.408, + ["name"] = "StaticBlockTheme04_01_8", + ["angle"] = 3.53434, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock10_6"] = { + ["y"] = -9.95526, + ["x"] = 63.4684, + ["name"] = "WoodBlock10_6", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock3_3"] = { + ["y"] = -8.47782, + ["x"] = 69.6596, + ["name"] = "WoodBlock3_3", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_12"] = { + ["y"] = -3.30003, + ["x"] = 90.5003, + ["name"] = "StaticBlockTheme04_05_12", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock6_13"] = { + ["y"] = -7.00038, + ["x"] = 68.1118, + ["name"] = "WoodBlock6_13", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock6", + + }, + ["ExtraApple_3"] = { + ["y"] = -16.5977, + ["x"] = -26.1269, + ["name"] = "ExtraApple_3", + ["angle"] = 0.000214577, + ["definition"] = "ExtraApple", + + }, + ["WoodBlock10_3"] = { + ["y"] = -14.3962, + ["x"] = 97.6966, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.81741e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme04_01_11"] = { + ["y"] = 2.2073, + ["x"] = 111.275, + ["name"] = "StaticBlockTheme04_01_11", + ["angle"] = 4.71244, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_01_2"] = { + ["y"] = -4.27829, + ["x"] = -39.786, + ["name"] = "StaticBlockTheme04_01_2", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock4_9"] = { + ["y"] = -6.93003, + ["x"] = 60.6542, + ["name"] = "WoodBlock4_9", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["WOODEN_TIRE_10"] = { + ["y"] = -10.4855, + ["x"] = -22.8503, + ["name"] = "WOODEN_TIRE_10", + ["angle"] = 0.000195503, + ["definition"] = "WOODEN_TIRE", + + }, + ["LightBlock4_8"] = { + ["y"] = -13.5433, + ["x"] = 65.368, + ["name"] = "LightBlock4_8", + ["angle"] = 1.57089, + ["definition"] = "LightBlock4", + + }, + ["WOODEN_TIRE_11"] = { + ["y"] = -10.4855, + ["x"] = -29.1515, + ["name"] = "WOODEN_TIRE_11", + ["angle"] = 0.000195503, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_01_3"] = { + ["y"] = -0.619882, + ["x"] = -42.2484, + ["name"] = "StaticBlockTheme04_01_3", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock3_6"] = { + ["y"] = -11.9955, + ["x"] = 83.0972, + ["name"] = "WoodBlock3_6", + ["angle"] = 5.89066, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_01_1"] = { + ["y"] = -6.74068, + ["x"] = -36.1276, + ["name"] = "StaticBlockTheme04_01_1", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_05_2"] = { + ["y"] = -3.89575, + ["x"] = 14.5093, + ["name"] = "StaticBlockTheme04_05_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_05_13"] = { + ["y"] = -4.70708, + ["x"] = 97.7467, + ["name"] = "StaticBlockTheme04_05_13", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["RedBird_4"] = { + ["y"] = -9.50816, + ["x"] = 14.1999, + ["name"] = "RedBird_4", + ["angle"] = 6.28317, + ["definition"] = "RedBird", + + }, + ["ExtraTire01_1"] = { + ["y"] = -4.53799, + ["x"] = 61.006, + ["name"] = "ExtraTire01_1", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraTire01", + + }, + ["WoodBlock4_14"] = { + ["y"] = -9.95525, + ["x"] = 70.6445, + ["name"] = "WoodBlock4_14", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme04_05_14"] = { + ["y"] = -3.1593, + ["x"] = 97.7467, + ["name"] = "StaticBlockTheme04_05_14", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 41.1219, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock3_8"] = { + ["y"] = -14.4553, + ["x"] = -30.3487, + ["name"] = "WoodBlock3_8", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock3", + + }, + ["WoodBlock10_9"] = { + ["y"] = -13.069, + ["x"] = -26.1269, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock10", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -2.8495, + ["x"] = 58.9658, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0.00017786, + ["definition"] = "StaticFragileBlock06", + + }, + ["BLOCK_GREEN_BAG_1"] = { + ["y"] = -17.6942, + ["x"] = 95.2683, + ["name"] = "BLOCK_GREEN_BAG_1", + ["angle"] = 0.785578, + ["definition"] = "BLOCK_GREEN_BAG", + + }, + ["StaticBlockTheme04_05_8"] = { + ["y"] = 2.11723, + ["x"] = 62.1476, + ["name"] = "StaticBlockTheme04_05_8", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock3_7"] = { + ["y"] = -14.5183, + ["x"] = -22.0941, + ["name"] = "WoodBlock3_7", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_9"] = { + ["y"] = 2.11723, + ["x"] = 71.2936, + ["name"] = "StaticBlockTheme04_05_9", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock1_2"] = { + ["y"] = -16.9203, + ["x"] = 70.4334, + ["name"] = "WoodBlock1_2", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock4_10"] = { + ["y"] = -8.97029, + ["x"] = 66.564, + ["name"] = "WoodBlock4_10", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["RedBird_6"] = { + ["y"] = -5.70904, + ["x"] = -3.17752, + ["name"] = "RedBird_6", + ["angle"] = 6.28316, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_05_10"] = { + ["y"] = 0.147318, + ["x"] = 81.9874, + ["name"] = "StaticBlockTheme04_05_10", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WOODEN_TIRE_5"] = { + ["y"] = -11.6524, + ["x"] = 94.1789, + ["name"] = "WOODEN_TIRE_5", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["WoodBlock4_11"] = { + ["y"] = -8.97029, + ["x"] = 62.4834, + ["name"] = "WoodBlock4_11", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock4_9"] = { + ["y"] = -8.0557, + ["x"] = 73.2476, + ["name"] = "LightBlock4_9", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock4", + + }, + ["RedBird_8"] = { + ["y"] = -9.1394, + ["x"] = -18.1966, + ["name"] = "RedBird_8", + ["angle"] = 6.28317, + ["definition"] = "RedBird", + + }, + ["WoodBlock3_5"] = { + ["y"] = -9.111, + ["x"] = 76.1321, + ["name"] = "WoodBlock3_5", + ["angle"] = 5.89066, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_03_1"] = { + ["y"] = -1.82257, + ["x"] = 73.4042, + ["name"] = "StaticBlockTheme04_03_1", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_03", + + }, + ["StoneBlock2_1"] = { + ["y"] = -11.4327, + ["x"] = 60.7246, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock2", + + }, + ["ExtraCowboyHelmet_1_1"] = { + ["y"] = -19.2706, + ["x"] = 98.952, + ["name"] = "ExtraCowboyHelmet_1_1", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraCowboyHelmet_1", + + }, + ["WOODEN_TIRE_8"] = { + ["y"] = -5.52295, + ["x"] = 77.6799, + ["name"] = "WOODEN_TIRE_8", + ["angle"] = 5.89065, + ["definition"] = "WOODEN_TIRE", + + }, + ["StoneBlock10_1"] = { + ["y"] = -16.076, + ["x"] = 67.8303, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.000195503, + ["definition"] = "StoneBlock10", + + }, + ["WOODEN_TIRE_9"] = { + ["y"] = -8.1964, + ["x"] = 84.0117, + ["name"] = "WOODEN_TIRE_9", + ["angle"] = 5.89065, + ["definition"] = "WOODEN_TIRE", + + }, + ["WoodBlock10_5"] = { + ["y"] = -7.98534, + ["x"] = 63.6091, + ["name"] = "WoodBlock10_5", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock2_1"] = { + ["y"] = -8.97029, + ["x"] = 59.4582, + ["name"] = "LightBlock2_1", + ["angle"] = 0.000124931, + ["definition"] = "LightBlock2", + + }, + ["ExtraTire01_2"] = { + ["y"] = -4.6787, + ["x"] = 69.4484, + ["name"] = "ExtraTire01_2", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme04_05_11"] = { + ["y"] = 1.76546, + ["x"] = 80.51, + ["name"] = "StaticBlockTheme04_05_11", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["LargePiglette_2"] = { + ["y"] = -17.14, + ["x"] = 98.8222, + ["name"] = "LargePiglette_2", + ["angle"] = 8.96454e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_01_10"] = { + ["y"] = -1.87323, + ["x"] = 110.431, + ["name"] = "StaticBlockTheme04_01_10", + ["angle"] = 4.31974, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["LargePiglette_3"] = { + ["y"] = -11.5734, + ["x"] = 78.7352, + ["name"] = "LargePiglette_3", + ["angle"] = 5.89066, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_05_4"] = { + ["y"] = -0.237344, + ["x"] = -3.07924, + ["name"] = "StaticBlockTheme04_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["LightBlock4_7"] = { + ["y"] = -13.5433, + ["x"] = 70.7852, + ["name"] = "LightBlock4_7", + ["angle"] = 1.57089, + ["definition"] = "LightBlock4", + + }, + ["ExtraApple_1"] = { + ["y"] = -14.7703, + ["x"] = -24.1735, + ["name"] = "ExtraApple_1", + ["angle"] = 0.392913, + ["definition"] = "ExtraApple", + + }, + ["StaticBlockTheme04_01_9"] = { + ["y"] = -5.46128, + ["x"] = 108.039, + ["name"] = "StaticBlockTheme04_01_9", + ["angle"] = 3.92704, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["RedBird_5"] = { + ["y"] = -7.39754, + ["x"] = 4.77247, + ["name"] = "RedBird_5", + ["angle"] = 5.89046, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_01_4"] = { + ["y"] = -0.978323, + ["x"] = 55.4639, + ["name"] = "StaticBlockTheme04_01_4", + ["angle"] = 2.74891, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock6_15"] = { + ["y"] = -10.9402, + ["x"] = 68.6042, + ["name"] = "WoodBlock6_15", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock1_1"] = { + ["y"] = -16.9906, + ["x"] = 65.368, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock1", + + }, + ["WOODEN_TIRE_3"] = { + ["y"] = -2.15464, + ["x"] = 104.662, + ["name"] = "WOODEN_TIRE_3", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_01_7"] = { + ["y"] = -7.94349, + ["x"] = 104.408, + ["name"] = "StaticBlockTheme04_01_7", + ["angle"] = 3.53434, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock2_1"] = { + ["y"] = -8.89994, + ["x"] = 71.7702, + ["name"] = "WoodBlock2_1", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock3_2"] = { + ["y"] = -15.8033, + ["x"] = 93.3346, + ["name"] = "WoodBlock3_2", + ["angle"] = 3.14167, + ["definition"] = "WoodBlock3", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StaticBlockTheme04_05"] = 14, + ["BLOCK_GREEN_BAG"] = 1, + ["WoodBlock3"] = 8, + ["MediumPiglette"] = 2, + ["WoodBlock4"] = 16, + ["ExtraApple"] = 3, + ["StoneBlock10"] = 1, + ["StaticBlockTheme04_01"] = 11, + ["StoneBlock11"] = 8, + ["LightBlock6"] = 1, + ["ExtraCowboyHelmet_1"] = 1, + ["WoodBlock9"] = 2, + ["RedBird"] = 8, + ["StaticBlockTheme01_03"] = 1, + ["ExtraTire01"] = 2, + ["StoneBlock2"] = 1, + ["WoodBlock1"] = 2, + ["WoodBlock5"] = 5, + ["WoodBlock2"] = 1, + ["WoodBlock10"] = 9, + ["LightBlock2"] = 1, + ["StaticBlockTheme04_03"] = 1, + ["StaticFragileBlock06"] = 1, + ["WOODEN_TIRE"] = 11, + ["StaticBlockTheme01_05"] = 1, + ["WoodBlock6"] = 17, + ["LargePiglette"] = 3, + ["HelmetPiglette"] = 1, + ["LightBlock4"] = 9, + +} +theme = "theme4" +birdCameraData = { + ["right"] = 1695.91, + ["bottom"] = 90.122, + ["px"] = 420.907, + ["py"] = -304.878, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -704.878, + ["iphone"] = { + ["bottom"] = 90.122, + ["screenWidth"] = 480, + ["py"] = -304.878, + ["screenHeight"] = 320, + ["top"] = -704.878, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1695.91, + ["left"] = -179.093, + ["px"] = 420.907, + + }, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["windows"] = { + ["sy"] = 0.407305, + ["sx"] = 0.407305, + ["px"] = 380.55, + ["py"] = -435.288, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["left"] = -179.093, + ["ipad"] = { + ["bottom"] = 197.336, + ["screenWidth"] = 1024, + ["py"] = -346.631, + ["screenHeight"] = 768, + ["top"] = -886.949, + ["sy"] = 0.710692, + ["sx"] = 0.710692, + ["px"] = 558.822, + ["left"] = -161.603, + ["right"] = 1817.1, + + }, + ["screenWidth"] = 480, + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_104.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_104.lua new file mode 100644 index 0000000000000000000000000000000000000000..a550f5f4ffa811c23a482b958f0f4bb94f390500 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_104.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_108.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_108.lua new file mode 100644 index 0000000000000000000000000000000000000000..d953a55ed355d28670508f599292c2f0d953e550 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_108.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_114.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_114.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e7e3bbd4c63879144346b20261ceb0eb3c55fb2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_114.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_210.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_210.lua new file mode 100644 index 0000000000000000000000000000000000000000..899156c8a292b89f159e69dab4d235af269eab29 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_210.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_64.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_64.lua new file mode 100644 index 0000000000000000000000000000000000000000..d1d88517980edc290b186fae8e9ba10ab73b65ae Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_64.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_65.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_65.lua new file mode 100644 index 0000000000000000000000000000000000000000..2d3ec14e7ac7f0b979937e14b16c327636c11e51 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_65.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_66.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_66.lua new file mode 100644 index 0000000000000000000000000000000000000000..d54f2dae06741e678126b7fd0407c5bcc5e0f167 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_66.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_68.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_68.lua new file mode 100644 index 0000000000000000000000000000000000000000..d1b782a9ab024e99ed3427cc71718892985cd3a0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_68.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_69.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_69.lua new file mode 100644 index 0000000000000000000000000000000000000000..e46fa510293b098b77e8e91e19ba702766db4144 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_69.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_77.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_77.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b0aadcb7962337dda6e1dd47f9c23552a9d02fa Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_77.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_79.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_79.lua new file mode 100644 index 0000000000000000000000000000000000000000..90403645df8364b1cf4628f1e02ef91ebe638827 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_79.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_80.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_80.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4e06f3621146e7c3c4112906bac93601ad9007b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_80.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_81.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_81.lua new file mode 100644 index 0000000000000000000000000000000000000000..c3fbc932dde3cc2342f84fd7698fb7d887a70ece Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_81.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_82.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_82.lua new file mode 100644 index 0000000000000000000000000000000000000000..bff574908e2df90c72e01293da5c8a711f555336 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_82.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_83.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_83.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e6fd3d0f3b4ea196abe2a87c2c6b1a1416ec320 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_83.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_85.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_85.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8b632bb7b476a05a088ee155e66ba2a0f84b221 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_85.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_88.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_88.lua new file mode 100644 index 0000000000000000000000000000000000000000..fe3edfbbe373041f4562f0869de1f088e4417f3b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_88.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_91.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_91.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e22375431a113184f9640b9a467f4596d1d1e82 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_91.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_95.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_95.lua new file mode 100644 index 0000000000000000000000000000000000000000..36426b04ae173c8134fb69c4ca4dd4f71c4faf61 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_95.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_96.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_96.lua new file mode 100644 index 0000000000000000000000000000000000000000..fc9b81eb9e661ecae1e8e826a01a5dee2b6ba443 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack2/LevelP2_96.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack2/temp/LevelP2_103.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack2/temp/LevelP2_103.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..14f93e6ed69bf84144e8d36987fdcce62bc1afa1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack2/temp/LevelP2_103.temp.lua @@ -0,0 +1,773 @@ +themeSprites = { + +} +castleCameraData = { + ["right"] = 1695.91, + ["bottom"] = 90.122, + ["px"] = 1095.91, + ["py"] = -309.878, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -709.878, + ["iphone"] = { + ["bottom"] = 90.122, + ["screenWidth"] = 480, + ["py"] = -309.878, + ["screenHeight"] = 320, + ["top"] = -709.878, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1695.91, + ["left"] = 495.91, + ["px"] = 1095.91, + + }, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["windows"] = { + ["sy"] = 0.407305, + ["sx"] = 0.407305, + ["px"] = 1387.17, + ["py"] = -479.481, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["left"] = 495.91, + ["ipad"] = { + ["bottom"] = 197.336, + ["screenWidth"] = 1024, + ["py"] = -342.982, + ["screenHeight"] = 768, + ["top"] = -883.3, + ["sy"] = 0.710692, + ["sx"] = 0.710692, + ["px"] = 1096.68, + ["left"] = 376.255, + ["right"] = 1817.1, + + }, + ["screenWidth"] = 480, + +} +levelParticles = { + ["y"] = -1846.15, + ["x"] = 2231.34, + ["firstFrame"] = true, + ["width"] = 6228.15, + +} +joints = { + +} +world = { + ["StaticBlockTheme04_05_7"] = { + ["y"] = -3.50439, + ["x"] = -29.5847, + ["name"] = "StaticBlockTheme04_05_7", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["RedBird_7"] = { + ["y"] = -7.11612, + ["x"] = -11.0572, + ["name"] = "RedBird_7", + ["angle"] = 0.39267, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_05_3"] = { + ["y"] = -2.48867, + ["x"] = 7.05173, + ["name"] = "StaticBlockTheme04_05_3", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock10_8"] = { + ["y"] = -9.04065, + ["x"] = 79.7905, + ["name"] = "WoodBlock10_8", + ["angle"] = 5.89065, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_13"] = { + ["y"] = -16.9906, + ["x"] = 67.8304, + ["name"] = "WoodBlock4_13", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock4", + + }, + ["ExtraApple_2"] = { + ["y"] = -14.8333, + ["x"] = -28.0803, + ["name"] = "ExtraApple_2", + ["angle"] = 0.392913, + ["definition"] = "ExtraApple", + + }, + ["MediumPiglette_2"] = { + ["y"] = -13.1915, + ["x"] = 68.0414, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.000124931, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock3_1"] = { + ["y"] = -15.8033, + ["x"] = 102.199, + ["name"] = "WoodBlock3_1", + ["angle"] = 3.14167, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_6"] = { + ["y"] = -3.50439, + ["x"] = -20.298, + ["name"] = "StaticBlockTheme04_05_6", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_01_5"] = { + ["y"] = 1.4864, + ["x"] = 51.853, + ["name"] = "StaticBlockTheme04_01_5", + ["angle"] = 2.35622, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WOODEN_TIRE_2"] = { + ["y"] = -2.09732, + ["x"] = -36.8312, + ["name"] = "WOODEN_TIRE_2", + ["angle"] = 4.71238, + ["definition"] = "WOODEN_TIRE", + + }, + ["WOODEN_TIRE_4"] = { + ["y"] = -11.6524, + ["x"] = 101.355, + ["name"] = "WOODEN_TIRE_4", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_05_5"] = { + ["y"] = -2.06655, + ["x"] = -12.9288, + ["name"] = "StaticBlockTheme04_05_5", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_01_6"] = { + ["y"] = -0.0613861, + ["x"] = 56.1446, + ["name"] = "StaticBlockTheme04_01_6", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_01_8"] = { + ["y"] = -7.94349, + ["x"] = 104.408, + ["name"] = "StaticBlockTheme04_01_8", + ["angle"] = 3.53434, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock10_6"] = { + ["y"] = -9.95526, + ["x"] = 63.4684, + ["name"] = "WoodBlock10_6", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock3_3"] = { + ["y"] = -8.47782, + ["x"] = 69.6596, + ["name"] = "WoodBlock3_3", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_12"] = { + ["y"] = -3.30003, + ["x"] = 90.5003, + ["name"] = "StaticBlockTheme04_05_12", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock6_13"] = { + ["y"] = -7.00038, + ["x"] = 68.1118, + ["name"] = "WoodBlock6_13", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock6", + + }, + ["ExtraApple_3"] = { + ["y"] = -16.5977, + ["x"] = -26.1269, + ["name"] = "ExtraApple_3", + ["angle"] = 0.000214577, + ["definition"] = "ExtraApple", + + }, + ["WoodBlock10_3"] = { + ["y"] = -14.3962, + ["x"] = 97.6966, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.81741e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme04_01_11"] = { + ["y"] = 2.2073, + ["x"] = 111.275, + ["name"] = "StaticBlockTheme04_01_11", + ["angle"] = 4.71244, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_01_2"] = { + ["y"] = -4.27829, + ["x"] = -39.786, + ["name"] = "StaticBlockTheme04_01_2", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock4_9"] = { + ["y"] = -6.93003, + ["x"] = 60.6542, + ["name"] = "WoodBlock4_9", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["WOODEN_TIRE_10"] = { + ["y"] = -10.4855, + ["x"] = -22.8503, + ["name"] = "WOODEN_TIRE_10", + ["angle"] = 0.000195503, + ["definition"] = "WOODEN_TIRE", + + }, + ["LightBlock4_8"] = { + ["y"] = -13.5433, + ["x"] = 65.368, + ["name"] = "LightBlock4_8", + ["angle"] = 1.57089, + ["definition"] = "LightBlock4", + + }, + ["WOODEN_TIRE_11"] = { + ["y"] = -10.4855, + ["x"] = -29.1515, + ["name"] = "WOODEN_TIRE_11", + ["angle"] = 0.000195503, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_01_3"] = { + ["y"] = -0.619882, + ["x"] = -42.2484, + ["name"] = "StaticBlockTheme04_01_3", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock3_6"] = { + ["y"] = -11.9955, + ["x"] = 83.0972, + ["name"] = "WoodBlock3_6", + ["angle"] = 5.89066, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_01_1"] = { + ["y"] = -6.74068, + ["x"] = -36.1276, + ["name"] = "StaticBlockTheme04_01_1", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_05_2"] = { + ["y"] = -3.89575, + ["x"] = 14.5093, + ["name"] = "StaticBlockTheme04_05_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_05_13"] = { + ["y"] = -4.70708, + ["x"] = 97.7467, + ["name"] = "StaticBlockTheme04_05_13", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["RedBird_4"] = { + ["y"] = -9.50816, + ["x"] = 14.1999, + ["name"] = "RedBird_4", + ["angle"] = 6.28317, + ["definition"] = "RedBird", + + }, + ["ExtraTire01_1"] = { + ["y"] = -4.53799, + ["x"] = 61.006, + ["name"] = "ExtraTire01_1", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraTire01", + + }, + ["WoodBlock4_14"] = { + ["y"] = -9.95525, + ["x"] = 70.6445, + ["name"] = "WoodBlock4_14", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme04_05_14"] = { + ["y"] = -3.1593, + ["x"] = 97.7467, + ["name"] = "StaticBlockTheme04_05_14", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 41.1219, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock3_8"] = { + ["y"] = -14.4553, + ["x"] = -30.3487, + ["name"] = "WoodBlock3_8", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock3", + + }, + ["WoodBlock10_9"] = { + ["y"] = -13.069, + ["x"] = -26.1269, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock10", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -2.8495, + ["x"] = 58.9658, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0.00017786, + ["definition"] = "StaticFragileBlock06", + + }, + ["BLOCK_GREEN_BAG_1"] = { + ["y"] = -17.6942, + ["x"] = 95.2683, + ["name"] = "BLOCK_GREEN_BAG_1", + ["angle"] = 0.785578, + ["definition"] = "BLOCK_GREEN_BAG", + + }, + ["StaticBlockTheme04_05_8"] = { + ["y"] = 2.11723, + ["x"] = 62.1476, + ["name"] = "StaticBlockTheme04_05_8", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock3_7"] = { + ["y"] = -14.5183, + ["x"] = -22.0941, + ["name"] = "WoodBlock3_7", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_9"] = { + ["y"] = 2.11723, + ["x"] = 71.2936, + ["name"] = "StaticBlockTheme04_05_9", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock1_2"] = { + ["y"] = -16.9203, + ["x"] = 70.4334, + ["name"] = "WoodBlock1_2", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock4_10"] = { + ["y"] = -8.97029, + ["x"] = 66.564, + ["name"] = "WoodBlock4_10", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["RedBird_6"] = { + ["y"] = -5.70904, + ["x"] = -3.17752, + ["name"] = "RedBird_6", + ["angle"] = 6.28316, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_05_10"] = { + ["y"] = 0.147318, + ["x"] = 81.9874, + ["name"] = "StaticBlockTheme04_05_10", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WOODEN_TIRE_5"] = { + ["y"] = -11.6524, + ["x"] = 94.1789, + ["name"] = "WOODEN_TIRE_5", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["WoodBlock4_11"] = { + ["y"] = -8.97029, + ["x"] = 62.4834, + ["name"] = "WoodBlock4_11", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock4_9"] = { + ["y"] = -8.0557, + ["x"] = 73.2476, + ["name"] = "LightBlock4_9", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock4", + + }, + ["RedBird_8"] = { + ["y"] = -9.1394, + ["x"] = -18.1966, + ["name"] = "RedBird_8", + ["angle"] = 6.28317, + ["definition"] = "RedBird", + + }, + ["WoodBlock3_5"] = { + ["y"] = -9.111, + ["x"] = 76.1321, + ["name"] = "WoodBlock3_5", + ["angle"] = 5.89066, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_03_1"] = { + ["y"] = -1.82257, + ["x"] = 73.4042, + ["name"] = "StaticBlockTheme04_03_1", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_03", + + }, + ["StoneBlock2_1"] = { + ["y"] = -11.4327, + ["x"] = 60.7246, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock2", + + }, + ["ExtraCowboyHelmet_1_1"] = { + ["y"] = -19.2706, + ["x"] = 98.952, + ["name"] = "ExtraCowboyHelmet_1_1", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraCowboyHelmet_1", + + }, + ["WOODEN_TIRE_8"] = { + ["y"] = -5.52295, + ["x"] = 77.6799, + ["name"] = "WOODEN_TIRE_8", + ["angle"] = 5.89065, + ["definition"] = "WOODEN_TIRE", + + }, + ["StoneBlock10_1"] = { + ["y"] = -16.076, + ["x"] = 67.8303, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.000195503, + ["definition"] = "StoneBlock10", + + }, + ["WOODEN_TIRE_9"] = { + ["y"] = -8.1964, + ["x"] = 84.0117, + ["name"] = "WOODEN_TIRE_9", + ["angle"] = 5.89065, + ["definition"] = "WOODEN_TIRE", + + }, + ["WoodBlock10_5"] = { + ["y"] = -7.98534, + ["x"] = 63.6091, + ["name"] = "WoodBlock10_5", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock2_1"] = { + ["y"] = -8.97029, + ["x"] = 59.4582, + ["name"] = "LightBlock2_1", + ["angle"] = 0.000124931, + ["definition"] = "LightBlock2", + + }, + ["ExtraTire01_2"] = { + ["y"] = -4.6787, + ["x"] = 69.4484, + ["name"] = "ExtraTire01_2", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme04_05_11"] = { + ["y"] = 1.76546, + ["x"] = 80.51, + ["name"] = "StaticBlockTheme04_05_11", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["LargePiglette_2"] = { + ["y"] = -17.14, + ["x"] = 98.8222, + ["name"] = "LargePiglette_2", + ["angle"] = 8.96454e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_01_10"] = { + ["y"] = -1.87323, + ["x"] = 110.431, + ["name"] = "StaticBlockTheme04_01_10", + ["angle"] = 4.31974, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["LargePiglette_3"] = { + ["y"] = -11.5734, + ["x"] = 78.7352, + ["name"] = "LargePiglette_3", + ["angle"] = 5.89066, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_05_4"] = { + ["y"] = -0.237344, + ["x"] = -3.07924, + ["name"] = "StaticBlockTheme04_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["LightBlock4_7"] = { + ["y"] = -13.5433, + ["x"] = 70.7852, + ["name"] = "LightBlock4_7", + ["angle"] = 1.57089, + ["definition"] = "LightBlock4", + + }, + ["ExtraApple_1"] = { + ["y"] = -14.7703, + ["x"] = -24.1735, + ["name"] = "ExtraApple_1", + ["angle"] = 0.392913, + ["definition"] = "ExtraApple", + + }, + ["StaticBlockTheme04_01_9"] = { + ["y"] = -5.46128, + ["x"] = 108.039, + ["name"] = "StaticBlockTheme04_01_9", + ["angle"] = 3.92704, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["RedBird_5"] = { + ["y"] = -7.39754, + ["x"] = 4.77247, + ["name"] = "RedBird_5", + ["angle"] = 5.89046, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_01_4"] = { + ["y"] = -0.978323, + ["x"] = 55.4639, + ["name"] = "StaticBlockTheme04_01_4", + ["angle"] = 2.74891, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock6_15"] = { + ["y"] = -10.9402, + ["x"] = 68.6042, + ["name"] = "WoodBlock6_15", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock1_1"] = { + ["y"] = -16.9906, + ["x"] = 65.368, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock1", + + }, + ["WOODEN_TIRE_3"] = { + ["y"] = -2.15464, + ["x"] = 104.662, + ["name"] = "WOODEN_TIRE_3", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_01_7"] = { + ["y"] = -7.94349, + ["x"] = 104.408, + ["name"] = "StaticBlockTheme04_01_7", + ["angle"] = 3.53434, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock2_1"] = { + ["y"] = -8.89994, + ["x"] = 71.7702, + ["name"] = "WoodBlock2_1", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock3_2"] = { + ["y"] = -15.8033, + ["x"] = 93.3346, + ["name"] = "WoodBlock3_2", + ["angle"] = 3.14167, + ["definition"] = "WoodBlock3", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StaticBlockTheme04_05"] = 14, + ["BLOCK_GREEN_BAG"] = 1, + ["WoodBlock3"] = 8, + ["MediumPiglette"] = 2, + ["WoodBlock4"] = 16, + ["ExtraApple"] = 3, + ["StoneBlock10"] = 1, + ["StaticBlockTheme04_01"] = 11, + ["StoneBlock11"] = 8, + ["LightBlock6"] = 1, + ["ExtraCowboyHelmet_1"] = 1, + ["WoodBlock9"] = 2, + ["RedBird"] = 8, + ["StaticBlockTheme01_03"] = 1, + ["ExtraTire01"] = 2, + ["StoneBlock2"] = 1, + ["WoodBlock1"] = 2, + ["WoodBlock5"] = 5, + ["WoodBlock2"] = 1, + ["WoodBlock10"] = 9, + ["LightBlock2"] = 1, + ["StaticBlockTheme04_03"] = 1, + ["StaticFragileBlock06"] = 1, + ["WOODEN_TIRE"] = 11, + ["StaticBlockTheme01_05"] = 1, + ["WoodBlock6"] = 17, + ["LargePiglette"] = 3, + ["HelmetPiglette"] = 1, + ["LightBlock4"] = 9, + +} +theme = "theme4" +birdCameraData = { + ["right"] = 1695.91, + ["bottom"] = 90.122, + ["px"] = 420.907, + ["py"] = -304.878, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -704.878, + ["iphone"] = { + ["bottom"] = 90.122, + ["screenWidth"] = 480, + ["py"] = -304.878, + ["screenHeight"] = 320, + ["top"] = -704.878, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1695.91, + ["left"] = -179.093, + ["px"] = 420.907, + + }, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["windows"] = { + ["sy"] = 0.407305, + ["sx"] = 0.407305, + ["px"] = 380.55, + ["py"] = -435.288, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["left"] = -179.093, + ["ipad"] = { + ["bottom"] = 197.336, + ["screenWidth"] = 1024, + ["py"] = -346.631, + ["screenHeight"] = 768, + ["top"] = -886.949, + ["sy"] = 0.710692, + ["sx"] = 0.710692, + ["px"] = 558.822, + ["left"] = -161.603, + ["right"] = 1817.1, + + }, + ["screenWidth"] = 480, + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/Level104.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/Level104.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c9a828e4d5039e8070e4b6e9fa8ac2ae9274b91 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/Level104.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_100.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_100.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c2c4d6d9bfcdf9ce6b36c0e40dc0cad6c09ca3c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_100.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_115.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_115.lua new file mode 100644 index 0000000000000000000000000000000000000000..793ac6ccc18e6ea7c29480bfebf4eb2ba9610a82 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_115.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_122.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_122.lua new file mode 100644 index 0000000000000000000000000000000000000000..0a5e37103f2326d928d225969ea5882923d13fdc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_122.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_67.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_67.lua new file mode 100644 index 0000000000000000000000000000000000000000..894edbc4dba345ecc9e8b12ee84db5f4f15db4f2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_67.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_71.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_71.lua new file mode 100644 index 0000000000000000000000000000000000000000..cf6b92eb67f5584b5efc129ba5ed0c0cb6f8c81d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_71.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_72.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_72.lua new file mode 100644 index 0000000000000000000000000000000000000000..e94132d6351e85029a7caadd25f9c314c3d73b6a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_72.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_73.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_73.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ce7aa8b6be112f4fa30397e072ddb37a7626ebd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_73.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_74.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_74.lua new file mode 100644 index 0000000000000000000000000000000000000000..6219e8c0f452c97255f28bf43d8a51ce87524ad1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_74.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_76.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_76.lua new file mode 100644 index 0000000000000000000000000000000000000000..f276c0559d26dee4517fb36c7f73a0bb4c9df1b1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_76.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_78.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_78.lua new file mode 100644 index 0000000000000000000000000000000000000000..b1f013d5928adf70a4ac4c508eb660004d253eb2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_78.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_84.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_84.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd550a4aa289b433e204a4fe7589c4a756a24445 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_84.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_86.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_86.lua new file mode 100644 index 0000000000000000000000000000000000000000..a3bdf233739ff0158da9fb28888180d7ac9d04d9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_86.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_87.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_87.lua new file mode 100644 index 0000000000000000000000000000000000000000..af2eeeaca3542a70eadabaf98c0ba873c5656887 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_87.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_89.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_89.lua new file mode 100644 index 0000000000000000000000000000000000000000..4838739adf52fb2c80ed6c8214fa87d516d84b50 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_89.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_90.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_90.lua new file mode 100644 index 0000000000000000000000000000000000000000..e736f98a5bddf1d676b085bc5385c41eaabe2fb6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_90.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_92.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_92.lua new file mode 100644 index 0000000000000000000000000000000000000000..19c4cef9730ce7a8f7a2e726b80da60854d63da8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_92.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_93.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_93.lua new file mode 100644 index 0000000000000000000000000000000000000000..bffc31bf31c9de6c64396436463e2ee17da06e3d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_93.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_94.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_94.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab5f5fb3557afc52e942fa85d997b55b176a1c28 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_94.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_97.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_97.lua new file mode 100644 index 0000000000000000000000000000000000000000..c1413db6eba085df1bae628bff1c16fdd3ed0516 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_97.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_98.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_98.lua new file mode 100644 index 0000000000000000000000000000000000000000..895c4bc1ceb3ebe083cdb52c676e583eecc396d7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_98.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_99.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_99.lua new file mode 100644 index 0000000000000000000000000000000000000000..79c63b508d55616abd8b54b9cd09a1151093d9a4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack3/LevelP2_99.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack3/temp/Level104.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack3/temp/Level104.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..ae8c52bfd2beb04f97e9599f346ea92f740e21c7 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack3/temp/Level104.temp.lua @@ -0,0 +1,390 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["sy"] = 0.500217, + ["sx"] = 0.500217, + ["px"] = 619.911, + ["py"] = -398.067, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + +} +levelParticles = { + +} +joints = { + ["WOODEN_ARROW_1ExtraRopeThin01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WOODEN_ARROW_1ExtraRopeThin01_1", + ["end1"] = "WOODEN_ARROW_1", + ["collideConnected"] = true, + ["x1"] = 0, + + }, + ["StaticBalloon02_1ExtraRopeThin02_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin02_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBalloon02_1ExtraRopeThin02_1", + ["end1"] = "StaticBalloon02_1", + ["collideConnected"] = true, + ["x1"] = 0, + + }, + ["WOODEN_ARROW_1ExtraRopeThin02_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin02_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WOODEN_ARROW_1ExtraRopeThin02_1", + ["end1"] = "WOODEN_ARROW_1", + ["collideConnected"] = true, + ["x1"] = 0, + + }, + ["StaticBalloon02_2ExtraRopeThin01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBalloon02_2ExtraRopeThin01_1", + ["end1"] = "StaticBalloon02_2", + ["collideConnected"] = true, + ["x1"] = 0, + + }, + +} +world = { + ["StaticBalloon02_1"] = { + ["y"] = -30.926, + ["x"] = 46.786, + ["name"] = "StaticBalloon02_1", + ["angle"] = 0, + ["definition"] = "StaticBalloon02", + + }, + ["ExtraRopeThin01_1"] = { + ["y"] = -25.1694, + ["x"] = 53.643, + ["name"] = "ExtraRopeThin01_1", + ["angle"] = 0, + ["definition"] = "ExtraRopeThin01", + + }, + ["Hay_1"] = { + ["y"] = -2.39713, + ["x"] = 64.8314, + ["name"] = "Hay_1", + ["angle"] = 0, + ["definition"] = "Hay", + + }, + ["RIO_TNT_1"] = { + ["y"] = -1.8195, + ["x"] = 81.902, + ["name"] = "RIO_TNT_1", + ["angle"] = 0, + ["definition"] = "RIO_TNT", + + }, + ["WOODEN_ARROW_1"] = { + ["y"] = -21.1493, + ["x"] = 50.7649, + ["name"] = "WOODEN_ARROW_1", + ["angle"] = 0.392699, + ["definition"] = "WOODEN_ARROW", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -5.70955, + ["x"] = -20.2822, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -3.81037, + ["x"] = -20.3821, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["BP_GEAR_1"] = { + ["y"] = -7.14949, + ["x"] = 76.1399, + ["name"] = "BP_GEAR_1", + ["angle"] = 0, + ["definition"] = "BP_GEAR", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -2.03558, + ["x"] = 70.3777, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 0, + ["definition"] = "RIOCRATESMALL", + + }, + ["WOODEN_NOSE_1"] = { + ["y"] = -1.96497, + ["x"] = 60.0056, + ["name"] = "WOODEN_NOSE_1", + ["angle"] = 0, + ["definition"] = "WOODEN_NOSE", + + }, + ["ExtraRopeThin02_1"] = { + ["y"] = -26.3546, + ["x"] = 46.9553, + ["name"] = "ExtraRopeThin02_1", + ["angle"] = 0, + ["definition"] = "ExtraRopeThin02", + + }, + ["HatPiglette_1"] = { + ["y"] = -1.46078, + ["x"] = 41.9269, + ["name"] = "HatPiglette_1", + ["angle"] = 0, + ["definition"] = "HatPiglette", + + }, + ["BP_TNT_1"] = { + ["y"] = -12.6235, + ["x"] = 87.0159, + ["name"] = "BP_TNT_1", + ["angle"] = 0, + ["definition"] = "BP_TNT", + + }, + ["BP_METAL_1"] = { + ["y"] = -2.25166, + ["x"] = 86.8719, + ["name"] = "BP_METAL_1", + ["angle"] = 0, + ["definition"] = "BP_METAL", + + }, + ["RIOCRATE_1"] = { + ["y"] = -2.68382, + ["x"] = 76.1399, + ["name"] = "RIOCRATE_1", + ["angle"] = 0, + ["definition"] = "RIOCRATE", + + }, + ["TRACTOR_TIRE_1"] = { + ["y"] = -3.98173, + ["x"] = 53.5232, + ["name"] = "TRACTOR_TIRE_1", + ["angle"] = 0, + ["definition"] = "TRACTOR_TIRE", + + }, + ["BP_WOOD_1"] = { + ["y"] = -7.29354, + ["x"] = 86.9439, + ["name"] = "BP_WOOD_1", + ["angle"] = 0, + ["definition"] = "BP_WOOD", + + }, + ["YellowBird_1"] = { + ["y"] = -18.4607, + ["x"] = -11.9125, + ["name"] = "YellowBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBalloon02_2"] = { + ["y"] = -31.18, + ["x"] = 53.4737, + ["name"] = "StaticBalloon02_2", + ["angle"] = 0, + ["definition"] = "StaticBalloon02", + + }, + ["ENGINE_1"] = { + ["y"] = -6.28516, + ["x"] = 70.1617, + ["name"] = "ENGINE_1", + ["angle"] = 0, + ["definition"] = "ENGINE", + + }, + ["BowlingBallPig_1"] = { + ["y"] = -1.82092, + ["x"] = -9.14016, + ["name"] = "BowlingBallPig_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BowlingBallPig", + + }, + ["HandsomePiglette_1"] = { + ["y"] = -1.53281, + ["x"] = 36.3808, + ["name"] = "HandsomePiglette_1", + ["angle"] = 0, + ["definition"] = "HandsomePiglette", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -12.5066, + ["x"] = -18.7828, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -12.6065, + ["x"] = -13.785, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -12.5066, + ["x"] = -6.68807, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["FATPIG_1"] = { + ["y"] = -7.36699, + ["x"] = 18.9503, + ["name"] = "FATPIG_1", + ["angle"] = 0, + ["definition"] = "FATPIG", + + }, + ["Harvey_1"] = { + ["y"] = -1.96497, + ["x"] = -12.7415, + ["name"] = "Harvey_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "Harvey", + + }, + ["SIGN_2_1"] = { + ["y"] = -4.19781, + ["x"] = 38.9738, + ["name"] = "SIGN_2_1", + ["angle"] = 0, + ["definition"] = "SIGN_2", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["Porkarappa_1"] = { + ["y"] = -1.82092, + ["x"] = 30.9788, + ["name"] = "Porkarappa_1", + ["angle"] = 0, + ["definition"] = "Porkarappa", + + }, + ["SIGN_1_1"] = { + ["y"] = -8.87813, + ["x"] = 38.8299, + ["name"] = "SIGN_1_1", + ["angle"] = 0, + ["definition"] = "SIGN_1", + + }, + ["MEGAPHONE_1"] = { + ["y"] = -2.18105, + ["x"] = 47.689, + ["name"] = "MEGAPHONE_1", + ["angle"] = 0, + ["definition"] = "MEGAPHONE", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -9.40794, + ["x"] = -19.3826, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["BP_TNT"] = 1, + ["Hay"] = 1, + ["StaticBlockTheme01_05"] = 7, + ["ENGINE"] = 1, + ["ExtraRopeThin01"] = 1, + ["Porkarappa"] = 1, + ["YellowBird"] = 1, + ["BP_WOOD"] = 1, + ["ExtraRopeThin02"] = 1, + ["FATPIG"] = 1, + ["WOODEN_ARROW"] = 1, + ["MEGAPHONE"] = 1, + ["Harvey"] = 1, + ["HatPiglette"] = 1, + ["RIOCRATESMALL"] = 1, + ["TRACTOR_TIRE"] = 1, + ["BP_METAL"] = 1, + ["BP_GEAR"] = 1, + ["RIO_TNT"] = 1, + ["SIGN_2"] = 1, + ["StaticBalloon02"] = 2, + ["BowlingBallPig"] = 1, + ["SIGN_1"] = 1, + ["WOODEN_NOSE"] = 1, + ["RIOCRATE"] = 1, + ["HandsomePiglette"] = 1, + +} +theme = "theme1" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["sy"] = 0.500217, + ["sx"] = 0.500217, + ["px"] = 619.911, + ["py"] = -398.067, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + +} +filename = "Level104.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level18.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level18.lua new file mode 100644 index 0000000000000000000000000000000000000000..95b53273fed8321e1491ea07b81303d9ee16b933 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level18.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level22.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level22.lua new file mode 100644 index 0000000000000000000000000000000000000000..c56f861c39698be0e523de6b2483a12a4042b52c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level22.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level28.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level28.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a6e5f029e1d1b5d5c7fd6232c56852803003bc5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level28.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level29.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level29.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f8c121fa450cee5f7fab5a70d7c4a50d3516dfc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level29.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level30.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level30.lua new file mode 100644 index 0000000000000000000000000000000000000000..5485125beba6cb49aedb2337423b6a01fbb28bbd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level30.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level40.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level40.lua new file mode 100644 index 0000000000000000000000000000000000000000..35c699c62b6079a3c004f1118b48e6f9fb3409d6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level40.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level43.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level43.lua new file mode 100644 index 0000000000000000000000000000000000000000..48b9c4e2ce7583f43482f782198c05bc699dbc03 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level43.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level45.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level45.lua new file mode 100644 index 0000000000000000000000000000000000000000..c11975aefcc2c32aa94aaef71ffbaab97ba2fb61 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level45.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level49.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level49.lua new file mode 100644 index 0000000000000000000000000000000000000000..4affca45b9a33344f6b38ebee9c2ff067608750e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level49.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level51.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level51.lua new file mode 100644 index 0000000000000000000000000000000000000000..ae4d9f1ce4e950c344de856063d9140e056d8b4c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level51.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level58.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level58.lua new file mode 100644 index 0000000000000000000000000000000000000000..f099bc61c2961225ff4c530b57d6bc6eeaec52d3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level58.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level59.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level59.lua new file mode 100644 index 0000000000000000000000000000000000000000..b14aef37b5011a7d90191c3f2aa308771e7d9b9f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level59.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level75.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level75.lua new file mode 100644 index 0000000000000000000000000000000000000000..aaf3b6b478b3907fe47b3c2f919eb3fb050faf7d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level75.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level77.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level77.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c35dbf257bf14608eec441e4db1d4dc2788c123 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level77.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level79.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level79.lua new file mode 100644 index 0000000000000000000000000000000000000000..a8ab84308193b054056037f7b462305ffdab2b01 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level79.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level81.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level81.lua new file mode 100644 index 0000000000000000000000000000000000000000..3dd9ec431760d1a0f23d1295b7a1f10947d26153 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level81.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level82.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level82.lua new file mode 100644 index 0000000000000000000000000000000000000000..48eede630a0960dbeb83af2bcd320190e3009f94 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level82.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level87.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level87.lua new file mode 100644 index 0000000000000000000000000000000000000000..d117de4428490dd5307667410eaad1401bfe2c80 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level87.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level89.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level89.lua new file mode 100644 index 0000000000000000000000000000000000000000..6364c5ea6cbffc5ebb4f1b2072301b492891664f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level89.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level91.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level91.lua new file mode 100644 index 0000000000000000000000000000000000000000..a34f190344181e6abd5ca0efc7004b050afa42f3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level91.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack4/Level95.lua b/Angry Birds Project R/0.2.0/data/levels/pack4/Level95.lua new file mode 100644 index 0000000000000000000000000000000000000000..92090adc61afb8b1886cce503b168a4903f3e32f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack4/Level95.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level20.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level20.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e75f35da398f56d25a34822afcc134f14ae650 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level20.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level21.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level21.lua new file mode 100644 index 0000000000000000000000000000000000000000..2419963349271f932f47b3e72bdbfa41b6026b03 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level21.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level24.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level24.lua new file mode 100644 index 0000000000000000000000000000000000000000..662a2404d6574cf22af59461f6b70aac3c44f7fb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level24.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level26.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level26.lua new file mode 100644 index 0000000000000000000000000000000000000000..956fc9017eaa633429fbffbd55473b2cd821a231 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level26.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level27.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level27.lua new file mode 100644 index 0000000000000000000000000000000000000000..9eea4543066d786a121711aa74cb4aa5a76cbe1e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level27.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level31.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level31.lua new file mode 100644 index 0000000000000000000000000000000000000000..eba8f7cb3a3116b6e5edc2a4b250a93e234dc929 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level31.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level32.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level32.lua new file mode 100644 index 0000000000000000000000000000000000000000..6ede129a8791fb1d4eeadc41c116c1b45f27bb18 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level32.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level34.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level34.lua new file mode 100644 index 0000000000000000000000000000000000000000..3a78a0201c476d2e5392ea550ae553a6b3ab410a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level34.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level35.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level35.lua new file mode 100644 index 0000000000000000000000000000000000000000..82f41b5171a20cb743eb0843187eb079d0264047 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level35.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level36.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level36.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a35df18b7319a80e63299f7b45ae42f6a04142c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level36.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level38.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level38.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff51660b6357a92bc169416a614d8e7a1e639288 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level38.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level41.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level41.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c0536a7d4113ef9bce0a5413bfd9a4d35ae6092 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level41.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level42.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level42.lua new file mode 100644 index 0000000000000000000000000000000000000000..7062c35f5a156702b23cfb6880ac70eff96cf74f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level42.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level52.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level52.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd5d6c10536ed1a7815efaf1baa81143ea86b223 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level52.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level66.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level66.lua new file mode 100644 index 0000000000000000000000000000000000000000..551fb2b83a60cc2b3ba6ccafeeaaa0382bb449a3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level66.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level72.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level72.lua new file mode 100644 index 0000000000000000000000000000000000000000..6bca6b39531f6616c5b190684af703958054a6d0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level72.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level76.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level76.lua new file mode 100644 index 0000000000000000000000000000000000000000..7f7f6b1560a5d9fb94ecee037cc6e7c65234238a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level76.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level85.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level85.lua new file mode 100644 index 0000000000000000000000000000000000000000..b6053ca0974701501dce9dd07308758003195da7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level85.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level88.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level88.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ccf8e13da6045e259dd83cd395c202d722ae6ba Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level88.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level90.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level90.lua new file mode 100644 index 0000000000000000000000000000000000000000..f205ee1d93f8629f2ca3ab0c101d11ffcd463eef Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level90.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack5/Level96.lua b/Angry Birds Project R/0.2.0/data/levels/pack5/Level96.lua new file mode 100644 index 0000000000000000000000000000000000000000..feaf8ef1aff7c9bb72dbe0fbe326e5aa529348dc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack5/Level96.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack50/temp/Level1050.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack50/temp/Level1050.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..b16d8344cd804797b493821ea5a9e6e0bb7dcd2e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack50/temp/Level1050.temp.lua @@ -0,0 +1,147 @@ +world = { + ["KingPiglette_15"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_15", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_13"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_13", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_8"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_8", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_14"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_14", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_2"] = { + ["y"] = 2, + ["x"] = 7.15, + ["name"] = "KingPiglette_2", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_1"] = { + ["y"] = 2, + ["x"] = 7.15, + ["name"] = "KingPiglette_1", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_3"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_3", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_4"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_4", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_12"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_12", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_7"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_7", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_10"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_10", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_5"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_5", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_9"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_9", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_6"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_6", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["KingPiglette_11"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_11", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + ["KingPiglette"] = 15, + +} +theme = "theme1" +joints = { + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/Level75.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/Level75.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab343eab6b08391f6fed8017c5d15e6295304223 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack6/Level75.lua @@ -0,0 +1,723 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} +levelParticles = { + ["y"] = -2321.1, + ["x"] = 2526.94, + ["firstFrame"] = true, + ["width"] = 8619.28, + +} +joints = { + +} +world = { + ["StoneBlock4_3"] = { + ["y"] = -2.4295, + ["x"] = 60.6892, + ["name"] = "StoneBlock4_3", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["BoomerangBird_2"] = { + ["y"] = -14.4408, + ["x"] = -34.0599, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock4_1"] = { + ["y"] = -8.26957, + ["x"] = 66.4794, + ["name"] = "StoneBlock4_1", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock1_1"] = { + ["y"] = -40.6079, + ["x"] = 26.0875, + ["name"] = "StoneBlock1_1", + ["angle"] = 4.71241, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -16.0828, + ["x"] = -16.5808, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock12_1"] = { + ["y"] = -22.0397, + ["x"] = 72.4204, + ["name"] = "StoneBlock12_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -4.44086, + ["x"] = 22.4947, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock2_1"] = { + ["y"] = -39.206, + ["x"] = 26.0875, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock1_3"] = { + ["y"] = -17.9902, + ["x"] = 30.7466, + ["name"] = "LightBlock1_3", + ["angle"] = 4.71237, + ["definition"] = "LightBlock1", + + }, + ["WoodBlock5_1"] = { + ["y"] = -6.37926, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock4_3"] = { + ["y"] = -29.486, + ["x"] = 21.5874, + ["name"] = "WoodBlock4_3", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_5"] = { + ["y"] = -35.7479, + ["x"] = 26.0537, + ["name"] = "StoneBlock4_5", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock11_2"] = { + ["y"] = -11.3908, + ["x"] = 74.4008, + ["name"] = "LightBlock11_2", + ["angle"] = 3.1416, + ["definition"] = "LightBlock11", + + }, + ["LightBlock2_1"] = { + ["y"] = -0.631894, + ["x"] = 37.1641, + ["name"] = "LightBlock2_1", + ["angle"] = 6.28317, + ["definition"] = "LightBlock2", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -1.6326, + ["x"] = 80.8583, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -21.7656, + ["x"] = -21.1756, + ["name"] = "RedBird_2", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock1_2"] = { + ["y"] = -20.4777, + ["x"] = 80.029, + ["name"] = "LightBlock1_2", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = 0.0545471, + ["x"] = 65.6045, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_2"] = { + ["y"] = -37.1498, + ["x"] = 26.1472, + ["name"] = "StoneBlock3_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock6_1"] = { + ["y"] = -2.75868, + ["x"] = 11.7237, + ["name"] = "LightBlock6_1", + ["angle"] = 5.89053, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -10.2042, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_2"] = { + ["y"] = -29.5794, + ["x"] = 30.4663, + ["name"] = "WoodBlock4_2", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_2"] = { + ["y"] = -5.34953, + ["x"] = 63.5594, + ["name"] = "StoneBlock4_2", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_3"] = { + ["y"] = -10.4094, + ["x"] = 33.1231, + ["name"] = "WoodBlock5_3", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -12.8553, + ["x"] = -20.4999, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBeachBall_2"] = { + ["y"] = -16.2955, + ["x"] = 68.8428, + ["name"] = "ExtraBeachBall_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["StoneBlock5_1"] = { + ["y"] = -19.5353, + ["x"] = 25.9504, + ["name"] = "StoneBlock5_1", + ["angle"] = 1.57078, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -16.0828, + ["x"] = -22.6899, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_2"] = { + ["y"] = -18.6134, + ["x"] = 72.2692, + ["name"] = "WoodBlock10_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock10", + + }, + ["LargePiglette_1"] = { + ["y"] = -22.3925, + ["x"] = 76.3003, + ["name"] = "LargePiglette_1", + ["angle"] = 6.28318, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -1.44392, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -2.12116, + ["x"] = 48.2315, + ["name"] = "HelmetPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "HelmetPiglette", + + }, + ["SmallPiglette_1"] = { + ["y"] = -2.08483, + ["x"] = 56.1017, + ["name"] = "SmallPiglette_1", + ["angle"] = 2.28882e-005, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock5_1"] = { + ["y"] = -2.30085, + ["x"] = 29.0003, + ["name"] = "LightBlock5_1", + ["angle"] = 1.57087, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_5"] = { + ["y"] = -15.0099, + ["x"] = 73.611, + ["name"] = "LightBlock1_5", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock3_1"] = { + ["y"] = -6.17056, + ["x"] = 36.2671, + ["name"] = "StoneBlock3_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock1_4"] = { + ["y"] = -15.0254, + ["x"] = 70.9254, + ["name"] = "LightBlock1_4", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["LightBlock11_1"] = { + ["y"] = -11.3594, + ["x"] = 70.2026, + ["name"] = "LightBlock11_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock11", + + }, + ["LightBlock5_2"] = { + ["y"] = -0.895058, + ["x"] = 40.2466, + ["name"] = "LightBlock5_2", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.2516, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -11.4721, + ["x"] = 23.8779, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -9.86928, + ["x"] = 76.8883, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0, + ["definition"] = "StaticFragileBlock06", + + }, + ["WoodBlock4_1"] = { + ["y"] = -0.557886, + ["x"] = 33.9291, + ["name"] = "WoodBlock4_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock8_1"] = { + ["y"] = -2.84154, + ["x"] = 39.3815, + ["name"] = "StoneBlock8_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock8", + + }, + ["ExtraBeachBall_1"] = { + ["y"] = -16.2955, + ["x"] = 75.6956, + ["name"] = "ExtraBeachBall_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["BoomerangBird_1"] = { + ["y"] = -14.4123, + ["x"] = -11.3351, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["ExtraBlockFlag02_1"] = { + ["y"] = -6.33732, + ["x"] = 81.7915, + ["name"] = "ExtraBlockFlag02_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraBlockFlag02", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -8.01414, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -2.61776, + ["x"] = 33.75, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_2"] = { + ["y"] = -26.0279, + ["x"] = 25.7932, + ["name"] = "LightBlock4_2", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -6.51566, + ["x"] = 72.29, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -16.1981, + ["x"] = -28.5685, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -12.7401, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -12.0485, + ["x"] = -24.88, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_2"] = { + ["y"] = -8.34957, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -14.0112, + ["x"] = 72.3264, + ["name"] = "WoodBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_1"] = { + ["y"] = -4.85674, + ["x"] = 32.4962, + ["name"] = "LightBlock10_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_3"] = { + ["y"] = -32.944, + ["x"] = 26.167, + ["name"] = "StoneBlock6_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -1.78972, + ["x"] = 74.3648, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -19.5707, + ["x"] = 76.5018, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -8.1294, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -0.867584, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -0.752319, + ["x"] = -19.8083, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -7.092, + ["x"] = -23.151, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -13.4391, + ["x"] = 33.1408, + ["name"] = "StoneBlock11_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock10_2"] = { + ["y"] = -27.0246, + ["x"] = 26.0051, + ["name"] = "StoneBlock10_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -0.752319, + ["x"] = -23.4968, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_2"] = { + ["y"] = -19.5707, + ["x"] = 68.1878, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["DecorationSkull02_1"] = { + ["y"] = -5.57322, + ["x"] = 38.9444, + ["name"] = "DecorationSkull02_1", + ["angle"] = 6.28318, + ["definition"] = "DecorationSkull02", + + }, + ["MediumPiglette_1"] = { + ["y"] = -21.8886, + ["x"] = 68.4901, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28318, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_4"] = { + ["y"] = -0.47558, + ["x"] = 56.7032, + ["name"] = "StoneBlock4_4", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock10_3"] = { + ["y"] = -32.1029, + ["x"] = 26.0736, + ["name"] = "StoneBlock10_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock5_2"] = { + ["y"] = -23.5044, + ["x"] = 25.9801, + ["name"] = "StoneBlock5_2", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock5", + + }, + ["MediumPiglette_2"] = { + ["y"] = -29.3277, + ["x"] = 25.8405, + ["name"] = "MediumPiglette_2", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock1_1"] = { + ["y"] = -20.5785, + ["x"] = 64.5599, + ["name"] = "LightBlock1_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -34.346, + ["x"] = 26.0537, + ["name"] = "StoneBlock5_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock5", + + }, + ["YellowBird_1"] = { + ["y"] = -21.8738, + ["x"] = -24.636, + ["name"] = "YellowBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["ExtraBeachBall_3"] = { + ["y"] = -1.69977, + ["x"] = 15.478, + ["name"] = "ExtraBeachBall_3", + ["angle"] = 2.28882e-005, + ["definition"] = "ExtraBeachBall", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["DecorationSkull02"] = 1, + ["ExtraBeachBall"] = 3, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 2, + ["WoodBlock9"] = 1, + ["ExtraBlockTNT"] = 2, + ["WOODEN_TIRE"] = 2, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 2, + ["StaticBlockTheme01_02"] = 2, + ["StaticFragileBlock02"] = 3, + ["StoneBlock2"] = 1, + ["WoodBlock10"] = 2, + ["StoneBlock1"] = 1, + ["StoneBlock12"] = 1, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["WoodBlock5"] = 3, + ["StaticFragileBlock05"] = 19, + ["StoneBlock10"] = 3, + ["SmallPiglette"] = 1, + ["LightBlock6"] = 1, + ["StoneBlock4"] = 5, + ["StoneBlock8"] = 1, + ["StaticFragileBlock06"] = 1, + ["RedBird"] = 2, + ["StaticBlockTheme01_05"] = 17, + ["StaticBlockTheme18_04"] = 1, + ["LightBlock5"] = 2, + ["StoneBlock5"] = 3, + ["LightBlock2"] = 1, + ["StoneBlock6"] = 3, + ["LightBlock1"] = 5, + ["LightBlock10"] = 1, + ["BoomerangBird"] = 2, + ["WoodBlock4"] = 3, + ["StoneBlock11"] = 1, + ["YellowBird"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme23" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_134.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_134.lua new file mode 100644 index 0000000000000000000000000000000000000000..121f52c368564dd1d271aeb92b4508952c0be67a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_134.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_150.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_150.lua new file mode 100644 index 0000000000000000000000000000000000000000..1328df0ae55c302e328df57f54b61ca29cd84b57 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_150.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_162.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_162.lua new file mode 100644 index 0000000000000000000000000000000000000000..9097462dff584fd84295f14ecc1413212483b224 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_162.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_211.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_211.lua new file mode 100644 index 0000000000000000000000000000000000000000..88511803a6cfa642e3ec2c672609ffcb89021c1b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_211.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_212.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_212.lua new file mode 100644 index 0000000000000000000000000000000000000000..017a157c3de25786eaf21dd8bf879ca848b7b54c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_212.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_215.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_215.lua new file mode 100644 index 0000000000000000000000000000000000000000..a79330e2cf0e86111ff765e7c5b9be0e65030b8a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_215.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_220.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_220.lua new file mode 100644 index 0000000000000000000000000000000000000000..07c6402af9ea65988661a0ff4bd9325445c2d7c5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_220.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_223.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_223.lua new file mode 100644 index 0000000000000000000000000000000000000000..4368fc2176f6fab18b6069ca371b4809be3b9999 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_223.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_224.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_224.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d42076dc68a46df686625791a8548274d2c13b9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_224.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_225.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_225.lua new file mode 100644 index 0000000000000000000000000000000000000000..eb58c8412b5a3f40250b87205cb8ea3903c21965 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_225.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_226.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_226.lua new file mode 100644 index 0000000000000000000000000000000000000000..ed711a92df31a836dde517dd92da4e257aa8388b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_226.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_231.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_231.lua new file mode 100644 index 0000000000000000000000000000000000000000..94137064f5564cf231df347152c84a735d8513e2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_231.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_232.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_232.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b23cadeff07f45136385c8e385bb2014dfa6d00 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_232.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_253.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_253.lua new file mode 100644 index 0000000000000000000000000000000000000000..806f1dd439948f36b973c795969611dbece2cdac Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_253.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_271.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_271.lua new file mode 100644 index 0000000000000000000000000000000000000000..fb63b8303dc3a067ad86424ee65f589910c63534 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack6/LevelP3_271.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack6/temp/Level75.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack6/temp/Level75.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab343eab6b08391f6fed8017c5d15e6295304223 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack6/temp/Level75.temp.lua @@ -0,0 +1,723 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} +levelParticles = { + ["y"] = -2321.1, + ["x"] = 2526.94, + ["firstFrame"] = true, + ["width"] = 8619.28, + +} +joints = { + +} +world = { + ["StoneBlock4_3"] = { + ["y"] = -2.4295, + ["x"] = 60.6892, + ["name"] = "StoneBlock4_3", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["BoomerangBird_2"] = { + ["y"] = -14.4408, + ["x"] = -34.0599, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock4_1"] = { + ["y"] = -8.26957, + ["x"] = 66.4794, + ["name"] = "StoneBlock4_1", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock1_1"] = { + ["y"] = -40.6079, + ["x"] = 26.0875, + ["name"] = "StoneBlock1_1", + ["angle"] = 4.71241, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -16.0828, + ["x"] = -16.5808, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock12_1"] = { + ["y"] = -22.0397, + ["x"] = 72.4204, + ["name"] = "StoneBlock12_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -4.44086, + ["x"] = 22.4947, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock2_1"] = { + ["y"] = -39.206, + ["x"] = 26.0875, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock1_3"] = { + ["y"] = -17.9902, + ["x"] = 30.7466, + ["name"] = "LightBlock1_3", + ["angle"] = 4.71237, + ["definition"] = "LightBlock1", + + }, + ["WoodBlock5_1"] = { + ["y"] = -6.37926, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock4_3"] = { + ["y"] = -29.486, + ["x"] = 21.5874, + ["name"] = "WoodBlock4_3", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_5"] = { + ["y"] = -35.7479, + ["x"] = 26.0537, + ["name"] = "StoneBlock4_5", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock11_2"] = { + ["y"] = -11.3908, + ["x"] = 74.4008, + ["name"] = "LightBlock11_2", + ["angle"] = 3.1416, + ["definition"] = "LightBlock11", + + }, + ["LightBlock2_1"] = { + ["y"] = -0.631894, + ["x"] = 37.1641, + ["name"] = "LightBlock2_1", + ["angle"] = 6.28317, + ["definition"] = "LightBlock2", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -1.6326, + ["x"] = 80.8583, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -21.7656, + ["x"] = -21.1756, + ["name"] = "RedBird_2", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock1_2"] = { + ["y"] = -20.4777, + ["x"] = 80.029, + ["name"] = "LightBlock1_2", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = 0.0545471, + ["x"] = 65.6045, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_2"] = { + ["y"] = -37.1498, + ["x"] = 26.1472, + ["name"] = "StoneBlock3_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock6_1"] = { + ["y"] = -2.75868, + ["x"] = 11.7237, + ["name"] = "LightBlock6_1", + ["angle"] = 5.89053, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -10.2042, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_2"] = { + ["y"] = -29.5794, + ["x"] = 30.4663, + ["name"] = "WoodBlock4_2", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_2"] = { + ["y"] = -5.34953, + ["x"] = 63.5594, + ["name"] = "StoneBlock4_2", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_3"] = { + ["y"] = -10.4094, + ["x"] = 33.1231, + ["name"] = "WoodBlock5_3", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -12.8553, + ["x"] = -20.4999, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBeachBall_2"] = { + ["y"] = -16.2955, + ["x"] = 68.8428, + ["name"] = "ExtraBeachBall_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["StoneBlock5_1"] = { + ["y"] = -19.5353, + ["x"] = 25.9504, + ["name"] = "StoneBlock5_1", + ["angle"] = 1.57078, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -16.0828, + ["x"] = -22.6899, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_2"] = { + ["y"] = -18.6134, + ["x"] = 72.2692, + ["name"] = "WoodBlock10_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock10", + + }, + ["LargePiglette_1"] = { + ["y"] = -22.3925, + ["x"] = 76.3003, + ["name"] = "LargePiglette_1", + ["angle"] = 6.28318, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -1.44392, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -2.12116, + ["x"] = 48.2315, + ["name"] = "HelmetPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "HelmetPiglette", + + }, + ["SmallPiglette_1"] = { + ["y"] = -2.08483, + ["x"] = 56.1017, + ["name"] = "SmallPiglette_1", + ["angle"] = 2.28882e-005, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock5_1"] = { + ["y"] = -2.30085, + ["x"] = 29.0003, + ["name"] = "LightBlock5_1", + ["angle"] = 1.57087, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_5"] = { + ["y"] = -15.0099, + ["x"] = 73.611, + ["name"] = "LightBlock1_5", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock3_1"] = { + ["y"] = -6.17056, + ["x"] = 36.2671, + ["name"] = "StoneBlock3_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock1_4"] = { + ["y"] = -15.0254, + ["x"] = 70.9254, + ["name"] = "LightBlock1_4", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["LightBlock11_1"] = { + ["y"] = -11.3594, + ["x"] = 70.2026, + ["name"] = "LightBlock11_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock11", + + }, + ["LightBlock5_2"] = { + ["y"] = -0.895058, + ["x"] = 40.2466, + ["name"] = "LightBlock5_2", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.2516, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -11.4721, + ["x"] = 23.8779, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -9.86928, + ["x"] = 76.8883, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0, + ["definition"] = "StaticFragileBlock06", + + }, + ["WoodBlock4_1"] = { + ["y"] = -0.557886, + ["x"] = 33.9291, + ["name"] = "WoodBlock4_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock8_1"] = { + ["y"] = -2.84154, + ["x"] = 39.3815, + ["name"] = "StoneBlock8_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock8", + + }, + ["ExtraBeachBall_1"] = { + ["y"] = -16.2955, + ["x"] = 75.6956, + ["name"] = "ExtraBeachBall_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["BoomerangBird_1"] = { + ["y"] = -14.4123, + ["x"] = -11.3351, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["ExtraBlockFlag02_1"] = { + ["y"] = -6.33732, + ["x"] = 81.7915, + ["name"] = "ExtraBlockFlag02_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraBlockFlag02", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -8.01414, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -2.61776, + ["x"] = 33.75, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_2"] = { + ["y"] = -26.0279, + ["x"] = 25.7932, + ["name"] = "LightBlock4_2", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -6.51566, + ["x"] = 72.29, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -16.1981, + ["x"] = -28.5685, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -12.7401, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -12.0485, + ["x"] = -24.88, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_2"] = { + ["y"] = -8.34957, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -14.0112, + ["x"] = 72.3264, + ["name"] = "WoodBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_1"] = { + ["y"] = -4.85674, + ["x"] = 32.4962, + ["name"] = "LightBlock10_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_3"] = { + ["y"] = -32.944, + ["x"] = 26.167, + ["name"] = "StoneBlock6_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -1.78972, + ["x"] = 74.3648, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -19.5707, + ["x"] = 76.5018, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -8.1294, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -0.867584, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -0.752319, + ["x"] = -19.8083, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -7.092, + ["x"] = -23.151, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -13.4391, + ["x"] = 33.1408, + ["name"] = "StoneBlock11_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock10_2"] = { + ["y"] = -27.0246, + ["x"] = 26.0051, + ["name"] = "StoneBlock10_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -0.752319, + ["x"] = -23.4968, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_2"] = { + ["y"] = -19.5707, + ["x"] = 68.1878, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["DecorationSkull02_1"] = { + ["y"] = -5.57322, + ["x"] = 38.9444, + ["name"] = "DecorationSkull02_1", + ["angle"] = 6.28318, + ["definition"] = "DecorationSkull02", + + }, + ["MediumPiglette_1"] = { + ["y"] = -21.8886, + ["x"] = 68.4901, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28318, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_4"] = { + ["y"] = -0.47558, + ["x"] = 56.7032, + ["name"] = "StoneBlock4_4", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock10_3"] = { + ["y"] = -32.1029, + ["x"] = 26.0736, + ["name"] = "StoneBlock10_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock5_2"] = { + ["y"] = -23.5044, + ["x"] = 25.9801, + ["name"] = "StoneBlock5_2", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock5", + + }, + ["MediumPiglette_2"] = { + ["y"] = -29.3277, + ["x"] = 25.8405, + ["name"] = "MediumPiglette_2", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock1_1"] = { + ["y"] = -20.5785, + ["x"] = 64.5599, + ["name"] = "LightBlock1_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -34.346, + ["x"] = 26.0537, + ["name"] = "StoneBlock5_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock5", + + }, + ["YellowBird_1"] = { + ["y"] = -21.8738, + ["x"] = -24.636, + ["name"] = "YellowBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["ExtraBeachBall_3"] = { + ["y"] = -1.69977, + ["x"] = 15.478, + ["name"] = "ExtraBeachBall_3", + ["angle"] = 2.28882e-005, + ["definition"] = "ExtraBeachBall", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["DecorationSkull02"] = 1, + ["ExtraBeachBall"] = 3, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 2, + ["WoodBlock9"] = 1, + ["ExtraBlockTNT"] = 2, + ["WOODEN_TIRE"] = 2, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 2, + ["StaticBlockTheme01_02"] = 2, + ["StaticFragileBlock02"] = 3, + ["StoneBlock2"] = 1, + ["WoodBlock10"] = 2, + ["StoneBlock1"] = 1, + ["StoneBlock12"] = 1, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["WoodBlock5"] = 3, + ["StaticFragileBlock05"] = 19, + ["StoneBlock10"] = 3, + ["SmallPiglette"] = 1, + ["LightBlock6"] = 1, + ["StoneBlock4"] = 5, + ["StoneBlock8"] = 1, + ["StaticFragileBlock06"] = 1, + ["RedBird"] = 2, + ["StaticBlockTheme01_05"] = 17, + ["StaticBlockTheme18_04"] = 1, + ["LightBlock5"] = 2, + ["StoneBlock5"] = 3, + ["LightBlock2"] = 1, + ["StoneBlock6"] = 3, + ["LightBlock1"] = 5, + ["LightBlock10"] = 1, + ["BoomerangBird"] = 2, + ["WoodBlock4"] = 3, + ["StoneBlock11"] = 1, + ["YellowBird"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme23" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_159.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_159.lua new file mode 100644 index 0000000000000000000000000000000000000000..156e26e7ebf52f4aa4bf05dcbbb6f28df1dcfb3f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_159.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_160.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_160.lua new file mode 100644 index 0000000000000000000000000000000000000000..06545b28dea8e54cbc0066c1a7b66f414f91a309 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_160.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_161.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_161.lua new file mode 100644 index 0000000000000000000000000000000000000000..c00fa6958f44706a64fd9ec0bd4956ad0a021eeb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_161.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_163.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_163.lua new file mode 100644 index 0000000000000000000000000000000000000000..e22717c9b585c7275591d2b35bf7fd5337b95fc0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_163.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_164.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_164.lua new file mode 100644 index 0000000000000000000000000000000000000000..220e5193ba805006a35610c6ce24acf12df82d02 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_164.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_166.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_166.lua new file mode 100644 index 0000000000000000000000000000000000000000..409ec4f704c56ddfe6a032ed8f85a3cc116ad2b2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_166.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_214.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_214.lua new file mode 100644 index 0000000000000000000000000000000000000000..3f8ee04e12ffbb06ea394c927d7b752002169c5e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_214.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_216.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_216.lua new file mode 100644 index 0000000000000000000000000000000000000000..193c2e8e501d9e7cf1001e8ef9191163a0a54d89 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_216.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_219.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_219.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d704e2640dfe8517743b70ad33cbb3a9e52a187 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_219.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_237.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_237.lua new file mode 100644 index 0000000000000000000000000000000000000000..29786e14ac5205b0af1f5cd3e0006dd2e4a047d6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_237.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_298.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_298.lua new file mode 100644 index 0000000000000000000000000000000000000000..6a8cb0e5a6080a503f01663e8600c5560470414a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_298.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_299.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_299.lua new file mode 100644 index 0000000000000000000000000000000000000000..0df1bf59946d4657f12928ff6c530c7a4b1d430a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_299.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_302.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_302.lua new file mode 100644 index 0000000000000000000000000000000000000000..e67ba5844eb63d9cac92afaaa1d6ba7befe2a2e4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_302.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_303.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_303.lua new file mode 100644 index 0000000000000000000000000000000000000000..36f5bf0a5f226a4bac8afbca07e89436f76752e7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_303.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_304.lua b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_304.lua new file mode 100644 index 0000000000000000000000000000000000000000..aec9e5e62702289fb5ca62cb601927c36ce1c318 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack7/LevelP3_304.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_149.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_149.lua new file mode 100644 index 0000000000000000000000000000000000000000..3ddc73de2b35850e99a9779799e6482784495f0a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_149.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_168.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_168.lua new file mode 100644 index 0000000000000000000000000000000000000000..04c133e78abc76e581b0332a43ebb1e58865781d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_168.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_217.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_217.lua new file mode 100644 index 0000000000000000000000000000000000000000..6f9eeb59d838375d04fcd333eef79b73f7685c32 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_217.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_221.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_221.lua new file mode 100644 index 0000000000000000000000000000000000000000..41f0932d553a11009f65266f2cdfb15c5f0b6c3f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_221.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_296.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_296.lua new file mode 100644 index 0000000000000000000000000000000000000000..7147f161cc8c65da3e98acc66d5630ab5b98d955 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_296.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_297.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_297.lua new file mode 100644 index 0000000000000000000000000000000000000000..6815604dd03240ca6d5de9a51d408348e95115ca Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_297.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_301.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_301.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f9285f1fa28d7b05058ca0f1c2926b425d3ffc2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_301.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_306.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_306.lua new file mode 100644 index 0000000000000000000000000000000000000000..897fcfb4f074782ec1327c8a23a12a93455f701e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_306.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_307.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_307.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d24fadb15fb244ea488a001506e8514f8aab374 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_307.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_308.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_308.lua new file mode 100644 index 0000000000000000000000000000000000000000..084866faccb561697ecce1270cc5f5d5572cbff3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_308.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_309.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_309.lua new file mode 100644 index 0000000000000000000000000000000000000000..48df502878e0adb3d4e5c3cd25f82bfd76914388 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_309.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_310.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_310.lua new file mode 100644 index 0000000000000000000000000000000000000000..edf7d6b4845418c1a0206c917b7a18e551b71036 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_310.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_311.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_311.lua new file mode 100644 index 0000000000000000000000000000000000000000..c249f8425df0d4a5b527678000f5c8d063bea0a2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_311.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_312.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_312.lua new file mode 100644 index 0000000000000000000000000000000000000000..63f84a732f35610eb0501d0ad1e3d8724df0687a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_312.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_313.lua b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_313.lua new file mode 100644 index 0000000000000000000000000000000000000000..93f5ffb3bb4a71b830f051749a0e3ed21d8128d2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack8/LevelP3_313.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_421.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_421.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d0ff696c01464c33241523c667e6b308e34454b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_421.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_423.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_423.lua new file mode 100644 index 0000000000000000000000000000000000000000..47d929c911c0368836747f5c22bc71552f443567 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_423.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_424.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_424.lua new file mode 100644 index 0000000000000000000000000000000000000000..c89a18755ce9db5f31f03132aa3a69f9bd823a73 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_424.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_425.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_425.lua new file mode 100644 index 0000000000000000000000000000000000000000..c7066ac247eceac3a429f51bc9a4acfa5be480ed Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_425.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_426.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_426.lua new file mode 100644 index 0000000000000000000000000000000000000000..b7fd24b25cefc0c6f0e7c2b2ec165c69ed196631 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_426.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_427.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_427.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6fc3a420e8fafd4faf0768e818b77a04f4e51d3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_427.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_428.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_428.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d596d6250aa16fa72a5c44edc95d84f8f9cfab7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_428.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_429.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_429.lua new file mode 100644 index 0000000000000000000000000000000000000000..0a27b1c4c5667e8c1f6688a807b347e89a12e760 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_429.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_431.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_431.lua new file mode 100644 index 0000000000000000000000000000000000000000..4d8631a8f44077f0e48ad024debe501ef08135dc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_431.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_432.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_432.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4fb7537342ceaf68ebadcaa0db1f8bad9c4eedb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_432.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_433.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_433.lua new file mode 100644 index 0000000000000000000000000000000000000000..6fa85f6cd04faf2016380c10236f9ae931802dbd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_433.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_436.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_436.lua new file mode 100644 index 0000000000000000000000000000000000000000..c460396a2e2da05539ce3d246232241031115f13 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_436.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_439.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_439.lua new file mode 100644 index 0000000000000000000000000000000000000000..3495d1dc5c91d1a0f144e99feae6b527532a6703 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_439.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_440.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_440.lua new file mode 100644 index 0000000000000000000000000000000000000000..fa1b8647e28a2bf1db31067ee21bc77648e1a9af Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_440.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_441.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_441.lua new file mode 100644 index 0000000000000000000000000000000000000000..a1a730ac08c582339dd1d8d1b59d406379c87815 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/pack9/LevelP4_441.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/temp/LevelP4_436.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/temp/LevelP4_436.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..7e6b8e050f580d0d183df7feb0fe55e36945c665 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack9/temp/LevelP4_436.temp.lua @@ -0,0 +1,813 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 100.324, + ["px"] = 531.429, + ["right"] = 1131.43, + ["screenHeight"] = 320, + ["sy"] = 0.4, + ["top"] = -699.676, + ["iphone"] = { + ["bottom"] = 100.324, + ["screenWidth"] = 480, + ["py"] = -299.676, + ["screenHeight"] = 320, + ["top"] = -699.676, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1131.43, + ["left"] = -68.571, + ["px"] = 531.429, + + }, + ["version"] = "0.02", + ["sx"] = 0.4, + ["windows"] = { + ["bottom"] = 277.161, + ["screenWidth"] = 1366, + ["py"] = -319.516, + ["screenHeight"] = 768, + ["top"] = -916.193, + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = 473.121, + ["left"] = -588.157, + ["right"] = 1534.4, + + }, + ["left"] = -68.571, + ["ipad"] = { + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = 473.121, + ["py"] = -319.516, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["py"] = -299.676, + +} +levelParticles = { + ["y"] = -2027.63, + ["x"] = 1643.94, + ["firstFrame"] = true, + ["width"] = 7020.01, + +} +joints = { + +} +world = { + ["WoodBlock6_136"] = { + ["y"] = -5.62613, + ["x"] = 24.2425, + ["name"] = "WoodBlock6_136", + ["angle"] = 1.57581, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_27"] = { + ["y"] = -4.54147, + ["x"] = 45.2949, + ["name"] = "StaticBlockTheme01_05_27", + ["angle"] = 4.71284, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock1_23"] = { + ["y"] = -16.1212, + ["x"] = 21.6984, + ["name"] = "WoodBlock1_23", + ["angle"] = 0.00306242, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock6_86"] = { + ["y"] = -13.3718, + ["x"] = 7.97791, + ["name"] = "StoneBlock6_86", + ["angle"] = 4.71192, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock6_80"] = { + ["y"] = -26.0633, + ["x"] = 22.8314, + ["name"] = "StoneBlock6_80", + ["angle"] = 2.87154, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -4.80239, + ["x"] = -6.39477, + ["name"] = "WoodBlock10_4", + ["angle"] = 0.00456239, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_29"] = { + ["y"] = -0.906396, + ["x"] = -29.9762, + ["name"] = "StaticBlockTheme01_05_29", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StoneBlock6_73"] = { + ["y"] = -13.8837, + ["x"] = 39.8878, + ["name"] = "StoneBlock6_73", + ["angle"] = 3.12867, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock6_72"] = { + ["y"] = -13.9813, + ["x"] = 14.6772, + ["name"] = "StoneBlock6_72", + ["angle"] = 3.1416, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_135"] = { + ["y"] = -14.9162, + ["x"] = 31.2933, + ["name"] = "WoodBlock6_135", + ["angle"] = 3.15887, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock1_24"] = { + ["y"] = -15.92, + ["x"] = 32.3069, + ["name"] = "WoodBlock1_24", + ["angle"] = 6.26602, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock6_143"] = { + ["y"] = -22.8353, + ["x"] = 33.8761, + ["name"] = "WoodBlock6_143", + ["angle"] = 0.904128, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_86"] = { + ["y"] = -16.4293, + ["x"] = 41.2536, + ["name"] = "WoodBlock4_86", + ["angle"] = 4.70771, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -6.89313, + ["x"] = 38.2369, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 6.42143e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -19.6055, + ["x"] = 24.136, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 0.0133138, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_134"] = { + ["y"] = -18.929, + ["x"] = 39.7128, + ["name"] = "WoodBlock6_134", + ["angle"] = 3.12739, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock2_14"] = { + ["y"] = -3.7272, + ["x"] = -2.99431, + ["name"] = "WoodBlock2_14", + ["angle"] = 0.00433235, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_6"] = { + ["y"] = -6.93232, + ["x"] = -6.29085, + ["name"] = "WoodBlock10_6", + ["angle"] = 0.00494527, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_111"] = { + ["y"] = -10.5297, + ["x"] = 22.2467, + ["name"] = "WoodBlock6_111", + ["angle"] = 1.57316, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_112"] = { + ["y"] = -10.4204, + ["x"] = 34.2992, + ["name"] = "WoodBlock6_112", + ["angle"] = 1.56213, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -10.9463, + ["x"] = 15.2983, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["ExtraHelmetSmall_2"] = { + ["y"] = -18.3724, + ["x"] = 13.71, + ["name"] = "ExtraHelmetSmall_2", + ["angle"] = 0.0470378, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_126"] = { + ["y"] = -19.4656, + ["x"] = 27.1374, + ["name"] = "WoodBlock6_126", + ["angle"] = 4.69999, + ["definition"] = "WoodBlock6", + + }, + ["RedBigBird_5"] = { + ["y"] = -7.83724, + ["x"] = -51.2809, + ["name"] = "RedBigBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["HelmetPiglette_19"] = { + ["y"] = -16.4428, + ["x"] = 13.6501, + ["name"] = "HelmetPiglette_19", + ["angle"] = 0.0298791, + ["definition"] = "HelmetPiglette", + + }, + ["StoneBlock4_25"] = { + ["y"] = -11.4272, + ["x"] = 18.3353, + ["name"] = "StoneBlock4_25", + ["angle"] = 4.71241, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_12"] = { + ["y"] = -23.9548, + ["x"] = 24.0645, + ["name"] = "WoodBlock10_12", + ["angle"] = 3.15347, + ["definition"] = "WoodBlock10", + + }, + ["RedBigBird_4"] = { + ["y"] = -7.78285, + ["x"] = -49.7247, + ["name"] = "RedBigBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["WoodBlock2_18"] = { + ["y"] = -5.84873, + ["x"] = -2.95254, + ["name"] = "WoodBlock2_18", + ["angle"] = 0.00503094, + ["definition"] = "WoodBlock2", + + }, + ["HelmetPiglette_22"] = { + ["y"] = -17.4451, + ["x"] = 30.0773, + ["name"] = "HelmetPiglette_22", + ["angle"] = 0.00337175, + ["definition"] = "HelmetPiglette", + + }, + ["StoneBlock4_30"] = { + ["y"] = -17.9243, + ["x"] = 9.02664, + ["name"] = "StoneBlock4_30", + ["angle"] = 6.2433, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -1.49989, + ["x"] = 36.4782, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock6_140"] = { + ["y"] = -15.0475, + ["x"] = 23.0155, + ["name"] = "WoodBlock6_140", + ["angle"] = 3.14418, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_7"] = { + ["y"] = -4.52052, + ["x"] = -13.3086, + ["name"] = "WoodBlock10_7", + ["angle"] = 2.07721, + ["definition"] = "WoodBlock10", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0.690901, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock6_138"] = { + ["y"] = -10.0696, + ["x"] = 27.5183, + ["name"] = "WoodBlock6_138", + ["angle"] = 3.14082, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock2_12"] = { + ["y"] = -1.64423, + ["x"] = -9.84698, + ["name"] = "WoodBlock2_12", + ["angle"] = 0.00190811, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -10.8314, + ["x"] = 39.3244, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["WoodBlock4_90"] = { + ["y"] = -16.3456, + ["x"] = 36.2598, + ["name"] = "WoodBlock4_90", + ["angle"] = 4.70555, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_3"] = { + ["y"] = -2.68886, + ["x"] = -6.5025, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.00388365, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_25"] = { + ["y"] = -1.70593, + ["x"] = 11.3596, + ["name"] = "StaticBlockTheme01_05_25", + ["angle"] = 1.57123, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["BoomerangBird_1"] = { + ["y"] = -7.40041, + ["x"] = -35.9747, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -0.79404, + ["x"] = 27.499, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 3.1416, + ["definition"] = "StaticBlockTheme10_02", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -7.04322, + ["x"] = 14.0046, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 3.8624e-006, + ["definition"] = "StaticBlockTheme10_02", + + }, + ["HelmetPiglette_17"] = { + ["y"] = -17.5402, + ["x"] = 24.0347, + ["name"] = "HelmetPiglette_17", + ["angle"] = 6.23084, + ["definition"] = "HelmetPiglette", + + }, + ["ExtraHelmetSmall_5"] = { + ["y"] = -6.1334, + ["x"] = 27.5769, + ["name"] = "ExtraHelmetSmall_5", + ["angle"] = 0.0133137, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock4_94"] = { + ["y"] = -12.5835, + ["x"] = 26.537, + ["name"] = "WoodBlock4_94", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock2_16"] = { + ["y"] = -5.88157, + ["x"] = -9.68418, + ["name"] = "WoodBlock2_16", + ["angle"] = 0.00451558, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock6_82"] = { + ["y"] = -24.9392, + ["x"] = 27.2584, + ["name"] = "StoneBlock6_82", + ["angle"] = 0.0216033, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock2_13"] = { + ["y"] = -3.75792, + ["x"] = -9.82544, + ["name"] = "WoodBlock2_13", + ["angle"] = 0.00357636, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme01_05_31"] = { + ["y"] = -0.99463, + ["x"] = -48.7115, + ["name"] = "StaticBlockTheme01_05_31", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StaticBlockTheme01_05_30"] = { + ["y"] = -0.95052, + ["x"] = -39.2335, + ["name"] = "StaticBlockTheme01_05_30", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock2_20"] = { + ["y"] = -25.9994, + ["x"] = 26.9621, + ["name"] = "WoodBlock2_20", + ["angle"] = 3.1416, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -10.9463, + ["x"] = 12.0878, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["WoodBlock10_8"] = { + ["y"] = -4.5231, + ["x"] = -14.5748, + ["name"] = "WoodBlock10_8", + ["angle"] = 2.08554, + ["definition"] = "WoodBlock10", + + }, + ["RedBigBird_3"] = { + ["y"] = -7.73185, + ["x"] = -47.6483, + ["name"] = "RedBigBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -6.93142, + ["x"] = 7.96605, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -1.57567, + ["x"] = 18.3589, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -8.54322, + ["x"] = 14.0046, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 3.8624e-006, + ["definition"] = "StaticBlockTheme10_02", + + }, + ["WoodBlock5_53"] = { + ["y"] = -16.3901, + ["x"] = 17.7824, + ["name"] = "WoodBlock5_53", + ["angle"] = 1.56376, + ["definition"] = "WoodBlock5", + + }, + ["ExtraHelmetSmall_4"] = { + ["y"] = -19.422, + ["x"] = 30.1933, + ["name"] = "ExtraHelmetSmall_4", + ["angle"] = 0.0133137, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StoneBlock6_70"] = { + ["y"] = -10.5305, + ["x"] = 19.5076, + ["name"] = "StoneBlock6_70", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_137"] = { + ["y"] = -5.6269, + ["x"] = 30.8567, + ["name"] = "WoodBlock6_137", + ["angle"] = 1.56515, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = 1.55887, + ["x"] = 50.0933, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 0.785405, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock2_15"] = { + ["y"] = -1.62844, + ["x"] = -3.14493, + ["name"] = "WoodBlock2_15", + ["angle"] = 0.00244908, + ["definition"] = "WoodBlock2", + + }, + ["BoomerangBird_2"] = { + ["y"] = -7.41455, + ["x"] = -44.4178, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["GrandpaPiglette_1"] = { + ["y"] = -3.91656, + ["x"] = 27.5425, + ["name"] = "GrandpaPiglette_1", + ["angle"] = 6.67099e-005, + ["definition"] = "GrandpaPiglette", + + }, + ["WoodBlock6_133"] = { + ["y"] = -12.8962, + ["x"] = 46.1259, + ["name"] = "WoodBlock6_133", + ["angle"] = 0.921581, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_93"] = { + ["y"] = -14.9304, + ["x"] = 38.7371, + ["name"] = "WoodBlock4_93", + ["angle"] = 6.2686, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_39"] = { + ["y"] = -22.9834, + ["x"] = 16.5153, + ["name"] = "StoneBlock4_39", + ["angle"] = 6.24668, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_2"] = { + ["y"] = -0.5846, + ["x"] = -6.55339, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.00115507, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = 0.849625, + ["x"] = 5.91515, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 0.785833, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -10.8314, + ["x"] = 42.6536, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["StoneBlock4_33"] = { + ["y"] = -15.434, + ["x"] = 10.1645, + ["name"] = "StoneBlock4_33", + ["angle"] = 4.70509, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock6_114"] = { + ["y"] = -13.3826, + ["x"] = 9.04879, + ["name"] = "WoodBlock6_114", + ["angle"] = 4.7119, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock6_90"] = { + ["y"] = -18.4835, + ["x"] = 16.2807, + ["name"] = "StoneBlock6_90", + ["angle"] = 4.71322, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_28"] = { + ["y"] = 1.0789, + ["x"] = -25.16, + ["name"] = "StaticBlockTheme01_05_28", + ["angle"] = 5.49782, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock6_110"] = { + ["y"] = -19.5264, + ["x"] = 20.045, + ["name"] = "WoodBlock6_110", + ["angle"] = 1.57242, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_95"] = { + ["y"] = -12.5435, + ["x"] = 28.177, + ["name"] = "WoodBlock4_95", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 12, + ["StoneBlock6"] = 93, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 12, + ["LightBlock5"] = 5, + ["StaticBlockTheme02_04"] = 11, + ["WoodBlock1"] = 24, + ["YellowBird"] = 6, + ["StoneBlock3"] = 22, + ["RedBird"] = 10, + ["StaticBlockTheme01_03"] = 21, + ["StoneBlock2"] = 5, + ["StaticBlockTheme01_04"] = 7, + ["WoodBlock2"] = 20, + ["WoodBlock10"] = 12, + ["StaticBlockTheme03_02"] = 2, + ["StoneBlock1"] = 21, + ["WoodBlock6"] = 143, + ["LargePiglette"] = 6, + ["HelmetPiglette"] = 22, + ["BasicBird2"] = 7, + ["WoodBlock9"] = 2, + ["WoodBlock3"] = 39, + ["WoodBlock5"] = 53, + ["StaticBlockTheme01_02"] = 24, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig2"] = 4, + ["BlackBird"] = 12, + ["StoneBlock7"] = 12, + ["LightBlock6"] = 2, + ["SmallPiglette"] = 16, + ["ExtraHelmetSmall"] = 5, + ["StoneBlock4"] = 39, + ["ExtraHelmetSmall2"] = 4, + ["StoneBlock8"] = 16, + ["StaticBlockTheme01_01"] = 9, + ["WoodBlock4"] = 95, + ["StaticBlockTheme02_05"] = 5, + ["WoodBlock7"] = 3, + ["StaticBlockTheme02_01"] = 4, + ["StaticBlockTheme02_02"] = 8, + ["GrandpaPiglette"] = 1, + ["StoneBlock5"] = 120, + ["ExtraBlockStairs"] = 5, + ["LightBlock3"] = 2, + ["ExtraBlockTNT"] = 4, + ["KingPiglette"] = 2, + ["BoomerangBird"] = 2, + ["RedBigBird"] = 5, + ["ExtraHelmetBig"] = 2, + ["StaticBlockTheme01_05"] = 31, + +} +theme = "theme10" +birdCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 100.324, + ["px"] = -454.411, + ["right"] = 1131.43, + ["screenHeight"] = 320, + ["sy"] = 0.4, + ["top"] = -680.067, + ["iphone"] = { + ["bottom"] = 100.324, + ["screenWidth"] = 480, + ["py"] = -280.067, + ["screenHeight"] = 320, + ["top"] = -680.067, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1131.43, + ["left"] = -1054.41, + ["px"] = -454.411, + + }, + ["version"] = "0.02", + ["sx"] = 0.4, + ["windows"] = { + ["bottom"] = 277.161, + ["screenWidth"] = 1366, + ["py"] = -319.127, + ["screenHeight"] = 768, + ["top"] = -915.804, + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = -274.151, + ["left"] = -1335.43, + ["right"] = 1534.4, + + }, + ["left"] = -1054.41, + ["ipad"] = { + ["bottom"] = 269.392, + ["screenWidth"] = 1024, + ["py"] = -319.127, + ["screenHeight"] = 768, + ["top"] = -915.804, + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = -274.151, + ["left"] = -1069.72, + ["right"] = 1316.86, + + }, + ["py"] = -280.067, + +} +filename = LevelP4_436.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/pack9/temp/LevelP4_441.temp.lua b/Angry Birds Project R/0.2.0/data/levels/pack9/temp/LevelP4_441.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..cbc861af7dee64aaee7919016ac44ea80451177c --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/pack9/temp/LevelP4_441.temp.lua @@ -0,0 +1,849 @@ +themeSprites = { + +} +castleCameraData = { + ["right"] = 1336.2, + ["bottom"] = 204.048, + ["px"] = 650.486, + ["py"] = -253.095, + ["left"] = -35.2283, + ["screenHeight"] = 320, + ["top"] = -710.238, + ["iphone"] = { + ["bottom"] = 204.048, + ["screenWidth"] = 1680, + ["py"] = -253.095, + ["screenHeight"] = 1024, + ["top"] = -710.238, + ["sy"] = 1.12, + ["sx"] = 1.12, + ["right"] = 1400.49, + ["left"] = -99.514, + ["px"] = 650.486, + + }, + ["sy"] = 0.35, + ["sx"] = 0.35, + ["windows"] = { + ["bottom"] = 227.819, + ["screenWidth"] = 1366, + ["py"] = -356.543, + ["screenHeight"] = 768, + ["top"] = -940.905, + ["sy"] = 0.657127, + ["sx"] = 0.657127, + ["right"] = 1628, + ["left"] = -450.741, + ["px"] = 588.632, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["sy"] = 0.657127, + ["sx"] = 0.657127, + ["px"] = 588.632, + ["py"] = -356.543, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["screenWidth"] = 480, + +} +levelParticles = { + ["y"] = -2149.09, + ["x"] = 1702.89, + ["firstFrame"] = true, + ["width"] = 7352.12, + +} +joints = { + +} +world = { + ["WoodBlock5_22"] = { + ["y"] = -14.1657, + ["x"] = 36.7859, + ["name"] = "WoodBlock5_22", + ["angle"] = 1.62965, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock6_60"] = { + ["y"] = -17.5534, + ["x"] = 40.7685, + ["name"] = "WoodBlock6_60", + ["angle"] = 0.00861944, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_73"] = { + ["y"] = -11.172, + ["x"] = 52.9138, + ["name"] = "WoodBlock5_73", + ["angle"] = 6.26229, + ["definition"] = "WoodBlock5", + + }, + ["HelmetPiglette_10"] = { + ["y"] = -20.1101, + ["x"] = 38.4725, + ["name"] = "HelmetPiglette_10", + ["angle"] = 0, + ["definition"] = "HelmetPiglette", + + }, + ["StoneBlock6_52"] = { + ["y"] = -4.01202, + ["x"] = 2.04601, + ["name"] = "StoneBlock6_52", + ["angle"] = 5.17309, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_02_15"] = { + ["y"] = -2.03951, + ["x"] = 65.8286, + ["name"] = "StaticBlockTheme01_02_15", + ["angle"] = 3.92709, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_02_18"] = { + ["y"] = 3.39401, + ["x"] = 21.6939, + ["name"] = "StaticBlockTheme01_02_18", + ["angle"] = 1.5709, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["WoodBlock5_27"] = { + ["y"] = -15.2086, + ["x"] = 52.8141, + ["name"] = "WoodBlock5_27", + ["angle"] = 6.25099, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_95"] = { + ["y"] = -5.16658, + ["x"] = 34.1849, + ["name"] = "StoneBlock5_95", + ["angle"] = 0.0125753, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_96"] = { + ["y"] = -3.12907, + ["x"] = 36.2083, + ["name"] = "StoneBlock5_96", + ["angle"] = 0.00381296, + ["definition"] = "StoneBlock5", + + }, + ["SmallPiglette_12"] = { + ["y"] = -3.18597, + ["x"] = 44.7134, + ["name"] = "SmallPiglette_12", + ["angle"] = 0.0124976, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock3_33"] = { + ["y"] = -24.0004, + ["x"] = 43.5297, + ["name"] = "WoodBlock3_33", + ["angle"] = 0.0274635, + ["definition"] = "WoodBlock3", + + }, + ["WoodBlock5_35"] = { + ["y"] = -20.0592, + ["x"] = 41.6099, + ["name"] = "WoodBlock5_35", + ["angle"] = 1.57825, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -1.18951, + ["x"] = 58.2786, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 4.71249, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_56"] = { + ["y"] = -6.5951, + ["x"] = 44.8287, + ["name"] = "WoodBlock6_56", + ["angle"] = 0.00148589, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_18"] = { + ["y"] = -4.211, + ["x"] = 30.1362, + ["name"] = "WoodBlock5_18", + ["angle"] = 4.72433, + ["definition"] = "WoodBlock5", + + }, + ["SmallPiglette_14"] = { + ["y"] = -3.2871, + ["x"] = 26.4225, + ["name"] = "SmallPiglette_14", + ["angle"] = 0.000119063, + ["definition"] = "SmallPiglette", + + }, + ["SmallPiglette_15"] = { + ["y"] = -9.26189, + ["x"] = 24.3547, + ["name"] = "SmallPiglette_15", + ["angle"] = 0.000119063, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock5_28"] = { + ["y"] = -13.2441, + ["x"] = 53.994, + ["name"] = "WoodBlock5_28", + ["angle"] = 6.25781, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_91"] = { + ["y"] = -4.11952, + ["x"] = 41.5483, + ["name"] = "WoodBlock5_91", + ["angle"] = 4.71769, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock6_66"] = { + ["y"] = -12.1422, + ["x"] = 27.9707, + ["name"] = "WoodBlock6_66", + ["angle"] = 4.71248, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_21"] = { + ["y"] = -14.249, + ["x"] = 31.5498, + ["name"] = "WoodBlock5_21", + ["angle"] = 1.61904, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_109"] = { + ["y"] = -2.11398, + ["x"] = 10.5459, + ["name"] = "StoneBlock5_109", + ["angle"] = 1.58494, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_88"] = { + ["y"] = -4.12212, + ["x"] = 4.58999, + ["name"] = "StoneBlock5_88", + ["angle"] = 1.61134, + ["definition"] = "StoneBlock5", + + }, + ["RedBigBird_2"] = { + ["y"] = -1.7554, + ["x"] = -45.0728, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StoneBlock5_93"] = { + ["y"] = -18.294, + ["x"] = 28.5854, + ["name"] = "StoneBlock5_93", + ["angle"] = 6.22333, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock6_63"] = { + ["y"] = -11.0475, + ["x"] = 44.7903, + ["name"] = "WoodBlock6_63", + ["angle"] = 1.57193, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock5_91"] = { + ["y"] = -3.16941, + ["x"] = 7.56735, + ["name"] = "StoneBlock5_91", + ["angle"] = 0.0220858, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock5_72"] = { + ["y"] = -7.14964, + ["x"] = 36.2178, + ["name"] = "WoodBlock5_72", + ["angle"] = 0.0183994, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_94"] = { + ["y"] = -7.21674, + ["x"] = 32.0917, + ["name"] = "StoneBlock5_94", + ["angle"] = 0.012726, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_01_10"] = { + ["y"] = -1.2902, + ["x"] = 29.6913, + ["name"] = "StaticBlockTheme01_01_10", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = 3.18348, + ["x"] = 16.4834, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_70"] = { + ["y"] = -9.21685, + ["x"] = 32.7111, + ["name"] = "WoodBlock5_70", + ["angle"] = 0.0226525, + ["definition"] = "WoodBlock5", + + }, + ["RedBigBird_4"] = { + ["y"] = -1.88689, + ["x"] = -50.9668, + ["name"] = "RedBigBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["RedBigBird_1"] = { + ["y"] = -1.85986, + ["x"] = -38.8061, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = 3.34138, + ["x"] = 27.2176, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_02_17"] = { + ["y"] = -1.34283, + ["x"] = 24.7992, + ["name"] = "StaticBlockTheme01_02_17", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StoneBlock5_89"] = { + ["y"] = -19.2768, + ["x"] = 21.7928, + ["name"] = "StoneBlock5_89", + ["angle"] = 1.58958, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock5_71"] = { + ["y"] = -11.1734, + ["x"] = 36.0472, + ["name"] = "WoodBlock5_71", + ["angle"] = 0.0371558, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_92"] = { + ["y"] = -4.1147, + ["x"] = 47.9509, + ["name"] = "WoodBlock5_92", + ["angle"] = 4.70812, + ["definition"] = "WoodBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 9.98895, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock6_62"] = { + ["y"] = -16.6357, + ["x"] = 49.07, + ["name"] = "WoodBlock6_62", + ["angle"] = 6.25548, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock3_20"] = { + ["y"] = -1.09769, + ["x"] = 8.50736, + ["name"] = "StoneBlock3_20", + ["angle"] = 3.14778, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock6_30"] = { + ["y"] = -22.6153, + ["x"] = 44.676, + ["name"] = "WoodBlock6_30", + ["angle"] = 3.13003, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock6_54"] = { + ["y"] = -3.66198, + ["x"] = 0.242917, + ["name"] = "StoneBlock6_54", + ["angle"] = 2.13368, + ["definition"] = "StoneBlock6", + + }, + ["RedBigBird_5"] = { + ["y"] = -1.72443, + ["x"] = -53.7507, + ["name"] = "RedBigBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["ExtraHelmetBoss_1"] = { + ["y"] = -22.0226, + ["x"] = 38.4725, + ["name"] = "ExtraHelmetBoss_1", + ["angle"] = 0, + ["definition"] = "ExtraHelmetBoss", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -1.18951, + ["x"] = 55.7786, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 3.14167, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_74"] = { + ["y"] = -9.1864, + ["x"] = 54.2754, + ["name"] = "WoodBlock5_74", + ["angle"] = 6.27065, + ["definition"] = "WoodBlock5", + + }, + ["MediumPiglette_12"] = { + ["y"] = -8.90654, + ["x"] = 47.2124, + ["name"] = "MediumPiglette_12", + ["angle"] = 0.0121711, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock6_65"] = { + ["y"] = -12.1762, + ["x"] = 22.6136, + ["name"] = "WoodBlock6_65", + ["angle"] = 4.74739, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetSmall_5"] = { + ["y"] = -4.35654, + ["x"] = 26.4136, + ["name"] = "ExtraHelmetSmall_5", + ["angle"] = 6.26779, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = 0.960492, + ["x"] = 62.2786, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 5.49789, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_75"] = { + ["y"] = -7.14782, + ["x"] = 53.0439, + ["name"] = "WoodBlock5_75", + ["angle"] = 6.27917, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_98"] = { + ["y"] = -12.1405, + ["x"] = 59.1314, + ["name"] = "WoodBlock5_98", + ["angle"] = 1.55826, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_19"] = { + ["y"] = -4.22291, + ["x"] = 21.797, + ["name"] = "WoodBlock5_19", + ["angle"] = 4.71567, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_20"] = { + ["y"] = -11.2891, + ["x"] = 32.0102, + ["name"] = "WoodBlock5_20", + ["angle"] = 0.0199882, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock3_32"] = { + ["y"] = -5.18117, + ["x"] = 37.3119, + ["name"] = "WoodBlock3_32", + ["angle"] = 0.0493826, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock5_102"] = { + ["y"] = -5.20661, + ["x"] = 7.71061, + ["name"] = "StoneBlock5_102", + ["angle"] = 6.28085, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock6_61"] = { + ["y"] = -17.6571, + ["x"] = 49.0676, + ["name"] = "WoodBlock6_61", + ["angle"] = 6.25502, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_29"] = { + ["y"] = -6.72304, + ["x"] = 26.0684, + ["name"] = "WoodBlock6_29", + ["angle"] = 3.14289, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_97"] = { + ["y"] = -8.11725, + ["x"] = 60.2475, + ["name"] = "WoodBlock5_97", + ["angle"] = 1.55826, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock3_21"] = { + ["y"] = -3.16407, + ["x"] = 33.1159, + ["name"] = "StoneBlock3_21", + ["angle"] = 3.15358, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock6_68"] = { + ["y"] = -16.8226, + ["x"] = 32.5243, + ["name"] = "WoodBlock6_68", + ["angle"] = 3.14169, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_03_22"] = { + ["y"] = -0.50635, + ["x"] = 38.8738, + ["name"] = "StaticBlockTheme01_03_22", + ["angle"] = 3.14171, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["WoodBlock6_64"] = { + ["y"] = -15.5005, + ["x"] = 44.688, + ["name"] = "WoodBlock6_64", + ["angle"] = 3.14358, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetSmall_4"] = { + ["y"] = -4.28868, + ["x"] = 44.7172, + ["name"] = "ExtraHelmetSmall_4", + ["angle"] = 6.26779, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_67"] = { + ["y"] = -16.7405, + ["x"] = 24.41, + ["name"] = "WoodBlock6_67", + ["angle"] = 3.14169, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_59"] = { + ["y"] = -16.5764, + ["x"] = 40.7841, + ["name"] = "WoodBlock6_59", + ["angle"] = 0.0125102, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock5_92"] = { + ["y"] = -1.08928, + ["x"] = 5.50999, + ["name"] = "StoneBlock5_92", + ["angle"] = 0.000702556, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_53"] = { + ["y"] = -3.32901, + ["x"] = -1.9895, + ["name"] = "StoneBlock6_53", + ["angle"] = 5.44491, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_34"] = { + ["y"] = -25.8791, + ["x"] = 44.5774, + ["name"] = "WoodBlock3_34", + ["angle"] = 6.25493, + ["definition"] = "WoodBlock3", + + }, + ["ExtraHelmetSmall_3"] = { + ["y"] = -10.8458, + ["x"] = 47.2141, + ["name"] = "ExtraHelmetSmall_3", + ["angle"] = 0.0195108, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_69"] = { + ["y"] = -6.62796, + ["x"] = 17.7922, + ["name"] = "WoodBlock6_69", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock6_64"] = { + ["y"] = -6.80041, + ["x"] = 9.25307, + ["name"] = "StoneBlock6_64", + ["angle"] = 6.2652, + ["definition"] = "StoneBlock6", + + }, + ["RedBigBird_3"] = { + ["y"] = -1.7554, + ["x"] = -48.2752, + ["name"] = "RedBigBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["WoodBlock3_37"] = { + ["y"] = -9.14564, + ["x"] = 36.9767, + ["name"] = "WoodBlock3_37", + ["angle"] = 6.26863, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_02_16"] = { + ["y"] = -1.34283, + ["x"] = 16.4834, + ["name"] = "StaticBlockTheme01_02_16", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StoneBlock6_65"] = { + ["y"] = -7.74031, + ["x"] = 25.6735, + ["name"] = "StoneBlock6_65", + ["angle"] = 0.00178164, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock4_54"] = { + ["y"] = -4.26189, + ["x"] = 14.935, + ["name"] = "WoodBlock4_54", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock5_36"] = { + ["y"] = -20.1323, + ["x"] = 47.7681, + ["name"] = "WoodBlock5_36", + ["angle"] = 1.54504, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_96"] = { + ["y"] = -8.16189, + ["x"] = 58.1493, + ["name"] = "WoodBlock5_96", + ["angle"] = 1.55826, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock3_31"] = { + ["y"] = -23.9206, + ["x"] = 45.7951, + ["name"] = "WoodBlock3_31", + ["angle"] = 0.0118104, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_03_21"] = { + ["y"] = -1.24709, + ["x"] = 38.7997, + ["name"] = "StaticBlockTheme01_03_21", + ["angle"] = 3.14171, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -10.3839, + ["x"] = 24.2067, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 6.26778, + ["definition"] = "ExtraHelmetSmall", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 9, + ["StoneBlock6"] = 67, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 12, + ["LightBlock5"] = 1, + ["WoodBlock1"] = 10, + ["YellowBird"] = 6, + ["StoneBlock3"] = 21, + ["StaticBlockTheme01_02"] = 18, + ["StaticBlockTheme01_03"] = 22, + ["StaticBlockTheme01_04"] = 3, + ["WoodBlock2"] = 12, + ["StoneBlock1"] = 11, + ["WoodBlock6"] = 69, + ["LargePiglette"] = 4, + ["HelmetPiglette"] = 10, + ["BasicBird2"] = 5, + ["WoodBlock5"] = 98, + ["ExtraHelmetBig"] = 2, + ["BlackBird"] = 11, + ["StoneBlock7"] = 12, + ["ExtraBlockTNT"] = 4, + ["SmallPiglette"] = 15, + ["LightBlock6"] = 2, + ["StoneBlock4"] = 20, + ["ExtraHelmetSmall2"] = 3, + ["StoneBlock8"] = 15, + ["StaticBlockTheme01_01"] = 10, + ["ExtraHelmetBig2"] = 2, + ["ExtraHelmetSmall"] = 6, + ["WoodBlock7"] = 3, + ["BoomerangBird"] = 1, + ["WoodBlock4"] = 55, + ["StaticBlockTheme03_03"] = 1, + ["StoneBlock5"] = 117, + ["ExtraBlockStairs"] = 8, + ["LightBlock3"] = 2, + ["ExtraHelmetBoss"] = 1, + ["KingPiglette"] = 1, + ["WoodBlock3"] = 41, + ["RedBigBird"] = 5, + ["RedBird"] = 7, + ["StaticBlockTheme01_05"] = 14, + +} +theme = "theme11boss" +birdCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 143.095, + ["px"] = -436.713, + ["py"] = -235.381, + ["screenHeight"] = 320, + ["right"] = 1244.77, + ["top"] = -662.048, + ["iphone"] = { + ["bottom"] = 143.095, + ["screenWidth"] = 1680, + ["py"] = -235.381, + ["screenHeight"] = 1024, + ["top"] = -662.048, + ["sy"] = 1.2, + ["sx"] = 1.2, + ["right"] = 1300.49, + ["left"] = -1136.71, + ["px"] = -436.713, + + }, + ["version"] = "0.02", + ["sx"] = 0.375, + ["windows"] = { + ["bottom"] = 324.069, + ["screenWidth"] = 1366, + ["py"] = -339.498, + ["screenHeight"] = 768, + ["top"] = -971.985, + ["sy"] = 0.607127, + ["sx"] = 0.607127, + ["right"] = 1799.2, + ["left"] = -1410.68, + ["px"] = -285.714, + + }, + ["sy"] = 0.375, + ["ipad"] = { + ["sy"] = 0.607127, + ["sx"] = 0.607127, + ["px"] = -285.714, + ["py"] = -339.498, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["left"] = -1076.71, + +} +filename = "LevelP4_441.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/scripts/item.lua b/Angry Birds Project R/0.2.0/data/levels/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/scripts/item.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/scripts/options.lua b/Angry Birds Project R/0.2.0/data/levels/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..84e1d4c22c2a160f1a0dba9426289cab50612378 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/scripts/options.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/scripts/page.lua b/Angry Birds Project R/0.2.0/data/levels/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/scripts/page.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS001.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS001.lua new file mode 100644 index 0000000000000000000000000000000000000000..fa0f74030eddd2ef2849efe40674c5ff79e57d1b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS001.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS002.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS002.lua new file mode 100644 index 0000000000000000000000000000000000000000..091243cfabecf7d2e597639f18a24ff1e1a4adbc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS002.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS003.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS003.lua new file mode 100644 index 0000000000000000000000000000000000000000..33a08360ff6f5b84d5b38561a17d9359199ea23a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS003.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS004.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS004.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c85c5e19efd1c863db48f18154ffabbb10e1ec6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS004.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS005.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS005.lua new file mode 100644 index 0000000000000000000000000000000000000000..2af9331786e0656bedb0a06e448b9a844e644841 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS005.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS006.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS006.lua new file mode 100644 index 0000000000000000000000000000000000000000..898dc65d513cd1171ef015fa376b21b428e91920 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS006.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS007.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS007.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a5984747cbb20d694d16008480cc8ccd884b972 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS007.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS008.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS008.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a0377e36fefaa06a8f0aef1842454b8a647c521 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS008.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS009.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS009.lua new file mode 100644 index 0000000000000000000000000000000000000000..a37860b574cc1e8955dd4736bd324a13d8225cb7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS009.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS010.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS010.lua new file mode 100644 index 0000000000000000000000000000000000000000..4f237fdcba5ff317122433d999755446136f204f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS010.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS011.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS011.lua new file mode 100644 index 0000000000000000000000000000000000000000..58a9a4c0717d4a3ca9365459d9957f2831c7b94e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS011.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS012.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS012.lua new file mode 100644 index 0000000000000000000000000000000000000000..08d0035b65e64ffa64e91f1604c12f8fcfa4150a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS012.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS013.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS013.lua new file mode 100644 index 0000000000000000000000000000000000000000..f24272482327620f344995ffc61263b596223bdd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS013.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS014.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS014.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b43e19ff8fa3065a7fead9762d6f70e95a5c579 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS014.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS015.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS015.lua new file mode 100644 index 0000000000000000000000000000000000000000..fdb7c1f475a6eede662e63c3017db436bbebe5f4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS015.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS016.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS016.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d8e4a5974d033c7e6f92ca68daf0e63c717d049 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS016.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS017.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS017.lua new file mode 100644 index 0000000000000000000000000000000000000000..805441322ce415b752e5fbfb14ecece7ee6bba29 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS017.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS018.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS018.lua new file mode 100644 index 0000000000000000000000000000000000000000..41506af3fc332e3e1788f50e59b4ccd115292b67 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS018.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS019.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS019.lua new file mode 100644 index 0000000000000000000000000000000000000000..d0520c9089308a8c5f89bf0ba36a93dda29c2d9a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS019.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS020.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS020.lua new file mode 100644 index 0000000000000000000000000000000000000000..65d021767ce3172761b85c1d138a685e1d476fca Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS020.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS021.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS021.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef10ab330c31ad815d8f7c692d3da8e3947e4bfd Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS021.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS022.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS022.lua new file mode 100644 index 0000000000000000000000000000000000000000..93b4ad0643d7c57bc0c7f99e398ad73405e10a24 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS022.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS023.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS023.lua new file mode 100644 index 0000000000000000000000000000000000000000..65472e42328dd255f14dfd11264889156a2addaf Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS023.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS024.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS024.lua new file mode 100644 index 0000000000000000000000000000000000000000..47afac17427026b9b5066ba594d4b2d1f33976f7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS024.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS025.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS025.lua new file mode 100644 index 0000000000000000000000000000000000000000..e487a8f7626f23874a9405c82e1e4fece724b6c2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS025.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS026.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS026.lua new file mode 100644 index 0000000000000000000000000000000000000000..d49d4d20ef23eab79da0f8a5b7261cef50919ccc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS026.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS027.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS027.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c5591986ba50be50a3a105c800b1511426f4cd7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS027.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS028.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS028.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a9323fdd4accb5d4343ba0d11b30158e8abe2f8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS028.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS029.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS029.lua new file mode 100644 index 0000000000000000000000000000000000000000..240e8716810ee68bad401b4bd609de445dcb4057 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS029.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS030.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS030.lua new file mode 100644 index 0000000000000000000000000000000000000000..b55899f44b924f45b2114eeb839f08da0d12de76 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS030.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS031.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS031.lua new file mode 100644 index 0000000000000000000000000000000000000000..62863ee988bb9d3bc1ecd5f2d58e1f03db739dbf Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS031.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS032.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS032.lua new file mode 100644 index 0000000000000000000000000000000000000000..459c31d6da1d7bdddd834de850ab0fb1b85195f9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS032.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS033.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS033.lua new file mode 100644 index 0000000000000000000000000000000000000000..0100cf46dc8faf87598a95850cbe37a919ce1ce2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS033.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS034.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS034.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef497ca43db32a1547400000fead5389fed5eb32 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS034.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS035.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS035.lua new file mode 100644 index 0000000000000000000000000000000000000000..67e604899ea2c340c5e9d241c830f9256fbf39ee Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS035.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS036.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS036.lua new file mode 100644 index 0000000000000000000000000000000000000000..d0890b71477003ab75eac66fc28132c764e03eeb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS036.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS037.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS037.lua new file mode 100644 index 0000000000000000000000000000000000000000..b2b07b27d084588bdaa7b865c781a9f09324eca4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS037.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS038.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS038.lua new file mode 100644 index 0000000000000000000000000000000000000000..8f7eb92c825e1f2f2fc909c8b192b3de4f6bd2b0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS038.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS039.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS039.lua new file mode 100644 index 0000000000000000000000000000000000000000..3b439c3dc8d0c18939e37779d58fd99ff58265d4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS039.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS040.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS040.lua new file mode 100644 index 0000000000000000000000000000000000000000..5646aeef046541dc3f279492a363b17e959521db Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS040.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS041.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS041.lua new file mode 100644 index 0000000000000000000000000000000000000000..c7ad00c66feb9da33ec4cae6d1859fd23b7d446f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS041.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS042.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS042.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7f3fafb0a778d73725f742bcc2a74dda5b07c16 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS042.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS043.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS043.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d07463adf11a2cff4012cfa267eac8cf95a9589 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS043.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS044.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS044.lua new file mode 100644 index 0000000000000000000000000000000000000000..b3fd3240917b51747e3c4f926b7f5360d788e968 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS044.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/LevelS045.lua b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS045.lua new file mode 100644 index 0000000000000000000000000000000000000000..7320c03a780062ccf27ccd6c2cfc02dd3d969540 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/levels/surf/LevelS045.lua differ diff --git a/Angry Birds Project R/0.2.0/data/levels/surf/temp/LevelS045.temp.lua b/Angry Birds Project R/0.2.0/data/levels/surf/temp/LevelS045.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..3d796cc806811139e13ea1ccff3dec25782b2a1d --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/surf/temp/LevelS045.temp.lua @@ -0,0 +1,1633 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1366, + ["py"] = -640.445, + ["screenHeight"] = 768, + ["top"] = -1441.13, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["right"] = 2045.31, + ["left"] = -802.968, + ["px"] = 621.171, + + }, + ["iphone"] = { + ["sy"] = 0.257357, + ["sx"] = 0.257357, + ["px"] = 495.447, + ["py"] = -596.906, + ["screenHeight"] = 320, + ["screenWidth"] = 480, + + }, + ["ipad"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1024, + ["py"] = -640.445, + ["screenHeight"] = 768, + ["top"] = -1441.13, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["px"] = 621.171, + ["left"] = -446.412, + ["right"] = 1688.75, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -2869.97, + ["x"] = 2236.04, + ["particles"] = "theme15rain", + ["firstFrame"] = true, + ["settingsFrame"] = { + ["ignoreLimits"] = false, + ["amount"] = 150, + + }, + ["settingsBegin"] = { + ["ignoreLimits"] = false, + ["amount"] = 1500, + + }, + ["width"] = 9630.9, + +} +joints = { + ["StoneBlock11_19ExtraRopeThick01_14"] = { + ["end2"] = "ExtraRopeThick01_14", + ["maxTorque"] = 10000, + ["x2"] = 0.0575214, + ["y2"] = 3.14943, + ["y1"] = -1.28722, + ["x1"] = -0.970491, + ["limit"] = false, + ["backAndForth"] = false, + ["end1"] = "StoneBlock11_19", + ["motorSpeed"] = 0, + ["type"] = 3, + ["motor"] = false, + ["lowerLimit"] = 0, + ["upperLimit"] = 3.14159, + ["name"] = "StoneBlock11_19ExtraRopeThick01_14", + ["collideConnected"] = false, + ["coordType"] = 2, + + }, + ["StoneBlock12_6StoneBlock9_6"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_6", + ["x2"] = -0.229474, + ["y2"] = 1.06883, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock12_6StoneBlock9_6", + ["end1"] = "StoneBlock12_6", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_9StoneBlock9_6"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_6", + ["x2"] = -1.42464, + ["y2"] = -1.70845, + ["y1"] = 1.44682, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_9StoneBlock9_6", + ["end1"] = "ExtraRopeThick01_9", + ["collideConnected"] = false, + ["x1"] = 0.0895023, + + }, + ["ExtraRopeThick01_8StaticBlockTheme01_04_94"] = { + ["end2"] = "StaticBlockTheme01_04_94", + ["maxTorque"] = 10000, + ["x2"] = 0.663425, + ["y2"] = -2.32225, + ["y1"] = -3.3018, + ["x1"] = -0.045179, + ["limit"] = false, + ["backAndForth"] = false, + ["end1"] = "ExtraRopeThick01_8", + ["motorSpeed"] = 0, + ["type"] = 3, + ["motor"] = false, + ["lowerLimit"] = 0, + ["upperLimit"] = 3.14159, + ["name"] = "ExtraRopeThick01_8StaticBlockTheme01_04_94", + ["collideConnected"] = false, + ["coordType"] = 2, + + }, + ["ExtraRopeThick01_8ExtraRopeThick01_9"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_9", + ["x2"] = -0.0604952, + ["y2"] = -2.81767, + ["y1"] = 2.22839, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_8ExtraRopeThick01_9", + ["end1"] = "ExtraRopeThick01_8", + ["collideConnected"] = false, + ["x1"] = -0.136513, + + }, + ["ExtraBlockTNT_2LightBlock9_1"] = { + ["type"] = 2, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_2LightBlock9_1", + ["end1"] = "ExtraBlockTNT_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["StaticBlockTheme01_04_89ExtraRopeThick01_16"] = { + ["end2"] = "ExtraRopeThick01_16", + ["maxTorque"] = 10000, + ["x2"] = -0.0620366, + ["y2"] = -3.06415, + ["y1"] = -2.41718, + ["x1"] = 0.279018, + ["limit"] = false, + ["backAndForth"] = false, + ["end1"] = "StaticBlockTheme01_04_89", + ["motorSpeed"] = 0, + ["type"] = 3, + ["motor"] = false, + ["lowerLimit"] = 0, + ["upperLimit"] = 3.14159, + ["name"] = "StaticBlockTheme01_04_89ExtraRopeThick01_16", + ["collideConnected"] = false, + ["coordType"] = 2, + + }, + ["StoneBlock11_19StoneBlock9_5"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = -0.0568598, + ["coordType"] = 2, + ["name"] = "StoneBlock11_19StoneBlock9_5", + ["end1"] = "StoneBlock11_19", + ["collideConnected"] = false, + ["x1"] = -2.1639, + + }, + ["ExtraRopeThick01_7StoneBlock9_6"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_6", + ["x2"] = 1.57958, + ["y2"] = -1.5342, + ["y1"] = 3.04485, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_7StoneBlock9_6", + ["end1"] = "ExtraRopeThick01_7", + ["collideConnected"] = false, + ["x1"] = -0.0962281, + + }, + ["ExtraRopeThick01_7ExtraRopeThick01_9"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_9", + ["x2"] = 0.131213, + ["y2"] = -1.53337, + ["y1"] = -1.64911, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_7ExtraRopeThick01_9", + ["end1"] = "ExtraRopeThick01_7", + ["collideConnected"] = false, + ["x1"] = 0.0191532, + + }, + ["ExtraBlockTNT_1WoodBlock9_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock9_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_1WoodBlock9_7", + ["end1"] = "ExtraBlockTNT_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_16ExtraRopeThick01_14"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_14", + ["x2"] = -0.0954817, + ["y2"] = -1.12741, + ["y1"] = 1.774, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_16ExtraRopeThick01_14", + ["end1"] = "ExtraRopeThick01_16", + ["collideConnected"] = false, + ["x1"] = -0.0274265, + + }, + +} +world = { + ["StoneBlock2_7"] = { + ["y"] = -10.5722, + ["x"] = 0.719002, + ["name"] = "StoneBlock2_7", + ["angle"] = 5.89048, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock6_12"] = { + ["y"] = -14.6319, + ["x"] = 13.4364, + ["name"] = "LightBlock6_12", + ["angle"] = 3.12592, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock4_70"] = { + ["y"] = -28.0129, + ["x"] = 54.999, + ["name"] = "WoodBlock4_70", + ["angle"] = 4.71825, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock5_12"] = { + ["y"] = -21.4684, + ["x"] = 39.5156, + ["name"] = "StoneBlock5_12", + ["angle"] = 4.70983, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock6_8"] = { + ["y"] = -21.4683, + ["x"] = 65.425, + ["name"] = "LightBlock6_8", + ["angle"] = 6.28146, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock6_20"] = { + ["y"] = -17.9619, + ["x"] = -1.6761, + ["name"] = "WoodBlock6_20", + ["angle"] = 0.00451826, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_04_102"] = { + ["y"] = -82.2803, + ["x"] = -1.2843, + ["name"] = "StaticBlockTheme01_04_102", + ["angle"] = 5.49778, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_4"] = { + ["y"] = -21.213, + ["x"] = 20.6911, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.0882788, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_04_91"] = { + ["y"] = -79.9088, + ["x"] = 4.5512, + ["name"] = "StaticBlockTheme01_04_91", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -6.7514, + ["x"] = 59.153, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_60"] = { + ["y"] = -10.9557, + ["x"] = -62.3082, + ["name"] = "StaticBlockTheme01_05_60", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_50"] = { + ["y"] = -10.8835, + ["x"] = 47.4132, + ["name"] = "StaticBlockTheme01_04_50", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock11_2"] = { + ["y"] = -17.059, + ["x"] = 10.9874, + ["name"] = "LightBlock11_2", + ["angle"] = 4.70538, + ["definition"] = "LightBlock11", + + }, + ["WoodBlock5_35"] = { + ["y"] = -12.6767, + ["x"] = 4.9593, + ["name"] = "WoodBlock5_35", + ["angle"] = 1.56805, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_04_54"] = { + ["y"] = -3.7636, + ["x"] = 71.27, + ["name"] = "StaticBlockTheme01_04_54", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock11_14"] = { + ["y"] = -5.2113, + ["x"] = 32.8561, + ["name"] = "StoneBlock11_14", + ["angle"] = 1.57116, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock4_32"] = { + ["y"] = -12.0831, + ["x"] = 11.7437, + ["name"] = "LightBlock4_32", + ["angle"] = 4.70484, + ["definition"] = "LightBlock4", + + }, + ["ExtraRopeThick01_9"] = { + ["y"] = -64.9498, + ["x"] = 46.0601, + ["name"] = "ExtraRopeThick01_9", + ["angle"] = 0.108199, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock4_58"] = { + ["y"] = -17.5432, + ["x"] = 33.3071, + ["name"] = "WoodBlock4_58", + ["angle"] = 4.71951, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_04_104"] = { + ["y"] = -80.2506, + ["x"] = 47.6836, + ["name"] = "StaticBlockTheme01_04_104", + ["angle"] = 0.000477791, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_10"] = { + ["y"] = -9.6293, + ["x"] = 15.349, + ["name"] = "WoodBlock6_10", + ["angle"] = 6.26403, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_66"] = { + ["y"] = -11.4521, + ["x"] = -52.9753, + ["name"] = "StaticBlockTheme01_05_66", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_37"] = { + ["y"] = -15.4455, + ["x"] = 44.8704, + ["name"] = "WoodBlock5_37", + ["angle"] = 1.78814e-007, + ["definition"] = "WoodBlock5", + + }, + ["BasicBird2_1"] = { + ["y"] = -19.9848, + ["x"] = -60.8572, + ["name"] = "BasicBird2_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBlockTheme01_04_133"] = { + ["y"] = -16.7215, + ["x"] = -51.7732, + ["name"] = "StaticBlockTheme01_04_133", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock5_29"] = { + ["y"] = -9.1104, + ["x"] = 32.1048, + ["name"] = "WoodBlock5_29", + ["angle"] = 1.57114, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock6_9"] = { + ["y"] = -16.9996, + ["x"] = 69.25, + ["name"] = "LightBlock6_9", + ["angle"] = 1.57039, + ["definition"] = "LightBlock6", + + }, + ["StoneBlock5_9"] = { + ["y"] = -16.6345, + ["x"] = 4.9548, + ["name"] = "StoneBlock5_9", + ["angle"] = 4.703, + ["definition"] = "StoneBlock5", + + }, + ["ExtraRopeThick01_16"] = { + ["y"] = -70.896, + ["x"] = 0.970402, + ["name"] = "ExtraRopeThick01_16", + ["angle"] = 0.00547371, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -6.7291, + ["x"] = 44.211, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_01_10"] = { + ["y"] = -4.4155, + ["x"] = 33.4035, + ["name"] = "StaticBlockTheme01_01_10", + ["angle"] = 5.49816, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock12_20"] = { + ["y"] = -33.1233, + ["x"] = 57.2396, + ["name"] = "WoodBlock12_20", + ["angle"] = 1.78814e-007, + ["definition"] = "WoodBlock12", + + }, + ["StoneBlock12_6"] = { + ["y"] = -55.7181, + ["x"] = 44.2594, + ["name"] = "StoneBlock12_6", + ["angle"] = 3.64774, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme01_04_53"] = { + ["y"] = -7.1403, + ["x"] = 67.893, + ["name"] = "StaticBlockTheme01_04_53", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_5"] = { + ["y"] = -16.442, + ["x"] = 60.685, + ["name"] = "WoodBlock6_5", + ["angle"] = 3.15322, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock11_10"] = { + ["y"] = -22.1179, + ["x"] = 15.5244, + ["name"] = "LightBlock11_10", + ["angle"] = 4.71239, + ["definition"] = "LightBlock11", + + }, + ["LightBlock5_7"] = { + ["y"] = -17.1543, + ["x"] = 17.6105, + ["name"] = "LightBlock5_7", + ["angle"] = 4.72309, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 2.66745, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock5_25"] = { + ["y"] = -23.9895, + ["x"] = 66.423, + ["name"] = "WoodBlock5_25", + ["angle"] = 4.71, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock6_9"] = { + ["y"] = -19.6674, + ["x"] = 17.7029, + ["name"] = "WoodBlock6_9", + ["angle"] = 0.0117516, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_04_134"] = { + ["y"] = -16.659, + ["x"] = -55.6266, + ["name"] = "StaticBlockTheme01_04_134", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock12_19"] = { + ["y"] = -30.4669, + ["x"] = 32.5182, + ["name"] = "WoodBlock12_19", + ["angle"] = 1.78814e-007, + ["definition"] = "WoodBlock12", + + }, + ["StaticBlockTheme01_04_95"] = { + ["y"] = -82.8205, + ["x"] = 49.8947, + ["name"] = "StaticBlockTheme01_04_95", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock6_20"] = { + ["y"] = -24.131, + ["x"] = 1.8258, + ["name"] = "LightBlock6_20", + ["angle"] = 3.13029, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock5_26"] = { + ["y"] = -16.9402, + ["x"] = 24.8441, + ["name"] = "WoodBlock5_26", + ["angle"] = 1.60227, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -0.404268, + ["x"] = 8.69616, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 3.93615, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -20.9711, + ["x"] = 23.8649, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 1.78814e-007, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock5_24"] = { + ["y"] = -23.9842, + ["x"] = 60.231, + ["name"] = "WoodBlock5_24", + ["angle"] = 4.71812, + ["definition"] = "WoodBlock5", + + }, + ["Estrade02_2"] = { + ["y"] = -17.2114, + ["x"] = -63.325, + ["name"] = "Estrade02_2", + ["angle"] = 6.28317, + ["definition"] = "Estrade02", + + }, + ["LightBlock4_22"] = { + ["y"] = -21.5184, + ["x"] = 31.3354, + ["name"] = "LightBlock4_22", + ["angle"] = 4.71254, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_4"] = { + ["y"] = -8.1475, + ["x"] = 4.7432, + ["name"] = "StaticBlockTheme01_04_4", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_3"] = { + ["y"] = -25.5703, + ["x"] = 37.3093, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.055769, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock6_13"] = { + ["y"] = -14.5263, + ["x"] = 21.6062, + ["name"] = "LightBlock6_13", + ["angle"] = 3.17445, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_21"] = { + ["y"] = -1.52167, + ["x"] = 2.67541, + ["name"] = "StaticBlockTheme01_05_21", + ["angle"] = 3.19439, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_23"] = { + ["y"] = -19.037, + ["x"] = 53.898, + ["name"] = "WoodBlock5_23", + ["angle"] = 4.71681, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_04_5"] = { + ["y"] = -7.3833, + ["x"] = 8.4075, + ["name"] = "StaticBlockTheme01_04_5", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_68"] = { + ["y"] = -0.602923, + ["x"] = -66.0768, + ["name"] = "StaticBlockTheme01_05_68", + ["angle"] = 0.785383, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_15"] = { + ["y"] = -15.0232, + ["x"] = 33.7114, + ["name"] = "WoodBlock6_15", + ["angle"] = 0.00327649, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_04_97"] = { + ["y"] = -78.0538, + ["x"] = 45.1002, + ["name"] = "StaticBlockTheme01_04_97", + ["angle"] = 0.785397, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_6"] = { + ["y"] = -11.1761, + ["x"] = 13.3728, + ["name"] = "SmallPiglette_6", + ["angle"] = 6.23076, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_04_99"] = { + ["y"] = -82.8477, + ["x"] = 45.0706, + ["name"] = "StaticBlockTheme01_04_99", + ["angle"] = 5.49778, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock7_2"] = { + ["y"] = -10.7052, + ["x"] = -3.9226, + ["name"] = "WoodBlock7_2", + ["angle"] = 6.2573, + ["definition"] = "WoodBlock7", + + }, + ["KingPiglette_1"] = { + ["y"] = -20.2821, + ["x"] = 43.2759, + ["name"] = "KingPiglette_1", + ["angle"] = 7.20024e-005, + ["definition"] = "KingPiglette", + + }, + ["LightBlock5_6"] = { + ["y"] = -18.9528, + ["x"] = 60.869, + ["name"] = "LightBlock5_6", + ["angle"] = 1.58131, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock6_7"] = { + ["y"] = -30.5978, + ["x"] = 57.088, + ["name"] = "WoodBlock6_7", + ["angle"] = 3.12194, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock3_3"] = { + ["y"] = -18.4834, + ["x"] = 39.5721, + ["name"] = "StoneBlock3_3", + ["angle"] = 6.27925, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock7_3"] = { + ["y"] = -14.2404, + ["x"] = 58.379, + ["name"] = "WoodBlock7_3", + ["angle"] = 0.00293884, + ["definition"] = "WoodBlock7", + + }, + ["StaticBlockTheme01_04_94"] = { + ["y"] = -77.046, + ["x"] = 47.5615, + ["name"] = "StaticBlockTheme01_04_94", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_92"] = { + ["y"] = -83.8389, + ["x"] = 47.4689, + ["name"] = "StaticBlockTheme01_04_92", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_8"] = { + ["y"] = -5.4819, + ["x"] = 21.6752, + ["name"] = "WoodBlock6_8", + ["angle"] = 0.0234592, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_27"] = { + ["y"] = -28.0151, + ["x"] = 53.656, + ["name"] = "LightBlock4_27", + ["angle"] = 4.70256, + ["definition"] = "LightBlock4", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -15.3413, + ["x"] = 0.302986, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 1.78814e-007, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock9_3"] = { + ["y"] = -26.5489, + ["x"] = 32.4809, + ["name"] = "LightBlock9_3", + ["angle"] = 4.72836, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme01_04_96"] = { + ["y"] = -80.4339, + ["x"] = 50.8772, + ["name"] = "StaticBlockTheme01_04_96", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_36"] = { + ["y"] = -21.5479, + ["x"] = 33.3465, + ["name"] = "LightBlock4_36", + ["angle"] = 4.71964, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_128"] = { + ["y"] = -2.33423, + ["x"] = 33.6604, + ["name"] = "StaticBlockTheme01_04_128", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -8.2291, + ["x"] = 51.694, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraRopeThick01_14"] = { + ["y"] = -64.3677, + ["x"] = 0.976299, + ["name"] = "ExtraRopeThick01_14", + ["angle"] = 0.00532945, + ["definition"] = "ExtraRopeThick01", + + }, + ["LightBlock6_21"] = { + ["y"] = -26.0211, + ["x"] = 42.848, + ["name"] = "LightBlock6_21", + ["angle"] = 0.0174535, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock3_3"] = { + ["y"] = -28.0389, + ["x"] = 60.186, + ["name"] = "WoodBlock3_3", + ["angle"] = 6.27505, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_04_103"] = { + ["y"] = -80.2797, + ["x"] = 1.3288, + ["name"] = "StaticBlockTheme01_04_103", + ["angle"] = 0.000477791, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_28"] = { + ["y"] = -24.0508, + ["x"] = 53.665, + ["name"] = "LightBlock4_28", + ["angle"] = 4.70769, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock6_6"] = { + ["y"] = -26.5017, + ["x"] = 63.279, + ["name"] = "WoodBlock6_6", + ["angle"] = 3.13974, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_27"] = { + ["y"] = -9.91995, + ["x"] = 25.2787, + ["name"] = "WoodBlock6_27", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["SmallPiglette_5"] = { + ["y"] = -23.0753, + ["x"] = 58.123, + ["name"] = "SmallPiglette_5", + ["angle"] = 6.26229, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock10_2"] = { + ["y"] = -24.0103, + ["x"] = 35.5511, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.0109123, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock11_9"] = { + ["y"] = -28.4318, + ["x"] = 44.8831, + ["name"] = "LightBlock11_9", + ["angle"] = 0.0174538, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme01_05_25"] = { + ["y"] = -0.529402, + ["x"] = 56.724, + ["name"] = "StaticBlockTheme01_05_25", + ["angle"] = 4.11068, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock9_5"] = { + ["y"] = -58.1755, + ["x"] = -0.158641, + ["name"] = "StoneBlock9_5", + ["angle"] = 5.50652, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme01_05_24"] = { + ["y"] = -1.24605, + ["x"] = 48.299, + ["name"] = "StaticBlockTheme01_05_24", + ["angle"] = 2.20827, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_35"] = { + ["y"] = -1.49573, + ["x"] = 21.973, + ["name"] = "StaticBlockTheme01_04_35", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_21"] = { + ["y"] = -17.5502, + ["x"] = 31.3399, + ["name"] = "LightBlock4_21", + ["angle"] = 4.71257, + ["definition"] = "LightBlock4", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -19.6187, + ["x"] = -50.9758, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme01_04_101"] = { + ["y"] = -79.823, + ["x"] = -2.2371, + ["name"] = "StaticBlockTheme01_04_101", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_17"] = { + ["y"] = -12.9454, + ["x"] = -1.808, + ["name"] = "WoodBlock6_17", + ["angle"] = 6.28127, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_28"] = { + ["y"] = -9.96569, + ["x"] = 21.8021, + ["name"] = "WoodBlock6_28", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock11_17"] = { + ["y"] = -7.1187, + ["x"] = 13.4033, + ["name"] = "StoneBlock11_17", + ["angle"] = 3.13617, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -7.4333, + ["x"] = 1.0718, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_6"] = { + ["y"] = -5.3618, + ["x"] = 11.5003, + ["name"] = "StaticBlockTheme01_04_6", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_1"] = { + ["y"] = -14.5605, + ["x"] = -3.6795, + ["name"] = "SmallPiglette_1", + ["angle"] = 0.050478, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_04_48"] = { + ["y"] = -11.8942, + ["x"] = 45.059, + ["name"] = "StaticBlockTheme01_04_48", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_100"] = { + ["y"] = -77.4872, + ["x"] = -1.2547, + ["name"] = "StaticBlockTheme01_04_100", + ["angle"] = 0.785397, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock3_4"] = { + ["y"] = -8.1556, + ["x"] = 18.5583, + ["name"] = "WoodBlock3_4", + ["angle"] = 3.12941, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_05_67"] = { + ["y"] = -4.15506, + ["x"] = -55.8816, + ["name"] = "StaticBlockTheme01_05_67", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_69"] = { + ["y"] = -0.0703615, + ["x"] = 16.9887, + ["name"] = "StaticBlockTheme01_05_69", + ["angle"] = 3.15075, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock4_26"] = { + ["y"] = -15.4593, + ["x"] = -5.3534, + ["name"] = "LightBlock4_26", + ["angle"] = 4.714, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_2"] = { + ["y"] = -5.3904, + ["x"] = -1.9711, + ["name"] = "StaticBlockTheme01_04_2", + ["angle"] = 0.785394, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock5_11"] = { + ["y"] = -21.5692, + ["x"] = -1.3286, + ["name"] = "StoneBlock5_11", + ["angle"] = 4.70387, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock11_23"] = { + ["y"] = -2.9998, + ["x"] = 24.1502, + ["name"] = "WoodBlock11_23", + ["angle"] = 3.14694, + ["definition"] = "WoodBlock11", + + }, + ["LightBlock4_20"] = { + ["y"] = -17.041, + ["x"] = 21.7802, + ["name"] = "LightBlock4_20", + ["angle"] = 4.74507, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock11_29"] = { + ["y"] = -20.4397, + ["x"] = -4.4668, + ["name"] = "WoodBlock11_29", + ["angle"] = 4.71209, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_04_88"] = { + ["y"] = -82.2954, + ["x"] = 3.5687, + ["name"] = "StaticBlockTheme01_04_88", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -2.55144, + ["x"] = 65.436, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_3"] = { + ["y"] = -16.9525, + ["x"] = 42.7819, + ["name"] = "StoneBlock6_3", + ["angle"] = 3.14134, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_64"] = { + ["y"] = -6.18842, + ["x"] = -60.93, + ["name"] = "StaticBlockTheme01_05_64", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock6_11"] = { + ["y"] = -21.5057, + ["x"] = 57.151, + ["name"] = "LightBlock6_11", + ["angle"] = 0.0114282, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_04_45"] = { + ["y"] = -9.53, + ["x"] = 68.881, + ["name"] = "StaticBlockTheme01_04_45", + ["angle"] = 5.49778, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["ExtraRopeThick01_8"] = { + ["y"] = -71.4457, + ["x"] = 46.7261, + ["name"] = "ExtraRopeThick01_8", + ["angle"] = 0.108764, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_04_135"] = { + ["y"] = -9.39867, + ["x"] = 61.1886, + ["name"] = "StaticBlockTheme01_04_135", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock4_13"] = { + ["y"] = -19.4566, + ["x"] = 46.5468, + ["name"] = "StoneBlock4_13", + ["angle"] = 4.71843, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock6_19"] = { + ["y"] = -19.094, + ["x"] = 1.7578, + ["name"] = "WoodBlock6_19", + ["angle"] = 6.26751, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock9_6"] = { + ["y"] = -59.2409, + ["x"] = 46.203, + ["name"] = "StoneBlock9_6", + ["angle"] = 0.506145, + ["definition"] = "StoneBlock9", + + }, + ["WoodBlock7_1"] = { + ["y"] = -12.7942, + ["x"] = 32.0493, + ["name"] = "WoodBlock7_1", + ["angle"] = 6.28047, + ["definition"] = "WoodBlock7", + + }, + ["StoneBlock5_10"] = { + ["y"] = -21.6509, + ["x"] = 4.7001, + ["name"] = "StoneBlock5_10", + ["angle"] = 4.70199, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock9_3"] = { + ["y"] = -14.4804, + ["x"] = 40.0004, + ["name"] = "StoneBlock9_3", + ["angle"] = 4.71455, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme01_04_51"] = { + ["y"] = -10.0263, + ["x"] = 41.5309, + ["name"] = "StaticBlockTheme01_04_51", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock9_7"] = { + ["y"] = -15.4533, + ["x"] = 0.337101, + ["name"] = "WoodBlock9_7", + ["angle"] = 1.57337, + ["definition"] = "WoodBlock9", + + }, + ["StoneBlock11_19"] = { + ["y"] = -61.0325, + ["x"] = 2.55907, + ["name"] = "StoneBlock11_19", + ["angle"] = 5.45416, + ["definition"] = "StoneBlock11", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -18.9841, + ["x"] = -63.5862, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StoneBlock2_10"] = { + ["y"] = -25.0328, + ["x"] = 39.5618, + ["name"] = "StoneBlock2_10", + ["angle"] = 0, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock4_8"] = { + ["y"] = -12.4953, + ["x"] = 35.5095, + ["name"] = "StoneBlock4_8", + ["angle"] = 4.7074, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_04_87"] = { + ["y"] = -77.4515, + ["x"] = 3.5983, + ["name"] = "StaticBlockTheme01_04_87", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["MediumPiglette_1"] = { + ["y"] = -21.4485, + ["x"] = 1.6065, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28205, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -3.30327, + ["x"] = 71.4117, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 5.7334, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock5_9"] = { + ["y"] = -12.1763, + ["x"] = 17.7956, + ["name"] = "LightBlock5_9", + ["angle"] = 4.70887, + ["definition"] = "LightBlock5", + + }, + ["LightBlock4_30"] = { + ["y"] = -24.0463, + ["x"] = 54.956, + ["name"] = "LightBlock4_30", + ["angle"] = 4.71964, + ["definition"] = "LightBlock4", + + }, + ["StoneBlock11_16"] = { + ["y"] = -28.9556, + ["x"] = 65.411, + ["name"] = "StoneBlock11_16", + ["angle"] = 6.28116, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_05_65"] = { + ["y"] = -3.47682, + ["x"] = -49.696, + ["name"] = "StaticBlockTheme01_05_65", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock12_4"] = { + ["y"] = -26.7052, + ["x"] = 1.3998, + ["name"] = "LightBlock12_4", + ["angle"] = 1.78814e-007, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme01_04_38"] = { + ["y"] = 1.85514, + ["x"] = 23.8463, + ["name"] = "StaticBlockTheme01_04_38", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_46"] = { + ["y"] = -10.5605, + ["x"] = 71.281, + ["name"] = "StaticBlockTheme01_04_46", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock11_5"] = { + ["y"] = -7.0904, + ["x"] = -3.9639, + ["name"] = "StoneBlock11_5", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_04_98"] = { + ["y"] = -80.4404, + ["x"] = 44.1177, + ["name"] = "StaticBlockTheme01_04_98", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_93"] = { + ["y"] = -78.0266, + ["x"] = 49.9243, + ["name"] = "StaticBlockTheme01_04_93", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock9_4"] = { + ["y"] = -15.1037, + ["x"] = 54.457, + ["name"] = "WoodBlock9_4", + ["angle"] = 3.14135, + ["definition"] = "WoodBlock9", + + }, + ["MediumPiglette_3"] = { + ["y"] = -23.8229, + ["x"] = 63.148, + ["name"] = "MediumPiglette_3", + ["angle"] = 6.26594, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock8_1"] = { + ["y"] = -11.5923, + ["x"] = 2.417, + ["name"] = "WoodBlock8_1", + ["angle"] = 1.51457, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -2.47914, + ["x"] = 37.9276, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["YellowBird_3"] = { + ["y"] = -19.3408, + ["x"] = -65.7349, + ["name"] = "YellowBird_3", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme01_04_89"] = { + ["y"] = -76.5217, + ["x"] = 1.2355, + ["name"] = "StaticBlockTheme01_04_89", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_68"] = { + ["y"] = -13.9039, + ["x"] = 62.761, + ["name"] = "WoodBlock4_68", + ["angle"] = 4.72223, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock2_35"] = { + ["y"] = -29.5862, + ["x"] = 60.168, + ["name"] = "WoodBlock2_35", + ["angle"] = 6.27141, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme01_04_90"] = { + ["y"] = -83.2638, + ["x"] = 1.1429, + ["name"] = "StaticBlockTheme01_04_90", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["ExtraRopeThick01_7"] = { + ["y"] = -63.5116, + ["x"] = 47.1749, + ["name"] = "ExtraRopeThick01_7", + ["angle"] = 6.02435, + ["definition"] = "ExtraRopeThick01", + + }, + ["LightBlock9_1"] = { + ["y"] = -20.9222, + ["x"] = 23.7921, + ["name"] = "LightBlock9_1", + ["angle"] = 0.0325715, + ["definition"] = "LightBlock9", + + }, + ["WoodBlock2_36"] = { + ["y"] = -6.635, + ["x"] = 18.5633, + ["name"] = "WoodBlock2_36", + ["angle"] = 3.14339, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock11_15"] = { + ["y"] = -8.6158, + ["x"] = 36.9265, + ["name"] = "StoneBlock11_15", + ["angle"] = 1.55258, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock4_24"] = { + ["y"] = -23.4181, + ["x"] = 46.5808, + ["name"] = "LightBlock4_24", + ["angle"] = 4.71982, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_131"] = { + ["y"] = -2.30925, + ["x"] = -3.97152, + ["name"] = "StaticBlockTheme01_04_131", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["MediumPiglette_4"] = { + ["y"] = -17.3993, + ["x"] = 36.335, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.0131212, + ["definition"] = "MediumPiglette", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 9, + ["StoneBlock6"] = 3, + ["MISC_FB_CONE"] = 3, + ["MediumPiglette"] = 6, + ["WoodBlock9"] = 7, + ["ExtraRopeThin01"] = 1, + ["LightBlock3"] = 1, + ["YellowBird"] = 3, + ["LightBlock11"] = 10, + ["StoneBlock3"] = 4, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 1, + ["StoneBlock2"] = 10, + ["StaticBlockTheme01_04"] = 135, + ["WoodBlock2"] = 43, + ["WoodBlock10"] = 5, + ["StoneBlock1"] = 4, + ["WoodBlock12"] = 20, + ["ExtraBlockTNT"] = 2, + ["MISC_FB_TAPE"] = 21, + ["StaticBlockTheme01_05"] = 69, + ["ExtraTire03"] = 6, + ["HelmetPiglette"] = 1, + ["BasicBird2"] = 1, + ["KingPiglette"] = 1, + ["WoodBlock11"] = 29, + ["WoodBlock3"] = 11, + ["LightBlock12"] = 4, + ["WoodBlock5"] = 37, + ["LightBlock5"] = 9, + ["SmallBlueBird"] = 4, + ["LightBlock2"] = 2, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 1, + ["StoneBlock7"] = 23, + ["SmallPiglette"] = 7, + ["LightBlock6"] = 22, + ["StoneBlock4"] = 13, + ["StoneBlock9"] = 6, + ["StoneBlock8"] = 1, + ["StaticBlockTheme01_01"] = 14, + ["LightBlock9"] = 3, + ["WoodBlock4"] = 80, + ["WoodBlock7"] = 4, + ["StoneBlock12"] = 6, + ["Estrade02"] = 3, + ["StoneBlock11"] = 19, + ["StoneBlock5"] = 13, + ["ExtraRopeThin02"] = 27, + ["LightBlock1"] = 2, + ["LightBlock10"] = 1, + ["WoodBlock1"] = 11, + ["LightBlock8"] = 1, + ["ExtraRopeThick01"] = 35, + ["WoodBlock6"] = 28, + ["LightBlock4"] = 36, + +} +theme = "theme21" +birdCameraData = { + ["windows"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1366, + ["py"] = -642.526, + ["screenHeight"] = 768, + ["top"] = -1443.21, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["right"] = 2045.31, + ["left"] = -1867.34, + ["px"] = -443.205, + + }, + ["iphone"] = { + ["bottom"] = 24.7985, + ["screenWidth"] = 480, + ["py"] = -699.292, + ["screenHeight"] = 320, + ["top"] = -1321, + ["sy"] = 0.257357, + ["sx"] = 0.257357, + ["px"] = -457.941, + ["left"] = -1390.5, + ["right"] = 1408.57, + + }, + ["ipad"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1024, + ["py"] = -642.526, + ["screenHeight"] = 768, + ["top"] = -1443.21, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["px"] = -443.205, + ["left"] = -1510.79, + ["right"] = 1688.75, + + }, + ["version"] = "0.02", + +} +filename = "LevelS045.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/levels/temp/Level1.lua b/Angry Birds Project R/0.2.0/data/levels/temp/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..d88561451027e8caef00c66a3620aa0c69eb9d21 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/temp/Level1.lua @@ -0,0 +1,275 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -192.631, + ["screenHeight"] = 768, + ["top"] = -576.631, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = 10.644, + ["px"] = 693.644, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1414.31, + ["x"] = 1476.82, + ["firstFrame"] = true, + ["width"] = 4677.28, + +} +joints = { + +} +world = { + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.35, + ["x"] = 45.0937, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.1, + ["x"] = 40.4937, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock10_1"] = { + ["y"] = -2.5, + ["x"] = 33.4937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.8827, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3.05, + ["x"] = 40.5437, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -11.65, + ["x"] = 29.0937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_2"] = { + ["y"] = -7.05, + ["x"] = 28.9437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.4, + ["x"] = 45.5937, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.35, + ["x"] = 46.0937, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.05, + ["x"] = 36.3437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.449997, + ["x"] = 46.6937, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.9, + ["x"] = 43.4437, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.15, + ["x"] = 45.6437, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.8, + ["x"] = 40.7937, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -4.85, + ["x"] = 36.7937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -0.849997, + ["x"] = 33.2937, + ["name"] = "ExtraDiamond_1", + ["angle"] = 4.76837e-007, + ["definition"] = "ExtraDiamond", + + }, + ["SmallPiglette_3"] = { + ["y"] = -13.1507, + ["x"] = 29.0611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 2, + ["WoodBlock3"] = 1, + ["WoodBlock5"] = 2, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 1, + ["StoneBlock5"] = 4, + ["StoneBlock1"] = 3, + ["SmallPiglette"] = 3, + ["LightBlock10"] = 1, + ["StoneBlock11"] = 1, + ["WoodBlock6"] = 2, + ["ExtraBlockTNT"] = 3, + ["MediumPiglette"] = 1, + ["RedBird"] = 5, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -112.558, + ["screenHeight"] = 768, + ["top"] = -496.558, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = -520.324, + ["px"] = 162.676, + + }, + ["version"] = "0.02", + +} +filename = "Level1.lua" diff --git a/Angry Birds Project R/0.2.0/data/levels/temp/Level1.temp.lua b/Angry Birds Project R/0.2.0/data/levels/temp/Level1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..d88561451027e8caef00c66a3620aa0c69eb9d21 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/temp/Level1.temp.lua @@ -0,0 +1,275 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -192.631, + ["screenHeight"] = 768, + ["top"] = -576.631, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = 10.644, + ["px"] = 693.644, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1414.31, + ["x"] = 1476.82, + ["firstFrame"] = true, + ["width"] = 4677.28, + +} +joints = { + +} +world = { + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.35, + ["x"] = 45.0937, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.1, + ["x"] = 40.4937, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock10_1"] = { + ["y"] = -2.5, + ["x"] = 33.4937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.8827, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3.05, + ["x"] = 40.5437, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -11.65, + ["x"] = 29.0937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_2"] = { + ["y"] = -7.05, + ["x"] = 28.9437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.4, + ["x"] = 45.5937, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.35, + ["x"] = 46.0937, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.05, + ["x"] = 36.3437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.449997, + ["x"] = 46.6937, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.9, + ["x"] = 43.4437, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.15, + ["x"] = 45.6437, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.8, + ["x"] = 40.7937, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -4.85, + ["x"] = 36.7937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -0.849997, + ["x"] = 33.2937, + ["name"] = "ExtraDiamond_1", + ["angle"] = 4.76837e-007, + ["definition"] = "ExtraDiamond", + + }, + ["SmallPiglette_3"] = { + ["y"] = -13.1507, + ["x"] = 29.0611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 2, + ["WoodBlock3"] = 1, + ["WoodBlock5"] = 2, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 1, + ["StoneBlock5"] = 4, + ["StoneBlock1"] = 3, + ["SmallPiglette"] = 3, + ["LightBlock10"] = 1, + ["StoneBlock11"] = 1, + ["WoodBlock6"] = 2, + ["ExtraBlockTNT"] = 3, + ["MediumPiglette"] = 1, + ["RedBird"] = 5, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -112.558, + ["screenHeight"] = 768, + ["top"] = -496.558, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = -520.324, + ["px"] = 162.676, + + }, + ["version"] = "0.02", + +} +filename = "Level1.lua" diff --git a/Angry Birds Project R/0.2.0/data/levels/temp/Level1.temp.playtest.lua b/Angry Birds Project R/0.2.0/data/levels/temp/Level1.temp.playtest.lua new file mode 100644 index 0000000000000000000000000000000000000000..292e3a235c2e97712cc7c8f40d1fd50bbb7f75ee --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/temp/Level1.temp.playtest.lua @@ -0,0 +1,274 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -192.631, + ["screenHeight"] = 768, + ["top"] = -576.631, + ["sy"] = 1, + ["sx"] = 1, + ["px"] = 693.644, + ["left"] = 10.644, + ["right"] = 1376.64, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1414.31, + ["x"] = 1476.82, + ["firstFrame"] = true, + ["width"] = 4677.28, + +} +joints = { + +} +world = { + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.35, + ["x"] = 45.0937, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.1, + ["x"] = 40.4937, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -11.65, + ["x"] = 29.0937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_2"] = { + ["y"] = -7.05, + ["x"] = 28.9437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.8827, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3.05, + ["x"] = 40.5437, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock10_1"] = { + ["y"] = -2.5, + ["x"] = 33.4937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.05, + ["x"] = 36.3437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -0.849997, + ["x"] = 33.2937, + ["name"] = "ExtraDiamond_1", + ["angle"] = 4.76837e-007, + ["definition"] = "ExtraDiamond", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.4, + ["x"] = 45.5937, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -4.85, + ["x"] = 36.7937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["SmallPiglette_3"] = { + ["y"] = -13.1507, + ["x"] = 29.0611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.449997, + ["x"] = 46.6937, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.9, + ["x"] = 43.4437, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.15, + ["x"] = 45.6437, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.8, + ["x"] = 40.7937, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.35, + ["x"] = 46.0937, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 2, + ["WoodBlock5"] = 2, + ["WoodBlock3"] = 1, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 1, + ["StoneBlock5"] = 4, + ["StoneBlock1"] = 3, + ["StoneBlock11"] = 1, + ["LightBlock10"] = 1, + ["SmallPiglette"] = 3, + ["WoodBlock6"] = 2, + ["ExtraBlockTNT"] = 3, + ["MediumPiglette"] = 1, + ["RedBird"] = 5, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -112.558, + ["screenHeight"] = 768, + ["top"] = -496.558, + ["sy"] = 1, + ["sx"] = 1, + ["px"] = 162.676, + ["left"] = -520.324, + ["right"] = 1376.64, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.2.0/data/levels/temp/Level2.lua b/Angry Birds Project R/0.2.0/data/levels/temp/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..c85a4bd6d4f60342c8662a976dd5e182bcb9dcc1 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/temp/Level2.lua @@ -0,0 +1,87 @@ +world = { + ["Estrade02_1"] = { + ["y"] = -9.42457, + ["x"] = 0.199731, + ["name"] = "Estrade02_1", + ["angle"] = 4.76837e-007, + ["definition"] = "Estrade02", + + }, + ["StoneBlock6_1"] = { + ["y"] = -6.77457, + ["x"] = 0.199731, + ["name"] = "StoneBlock6_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -4.82457, + ["x"] = 5.69973, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme01_02", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -4.82457, + ["x"] = -5.30027, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme01_02", + + }, + ["StaticBlockTheme01_02_3"] = { + ["y"] = -6.35582, + ["x"] = 10.1746, + ["name"] = "StaticBlockTheme01_02_3", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme01_02", + + }, + ["StoneBlock6_2"] = { + ["y"] = -7.62457, + ["x"] = 0.249731, + ["name"] = "StoneBlock6_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock6", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -1.42457, + ["x"] = 0.199731, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + ["StaticBlockTheme01_05"] = 1, + ["Estrade02"] = 1, + ["StoneBlock6"] = 2, + ["StaticBlockTheme01_02"] = 3, + +} +theme = "theme1" +joints = { + +} +filename = "Level2.lua", diff --git a/Angry Birds Project R/0.2.0/data/levels/temp/Level2.temp.lua b/Angry Birds Project R/0.2.0/data/levels/temp/Level2.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..197c16f15bdd51553b352c832615e9bcea62b25e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/levels/temp/Level2.temp.lua @@ -0,0 +1,372 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["sy"] = 1, + ["sx"] = 1, + ["px"] = 917.319, + ["py"] = -220.867, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + +} +levelParticles = { + +} +joints = { + +} +counts = { + ["WoodBlock8"] = 3, + ["MediumPiglette"] = 1, + ["WoodBlock4"] = 2, + ["StaticBlockTheme02_04"] = 7, + ["ExtraBlockTNT"] = 1, + ["LightBlock6"] = 1, + ["RedBird"] = 3, + ["StoneBlock2"] = 3, + ["StaticBlockTheme02_05"] = 2, + ["StoneBlock1"] = 5, + ["LightBlock1"] = 1, + ["StoneBlock7"] = 1, + ["StoneBlock10"] = 1, + ["StaticBlockTheme01_05"] = 3, + ["LargePiglette"] = 1, + ["ExtraBlueBird"] = 4, + ["SmallPiglette"] = 4, + +} +physicsToWorld = 20 +worldGravity = 20 +theme = "theme2" +world = { + ["ExtraBlueBird_3"] = { + ["y"] = -0.693671, + ["x"] = 58.4468, + ["name"] = "ExtraBlueBird_3", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlueBird", + + }, + ["RedBird_3"] = { + ["y"] = -0.693671, + ["x"] = 8.19683, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 2.28882e-005, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -0.493671, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock8_2"] = { + ["y"] = -0.693671, + ["x"] = 22.1468, + ["name"] = "WoodBlock8_2", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -4.24367, + ["x"] = -1.90317, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_4"] = { + ["y"] = -3.19367, + ["x"] = 39.8468, + ["name"] = "SmallPiglette_4", + ["angle"] = 5.89046, + ["definition"] = "SmallPiglette", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock2_1"] = { + ["y"] = -16.4437, + ["x"] = 57.6968, + ["name"] = "StoneBlock2_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock2", + + }, + ["WoodBlock8_3"] = { + ["y"] = -2.09367, + ["x"] = 25.3468, + ["name"] = "WoodBlock8_3", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock8", + + }, + ["ExtraBlueBird_2"] = { + ["y"] = -0.693671, + ["x"] = 57.0468, + ["name"] = "ExtraBlueBird_2", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlueBird", + + }, + ["SmallPiglette_2"] = { + ["y"] = -1.69367, + ["x"] = 38.3468, + ["name"] = "SmallPiglette_2", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -9.84333, + ["x"] = 54.816, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock1_3"] = { + ["y"] = -2.34367, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.39367, + ["x"] = 38.3968, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28316, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -18.4937, + ["x"] = 57.7968, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -0.743671, + ["x"] = -11.8032, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 2.28882e-005, + ["definition"] = "RedBird", + + }, + ["StoneBlock2_3"] = { + ["y"] = -17.5437, + ["x"] = 45.6468, + ["name"] = "StoneBlock2_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = 0.0067749, + ["x"] = 31.4663, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock6_1"] = { + ["y"] = -10.8937, + ["x"] = 46.0468, + ["name"] = "LightBlock6_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -7.84333, + ["x"] = 57.916, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 0.206329, + ["x"] = 0.496831, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 5.49781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_2"] = { + ["y"] = -14.0437, + ["x"] = 57.6468, + ["name"] = "WoodBlock4_2", + ["angle"] = 4.71239, + ["definition"] = "WoodBlock4", + + }, + ["RedBird_1"] = { + ["y"] = -7.39367, + ["x"] = -1.90317, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 2.28882e-005, + ["definition"] = "RedBird", + + }, + ["StoneBlock7_1"] = { + ["y"] = -18.9437, + ["x"] = 48.3468, + ["name"] = "StoneBlock7_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock7", + + }, + ["WoodBlock4_1"] = { + ["y"] = -14.1437, + ["x"] = 53.3968, + ["name"] = "WoodBlock4_1", + ["angle"] = 4.71239, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -4.39367, + ["x"] = 47.3968, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_3"] = { + ["y"] = -3.14367, + ["x"] = 36.6968, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.392683, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock2_2"] = { + ["y"] = -0.393671, + ["x"] = 61.2468, + ["name"] = "StoneBlock2_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock10_1"] = { + ["y"] = -16.6437, + ["x"] = 49.6468, + ["name"] = "StoneBlock10_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -5.39323, + ["x"] = 52.3163, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock1_2"] = { + ["y"] = -1.39367, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock1_5"] = { + ["y"] = -4.19367, + ["x"] = 59.7468, + ["name"] = "StoneBlock1_5", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = 0.0067749, + ["x"] = 45.0163, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LargePiglette_1"] = { + ["y"] = -19.3437, + ["x"] = 52.4968, + ["name"] = "LargePiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -9.84333, + ["x"] = 58.016, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock8_1"] = { + ["y"] = -0.793671, + ["x"] = 23.8468, + ["name"] = "WoodBlock8_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock8", + + }, + ["LightBlock1_1"] = { + ["y"] = -0.343671, + ["x"] = 20.6968, + ["name"] = "LightBlock1_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = 0.256329, + ["x"] = -4.30316, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 5.49781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock1_4"] = { + ["y"] = -3.29367, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_4", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["ExtraBlueBird_1"] = { + ["y"] = -0.693671, + ["x"] = 55.5968, + ["name"] = "ExtraBlueBird_1", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlueBird", + + }, + +} +filename = "Level2.lua", diff --git a/Angry Birds Project R/0.2.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/0.2.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/0.2.0/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/0.2.0/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..2f9c003e2109b2999c56271365ce443baa51cd71 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/0.2.0/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/0.2.0/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/ABIDUtils.lua b/Angry Birds Project R/0.2.0/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/ABSync.lua b/Angry Birds Project R/0.2.0/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/PC_DRM.lua b/Angry Birds Project R/0.2.0/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/achievements.lua b/Angry Birds Project R/0.2.0/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/audio.lua b/Angry Birds Project R/0.2.0/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..d76a2ab7fb7fb95c6126d6d6953b38973767bb98 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/blciks.lua b/Angry Birds Project R/0.2.0/data/scripts/blciks.lua new file mode 100644 index 0000000000000000000000000000000000000000..b6827b30053b3dcf302db6365468a111e0cee2ef Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/blciks.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/blicks.lua b/Angry Birds Project R/0.2.0/data/scripts/blicks.lua new file mode 100644 index 0000000000000000000000000000000000000000..c5f6403b18f3c84e2f700b774d9e6d358b3727ec Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/blicks.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/blocks.lua b/Angry Birds Project R/0.2.0/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ca523986763999bbe42e59146b9e905d2f2852b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/bricks.lua b/Angry Birds Project R/0.2.0/data/scripts/bricks.lua new file mode 100644 index 0000000000000000000000000000000000000000..8c4394ee45d94bdf1eaddc60004111091ee81d65 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/bricks.lua @@ -0,0 +1,6968 @@ +collider_types = { + default = 0, + mighty_eagle = 1, + immovable = 2, + wind = 3 +} +shape_types = { + box = 0, + circle = 1, + polygon = 2 +} +materials = { + balloon = { + strength = 30, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + z_order = 1, + particles = "smokeBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "balloon_pop", + forceY = -30, + forceX = -1 + }, + wood = { + strength = 60, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + particles = "woodenBuff", + collisionSound = "wood_collision", + damageSound = "wood_damage", + destroyedSound = "wood_destroyed", + rollingSound = "wood_rolling" + }, + rock = { + strength = 120, + defence = 15, + friction = 4, + restitution = 0.1, + density = 4, + controllable = false, + particles = "rockBuff", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed", + rollingSound = "rock_rolling" + }, + light = { + strength = 40, + defence = 2, + friction = 0.7, + restitution = 0.2, + density = 0.75, + controllable = false, + particles = "lightBuff", + collisionSound = "light_collision", + damageSound = "light_damage", + destroyedSound = "light_destroyed", + rollingSound = "light_rolling" + }, + piglette = { + strength = 10, + defence = 1, + friction = 0.7, + restitution = 0.05, + density = 2, + controllable = false, + particles = "smokeBuff", + collisionSound = "piglette_collision", + damageSound = "piglette_damage", + destroyedSound = "piglette_destroyed" + }, + staticGround = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision" + }, + immovable = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + collider_type = collider_types.immovable + }, + immovableFragile = { + strength = 2, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "", + collisionSound = "ground_collision" + }, + clouds = { + strength = 0.1, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "balloon_pop" + }, + immovableRubber = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "trampoline" + }, + extras = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "wood damage a1" + }, + halloween = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + 5, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "halloween_destroyed" + }, + pumpkin = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "pumpkin_destroyed" + }, + lantern = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "flameBuff", + collisionSound = "light_collision", + destroyedSound = "lantern_break_a1" + }, + rubber = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ball_bounce" + }, + decoration = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false + }, + common = { + strength = 1, + defence = 1, + friction = 0.7, + restitution = 0.2, + density = 0.75, + particles = "lightBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "" + }, + stalaktite = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed" + }, + stalaktite_tip = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "stalaktite_break" + }, + amber = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amberBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + ruby = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "rubyBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + amethyst = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amethystBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + cake = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "birthday_cake" + }, + wind = { + friction = 0, + restitution = 0, + density = 0, + controllable = false, + collider_type = collider_types.wind + } +} +themes = { + settings = {keyCode = "T", themeAmount = 22}, + theme1 = { + index = 1, + music = "ambient_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_1_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_1_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 146, + g = 204, + b = 222 + }, + groundColor = { + r = 10, + g = 19, + b = 57 + } + }, + theme2 = { + index = 2, + music = "ambient_theme2", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme3 = { + index = 3, + music = "ambient_theme3", + graphicSetName = { + "THEME_03", + "THEME_03_COMPOSPRITES" + }, + texture = "THEME_03_THEME_GROUND_3", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_3_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_3_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_3_BG_LAYER_3", + 1, + 1.6 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_3_LAYER_1" + }, + { + "", + "FOREGROUND_3_LAYER_2" + } + }, + color = { + r = 239, + g = 216, + b = 115 + }, + groundColor = { + r = 47, + g = 23, + b = 14 + } + }, + theme4 = { + index = 4, + music = "ambient_theme1", + graphicSetName = { + "THEME_04", + "THEME_04_COMPOSPRITES" + }, + texture = "THEME_04_THEME_GROUND_4", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_4_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_4_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_4_BG_LAYER_3", + 1, + 1.85 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_4_LAYER_1" + }, + { + "INGAME_PARALLAX_4", + "FOREGROUND_4_LAYER_2" + } + }, + color = { + r = 144, + g = 205, + b = 237 + }, + groundColor = { + r = 28, + g = 18, + b = 12 + } + }, + theme5 = { + index = 5, + music = "ambient_theme3", + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES" + }, + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + theme6 = { + index = 6, + music = "ambient_theme3", + graphicSetName = { + "THEME_06", + "THEME_06_COMPOSPRITES" + }, + texture = "THEME_06_THEME_GROUND_6", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_6_LAYER_1", + 0.3, + 4.5 + }, + { + "", + "THEME_6_BG_LAYER_2", + 0.55, + 3.3 + }, + { + "", + "THEME_6_BG_LAYER_3", + 1, + 2 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_6_LAYER_1" + }, + { + "INGAME_PARALLAX_6", + "FOREGROUND_6_LAYER_2" + } + }, + color = { + r = 73, + g = 88, + b = 45 + }, + groundColor = { + r = 24, + g = 28, + b = 15 + } + }, + theme7 = { + index = 7, + music = "ambient_theme7", + graphicSetName = { + "THEME_07", + "THEME_07_COMPOSPRITES" + }, + texture = "THEME_07_THEME_GROUND_7", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_7_LAYER_1", + 0.125, + 3.5 + }, + { + "", + "THEME_7_BG_LAYER_2", + 0.5, + 3 + }, + { + "", + "THEME_7_BG_LAYER_3", + 1, + 2.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_7_LAYER_1" + }, + { + "INGAME_PARALLAX_7", + "FOREGROUND_7_LAYER_2" + } + }, + color = { + r = 0, + g = 0, + b = 0 + }, + groundColor = { + r = 17, + g = 34, + b = 69 + } + }, + theme8 = { + index = 8, + music = "ambient_theme2", + graphicSetName = { + "THEME_08", + "THEME_08_COMPOSPRITES" + }, + texture = "THEME_08_THEME_GROUND_8", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_8_LAYER_1", + 0.125, + 2.5 + }, + { + "", + "THEME_8_BG_LAYER_2", + 0.5, + 2.5 + }, + { + "", + "THEME_8_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_PARALLAX_8", + "FOREGROUND_8_LAYER_1" + }, + { + "INGAME_PARALLAX_8", + "FOREGROUND_8_LAYER_2" + } + }, + color = { + r = 249, + g = 248, + b = 235 + }, + groundColor = { + r = 238, + g = 255, + b = 255 + } + }, + theme9 = { + index = 9, + music = "construction_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_1_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_1_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 148, + g = 206, + b = 222 + }, + groundColor = { + r = 10, + g = 19, + b = 57 + } + }, + theme10 = { + index = 10, + music = "construction_theme1", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "INGAME_PARALLAX_2", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme11 = { + index = 11, + music = "construction_theme1", + graphicSetName = { + "THEME_03", + "THEME_03_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_03_THEME_GROUND_3", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_3_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_3_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_3_BG_LAYER_3", + 1, + 1.6 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_3_LAYER_1" + }, + { + "INGAME_PARALLAX_3", + "FOREGROUND_3_LAYER_2" + } + }, + color = { + r = 239, + g = 214, + b = 115 + }, + groundColor = { + r = 47, + g = 23, + b = 14 + } + }, + theme12 = { + index = 12, + music = "construction_theme1", + graphicSetName = { + "THEME_04", + "THEME_04_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_04_THEME_GROUND_4", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_4_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_4_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_4_BG_LAYER_3", + 1, + 1.85 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_4_LAYER_1" + }, + { + "INGAME_PARALLAX_4", + "FOREGROUND_4_LAYER_2" + } + }, + color = { + r = 144, + g = 205, + b = 237 + }, + groundColor = { + r = 28, + g = 18, + b = 12 + } + }, + theme13 = { + index = 13, + music = "construction_theme1", + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES", + "PARALLAX_CRANES" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + theme14 = { + index = 14, + music = "construction_theme1", + graphicSetName = { + "THEME_06", + "THEME_06_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_06_THEME_GROUND_6", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_6_LAYER_1", + 0.3, + 4.5 + }, + { + "", + "THEME_6_BG_LAYER_2", + 0.55, + 3.3 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_6_BG_LAYER_3", + 1, + 2 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_6_LAYER_1" + }, + { + "INGAME_PARALLAX_6", + "FOREGROUND_6_LAYER_2" + } + }, + color = { + r = 74, + g = 90, + b = 44 + }, + groundColor = { + r = 24, + g = 28, + b = 15 + } + }, + theme15 = { + index = 15, + music = "construction_theme1", + graphicSetName = { + "THEME_07", + "THEME_07_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_07_THEME_GROUND_7", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_7_LAYER_1", + 0.125, + 3.5 + }, + { + "", + "THEME_7_BG_LAYER_2", + 0.5, + 3 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_7_BG_LAYER_3", + 1, + 2.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_7_LAYER_1" + }, + { + "INGAME_PARALLAX_7", + "FOREGROUND_7_LAYER_2" + } + }, + color = { + r = 0, + g = 0, + b = 0 + }, + groundColor = { + r = 17, + g = 34, + b = 69 + } + }, + theme16 = { + index = 16, + music = "ambient_theme3", + graphicSetName = { + "THEME_09", + "THEME_09_COMPOSPRITES" + }, + texture = "THEME_09_THEME_GROUND_9", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_10_LAYER_1", + 0.125, + 2.35 + }, + { + "", + "THEME_9_BG_LAYER_2", + 0.45, + 1.75 + }, + { + "INGAME_PARALLAX_9", + "BACKGROUND_10_LAYER_4", + 0.65, + 2 + } + }, + fgLayers = { + { + "INGAME_PARALLAX_9", + "FOREGROUND_10_LAYER_1" + } + }, + color = { + r = 9, + g = 85, + b = 104 + }, + groundColor = { + r = 51, + g = 34, + b = 34 + } + }, + theme17 = { + index = 17, + music = "ambient_cave", + graphicSetName = { + "THEME_10", + "THEME_10_COMPOSPRITES" + }, + texture = "THEME_10_THEME_GROUND_CAVE", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "THEME_CAVE_PARALLAX_1", + 0.35, + 1.5 + }, + { + "", + "THEME_BG_1", + 0.45, + 2.5 + } + }, + fgLayers = { + { + "", + "THEME_CAVE_FG_1" + } + }, + color = { + r = 14, + g = 14, + b = 27 + }, + groundColor = { + r = 17, + g = 17, + b = 0 + } + }, + theme18 = { + index = 18, + music = "birthday_ambience", + graphicSetName = { + "THEME_11", + "THEME_11_COMPOSPRITES" + }, + texture = "THEME_11_THEME_GROUND_BIRTHDAY", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BIRTHDAY_SKY", + 0.1, + 3 + }, + { + "", + "THEME_11_MIDGROUND", + 0.35, + 2.5 + }, + { + "", + "THEME_11_MIDGROUND_2", + 0.45, + 2.5 + } + }, + fgLayers = { + { + "", + "BIRTHDAY_GROUND" + } + }, + color = { + r = 99, + g = 214, + b = 244 + }, + groundColor = { + r = 85, + g = 0, + b = 0 + } + }, + theme19 = { + index = 19, + music = "beach_ambience", + graphicSetName = { + "THEME_12", + "THEME_12_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_12_THEME_GROUND_12", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_12_LAYER_1", + 0.1, + 1.3 + }, + { + "", + "BACKGROUND_12_LAYER_3", + 0.25, + 1.25 + }, + { + "", + "THEME_12_BG_LAYER_1", + 0.25, + 1.25, + true + } + }, + fgLayers = { + { + "", + "FOREGROUND_12_LAYER_1" + } + }, + color = { + r = 4, + g = 56, + b = 123 + }, + groundColor = { + r = 234, + g = 238, + b = 132 + }, + mainMenuScale = 1.5 + }, + theme20 = { + index = 20, + music = "ambience_waterfall", + graphicSetName = { + "THEME_13", + "THEME_13_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_13_THEME_GROUND_13", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_13_LAYER_1", + 0.1, + 1.5 + }, + { + "", + "BACKGROUND_13_LAYER_3", + 0.25, + 2, + false, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_2", + 0.375, + 2, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_5", + 0.65, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_13_LAYER_1" + } + }, + color = { + r = 248, + g = 114, + b = 98 + }, + groundColor = { + r = 34, + g = 68, + b = 0 + }, + mainMenuScale = 2 + }, + theme21 = { + index = 21, + music = "rain_ambience", + graphicSetName = {"THEME_15", "BLOCKS_FB"}, + texture = "THEME_15_THEME_GROUND_15", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_15", + 0.125, + 2 + }, + { + rect = { + r = 255, + g = 255, + b = 255, + a = 0 + } + }, + { + "", + "THEME_15_BG_LAYER_1", + 0.25, + 2 + }, + { + "", + "THEME_15_MASK", + 0.25, + 2 + }, + { + "", + "THEME_15_BG_LAYER_2", + 0.45, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_15_LAYER_1" + }, + { + "", + "FOREGROUND_15_LAYER_2", + 1.2 + } + }, + effects = { + { + type = "Thunder", + params = { + flash_layers = {2}, + shadow_layers = {4} + } + } + }, + color = { + r = 34, + g = 17, + b = 87 + }, + groundColor = { + r = 17, + g = 17, + b = 34 + }, + mainMenuScale = 2.5 + }, + theme22 = { + index = 999, + music = "beach_ambience", + graphicSetName = { + "THEME_14", + "BLOCKS_ABLAND" + }, + texture = "THEME_14_THEME_GROUND_14", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_16_LAYER_1", + 1.0E-5, + 1.5 + }, + { + "", + "THEME_14_BG_SUN", + 0, + 1 + }, + { + "", + "THEME_14_BG_LAYER_4_2", + 0.1, + 1, + v = 80 + }, + { + "", + "THEME_14_BG_LAYER_4", + 0.1, + 1.2, + v = 180 + }, + { + "", + "THEME_14_BG_LAYER_3", + 0.2, + 0.8 + }, + { + "", + "THEME_14_BG_LAYER_2", + 0.4, + 1.1 + }, + { + "", + "THEME_14_BG_LAYER_1", + 0.65, + 1 + }, + { + "", + "THEME_14_BG_LAYER_1_2", + 0.9, + 1 + } + }, + fgLayers = { + { + "", + "FOREGROUND_16_LAYER_1" + } + }, + color = { + r = 173, + g = 210, + b = 222 + }, + groundColor = { + r = 17, + g = 17, + b = 17 + } + }, + theme23 = { + index = 22, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_2", + 0.2, + 2.6 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + } +} +groups = { + staticBlocks = { + keyUp = "X", + keyDown = "Z", + firstIndex = 1, + lastIndex = 6 + }, + rockBlocks = { + keyUp = "2", + keyDown = "1", + firstIndex = 1, + lastIndex = 12 + }, + woodBlocks = { + keyUp = "W", + keyDown = "Q", + firstIndex = 1, + lastIndex = 12 + }, + lightBlocks = { + keyUp = "S", + keyDown = "A", + firstIndex = 1, + lastIndex = 12 + }, + birds = { + keyUp = "4", + keyDown = "3", + firstIndex = 1, + lastIndex = 12 + }, + piglettes = { + keyUp = "R", + keyDown = "E", + firstIndex = 1, + lastIndex = 7 + }, + extras = { + keyUp = "6", + keyDown = "5", + firstIndex = 1, + lastIndex = 94 + }, + decorations = { + keyUp = "V", + keyDown = "C", + firstIndex = 1, + lastIndex = 13 + }, + platforms = { + keyUp = "Y", + keyDown = "T", + firstIndex = 1, + lastIndex = 5 + }, + staticFragile = { + keyUp = "N", + keyDown = "M", + firstIndex = 1, + lastIndex = 6 + }, + clouds = { + keyUp = "H", + keyDown = "J", + firstIndex = 1, + lastIndex = 9 + }, + winds = { + keyUp = "I", + keyDown = "U", + firstIndex = 1, + lastIndex = 2 + } +} +damageFactors = { + DefaultDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlueBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 2.9, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1.9, + immovable = 1 + } + }, + YellowBirdDamageFactors = { + damageMultiplier = { + wood = 2.4, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlackBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 4, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + RedBigBirdDamageFactors = { + damageMultiplier = { + wood = 0.3, + rock = 0.3, + light = 0.3, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.8, + rock = 1.8, + light = 1.8, + immovable = 1 + } + }, + BoomerangBirdDamageFactors = { + damageMultiplier = { + wood = 1.6, + rock = 0.8, + light = 1.4, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.3, + rock = 1, + light = 1.3, + immovable = 1 + } + }, + GlobeBirdDamageFactors = { + damageMultiplier = { + wood = 3, + rock = 1.5, + light = 3, + immovable = 0, + staticGround = 0, + snowStaticFragile = 5 + }, + velocityMultiplier = { + wood = 4, + rock = 4, + light = 4, + immovable = 1 + } + }, + GlobeBirdBigDamageFactors = { + damageMultiplier = { + wood = 0, + rock = 0, + light = 0, + immovable = 0, + staticGround = 0, + snowStaticFragile = 0 + }, + velocityMultiplier = { + wood = 2, + rock = 2, + light = 2, + immovable = 1 + } + }, + MightyEagleBirdDamageFactors = { + damageMultiplier = { + wood = 1000000, + rock = 1000000, + light = 1000000, + immovable = 1000000, + staticGround = 0 + }, + velocityMultiplier = { + wood = 555, + rock = 555, + light = 555, + immovable = 555 + } + } +} +blocks = { + SmallBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + spriteFlying = "BIRD_BLUE", + spriteCollision = "BIRD_BLUE_COLLISION", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "10K_BLUE", + spriteYell = "BIRD_BLUE_YELL", + spriteBlink = "BIRD_BLUE_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 2, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_02_collision", + launchSound = "bird_02_flying", + specialSound = "special_group", + selectionSound = "bird_02_select", + unselectionSound = "bird_02_unselect", + specialty = "CLUSTER_BOMB", + tutorialInfo = "TUTORIAL_2", + useLegacyCollisionPath = true + }, + RedBird = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "BIRD_RED", + spriteFlying = "BIRD_RED_FLYING", + spriteCollision = "BIRD_RED_COLLISION", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_RED_YELL", + spriteBlink = "BIRD_RED_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 1, + particles = "redBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "bird_01_collision", + launchSound = "bird_01_flying", + specialSound = "red_special", + selectionSound = "bird_01_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_1", + useLegacyCollisionPath = true + }, + YellowBird = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_YELLOW", + spriteFlying = "BIRD_YELLOW_FLYING", + spriteCollision = "BIRD_YELLOW_COLLISION", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_YELLOW", + spriteYell = "BIRD_YELLOW_YELL", + spriteBlink = "BIRD_YELLOW_BLINK", + spriteSpecial = "BIRD_YELLOW_SPECIAL", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 3, + particles = "yellowBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_03_flying", + specialSound = "special_boost", + selectionSound = "bird_03_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOST", + tutorialInfo = "TUTORIAL_3", + useLegacyCollisionPath = true + }, + BlackBird = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BIRD_GREY", + spriteFlying = "BIRD_GREY_FLYING", + spriteCollision = "BIRD_GREY_FLYING", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "10K_BLACK", + spriteYell = "BIRD_GREY_YELL", + spriteBlink = "BIRD_GREY_BLINK", + spriteSpecial1 = "BIRD_GREY_1", + spriteSpecial2 = "BIRD_GREY_2", + spriteSpecial3 = "BIRD_GREY_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 5, + particles = "blackBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "bird_04_collision", + launchSound = "bird_04_flying", + specialSound = "special_explosion", + selectionSound = "bird_04_select", + unselectionSound = "bird_04_unselect", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, +BombPig = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BOMBPIG_IDLE", + spriteFlying = "BOMBPIG_LAUNCH", + spriteCollision = "BOMBPIG_IDLE", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BOMBPIG_HAPPY", + spriteBlink = "BOMBPIG_BLINK", + spriteSpecial1 = "BOMBPIG_1", + spriteSpecial2 = "BOMBPIG_2", + spriteSpecial3 = "BOMBPIG_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 12, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "piglette collision a4", + launchSound = "pig_launch", + specialSound = "special_explosion", + selectionSound = "piglette_a4", + unselectionSound = "piglette_a5", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, + BasicBird2 = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_GREEN", + spriteFlying = "BIRD_GREEN_FLYING", + spriteCollision = "BIRD_GREEN_COLLISION", + spriteAction = "HUD_ICON_EGG", + spriteScore = "10K_WHITE", + spriteYell = "BIRD_GREEN_YELL", + spriteBlink = "BIRD_GREEN_BLINK", + spriteSpecial = "BIRD_GREEN_SPECIAL", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 4, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bomberBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "bird_05_flying", + specialSound = "special_egg", + selectionSound = "bird_05_select", + unselectionSound = "bird_05_unselect", + specialty = "GRENADE", + projectile = "EggGranade", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + EggGranade = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "DROPPABLE_EGG", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "eggShells" + }, + RedBigBird = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "BIRD_BIG_BROTHER", + spriteFlying = "BIRD_BIG_BROTHER", + spriteCollision = "BIRD_BIG_BROTHER", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_BIG_BROTHER_YELL", + spriteBlink = "BIRD_BIG_BROTHER_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 6, + particles = "bigBrotherBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "big_brother_flying", + specialSound = "big_brother_special", + selectionSound = "big_brother_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_7" + }, + BoomerangBird = { + radius = 1.5, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_BOOMERANG", + spriteFlying = "BIRD_BOOMERANG", + spriteCollision = "BIRD_BOOMERANG_COLLISION", + spriteYell = "BIRD_BOOMERANG_YELL", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_BOOMERANG", + spriteBlink = "BIRD_BOOMERANG_BLINK", + spriteSpecial = "BIRD_BOOMERANG_SPECIAL", + allowRoll = true, + density = 3, + damageFactors = "BoomerangBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 7, + particles = "boomerangBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_06_flying", + specialSound = "boomerang_activate", + selectionSound = "boomerang_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOMERANG", + boomerangHorizontalForce = -50, + boomerangVerticalForce = -350, + boomerangMaxHorizontalSpeed = 50, + flyVerticalForce = -60, + tutorialInfo = "TUTORIAL_6" + }, + MightyEagleBird = { + radius = 5, + friction = 0.1, + type = "circle", + restitution = 0.05, + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + spriteFlying = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteCollision = "BIRD_MIGHTY_EAGLE_MOTION", + spriteAction = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteScore = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteYell = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteBlink = "BIRD_MIGHTY_EAGLE_RADIAL", + allowRoll = true, + density = 100, + damageFactors = "MightyEagleBirdDamageFactors", + controllable = true, + strength = 60000, + group = "birds", + groupIndex = 8, + particles = "smokeBuff", + particlesAmountLimits = {1, 1}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "", + specialSound = "", + selectionSound = "", + unselectionSound = "", + specialty = "MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + explosionRadius = 100, + explosionForce = 20000, + explosionDamageRadius = 100, + explosionDamage = 1, + z_order = 999, + collisionFunction = "mightyEagleCollision", + frozenFunction = "mightyEagleFrozen", + updateFunction = "updateMightyEagle", + collider_type = collider_types.mighty_eagle + }, + BaitSardine = { + friction = 0.25, + type = "box", + restitution = 0.05, + sprite = "BAIT_SARDINE", + spriteFlying = "BAIT_SARDINE", + spriteCollision = "BAIT_SARDINE", + spriteAction = "BAIT_SARDINE", + spriteScore = "BAIT_SARDINE", + spriteYell = "BAIT_SARDINE", + spriteBlink = "BAIT_SARDINE", + allowRoll = true, + density = 1, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "common", + strength = 1, + group = "birds", + groupIndex = 9, + particles = "", + particlesAmountLimits = {0, 0}, + particlesTrail = "redBirdTrail", + collisionSound = "sardine_can_physics_a2", + launchSound = "sardine_can_shot", + specialSound = "mighty_eagle_yell", + selectionSound = "", + destroyedSound = "light_destroyed", + unselectionSound = "", + specialty = "SUMMON_MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + collisionFunction = "mightyEagleBaitCollision", + frozenFunction = "mightyEagleBaitFrozen", + updateFunction = "updateMightyEagleBait", + timerFunction = "mightyEagleAndBaitTimerUpdate" + }, + GlobeBird = { + definition = "GlobeBird", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 10, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"orangeBuff", "smokeBuff"}, + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "GlobeBirdBig", + sprite = "BIRD_PUFFER_1", + spriteFlying = "BIRD_PUFFER_1", + spriteCollision = "BIRD_PUFFER_1", + spriteYell = "BIRD_PUFFER_YELL", + spriteAction = "BIRD_PUFFER_1", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_BLINK", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect" + }, + GlobeBirdBig = { + definition = "GlobeBirdBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 11, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "orangeBuff", + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BIRD_PUFFER_2", + spriteFlying = "BIRD_PUFFER_2", + spriteCollision = "BIRD_PUFFER_2", + spriteYell = "BIRD_PUFFER_2", + spriteAction = "BIRD_PUFFER_2", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_2", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + SmallPiglette = { + radius = 1.075, + type = "circle", + sprite = "PIGLETTE_SMALL_01", + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 4, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 1, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_SMALL_01", + blinkSprite = "PIGLETTE_SMALL_01_BLINK", + smileSprite = "PIGLETTE_SMALL_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_SMALL_02", + blinkSprite = "PIGLETTE_SMALL_02_BLINK", + smileSprite = "PIGLETTE_SMALL_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_SMALL_03", + blinkSprite = "PIGLETTE_SMALL_03_BLINK", + smileSprite = "PIGLETTE_SMALL_03_SMILE", + max = 50, + min = -1000 + } + } + }, + MediumPiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_MEDIUM_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 10, + defence = 1, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 2, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_MEDIUM_01", + blinkSprite = "PIGLETTE_MEDIUM_01_BLINK", + smileSprite = "PIGLETTE_MEDIUM_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_MEDIUM_02", + blinkSprite = "PIGLETTE_MEDIUM_02_BLINK", + smileSprite = "PIGLETTE_MEDIUM_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_MEDIUM_03", + blinkSprite = "PIGLETTE_MEDIUM_03_BLINK", + smileSprite = "PIGLETTE_MEDIUM_03_SMILE", + max = 50, + min = -1000 + } + } + }, + HelmetPiglette = { + radius = 1.95, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_HELMET_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 15, + defence = 8, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 3, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_HELMET_01", + blinkSprite = "PIGLETTE_HELMET_01_BLINK", + smileSprite = "PIGLETTE_HELMET_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_HELMET_02", + blinkSprite = "PIGLETTE_HELMET_02_BLINK", + smileSprite = "PIGLETTE_HELMET_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_HELMET_03", + blinkSprite = "PIGLETTE_HELMET_03_BLINK", + smileSprite = "PIGLETTE_HELMET_03_SMILE", + max = 50, + min = -1000 + } + } + }, + LargePiglette = { + radius = 2.325, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_BIG_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 20, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 4, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_BIG_01", + blinkSprite = "PIGLETTE_BIG_01_BLINK", + smileSprite = "PIGLETTE_BIG_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_BIG_02", + blinkSprite = "PIGLETTE_BIG_02_BLINK", + smileSprite = "PIGLETTE_BIG_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_BIG_03", + blinkSprite = "PIGLETTE_BIG_03_BLINK", + smileSprite = "PIGLETTE_BIG_03_SMILE", + max = 50, + min = -1000 + } + } + }, + GrandpaPiglette = { + radius = 2.2, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_GRANDPA_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 30, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 5, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_GRANDPA_01", + blinkSprite = "PIGLETTE_GRANDPA_01_BLINK", + smileSprite = "PIGLETTE_GRANDPA_04_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_GRANDPA_02", + blinkSprite = "PIGLETTE_GRANDPA_02_BLINK", + smileSprite = "PIGLETTE_GRANDPA_05_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_GRANDPA_03", + blinkSprite = "PIGLETTE_GRANDPA_03_BLINK", + smileSprite = "PIGLETTE_GRANDPA_06_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPiglette = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 5000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 6, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + + HatPiglette = { + radius = 1.71, + friction = 0.3, + type = "circle", + sprite = "HATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 200, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "HATPIG_IDLE", + blinkSprite = "HATPIG_BLINK", + smileSprite = "HATPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HATPIG_HURT1_IDLE", + blinkSprite = "HATPIG_HURT1_BLINK", + smileSprite = "HATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HATPIG_HURT2_IDLE", + blinkSprite = "HATPIG_HURT2_BLINK", + smileSprite = "HATPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + + WoodBlock1 = { + type = "box", + sprite = "BLOCK_WOOD_1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 1, + strength = 20, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_1", + max = 25, + min = -1000 + } + } + }, + WoodBlock2 = { + type = "box", + sprite = "BLOCK_WOOD_1_2", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 2, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_2", + max = 25, + min = -1000 + } + } + }, + WoodBlock3 = { + type = "box", + sprite = "BLOCK_WOOD_1_3", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 3, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_3", + max = 25, + min = -1000 + } + } + }, + WoodBlock4 = { + type = "box", + sprite = "BLOCK_WOOD_1_4", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 4, + strength = 50, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock5 = { + type = "box", + sprite = "BLOCK_WOOD_1_5", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 5, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_5", + max = 25, + min = -1000 + } + } + }, + WoodBlock6 = { + type = "box", + sprite = "BLOCK_WOOD_1_6", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 6, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_6", + max = 25, + min = -1000 + } + } + }, + WoodBlock7 = { + type = "circle", + sprite = "BLOCK_WOOD_1_7", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 7, + strength = 200, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_7", + max = 25, + min = -1000 + } + } + }, + WoodBlock8 = { + type = "circle", + sprite = "BLOCK_WOOD_1_8", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 8, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_8", + max = 25, + min = -1000 + } + } + }, + WoodBlock9 = { + type = "box", + sprite = "BLOCK_WOOD_4X4_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 9, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4X4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock10 = { + type = "box", + sprite = "BLOCK_WOOD_10X1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 10, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_10X1_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 11, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 12, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock1 = { + type = "box", + sprite = "BLOCK_ROCK_1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 1, + strength = 30, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_1", + max = 25, + min = -1000 + } + } + }, + StoneBlock2 = { + type = "box", + sprite = "BLOCK_ROCK_1_2", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 2, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_2", + max = 25, + min = -1000 + } + } + }, + StoneBlock3 = { + type = "box", + sprite = "BLOCK_ROCK_1_3", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 3, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_3", + max = 25, + min = -1000 + } + } + }, + StoneBlock4 = { + type = "box", + sprite = "BLOCK_ROCK_1_4", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 4, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock5 = { + type = "box", + sprite = "BLOCK_ROCK_1_5", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 5, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_5", + max = 25, + min = -1000 + } + } + }, + StoneBlock6 = { + type = "box", + sprite = "BLOCK_ROCK_1_6", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 6, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_6", + max = 25, + min = -1000 + } + } + }, + StoneBlock7 = { + type = "circle", + sprite = "BLOCK_ROCK_1_7", + controllable = false, + materialName = "rock", + group = "rockBlocks", + strength = 600, + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_7", + max = 25, + min = -1000 + } + } + }, + StoneBlock8 = { + type = "circle", + sprite = "BLOCK_ROCK_1_8", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 8, + strength = 300, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_8", + max = 25, + min = -1000 + } + } + }, + StoneBlock9 = { + type = "box", + sprite = "BLOCK_ROCK_4X4_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 9, + strength = 160, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4X4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock10 = { + type = "box", + sprite = "BLOCK_ROCK_10X1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 10, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_10X1_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 11, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 12, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + LightBlock1 = { + type = "box", + sprite = "BLOCK_LIGHT_1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 1, + strength = 13, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_1", + max = 25, + min = -1000 + } + } + }, + LightBlock2 = { + type = "box", + sprite = "BLOCK_LIGHT_1_2", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 2, + strength = 26, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_2", + max = 25, + min = -1000 + } + } + }, + LightBlock3 = { + type = "box", + sprite = "BLOCK_LIGHT_1_3", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 3, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_3", + max = 25, + min = -1000 + } + } + }, + LightBlock4 = { + type = "box", + sprite = "BLOCK_LIGHT_1_4", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 4, + strength = 33, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock5 = { + type = "box", + sprite = "BLOCK_LIGHT_1_5", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 5, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_5", + max = 25, + min = -1000 + } + } + }, + LightBlock6 = { + type = "box", + sprite = "BLOCK_LIGHT_1_6", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 6, + strength = 47, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_6", + max = 25, + min = -1000 + } + } + }, + LightBlock7 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_7", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 7, + strength = 125, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_7", + max = 25, + min = -1000 + } + } + }, + LightBlock8 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_8", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 8, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_8", + max = 25, + min = -1000 + } + } + }, + LightBlock9 = { + type = "box", + sprite = "BLOCK_LIGHT_4X4_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 9, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4X4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock10 = { + type = "box", + sprite = "BLOCK_LIGHT_10X1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 10, + strength = 65, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_10X1_4", + max = 25, + min = -1000 + } + } + }, + LightBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 11, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + LightBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 12, + strength = 48, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + DecorationSpotsTheme01_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_01", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme01_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_02", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme01_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_03", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme02_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_01", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme02_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_02", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme02_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_03", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme03_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_01", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme03_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_02", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme03_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_03", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSkull01 = { + type = "box", + sprite = "DECORATION_SKULL01", + materialName = "decoration", + group = "decorations", + groupIndex = 4 + }, + DecorationSkull02 = { + type = "box", + sprite = "DECORATION_SKULL02", + materialName = "decoration", + group = "decorations", + groupIndex = 5 + }, + DecorationBone01 = { + type = "box", + sprite = "DECORATION_BONE01", + materialName = "decoration", + group = "decorations", + groupIndex = 6 + }, + DecorationBone02 = { + type = "box", + sprite = "DECORATION_BONE02", + materialName = "decoration", + group = "decorations", + groupIndex = 7 + }, + DecorationBone03 = { + type = "box", + sprite = "DECORATION_BONE03", + materialName = "decoration", + group = "decorations", + groupIndex = 8 + }, + DecorationBone04 = { + type = "box", + sprite = "DECORATION_BONE04", + materialName = "decoration", + group = "decorations", + groupIndex = 9 + }, + DecorationBoneSet01 = { + type = "box", + sprite = "DECORATION_BONESET01", + materialName = "decoration", + group = "decorations", + groupIndex = 10 + }, + DecorationBoneSet02 = { + type = "box", + sprite = "DECORATION_BONESET02", + materialName = "decoration", + group = "decorations", + groupIndex = 11 + }, + DecorationEstrade01 = { + type = "box", + sprite = "ESTRADE_FLAG", + materialName = "decoration", + group = "decorations", + groupIndex = 12 + }, + DecorationEstrade02 = { + type = "box", + sprite = "ESTRADE_THEATER", + materialName = "decoration", + group = "decorations", + groupIndex = 13 + }, + StaticBlockTheme01_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme01_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme01_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme01_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme01_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme01_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme02_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme02_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme02_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme02_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme02_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme02_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme03_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme03_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme03_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme03_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme03_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme03_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme04_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme04_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme04_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme04_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme04_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme04_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme05_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme05_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme05_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme05_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme05_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme05_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme06_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme06_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme06_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme06_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme06_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme06_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme07_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme07_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme07_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme07_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme07_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme07_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme08_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme08_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme08_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme08_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme08_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme08_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme09_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme09_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme09_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme09_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme09_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme09_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme10_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme10_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme10_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme10_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme10_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme10_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme11_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme11_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme11_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme11_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme11_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme11_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme12_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme12_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme12_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme12_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme12_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme12_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme13_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme13_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme13_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme13_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme13_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme13_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme14_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme14_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme14_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme14_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme14_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme14_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme15_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme15_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme15_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme15_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme15_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme15_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme16_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme16_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme16_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme16_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme16_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme16_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme17_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme17_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme17_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme17_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme17_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme17_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme18_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme18_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme18_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme18_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme18_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme18_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + ShootingPlatform01 = { + type = "box", + sprite = "SHOOTING_PLATFORM", + materialName = "immovable", + group = "platforms", + groupIndex = 1 + }, + Estrade01 = { + type = "box", + sprite = "ESTRADE_01", + materialName = "immovable", + group = "platforms", + groupIndex = 2 + }, + Estrade02 = { + type = "box", + sprite = "ESTRADE_02", + materialName = "immovable", + group = "platforms", + groupIndex = 3 + }, + Estrade03 = { + type = "box", + sprite = "ESTRADE_03", + materialName = "immovable", + group = "platforms", + groupIndex = 4 + }, + Estrade04 = { + type = "box", + sprite = "ESTRADE_04", + materialName = "immovable", + group = "platforms", + groupIndex = 5 + }, + ExtraBlockToilet = { + type = "box", + sprite = "BLOCK_EXTRA_TOILET", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 1 + }, + ExtraBlockFlag01 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 2 + }, + ExtraBlockFlag02 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 3 + }, + ExtraBlockTNT = { + type = "box", + sprite = "BLOCK_EXTRA_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 4, + strength = 10, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + ExtraBlockDice = { + type = "box", + sprite = "BLOCK_EXTRA_DICE_6", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 5, + strength = 30, + defence = 1, + damageSprites = { + damage1 = { + sprite = "BLOCK_EXTRA_DICE_6", + max = 100, + min = 84 + }, + damage2 = { + sprite = "BLOCK_EXTRA_DICE_5", + max = 84, + min = 68 + }, + damage3 = { + sprite = "BLOCK_EXTRA_DICE_4", + max = 68, + min = 52 + }, + damage4 = { + sprite = "BLOCK_EXTRA_DICE_3", + max = 52, + min = 36 + }, + damage5 = { + sprite = "BLOCK_EXTRA_DICE_2", + max = 36, + min = 20 + }, + damage6 = { + sprite = "BLOCK_EXTRA_DICE_1", + max = 20, + min = -1000 + } + } + }, + ExtraBlockStairs = { + type = "box", + sprite = "ESTRADE_STAIRS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 6 + }, + SpecialBlockSwing = { + type = "box", + sprite = "SWING_HOLDER_01", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 7 + }, + SpecialBlockStart = { + type = "box", + sprite = "SWING_BASKET_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 8, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleYellow = { + type = "box", + sprite = "POLE_YELLOW", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 9, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleRed = { + type = "box", + sprite = "POLE_RED", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 10, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraTire01 = { + type = "circle", + sprite = "BLOCK_TIRE_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 11, + strength = 200 + }, + ExtraTire02 = { + type = "circle", + sprite = "BLOCK_TIRE_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 12, + strength = 200 + }, + ExtraTire03 = { + type = "circle", + sprite = "BLOCK_TIRE_03", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 13, + strength = 200 + }, + ExtraDonut01 = { + type = "circle", + sprite = "BLOCK_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 14, + strength = 50 + }, + ExtraMelon = { + type = "circle", + sprite = "BLOCK_WATERMELON", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 15, + strength = 40 + }, + ExtraHam = { + type = "circle", + sprite = "BLOCK_HAM", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 16, + strength = 60 + }, + ExtraApple = { + type = "circle", + sprite = "BLOCK_APPLE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 17, + strength = 30 + }, + ExtraStrawberry = { + type = "circle", + sprite = "BLOCK_STRAWBERRY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 18, + strength = 30 + }, + ExtraBanana = { + type = "box", + sprite = "BLOCK_BANANA", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 19, + strength = 30 + }, + ExtraTreasureChest = { + type = "box", + sprite = "BLOCK_TREASURE_CHEST", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 20, + strength = 20 + }, + ExtraPillar = { + type = "box", + sprite = "BLOCK_PILLAR", + controllable = false, + density = 10, + defence = 40, + materialName = "extras", + group = "extras", + groupIndex = 21, + strength = 120 + }, + ExtraBeachBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 22, + strength = 15 + }, + ExtraBlockSmiley = { + type = "circle", + sprite = "BLOCK_SMILEY_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 23, + strength = 25, + damageSprites = { + damage1 = { + sprite = "BLOCK_SMILEY_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "BLOCK_SMILEY_3", + max = 50, + min = -1000 + } + } + }, + ExtraHolyGrail = { + type = "box", + sprite = "BLOCK_HOLYGRAIL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 24, + strength = 25 + }, + ExtraDiamond = { + type = "circle", + sprite = "BLOCK_DIAMOND", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 25, + strength = 25 + }, + ExtraRubberDuck = { + type = "circle", + sprite = "BLOCK_RUBBERDUCK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 26, + strength = 25 + }, + ExtraStolenEgg = { + type = "circle", + sprite = "BLOCK_STOLEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 27, + strength = 2000, + defence = 20000 + }, + ExtraStrongBall = { + type = "circle", + sprite = "BLOCK_STEEL_BALL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 28, + strength = 5000, + defence = 2000 + }, + ExtraRubberBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "rubber", + group = "extras", + groupIndex = 29, + defence = 50, + strength = 1000, + restitution = 1.1 + }, + ExtraTrampoline = { + type = "circle", + sprite = "BLOCK_SUPER_BALL", + materialName = "rubber", + group = "extras", + groupIndex = 30, + defence = 1000, + strength = 1000, + restitution = 5.5 + }, + ExtraBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + density = 8, + materialName = "extras", + group = "extras", + groupIndex = 31, + strength = 3000, + defence = 2000 + }, + ExtraTrampoline2 = { + type = "box", + sprite = "BLOCK_TRAMPOLINE_01", + materialName = "immovableRubber", + group = "extras", + groupIndex = 32, + defence = 1000, + strength = 1000, + restitution = 1.1 + }, + ExtraGoldenEgg = { + type = "circle", + sprite = "BLOCK_GOLDEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 33, + strength = 5, + defence = 1 + }, + ExtraRopeThick01 = { + type = "box", + sprite = "BLOCK_ROPE_THICK_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 34, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin01 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 35, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin02 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_2", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 36, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraBoomerangBird = { + radius = 1.1, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BOOMERANG", + density = 8, + materialName = "immovable", + group = "extras", + groupIndex = 37, + strength = 1000000, + defence = 1000000 + }, + BlockCarpet = { + type = "box", + sprite = "BLOCK_CARPET", + materialName = "extras", + group = "extras", + groupIndex = 38 + }, + ExtraHelmetSmall = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_SMALL", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 39, + defence = 300, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetSmall2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BLOCK_RUBBERDUCK", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 40, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BIG", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 41, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BIRD_BOOMERANG_STILL", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 42, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBoss = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BOSS", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 43, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraCowboyHelmet_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_BIG_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 44, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCowboyHelmetSmall_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_SMALL_1", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 45, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_1 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 46, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_2 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_2", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 47, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraBanditoHat_1 = { + type = "polygon", + vertices = { + {x = 0.4, y = 0.3}, + {x = 0.45, y = 0.2}, + {x = 0.55, y = 0.2}, + {x = 0.6, y = 0.3}, + {x = 0.6, y = 0.7}, + {x = 0.4, y = 0.7} + }, + sprite = "BANDITO_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 48, + defence = 30, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSuperBowl = { + type = "circle", + sprite = "B_EGG_SUPER_BOWL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 49, + strength = 5, + defence = 1, + density = 0 + }, + StaticFragileBlock01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 1, + destroyedScoreInc = 50 + }, + StaticFragileBlock02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 2, + destroyedScoreInc = 50 + }, + StaticFragileBlock03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 3, + destroyedScoreInc = 50 + }, + StaticFragileBlock04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 4, + destroyedScoreInc = 50 + }, + StaticFragileBlock05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 5, + destroyedScoreInc = 50 + }, + StaticFragileBlock06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 6, + destroyedScoreInc = 50 + }, + StaticBalloon01 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 1, + destroyedScoreInc = 100 + }, + StaticBalloon02 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 2, + destroyedScoreInc = 100 + }, + StaticBalloon03 = { + type = "box", + sprite = "BLOCK_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 3, + destroyedScoreInc = 100 + }, + StaticBalloon04 = { + type = "box", + sprite = "BLOCK_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 4, + destroyedScoreInc = 100 + }, + StaticBalloon05 = { + type = "box", + sprite = "BLOCK_BALLOON_3", + materialName = "clouds", + group = "clouds", + groupIndex = 5, + destroyedScoreInc = 100 + }, + StaticCloud01 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 6 + }, + StaticCloud02 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 7 + }, + StaticCloud03 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 8 + }, + StaticCloud04 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 9 + }, + Ground = { + type = "box", + sprite = "", + texture = "", + theme = "", + materialName = "staticGround", + group = "", + groupIndex = 1 + }, + ExtraCaveHat_1 = { + type = "box", + width = 1, + height = 0.5, + sprite = "CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 50, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_2 = { + type = "box", + width = 2, + height = 1.6, + sprite = "CAVE_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 51, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_3 = { + type = "box", + width = 2, + height = 1.5, + sprite = "CAVE_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 52, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraKingCaveHat_1 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "KING_CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 53, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_1 = { + type = "box", + width = 1.2, + height = 4.7, + sprite = "CAVE_SHOVEL_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 54, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_2 = { + type = "box", + width = 0.8, + height = 2.5, + sprite = "CAVE_SHOVEL_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 55, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_1 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 56, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_2 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 57, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraAmethyst = { + type = "box", + width = 2, + height = 1.6, + sprite = "BLOCK_AMETHYST", + materialName = "amethyst", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 58, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMETHYST_1" + }, + ExtraRuby = { + type = "box", + width = 1.3, + height = 2, + sprite = "BLOCK_RUBY", + materialName = "ruby", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 59, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_RUBY_1" + }, + ExtraAmber = { + type = "circle", + radius = 1, + sprite = "BLOCK_AMBER", + materialName = "amber", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 60, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + ExtraStalaktite_1 = { + type = "box", + width = 3, + height = 13.9, + sprite = "BLOCK_STALAKTITE_1", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 61, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_2 = { + type = "box", + width = 1, + height = 12.5, + sprite = "BLOCK_STALAKTITE_2", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 62, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_3 = { + type = "box", + width = 1.8, + height = 17.1, + sprite = "BLOCK_STALAKTITE_3", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 63, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip1 = { + type = "box", + width = 0.6, + height = 5, + sprite = "BLOCK_STALAKTITE_TIP_1", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 64, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip2 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_2", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 65, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip3 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_3", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 66, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip4 = { + type = "box", + width = 0.6, + height = 6, + sprite = "BLOCK_STALAKTITE_TIP_4", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 67, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayBalloon_1 = { + type = "circle", + radius = 1.2, + sprite = "BLOCK_BALLOON_BDAY", + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + strength = 10, + destroyedScoreInc = 500, + z_order = 5, + group = "extras", + groupIndex = 68 + }, + PartyHat_1 = { + type = "box", + width = 1.5, + height = 1.7, + sprite = "PARTY_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 69, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_2 = { + type = "box", + width = 1.6, + height = 1.7, + sprite = "PARTY_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 70, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_3 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 71, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_4 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_4", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 72, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayCandle_1 = { + type = "box", + width = 0.6, + height = 2.3, + sprite = "BDAY_CANDLE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 73, + defence = 10, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 500 + }, + BirthdayCake_1 = { + type = "box", + width = 2.5, + height = 2.9, + sprite = "CHOCO_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 74, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake1Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_2 = { + type = "box", + width = 3, + height = 3.8, + sprite = "PINK_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 75, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake2Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_3 = { + type = "box", + width = 4, + height = 2.2, + sprite = "MINT_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 76, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 100 + }, + BirthdayBalloon_2 = { + sprite = "BLOCK_BALLOON_1", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 77 + }, + BirthdayBalloon_3 = { + sprite = "BLOCK_BALLOON_2", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 78 + }, + BirthdayBalloon_4 = { + sprite = "BLOCK_BALLOON_3", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 79 + }, + SPECIAL_CAKE_1 = { + type = "box", + width = 2, + height = 2, + sprite = "SPECIAL_CAKE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 80, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + destroyedScoreInc = 100 + }, + MISC_FB_NET = { + type = "box", + sprite = "MISC_FB_NET_1", + materialName = "light", + group = "extras", + groupIndex = 71, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_NET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_NET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_NET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_STICK = { + type = "box", + sprite = "MISC_FB_STICK_1", + materialName = "wood", + group = "extras", + groupIndex = 72, + controllable = false, + density = 0.1, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_STICK_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_STICK_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_STICK_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_ROD = { + type = "box", + sprite = "MISC_FB_ROD_1", + materialName = "wood", + group = "extras", + groupIndex = 73, + controllable = false, + density = 0.001, + friction = 1, + defence = 10, + strength = 10, + restitution = 0, + z_order = 0, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_ROD_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_ROD_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_HAT = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 74, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAT_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_GLASSES = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.1, y = 0.7} + }, + sprite = "MISC_FB_GLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 75, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_GLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_GLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_GLASSES_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BUCKET = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.9, y = 0.3}, + {x = 0.8, y = 0.95}, + {x = 0.2, y = 0.95} + }, + sprite = "MISC_FB_BUCKET_1", + materialName = "light", + group = "extras", + groupIndex = 76, + controllable = false, + strength = 4, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BUCKET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BUCKET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BUCKET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SHOVEL = { + type = "box", + sprite = "MISC_FB_SHOVEL_1", + materialName = "light", + group = "extras", + groupIndex = 77, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SHOVEL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SHOVEL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SHOVEL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CASTLE = { + type = "box", + sprite = "MISC_FB_CASTLE_1", + materialName = "wood", + group = "extras", + groupIndex = 78, + controllable = false, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CASTLE_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CASTLE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TAPE = { + type = "box", + sprite = "MISC_FB_TAPE_1", + materialName = "extras", + group = "extras", + groupIndex = 79, + controllable = false, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + MISC_FB_HAMMER = { + type = "box", + sprite = "MISC_FB_HAMMER_1", + materialName = "rock", + group = "extras", + groupIndex = 80, + controllable = false, + density = 0.2, + friction = 1, + defence = 30, + strength = 20, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAMMER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_HAMMER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAMMER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CONE = { + type = "box", + sprite = "MISC_FB_CONE_1", + materialName = "wood", + group = "extras", + groupIndex = 81, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CONE_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_CONE_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CONE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_TOP = { + type = "box", + sprite = "MISC_FB_UMBRELLA_TOP_1", + materialName = "wood", + group = "extras", + groupIndex = 82, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_TOP_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_TOP_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_TOP_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_BOTTOM = { + type = "box", + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + materialName = "wood", + group = "extras", + groupIndex = 83, + controllable = false, + density = 0.01, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BARREL = { + type = "box", + sprite = "MISC_FB_BARREL_1", + materialName = "wood", + group = "extras", + groupIndex = 84, + controllable = false, + strength = 80, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BARREL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BARREL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BARREL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BOBBER = { + type = "box", + sprite = "MISC_FB_BOBBER_1", + materialName = "light", + group = "extras", + groupIndex = 85, + controllable = false, + strength = 5, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BOBBER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BOBBER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BOBBER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SMALL_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MISC_FB_SMALL_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 86, + controllable = false, + density = 0.3, + friction = 1, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SMALL_HAT_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SMALL_HAT_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SMALL_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TINYGLASSES = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_TINYGLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 87, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_TINYGLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_TINYGLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_TINYGLASSES_3", + max = 50, + min = 0 + } + } + }, + HORSE_BASE = { + type = "box", + sprite = "BLOCK_HORSE_BASE", + materialName = "extras", + group = "extras", + groupIndex = 88, + controllable = false, + strength = 80 + }, + BLOCK_GREEN_GOGGLES = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_GOGGLES", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 89, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_PILOTHELMET = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_PILOTHELMET", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 90, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_SPANNER_2 = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 91, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + GoldenSpanner = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_GOLDEN", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 92, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + BLOCK_GREEN_OILCANISTER = { + type = "box", + width = 1.5, + height = 2.7, + sprite = "BLOCK_GREEN_OILCANISTER", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 93, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_BAG = { + type = "circle", + radius = 1.3, + sprite = "BLOCK_GREEN_BAG", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 94, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + } +} +filename = "blocks.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/brocks.lua b/Angry Birds Project R/0.2.0/data/scripts/brocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e8e154f0e3fb32041443495706fedc5d41388a8 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/brocks.lua @@ -0,0 +1,7148 @@ +collider_types = { + default = 0, + mighty_eagle = 1, + immovable = 2, + wind = 3 +} +shape_types = { + box = 0, + circle = 1, + polygon = 2 +} +materials = { + balloon = { + strength = 30, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + z_order = 1, + particles = "smokeBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "balloon_pop", + forceY = -30, + forceX = -1 + }, + wood = { + strength = 60, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + particles = "woodenBuff", + collisionSound = "wood_collision", + damageSound = "wood_damage", + destroyedSound = "wood_destroyed", + rollingSound = "wood_rolling" + }, + rock = { + strength = 120, + defence = 15, + friction = 4, + restitution = 0.1, + density = 4, + controllable = false, + particles = "rockBuff", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed", + rollingSound = "rock_rolling" + }, + light = { + strength = 40, + defence = 2, + friction = 0.7, + restitution = 0.2, + density = 0.75, + controllable = false, + particles = "lightBuff", + collisionSound = "light_collision", + damageSound = "light_damage", + destroyedSound = "light_destroyed", + rollingSound = "light_rolling" + }, + piglette = { + strength = 10, + defence = 1, + friction = 0.7, + restitution = 0.05, + density = 2, + controllable = false, + particles = "smokeBuff", + collisionSound = "piglette_collision", + damageSound = "piglette_damage", + destroyedSound = "piglette_destroyed" + }, + staticGround = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision" + }, + immovable = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + collider_type = collider_types.immovable + }, + immovableFragile = { + strength = 2, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "", + collisionSound = "ground_collision" + }, + clouds = { + strength = 0.1, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "balloon_pop" + }, + immovableRubber = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "trampoline" + }, + extras = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "wood damage a1" + }, + halloween = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + 5, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "halloween_destroyed" + }, + pumpkin = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "pumpkin_destroyed" + }, + lantern = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "flameBuff", + collisionSound = "light_collision", + destroyedSound = "lantern_break_a1" + }, + rubber = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ball_bounce" + }, + decoration = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false + }, + common = { + strength = 1, + defence = 1, + friction = 0.7, + restitution = 0.2, + density = 0.75, + particles = "lightBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "" + }, + stalaktite = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed" + }, + stalaktite_tip = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "stalaktite_break" + }, + amber = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amberBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + ruby = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "rubyBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + amethyst = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amethystBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + cake = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "birthday_cake" + }, + wind = { + friction = 0, + restitution = 0, + density = 0, + controllable = false, + collider_type = collider_types.wind + } +} +themes = { + settings = {keyCode = "T", themeAmount = 9}, + theme1 = { + index = 1, + music = "ambient_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_1_LAYER_1", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.6, + 2.9 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 146, + g = 204, + b = 222 + }, + groundColor = { + r = 14, + g = 74, + b = 95 + } + }, + theme5 = { + index = 9, + music = "ambient_theme3", + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES" + }, + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + theme2 = { + index = 2, + music = "ambient_theme2", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme2boss = { + index = 3, + music = "pig_boss_1", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme23 = { + index = 4, + music = "pig_boss_2", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme19 = { + index = 6, + music = "beach_ambience", + graphicSetName = { + "THEME_12", + "THEME_12_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_12_THEME_GROUND_12", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_12_LAYER_1", + 0.1, + 1.3 + }, + { + "", + "BACKGROUND_12_LAYER_3", + 0.25, + 1.25 + }, + { + "", + "THEME_12_BG_LAYER_1", + 0.25, + 1.25, + true + } + }, + fgLayers = { + { + "", + "FOREGROUND_12_LAYER_1" + } + }, + color = { + r = 4, + g = 56, + b = 123 + }, + groundColor = { + r = 234, + g = 238, + b = 132 + }, + mainMenuScale = 1.5 + }, + theme20 = { + index = 7, + music = "ambience_waterfall", + graphicSetName = { + "THEME_13", + "THEME_13_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_13_THEME_GROUND_13", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_13_LAYER_1", + 0.1, + 1.5 + }, + { + "", + "BACKGROUND_13_LAYER_3", + 0.25, + 2, + false, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_2", + 0.375, + 2, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_5", + 0.65, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_13_LAYER_1" + } + }, + color = { + r = 248, + g = 114, + b = 98 + }, + groundColor = { + r = 34, + g = 68, + b = 0 + }, + mainMenuScale = 2 + }, + theme21 = { + index = 8, + music = "rain_ambience", + graphicSetName = {"THEME_15", "BLOCKS_FB"}, + texture = "THEME_15_THEME_GROUND_15", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_15", + 0.125, + 2 + }, + { + rect = { + r = 255, + g = 255, + b = 255, + a = 0 + } + }, + { + "", + "THEME_15_BG_LAYER_1", + 0.25, + 2 + }, + { + "", + "THEME_15_MASK", + 0.25, + 2 + }, + { + "", + "THEME_15_BG_LAYER_2", + 0.45, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_15_LAYER_1" + }, + { + "", + "FOREGROUND_15_LAYER_2", + 1.2 + } + }, + effects = { + { + type = "Thunder", + params = { + flash_layers = {2}, + shadow_layers = {4} + } + } + }, + color = { + r = 34, + g = 17, + b = 87 + }, + groundColor = { + r = 17, + g = 17, + b = 34 + }, + mainMenuScale = 2.5 + }, + theme22 = { + index = 999, + music = "beach_ambience", + graphicSetName = { + "THEME_14", + "BLOCKS_ABLAND" + }, + texture = "THEME_14_THEME_GROUND_14", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_16_LAYER_1", + 1.0E-5, + 1.5 + }, + { + "", + "THEME_14_BG_SUN", + 0, + 1 + }, + { + "", + "THEME_14_BG_LAYER_4_2", + 0.1, + 1, + v = 80 + }, + { + "", + "THEME_14_BG_LAYER_4", + 0.1, + 1.2, + v = 180 + }, + { + "", + "THEME_14_BG_LAYER_3", + 0.2, + 0.8 + }, + { + "", + "THEME_14_BG_LAYER_2", + 0.4, + 1.1 + }, + { + "", + "THEME_14_BG_LAYER_1", + 0.65, + 1 + }, + { + "", + "THEME_14_BG_LAYER_1_2", + 0.9, + 1 + } + }, + fgLayers = { + { + "", + "FOREGROUND_16_LAYER_1" + } + }, + color = { + r = 173, + g = 210, + b = 222 + }, + groundColor = { + r = 17, + g = 17, + b = 17 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + } +} +groups = { + staticBlocks = { + keyUp = "X", + keyDown = "Z", + firstIndex = 1, + lastIndex = 6 + }, + rockBlocks = { + keyUp = "2", + keyDown = "1", + firstIndex = 1, + lastIndex = 12 + }, + woodBlocks = { + keyUp = "W", + keyDown = "Q", + firstIndex = 1, + lastIndex = 12 + }, + lightBlocks = { + keyUp = "S", + keyDown = "A", + firstIndex = 1, + lastIndex = 12 + }, + birds = { + keyUp = "4", + keyDown = "3", + firstIndex = 1, + lastIndex = 20 + }, + piglettes = { + keyUp = "R", + keyDown = "E", + firstIndex = 1, + lastIndex = 11 + }, + extras = { + keyUp = "6", + keyDown = "5", + firstIndex = 1, + lastIndex = 131 + }, + decorations = { + keyUp = "V", + keyDown = "C", + firstIndex = 1, + lastIndex = 13 + }, + platforms = { + keyUp = "Y", + keyDown = "T", + firstIndex = 1, + lastIndex = 5 + }, + staticFragile = { + keyUp = "N", + keyDown = "M", + firstIndex = 1, + lastIndex = 6 + }, + clouds = { + keyUp = "H", + keyDown = "J", + firstIndex = 1, + lastIndex = 9 + }, + winds = { + keyUp = "I", + keyDown = "U", + firstIndex = 1, + lastIndex = 2 + } +} +damageFactors = { + DefaultDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlueBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 2.9, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1.9, + immovable = 1 + } + }, + YellowBirdDamageFactors = { + damageMultiplier = { + wood = 2.4, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlackBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 4, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + RedBigBirdDamageFactors = { + damageMultiplier = { + wood = 0.3, + rock = 0.3, + light = 0.3, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.8, + rock = 1.8, + light = 1.8, + immovable = 1 + } + }, + BoomerangBirdDamageFactors = { + damageMultiplier = { + wood = 1.6, + rock = 0.8, + light = 1.4, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.3, + rock = 1, + light = 1.3, + immovable = 1 + } + }, + GlobeBirdDamageFactors = { + damageMultiplier = { + wood = 3, + rock = 1.5, + light = 3, + immovable = 0, + staticGround = 0, + snowStaticFragile = 5 + }, + velocityMultiplier = { + wood = 4, + rock = 4, + light = 4, + immovable = 1 + } + }, + GlobeBirdBigDamageFactors = { + damageMultiplier = { + wood = 0, + rock = 0, + light = 0, + immovable = 0, + staticGround = 0, + snowStaticFragile = 0 + }, + velocityMultiplier = { + wood = 2, + rock = 2, + light = 2, + immovable = 1 + } + }, + MightyEagleBirdDamageFactors = { + damageMultiplier = { + wood = 1000000, + rock = 1000000, + light = 1000000, + immovable = 1000000, + staticGround = 0 + }, + velocityMultiplier = { + wood = 555, + rock = 555, + light = 555, + immovable = 555 + } + } +} +blocks = { + SmallBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + spriteFlying = "BIRD_BLUE", + spriteCollision = "BIRD_BLUE_COLLISION", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "10K_BLUE", + spriteYell = "BIRD_BLUE_YELL", + spriteBlink = "BIRD_BLUE_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 2, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_02_collision", + launchSound = "bird_02_flying", + specialSound = "special_group", + selectionSound = "bird_02_select", + unselectionSound = "bird_02_unselect", + specialty = "CLUSTER_BOMB", + tutorialInfo = "TUTORIAL_2", + useLegacyCollisionPath = true + }, + SmallPig = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BLUEPIG_IDLE", + spriteFlying = "BLUEPIG_HAPPY", + spriteCollision = "BLUEPIG_BLINK", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BLUEPIG_HAPPY", + spriteBlink = "BLUEPIG_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 15, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_group", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "CLUSTER_BOMB", + useLegacyCollisionPath = true + }, + RedBird = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "BIRD_RED", + spriteFlying = "BIRD_RED_FLYING", + spriteCollision = "BIRD_RED_COLLISION", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_RED_YELL", + spriteBlink = "BIRD_RED_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 1, + particles = "redBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "bird_01_collision", + launchSound = "bird_01_flying", + specialSound = "red_special", + selectionSound = "bird_01_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_1", + useLegacyCollisionPath = true + }, + RedPig = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "REDPIG_IDLE", + spriteFlying = "REDPIG_LAUNCH", + spriteCollision = "REDPIG_DEAD", + spriteAction = "REDPIG_LAUNCH", + spriteScore = "PIG_SCORE_10K", + spriteYell = "REDPIG_HAPPY", + spriteBlink = "REDPIG_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 13, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_1", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + useLegacyCollisionPath = true + }, + YellowBird = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_YELLOW", + spriteFlying = "BIRD_YELLOW_FLYING", + spriteCollision = "BIRD_YELLOW_COLLISION", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_YELLOW", + spriteYell = "BIRD_YELLOW_YELL", + spriteBlink = "BIRD_YELLOW_BLINK", + spriteSpecial = "BIRD_YELLOW_SPECIAL", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 3, + particles = "yellowBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_03_flying", + specialSound = "special_boost", + selectionSound = "bird_03_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOST", + tutorialInfo = "TUTORIAL_3", + useLegacyCollisionPath = true + }, + JetpackPig = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "CHUCKPIG_IDLE", + spriteFlying = "CHUCKPIG_LAUNCH", + spriteCollision = "CHUCKPIG_DEAD", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "PIG_SCORE_10K", + spriteYell = "CHUCKPIG_HAPPY", + spriteBlink = "CHUCKPIG_BLINK", + spriteSpecial = "CHUCKPIG_YEET", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 16, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_boost", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOOST", + useLegacyCollisionPath = true + }, + BlackBird = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BIRD_GREY", + spriteFlying = "BIRD_GREY_FLYING", + spriteCollision = "BIRD_GREY_FLYING", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "10K_BLACK", + spriteYell = "BIRD_GREY_YELL", + spriteBlink = "BIRD_GREY_BLINK", + spriteSpecial1 = "BIRD_GREY_1", + spriteSpecial2 = "BIRD_GREY_2", + spriteSpecial3 = "BIRD_GREY_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 5, + particles = "blackBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "bird_04_collision", + launchSound = "bomb_launch", + specialSound = "tnt_explodes", + selectionSound = "bird_04_select", + unselectionSound = "bird_04_unselect", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, +BombPig = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BOMBPIG_IDLE", + spriteFlying = "BOMBPIG_LAUNCH", + spriteCollision = "BOMBPIG_IDLE", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BOMBPIG_HAPPY", + spriteBlink = "BOMBPIG_BLINK", + spriteSpecial1 = "BOMBPIG_1", + spriteSpecial2 = "BOMBPIG_2", + spriteSpecial3 = "BOMBPIG_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 12, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "tnt_explodes", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + useLegacyCollisionPath = true + }, + BasicBird2 = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_GREEN", + spriteFlying = "BIRD_GREEN_FLYING", + spriteCollision = "BIRD_GREEN_COLLISION", + spriteAction = "HUD_ICON_EGG", + spriteScore = "10K_WHITE", + spriteYell = "BIRD_GREEN_YELL", + spriteBlink = "BIRD_GREEN_BLINK", + spriteSpecial = "BIRD_GREEN_SPECIAL", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 4, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bomberBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "bird_05_flying", + specialSound = "special_egg", + selectionSound = "bird_05_select", + unselectionSound = "bird_05_unselect", + specialty = "GRENADE", + projectile = "EggGranade", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + EggGranade = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "DROPPABLE_EGG", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "eggShells" + }, + Harvey = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "HARVEY_IDLE", + spriteFlying = "HARVEY_LAUNCH", + spriteCollision = "HARVEY_DEAD", + spriteAction = "HARVEY_DERP", + spriteScore = "PIG_SCORE_10K", + spriteYell = "HARVEY_DERP", + spriteBlink = "HARVEY_DERP", + spriteSpecial = "HARVEY_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 20, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "COURTNEY", + projectile = "Courtney", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + Courtney = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "COURTNEY_FALL", + spriteCollision = "COURTNEY_DEAD", + density = 3, + damageFactors = "BlackBirdDamageFactors", + controllable = false, + strength = 60, + particles = "smokeBuff", + collisionSound = "piglette_destroyed", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + BowlingBallPig = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "WHITEPIG_IDLE", + spriteFlying = "WHITEPIG_LAUNCH", + spriteCollision = "WHITEPIG_DEAD_EGG", + spriteAction = "HUD_ICON_EGG", + spriteScore = "PIG_SCORE_10K", + spriteYell = "WHITEPIG_HAPPY", + spriteBlink = "WHITEPIG_BLINK", + spriteSpecial = "WHITEPIG_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 14, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "GRENADE", + projectile = "BowlingBall", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + useLegacyCollisionPath = true + }, + BowlingBall = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BOWLING_BALL", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + RedBigBird = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "BIRD_BIG_BROTHER", + spriteFlying = "BIRD_BIG_BROTHER", + spriteCollision = "BIRD_BIG_BROTHER", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_BIG_BROTHER_YELL", + spriteBlink = "BIRD_BIG_BROTHER_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 6, + particles = "bigBrotherBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "big_brother_flying", + specialSound = "big_brother_special", + selectionSound = "big_brother_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_7" + }, + BigBork = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "TRENCPIG_IDLE", + spriteFlying = "TRENCPIG_HAPPY", + spriteCollision = "TRENCPIG_BLINK", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "PIG_SCORE_10K", + spriteYell = "TRENCPIG_HAPPY", + spriteBlink = "TRENCPIG_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 17, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_2", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + }, + BoomerangBird = { + radius = 1.5, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_BOOMERANG", + spriteFlying = "BIRD_BOOMERANG", + spriteCollision = "BIRD_BOOMERANG_COLLISION", + spriteYell = "BIRD_BOOMERANG_YELL", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_BOOMERANG", + spriteBlink = "BIRD_BOOMERANG_BLINK", + spriteSpecial = "BIRD_BOOMERANG_SPECIAL", + allowRoll = true, + density = 3, + damageFactors = "BoomerangBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 7, + particles = "boomerangBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_06_flying", + specialSound = "boomerang_activate", + selectionSound = "boomerang_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOMERANG", + boomerangHorizontalForce = -50, + boomerangVerticalForce = -350, + boomerangMaxHorizontalSpeed = 50, + flyVerticalForce = -60, + tutorialInfo = "TUTORIAL_6" + }, + MightyEagleBird = { + radius = 5, + friction = 0.1, + type = "circle", + restitution = 0.05, + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + spriteFlying = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteCollision = "BIRD_MIGHTY_EAGLE_MOTION", + spriteAction = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteScore = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteYell = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteBlink = "BIRD_MIGHTY_EAGLE_RADIAL", + allowRoll = true, + density = 100, + damageFactors = "MightyEagleBirdDamageFactors", + controllable = true, + strength = 60000, + group = "birds", + groupIndex = 8, + particles = "smokeBuff", + particlesAmountLimits = {1, 1}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "", + specialSound = "", + selectionSound = "", + unselectionSound = "", + specialty = "MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + explosionRadius = 100, + explosionForce = 20000, + explosionDamageRadius = 100, + explosionDamage = 1, + z_order = 999, + collisionFunction = "mightyEagleCollision", + frozenFunction = "mightyEagleFrozen", + updateFunction = "updateMightyEagle", + collider_type = collider_types.mighty_eagle + }, + BaitSardine = { + friction = 0.25, + type = "box", + restitution = 0.05, + sprite = "BAIT_SARDINE", + spriteFlying = "BAIT_SARDINE", + spriteCollision = "BAIT_SARDINE", + spriteAction = "BAIT_SARDINE", + spriteScore = "BAIT_SARDINE", + spriteYell = "BAIT_SARDINE", + spriteBlink = "BAIT_SARDINE", + allowRoll = true, + density = 1, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "common", + strength = 1, + group = "birds", + groupIndex = 9, + particles = "", + particlesAmountLimits = {0, 0}, + particlesTrail = "redBirdTrail", + collisionSound = "sardine_can_physics_a2", + launchSound = "sardine_can_shot", + specialSound = "mighty_eagle_yell", + selectionSound = "", + destroyedSound = "light_destroyed", + unselectionSound = "", + specialty = "SUMMON_MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + collisionFunction = "mightyEagleBaitCollision", + frozenFunction = "mightyEagleBaitFrozen", + updateFunction = "updateMightyEagleBait", + timerFunction = "mightyEagleAndBaitTimerUpdate" + }, + GlobeBird = { + definition = "GlobeBird", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 10, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"orangeBuff", "smokeBuff"}, + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "GlobeBirdBig", + sprite = "BIRD_PUFFER_1", + spriteFlying = "BIRD_PUFFER_1", + spriteCollision = "BIRD_PUFFER_1", + spriteYell = "BIRD_PUFFER_YELL", + spriteAction = "BIRD_PUFFER_1", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_BLINK", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect" + }, + GlobeBirdBig = { + definition = "GlobeBirdBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 11, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "orangeBuff", + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BIRD_PUFFER_2", + spriteFlying = "BIRD_PUFFER_2", + spriteCollision = "BIRD_PUFFER_2", + spriteYell = "BIRD_PUFFER_2", + spriteAction = "BIRD_PUFFER_2", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_2", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + BalloonPig = { + definition = "BalloonPig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 18, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"smokeBuff", "smokeBuff"}, + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "BalloonPigBig", + sprite = "BALLOONPIG_IDLE", + spriteFlying = "BALLOONPIG_HAPPY", + spriteCollision = "BALLOONPIG_BLINK", + spriteYell = "BALLOONPIG_HAPPY", + spriteAction = "BALLOONPIG_IDLE", + spriteScore = "PIG_SCORE_10K", + spriteBlink = "BALLOONPIG_BLINK", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "globe_special", + selectionSound = "piglette", + unselectionSound = "piglette" + }, + BalloonPigBig = { + definition = "BalloonPigBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 19, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "smokeBuff", + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BALLOONPIG_GLOBE", + spriteFlying = "BALLOONPIG_GLOBE", + spriteCollision = "BALLOONPIG_GLOBE", + spriteYell = "BALLOONPIG_GLOBE", + spriteAction = "BALLOONPIG_GLOBE", + spriteScore = "10K_ORANGE", + spriteBlink = "BALLOONPIG_GLOBE", + collisionSound = "piglette_collision", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + SmallPiglette = { + radius = 1.075, + type = "circle", + sprite = "PIGLETTE_SMALL_01", + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 4, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 1, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_SMALL_01", + blinkSprite = "PIGLETTE_SMALL_01_BLINK", + smileSprite = "PIGLETTE_SMALL_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_SMALL_02", + blinkSprite = "PIGLETTE_SMALL_02_BLINK", + smileSprite = "PIGLETTE_SMALL_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_SMALL_03", + blinkSprite = "PIGLETTE_SMALL_03_BLINK", + smileSprite = "PIGLETTE_SMALL_03_SMILE", + max = 50, + min = -1000 + } + } + }, + MediumPiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_MEDIUM_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 10, + defence = 1, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 2, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_MEDIUM_01", + blinkSprite = "PIGLETTE_MEDIUM_01_BLINK", + smileSprite = "PIGLETTE_MEDIUM_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_MEDIUM_02", + blinkSprite = "PIGLETTE_MEDIUM_02_BLINK", + smileSprite = "PIGLETTE_MEDIUM_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_MEDIUM_03", + blinkSprite = "PIGLETTE_MEDIUM_03_BLINK", + smileSprite = "PIGLETTE_MEDIUM_03_SMILE", + max = 50, + min = -1000 + } + } + }, + HelmetPiglette = { + radius = 1.95, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_HELMET_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 15, + defence = 8, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 3, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_HELMET_01", + blinkSprite = "PIGLETTE_HELMET_01_BLINK", + smileSprite = "PIGLETTE_HELMET_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_HELMET_02", + blinkSprite = "PIGLETTE_HELMET_02_BLINK", + smileSprite = "PIGLETTE_HELMET_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_HELMET_03", + blinkSprite = "PIGLETTE_HELMET_03_BLINK", + smileSprite = "PIGLETTE_HELMET_03_SMILE", + max = 50, + min = -1000 + } + } + }, + LargePiglette = { + radius = 2.325, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_BIG_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 20, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 4, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_BIG_01", + blinkSprite = "PIGLETTE_BIG_01_BLINK", + smileSprite = "PIGLETTE_BIG_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_BIG_02", + blinkSprite = "PIGLETTE_BIG_02_BLINK", + smileSprite = "PIGLETTE_BIG_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_BIG_03", + blinkSprite = "PIGLETTE_BIG_03_BLINK", + smileSprite = "PIGLETTE_BIG_03_SMILE", + max = 50, + min = -1000 + } + } + }, + Porkarappa = { + radius = 2, + friction = 0.3, + type = "circle", + sprite = "PORKARAPPA_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 110, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 9, + damageSprites = { + damage1 = { + sprite = "PORKARAPPA_IDLE", + blinkSprite = "PORKARAPPA_BLINK", + smileSprite = "PORKARAPPA_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PORKARAPPA_HURT1_IDLE", + blinkSprite = "PORKARAPPA_HURT1_BLINK", + smileSprite = "PORKARAPPA_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PORKARAPPA_HURT2_IDLE", + blinkSprite = "PORKARAPPA_HURT2_BLINK", + smileSprite = "PORKARAPPA_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + HandsomePiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "HANDSOMEPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 8, + damageSprites = { + damage1 = { + sprite = "HANDSOMEPIG_IDLE", + blinkSprite = "HANDSOMEPIG_BLINK", + smileSprite = "HANDSOMEPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HANDSOMEPIG_HURT1_IDLE", + blinkSprite = "HANDSOMEPIG_HURT1_BLINK", + smileSprite = "HANDSOMEPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HANDSOMEPIG_HURT2_IDLE", + blinkSprite = "HANDSOMEPIG_HURT2_FIX", + smileSprite = "HANDSOMEPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + GrandpaPiglette = { + radius = 2.2, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_GRANDPA_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 30, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 5, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_GRANDPA_01", + blinkSprite = "PIGLETTE_GRANDPA_01_BLINK", + smileSprite = "PIGLETTE_GRANDPA_04_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_GRANDPA_02", + blinkSprite = "PIGLETTE_GRANDPA_02_BLINK", + smileSprite = "PIGLETTE_GRANDPA_05_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_GRANDPA_03", + blinkSprite = "PIGLETTE_GRANDPA_03_BLINK", + smileSprite = "PIGLETTE_GRANDPA_06_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPiglette = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 6, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPigletteBoss = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 5000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 10, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + FATPIG = { + radius = 7.5, + friction = 0.3, + type = "circle", + sprite = "FATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 1000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 11, + damageSprites = { + damage1 = { + sprite = "FATPIG_IDLE", + blinkSprite = "FAT_PIG_BLINK", + smileSprite = "FAT_PIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "FATPIG_HURT1_IDLE", + blinkSprite = "FATPIG_IDLE_BLINK", + smileSprite = "FATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "FATPIG_HURT2_IDLE", + blinkSprite = "FATPIG_HURT2_BLINK", + smileSprite = "FATPIG_HURT2_BLINK", + max = 50, + min = -1000 + } + } + }, + + HatPiglette = { + radius = 1.71, + friction = 0.3, + type = "circle", + sprite = "HATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 200, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "HATPIG_IDLE", + blinkSprite = "HATPIG_BLINK", + smileSprite = "HATPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HATPIG_HURT1_IDLE", + blinkSprite = "HATPIG_HURT1_BLINK", + smileSprite = "HATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HATPIG_HURT2_IDLE", + blinkSprite = "HATPIG_HURT2_BLINK", + smileSprite = "HATPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + + WoodBlock1 = { + type = "box", + sprite = "BLOCK_WOOD_1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 1, + strength = 20, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_1", + max = 25, + min = -1000 + } + } + }, + WoodBlock2 = { + type = "box", + sprite = "BLOCK_WOOD_1_2", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 2, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_2", + max = 25, + min = -1000 + } + } + }, + Log = { + type = "box", + sprite = "LOG", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 95, + strength = 60, + damageSprites = { + damage1 = { + sprite = "LOG", + max = 100, + min = 75 + }, + damage2 = { + sprite = "LOG", + max = 75, + min = 50 + }, + damage3 = { + sprite = "LOG_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "LOG_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock3 = { + type = "box", + sprite = "BLOCK_WOOD_1_3", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 3, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_3", + max = 25, + min = -1000 + } + } + }, + WoodBlock4 = { + type = "box", + sprite = "BLOCK_WOOD_1_4", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 4, + strength = 50, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock5 = { + type = "box", + sprite = "BLOCK_WOOD_1_5", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 5, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_5", + max = 25, + min = -1000 + } + } + }, + WoodBlock6 = { + type = "box", + sprite = "BLOCK_WOOD_1_6", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 6, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_6", + max = 25, + min = -1000 + } + } + }, + WoodBlock7 = { + type = "circle", + sprite = "BLOCK_WOOD_1_7", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 7, + strength = 200, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_7", + max = 25, + min = -1000 + } + } + }, + BP_TNT = { + type = "box", + sprite = "BP_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 116, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + RIO_TNT = { + type = "box", + sprite = "TNTPACKAGE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 121, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + BP_WOOD = { + type = "box", + sprite = "BP_WOOD", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 117, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BP_WOOD", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_WOODHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_WOODHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_WOODHURT2", + max = 25, + min = -1000 + } + } + }, + RIOCRATE = { + type = "box", + sprite = "RIOCRATE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 122, + strength = 200, + damageSprites = { + damage1 = { + sprite = "RIOCRATE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATE_HURT", + max = 25, + min = -1000 + } + } + }, + RIOCRATESMALL = { + type = "box", + sprite = "RIOCRATE_SMALL", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 123, + strength = 100, + damageSprites = { + damage1 = { + sprite = "RIOCRATE_SMALL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE_SMALL", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATESMALL_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATESMALL_HURT", + max = 25, + min = -1000 + } + } + }, + BP_METAL = { + type = "box", + sprite = "BP_METAL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 118, + radius = 0.9, + strength = 220, + damageSprites = { + damage1 = { + sprite = "BP_METAL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_METALHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_METALHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_METALHURT2", + max = 25, + min = -1000 + } + } + }, + WOODEN_TIRE = { + type = "circle", + sprite = "WOODEN_TIRE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 115, + strength = 200, + damageSprites = { + damage1 = { + sprite = "WOODEN_TIRE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "WOODEN_TIRE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "WOODEN_TIRE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "WOODEN_TIRE_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock8 = { + type = "circle", + sprite = "BLOCK_WOOD_1_8", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 8, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_8", + max = 25, + min = -1000 + } + } + }, + WoodBlock9 = { + type = "box", + sprite = "BLOCK_WOOD_4X4_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 9, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4X4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock10 = { + type = "box", + sprite = "BLOCK_WOOD_10X1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 10, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_10X1_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 11, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 12, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock1 = { + type = "box", + sprite = "BLOCK_ROCK_1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 1, + strength = 30, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_1", + max = 25, + min = -1000 + } + } + }, + StoneBlock2 = { + type = "box", + sprite = "BLOCK_ROCK_1_2", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 2, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_2", + max = 25, + min = -1000 + } + } + }, + StoneBlock3 = { + type = "box", + sprite = "BLOCK_ROCK_1_3", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 3, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_3", + max = 25, + min = -1000 + } + } + }, + StoneBlock4 = { + type = "box", + sprite = "BLOCK_ROCK_1_4", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 4, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock5 = { + type = "box", + sprite = "BLOCK_ROCK_1_5", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 5, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_5", + max = 25, + min = -1000 + } + } + }, + StoneBlock6 = { + type = "box", + sprite = "BLOCK_ROCK_1_6", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 6, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_6", + max = 25, + min = -1000 + } + } + }, + StoneBlock7 = { + type = "circle", + sprite = "BLOCK_ROCK_1_7", + controllable = false, + materialName = "rock", + group = "rockBlocks", + strength = 600, + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_7", + max = 25, + min = -1000 + } + } + }, + StoneBlock8 = { + type = "circle", + sprite = "BLOCK_ROCK_1_8", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 8, + strength = 300, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_8", + max = 25, + min = -1000 + } + } + }, + StoneBlock9 = { + type = "box", + sprite = "BLOCK_ROCK_4X4_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 9, + strength = 160, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4X4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock10 = { + type = "box", + sprite = "BLOCK_ROCK_10X1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 10, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_10X1_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 11, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 12, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + LightBlock1 = { + type = "box", + sprite = "BLOCK_LIGHT_1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 1, + strength = 13, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_1", + max = 25, + min = -1000 + } + } + }, + LightBlock2 = { + type = "box", + sprite = "BLOCK_LIGHT_1_2", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 2, + strength = 26, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_2", + max = 25, + min = -1000 + } + } + }, + LightBlock3 = { + type = "box", + sprite = "BLOCK_LIGHT_1_3", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 3, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_3", + max = 25, + min = -1000 + } + } + }, + LightBlock4 = { + type = "box", + sprite = "BLOCK_LIGHT_1_4", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 4, + strength = 33, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock5 = { + type = "box", + sprite = "BLOCK_LIGHT_1_5", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 5, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_5", + max = 25, + min = -1000 + } + } + }, + LightBlock6 = { + type = "box", + sprite = "BLOCK_LIGHT_1_6", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 6, + strength = 47, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_6", + max = 25, + min = -1000 + } + } + }, + LightBlock7 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_7", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 7, + strength = 125, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_7", + max = 25, + min = -1000 + } + } + }, + LightBlock8 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_8", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 8, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_8", + max = 25, + min = -1000 + } + } + }, + LightBlock9 = { + type = "box", + sprite = "BLOCK_LIGHT_4X4_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 9, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4X4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock10 = { + type = "box", + sprite = "BLOCK_LIGHT_10X1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 10, + strength = 65, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_10X1_4", + max = 25, + min = -1000 + } + } + }, + LightBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 11, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + LightBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 12, + strength = 48, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + DecorationSpotsTheme01_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_01", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme01_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_02", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme01_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_03", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme02_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_01", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme02_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_02", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme02_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_03", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme03_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_01", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme03_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_02", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme03_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_03", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSkull01 = { + type = "box", + sprite = "DECORATION_SKULL01", + materialName = "decoration", + group = "decorations", + groupIndex = 4 + }, + DecorationSkull02 = { + type = "box", + sprite = "DECORATION_SKULL02", + materialName = "decoration", + group = "decorations", + groupIndex = 5 + }, + DecorationBone01 = { + type = "box", + sprite = "DECORATION_BONE01", + materialName = "decoration", + group = "decorations", + groupIndex = 6 + }, + DecorationBone02 = { + type = "box", + sprite = "DECORATION_BONE02", + materialName = "decoration", + group = "decorations", + groupIndex = 7 + }, + DecorationBone03 = { + type = "box", + sprite = "DECORATION_BONE03", + materialName = "decoration", + group = "decorations", + groupIndex = 8 + }, + DecorationBone04 = { + type = "box", + sprite = "DECORATION_BONE04", + materialName = "decoration", + group = "decorations", + groupIndex = 9 + }, + DecorationBoneSet01 = { + type = "box", + sprite = "DECORATION_BONESET01", + materialName = "decoration", + group = "decorations", + groupIndex = 10 + }, + DecorationBoneSet02 = { + type = "box", + sprite = "DECORATION_BONESET02", + materialName = "decoration", + group = "decorations", + groupIndex = 11 + }, + DecorationEstrade01 = { + type = "box", + sprite = "ESTRADE_FLAG", + materialName = "decoration", + group = "decorations", + groupIndex = 12 + }, + DecorationEstrade02 = { + type = "box", + sprite = "ESTRADE_THEATER", + materialName = "decoration", + group = "decorations", + groupIndex = 13 + }, + StaticBlockTheme01_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme01_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme01_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme01_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme01_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme01_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme02_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme02_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme02_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme02_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme02_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme02_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme03_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme03_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme03_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme03_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme03_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme03_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme04_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme04_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme04_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme04_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme04_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme04_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme05_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme05_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme05_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme05_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme05_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme05_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme06_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme06_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme06_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme06_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme06_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme06_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme07_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme07_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme07_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme07_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme07_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme07_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme08_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme08_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme08_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme08_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme08_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme08_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme09_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme09_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme09_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme09_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme09_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme09_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme10_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme10_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme10_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme10_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme10_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme10_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme11_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme11_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme11_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme11_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme11_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme11_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme12_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme12_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme12_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme12_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme12_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme12_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme13_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme13_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme13_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme13_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme13_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme13_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme14_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme14_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme14_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme14_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme14_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme14_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme15_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme15_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme15_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme15_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme15_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme15_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme16_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme16_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme16_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme16_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme16_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme16_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme17_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme17_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme17_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme17_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme17_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme17_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme18_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme18_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme18_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme18_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme18_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme18_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + ShootingPlatform01 = { + type = "box", + sprite = "SHOOTING_PLATFORM", + materialName = "immovable", + group = "platforms", + groupIndex = 1 + }, + Estrade01 = { + type = "box", + sprite = "ESTRADE_01", + materialName = "immovable", + group = "platforms", + groupIndex = 2 + }, + Estrade02 = { + type = "box", + sprite = "ESTRADE_02", + materialName = "immovable", + group = "platforms", + groupIndex = 3 + }, + Estrade03 = { + type = "box", + sprite = "ESTRADE_03", + materialName = "immovable", + group = "platforms", + groupIndex = 4 + }, + Estrade04 = { + type = "box", + sprite = "ESTRADE_04", + materialName = "immovable", + group = "platforms", + groupIndex = 5 + }, + ExtraBlockToilet = { + type = "box", + sprite = "BLOCK_EXTRA_TOILET", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 1 + }, + ExtraBlockFlag01 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 2 + }, + Krabby_Patty = { + type = "box", + sprite = "KRABBYPATTY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 97 + }, + PRINGLES = { + type = "box", + sprite = "PRINGLES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 98 + }, + ENGINE = { + type = "box", + sprite = "BP_ENGINE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 119 + }, + FRIES = { + type = "box", + sprite = "FRIES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 99 + }, + LUNCHBOX = { + type = "box", + sprite = "LUNCHBOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 100 + }, + CHIPS = { + type = "box", + sprite = "CHIPS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 101 + }, + GOLD_DONUT = { + type = "circle", + sprite = "GOLD_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + strength = 60, + groupIndex = 102 + }, + BP_GEAR = { + type = "circle", + sprite = "BP_GEAR", + controllable = false, + materialName = "extras", + group = "extras", + strength = 70, + groupIndex = 120 + }, + PIZZABOX = { + type = "box", + sprite = "PIZZABOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 103 + }, + PIZZABOX_STACK = { + type = "box", + sprite = "PIZZABOX_STACK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 104 + }, + KETCHUP = { + type = "box", + sprite = "KETCHUP", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 105 + }, + MUSTARD = { + type = "box", + sprite = "MUSTARD", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 106 + }, + RADIO = { + type = "box", + sprite = "RADIO", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 111 + }, + MICROPHONE = { + type = "box", + sprite = "MICROPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 112 + }, + ExtraBlockFlag02 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 3 + }, + ExtraBlockTNT = { + type = "box", + sprite = "BLOCK_EXTRA_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 4, + strength = 10, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + HardTNT = { + type = "box", + sprite = "HARDTNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 96, + strength = 75, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + ExtraBlockDice = { + type = "box", + sprite = "BLOCK_EXTRA_DICE_6", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 5, + strength = 30, + defence = 1, + damageSprites = { + damage1 = { + sprite = "BLOCK_EXTRA_DICE_6", + max = 100, + min = 84 + }, + damage2 = { + sprite = "BLOCK_EXTRA_DICE_5", + max = 84, + min = 68 + }, + damage3 = { + sprite = "BLOCK_EXTRA_DICE_4", + max = 68, + min = 52 + }, + damage4 = { + sprite = "BLOCK_EXTRA_DICE_3", + max = 52, + min = 36 + }, + damage5 = { + sprite = "BLOCK_EXTRA_DICE_2", + max = 36, + min = 20 + }, + damage6 = { + sprite = "BLOCK_EXTRA_DICE_1", + max = 20, + min = -1000 + } + } + }, + ExtraBlockStairs = { + type = "box", + sprite = "ESTRADE_STAIRS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 6 + }, + SpecialBlockSwing = { + type = "box", + sprite = "SWING_HOLDER_01", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 7 + }, + SpecialBlockStart = { + type = "box", + sprite = "SWING_BASKET_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 8, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleYellow = { + type = "box", + sprite = "POLE_YELLOW", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 9, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleRed = { + type = "box", + sprite = "POLE_RED", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 10, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraTire01 = { + type = "circle", + sprite = "BLOCK_TIRE_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 11, + strength = 200 + }, + ExtraTire02 = { + type = "circle", + sprite = "BLOCK_TIRE_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 12, + strength = 200 + }, + ExtraTire03 = { + type = "circle", + sprite = "BLOCK_TIRE_03", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 13, + strength = 200 + }, + ExtraDonut01 = { + type = "circle", + sprite = "BLOCK_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 14, + strength = 50 + }, + Hay = { + type = "circle", + sprite = "HAY", + radius = 2.8, + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 125, + strength = 75 + }, + WOODEN_NOSE = { + type = "circle", + sprite = "WOODEN_NOSE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 126, + strength = 85 + }, + TRACTOR_TIRE = { + type = "circle", + sprite = "TRACTOR_TIRE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 127, + strength = 70 + }, + WOODEN_ARROW = { + type = "box", + sprite = "WOOD_ARROW", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 128, + strength = 125 + }, + SCOPE = { + type = "box", + sprite = "SCOPE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 129, + strength = 50 + }, + MEGAPHONE = { + type = "box", + sprite = "MEGAPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 130, + strength = 50 + }, + ExtraMelon = { + type = "circle", + sprite = "BLOCK_WATERMELON", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 15, + strength = 40 + }, + ExtraHam = { + type = "circle", + sprite = "BLOCK_HAM", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 16, + strength = 60 + }, + ExtraApple = { + type = "circle", + sprite = "BLOCK_APPLE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 17, + strength = 30 + }, + ExtraStrawberry = { + type = "circle", + sprite = "BLOCK_STRAWBERRY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 18, + strength = 30 + }, + ExtraBanana = { + type = "box", + sprite = "BLOCK_BANANA", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 19, + strength = 30 + }, + ExtraTreasureChest = { + type = "box", + sprite = "BLOCK_TREASURE_CHEST", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 20, + strength = 20 + }, + ExtraPillar = { + type = "box", + sprite = "BLOCK_PILLAR", + controllable = false, + density = 10, + defence = 40, + materialName = "extras", + group = "extras", + groupIndex = 21, + strength = 120 + }, + ExtraBeachBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 22, + strength = 15 + }, + ExtraBlockSmiley = { + type = "circle", + sprite = "BLOCK_SMILEY_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 23, + strength = 25, + damageSprites = { + damage1 = { + sprite = "BLOCK_SMILEY_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "BLOCK_SMILEY_3", + max = 50, + min = -1000 + } + } + }, + ExtraHolyGrail = { + type = "box", + sprite = "BLOCK_HOLYGRAIL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 24, + strength = 25 + }, + ExtraDiamond = { + type = "circle", + sprite = "BLOCK_DIAMOND", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 25, + strength = 25 + }, + ExtraRubberDuck = { + type = "circle", + sprite = "BLOCK_RUBBERDUCK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 26, + strength = 25 + }, + ExtraStolenEgg = { + type = "circle", + sprite = "BLOCK_STOLEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 27, + strength = 2000, + defence = 20000 + }, + ExtraStrongBall = { + type = "circle", + sprite = "BLOCK_STEEL_BALL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 28, + strength = 5000, + defence = 2000 + }, + ExtraRubberBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "rubber", + group = "extras", + groupIndex = 29, + defence = 50, + strength = 1000, + restitution = 1.1 + }, + ExtraTrampoline = { + type = "circle", + sprite = "BLOCK_SUPER_BALL", + materialName = "rubber", + group = "extras", + groupIndex = 30, + defence = 1000, + strength = 1000, + restitution = 5.5 + }, + ExtraBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + density = 8, + materialName = "extras", + group = "extras", + groupIndex = 31, + strength = 3000, + defence = 2000 + }, + ExtraTrampoline2 = { + type = "box", + sprite = "BLOCK_TRAMPOLINE_01", + materialName = "immovableRubber", + group = "extras", + groupIndex = 32, + defence = 1000, + strength = 1000, + restitution = 1.1 + }, + ExtraGoldenEgg = { + type = "circle", + sprite = "BLOCK_GOLDEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 33, + strength = 5, + defence = 1 + }, + ExtraRopeThick01 = { + type = "box", + sprite = "BLOCK_ROPE_THICK_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 34, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin01 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 35, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin02 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_2", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 36, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraBoomerangBird = { + radius = 1.1, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BOOMERANG", + density = 8, + materialName = "immovable", + group = "extras", + groupIndex = 37, + strength = 1000000, + defence = 1000000 + }, + BlockCarpet = { + type = "box", + sprite = "BLOCK_CARPET", + materialName = "extras", + group = "extras", + groupIndex = 38 + }, + ExtraHelmetSmall = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_SMALL", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 39, + defence = 300, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetSmall2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BLOCK_RUBBERDUCK", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 40, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BIG", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 41, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BIRD_BOOMERANG_STILL", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 42, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBoss = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BOSS", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 43, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraCowboyHelmet_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_BIG_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 44, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + COOLHAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COOLHAT", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 113, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCowboyHelmetSmall_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_SMALL_1", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 45, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + MECHANIC_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MECHANIC_HAT", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 114, + defence = 20, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_1 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 46, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_2 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_2", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 47, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraBanditoHat_1 = { + type = "polygon", + vertices = { + {x = 0.4, y = 0.3}, + {x = 0.45, y = 0.2}, + {x = 0.55, y = 0.2}, + {x = 0.6, y = 0.3}, + {x = 0.6, y = 0.7}, + {x = 0.4, y = 0.7} + }, + sprite = "BANDITO_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 48, + defence = 30, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSuperBowl = { + type = "circle", + sprite = "B_EGG_SUPER_BOWL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 49, + strength = 5, + defence = 1, + density = 0 + }, + StaticFragileBlock01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 1, + destroyedScoreInc = 50 + }, + StaticFragileBlock02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 2, + destroyedScoreInc = 50 + }, + StaticFragileBlock03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 3, + destroyedScoreInc = 50 + }, + StaticFragileBlock04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 4, + destroyedScoreInc = 50 + }, + StaticFragileBlock05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 5, + destroyedScoreInc = 50 + }, + StaticFragileBlock06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 6, + destroyedScoreInc = 50 + }, + StaticBalloon01 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 1, + destroyedScoreInc = 100 + }, + StaticBalloon02 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 2, + destroyedScoreInc = 100 + }, + StaticBalloon03 = { + type = "box", + sprite = "BLOCK_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 3, + destroyedScoreInc = 100 + }, + StaticBalloon04 = { + type = "box", + sprite = "BLOCK_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 4, + destroyedScoreInc = 100 + }, + StaticBalloon05 = { + type = "box", + sprite = "BLOCK_BALLOON_3", + materialName = "clouds", + group = "clouds", + groupIndex = 5, + destroyedScoreInc = 100 + }, + StaticCloud01 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 6 + }, + StaticCloud02 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 7 + }, + StaticCloud03 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 8 + }, + StaticCloud04 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 9 + }, + BUSH_1 = { + type = "box", + sprite = "BUSH_1", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 107 + }, + SIGN_1 = { + type = "box", + sprite = "SIGN_HEAD", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 124 + }, + SIGN_2 = { + type = "box", + sprite = "SIGN_BASE", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 131 + }, + BUSH_2 = { + type = "box", + sprite = "BUSH_2", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 108 + }, + BUSH_3 = { + type = "box", + sprite = "BUSH_3", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 109 + }, + BUSH_4 = { + type = "box", + sprite = "BUSH_4", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 110 + }, + Ground = { + type = "box", + sprite = "", + texture = "", + theme = "", + materialName = "staticGround", + group = "", + groupIndex = 1 + }, + ExtraCaveHat_1 = { + type = "box", + width = 1, + height = 0.5, + sprite = "CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 50, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_2 = { + type = "box", + width = 2, + height = 1.6, + sprite = "CAVE_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 51, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_3 = { + type = "box", + width = 2, + height = 1.5, + sprite = "CAVE_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 52, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraKingCaveHat_1 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "KING_CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 53, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_1 = { + type = "box", + width = 1.2, + height = 4.7, + sprite = "CAVE_SHOVEL_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 54, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_2 = { + type = "box", + width = 0.8, + height = 2.5, + sprite = "CAVE_SHOVEL_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 55, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_1 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 56, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_2 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 57, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraAmethyst = { + type = "box", + width = 2, + height = 1.6, + sprite = "BLOCK_AMETHYST", + materialName = "amethyst", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 58, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMETHYST_1" + }, + ExtraRuby = { + type = "box", + width = 1.3, + height = 2, + sprite = "BLOCK_RUBY", + materialName = "ruby", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 59, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_RUBY_1" + }, + ExtraAmber = { + type = "circle", + radius = 1, + sprite = "BLOCK_AMBER", + materialName = "amber", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 60, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + ExtraStalaktite_1 = { + type = "box", + width = 3, + height = 13.9, + sprite = "BLOCK_STALAKTITE_1", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 61, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_2 = { + type = "box", + width = 1, + height = 12.5, + sprite = "BLOCK_STALAKTITE_2", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 62, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_3 = { + type = "box", + width = 1.8, + height = 17.1, + sprite = "BLOCK_STALAKTITE_3", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 63, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip1 = { + type = "box", + width = 0.6, + height = 5, + sprite = "BLOCK_STALAKTITE_TIP_1", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 64, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip2 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_2", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 65, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip3 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_3", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 66, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip4 = { + type = "box", + width = 0.6, + height = 6, + sprite = "BLOCK_STALAKTITE_TIP_4", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 67, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayBalloon_1 = { + type = "circle", + radius = 1.2, + sprite = "BLOCK_BALLOON_BDAY", + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + strength = 10, + destroyedScoreInc = 500, + z_order = 5, + group = "extras", + groupIndex = 68 + }, + PartyHat_1 = { + type = "box", + width = 1.5, + height = 1.7, + sprite = "PARTY_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 69, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_2 = { + type = "box", + width = 1.6, + height = 1.7, + sprite = "PARTY_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 70, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_3 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 71, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_4 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_4", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 72, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayCandle_1 = { + type = "box", + width = 0.6, + height = 2.3, + sprite = "BDAY_CANDLE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 73, + defence = 10, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 500 + }, + BirthdayCake_1 = { + type = "box", + width = 2.5, + height = 2.9, + sprite = "CHOCO_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 74, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake1Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_2 = { + type = "box", + width = 3, + height = 3.8, + sprite = "PINK_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 75, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake2Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_3 = { + type = "box", + width = 4, + height = 2.2, + sprite = "MINT_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 76, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 100 + }, + BirthdayBalloon_2 = { + sprite = "BLOCK_BALLOON_1", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 77 + }, + BirthdayBalloon_3 = { + sprite = "BLOCK_BALLOON_2", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 78 + }, + BirthdayBalloon_4 = { + sprite = "BLOCK_BALLOON_3", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 79 + }, + SPECIAL_CAKE_1 = { + type = "box", + width = 2, + height = 2, + sprite = "SPECIAL_CAKE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 80, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + destroyedScoreInc = 100 + }, + MISC_FB_NET = { + type = "box", + sprite = "MISC_FB_NET_1", + materialName = "light", + group = "extras", + groupIndex = 71, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_NET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_NET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_NET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_STICK = { + type = "box", + sprite = "MISC_FB_STICK_1", + materialName = "wood", + group = "extras", + groupIndex = 72, + controllable = false, + density = 0.1, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_STICK_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_STICK_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_STICK_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_ROD = { + type = "box", + sprite = "MISC_FB_ROD_1", + materialName = "wood", + group = "extras", + groupIndex = 73, + controllable = false, + density = 0.001, + friction = 1, + defence = 10, + strength = 10, + restitution = 0, + z_order = 0, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_ROD_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_ROD_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_HAT = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 74, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAT_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_GLASSES = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.1, y = 0.7} + }, + sprite = "MISC_FB_GLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 75, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_GLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_GLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_GLASSES_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BUCKET = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.9, y = 0.3}, + {x = 0.8, y = 0.95}, + {x = 0.2, y = 0.95} + }, + sprite = "MISC_FB_BUCKET_1", + materialName = "light", + group = "extras", + groupIndex = 76, + controllable = false, + strength = 4, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BUCKET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BUCKET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BUCKET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SHOVEL = { + type = "box", + sprite = "MISC_FB_SHOVEL_1", + materialName = "light", + group = "extras", + groupIndex = 77, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SHOVEL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SHOVEL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SHOVEL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CASTLE = { + type = "box", + sprite = "MISC_FB_CASTLE_1", + materialName = "wood", + group = "extras", + groupIndex = 78, + controllable = false, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CASTLE_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CASTLE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TAPE = { + type = "box", + sprite = "MISC_FB_TAPE_1", + materialName = "extras", + group = "extras", + groupIndex = 79, + controllable = false, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + MISC_FB_HAMMER = { + type = "box", + sprite = "MISC_FB_HAMMER_1", + materialName = "rock", + group = "extras", + groupIndex = 80, + controllable = false, + density = 0.2, + friction = 1, + defence = 30, + strength = 20, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAMMER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_HAMMER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAMMER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CONE = { + type = "box", + sprite = "MISC_FB_CONE_1", + materialName = "wood", + group = "extras", + groupIndex = 81, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CONE_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_CONE_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CONE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_TOP = { + type = "box", + sprite = "MISC_FB_UMBRELLA_TOP_1", + materialName = "wood", + group = "extras", + groupIndex = 82, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_TOP_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_TOP_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_TOP_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_BOTTOM = { + type = "box", + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + materialName = "wood", + group = "extras", + groupIndex = 83, + controllable = false, + density = 0.01, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BARREL = { + type = "box", + sprite = "MISC_FB_BARREL_1", + materialName = "wood", + group = "extras", + groupIndex = 84, + controllable = false, + strength = 80, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BARREL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BARREL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BARREL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BOBBER = { + type = "box", + sprite = "MISC_FB_BOBBER_1", + materialName = "light", + group = "extras", + groupIndex = 85, + controllable = false, + strength = 5, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BOBBER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BOBBER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BOBBER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SMALL_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MISC_FB_SMALL_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 86, + controllable = false, + density = 0.3, + friction = 1, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SMALL_HAT_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SMALL_HAT_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SMALL_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TINYGLASSES = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_TINYGLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 87, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_TINYGLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_TINYGLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_TINYGLASSES_3", + max = 50, + min = 0 + } + } + }, + HORSE_BASE = { + type = "box", + sprite = "BLOCK_HORSE_BASE", + materialName = "extras", + group = "extras", + groupIndex = 88, + controllable = false, + strength = 80 + }, + BLOCK_GREEN_GOGGLES = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_GOGGLES", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 89, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_PILOTHELMET = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_PILOTHELMET", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 90, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_SPANNER_2 = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 91, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + GoldenSpanner = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_GOLDEN", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 92, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + BLOCK_GREEN_OILCANISTER = { + type = "box", + width = 1.5, + height = 2.7, + sprite = "BLOCK_GREEN_OILCANISTER", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 93, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_BAG = { + type = "circle", + radius = 1.3, + sprite = "BLOCK_GREEN_BAG", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 94, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + } + +} +filename = "blocks.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/brocks.lua.bak b/Angry Birds Project R/0.2.0/data/scripts/brocks.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..63aecc4048a2183e8f986ee807969ef2ffc88855 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/brocks.lua.bak @@ -0,0 +1,7148 @@ +collider_types = { + default = 0, + mighty_eagle = 1, + immovable = 2, + wind = 3 +} +shape_types = { + box = 0, + circle = 1, + polygon = 2 +} +materials = { + balloon = { + strength = 30, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + z_order = 1, + particles = "smokeBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "balloon_pop", + forceY = -30, + forceX = -1 + }, + wood = { + strength = 60, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + particles = "woodenBuff", + collisionSound = "wood_collision", + damageSound = "wood_damage", + destroyedSound = "wood_destroyed", + rollingSound = "wood_rolling" + }, + rock = { + strength = 120, + defence = 15, + friction = 4, + restitution = 0.1, + density = 4, + controllable = false, + particles = "rockBuff", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed", + rollingSound = "rock_rolling" + }, + light = { + strength = 40, + defence = 2, + friction = 0.7, + restitution = 0.2, + density = 0.75, + controllable = false, + particles = "lightBuff", + collisionSound = "light_collision", + damageSound = "light_damage", + destroyedSound = "light_destroyed", + rollingSound = "light_rolling" + }, + piglette = { + strength = 10, + defence = 1, + friction = 0.7, + restitution = 0.05, + density = 2, + controllable = false, + particles = "smokeBuff", + collisionSound = "piglette_collision", + damageSound = "piglette_damage", + destroyedSound = "piglette_destroyed" + }, + staticGround = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision" + }, + immovable = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + collider_type = collider_types.immovable + }, + immovableFragile = { + strength = 2, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "", + collisionSound = "ground_collision" + }, + clouds = { + strength = 0.1, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "balloon_pop" + }, + immovableRubber = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "trampoline" + }, + extras = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "wood damage a1" + }, + halloween = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + 5, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "halloween_destroyed" + }, + pumpkin = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "pumpkin_destroyed" + }, + lantern = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "flameBuff", + collisionSound = "light_collision", + destroyedSound = "lantern_break_a1" + }, + rubber = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ball_bounce" + }, + decoration = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false + }, + common = { + strength = 1, + defence = 1, + friction = 0.7, + restitution = 0.2, + density = 0.75, + particles = "lightBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "" + }, + stalaktite = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed" + }, + stalaktite_tip = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "stalaktite_break" + }, + amber = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amberBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + ruby = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "rubyBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + amethyst = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amethystBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + cake = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "birthday_cake" + }, + wind = { + friction = 0, + restitution = 0, + density = 0, + controllable = false, + collider_type = collider_types.wind + } +} +themes = { + settings = {keyCode = "T", themeAmount = 9}, + theme1 = { + index = 1, + music = "ambient_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_1_LAYER_1", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.6, + 2.9 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 146, + g = 204, + b = 222 + }, + groundColor = { + r = 14, + g = 74, + b = 95 + } + }, + theme5 = { + index = 9, + music = "ambient_theme3", + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES" + }, + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + theme2 = { + index = 2, + music = "ambient_theme2", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme2boss = { + index = 3, + music = "pig_boss_1", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme23 = { + index = 4, + music = "pig_boss_2", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme19 = { + index = 6, + music = "beach_ambience", + graphicSetName = { + "THEME_12", + "THEME_12_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_12_THEME_GROUND_12", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_12_LAYER_1", + 0.1, + 1.3 + }, + { + "", + "BACKGROUND_12_LAYER_3", + 0.25, + 1.25 + }, + { + "", + "THEME_12_BG_LAYER_1", + 0.25, + 1.25, + true + } + }, + fgLayers = { + { + "", + "FOREGROUND_12_LAYER_1" + } + }, + color = { + r = 4, + g = 56, + b = 123 + }, + groundColor = { + r = 234, + g = 238, + b = 132 + }, + mainMenuScale = 1.5 + }, + theme20 = { + index = 7, + music = "ambience_waterfall", + graphicSetName = { + "THEME_13", + "THEME_13_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_13_THEME_GROUND_13", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_13_LAYER_1", + 0.1, + 1.5 + }, + { + "", + "BACKGROUND_13_LAYER_3", + 0.25, + 2, + false, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_2", + 0.375, + 2, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_5", + 0.65, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_13_LAYER_1" + } + }, + color = { + r = 248, + g = 114, + b = 98 + }, + groundColor = { + r = 34, + g = 68, + b = 0 + }, + mainMenuScale = 2 + }, + theme21 = { + index = 8, + music = "rain_ambience", + graphicSetName = {"THEME_15", "BLOCKS_FB"}, + texture = "THEME_15_THEME_GROUND_15", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_15", + 0.125, + 2 + }, + { + rect = { + r = 255, + g = 255, + b = 255, + a = 0 + } + }, + { + "", + "THEME_15_BG_LAYER_1", + 0.25, + 2 + }, + { + "", + "THEME_15_MASK", + 0.25, + 2 + }, + { + "", + "THEME_15_BG_LAYER_2", + 0.45, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_15_LAYER_1" + }, + { + "", + "FOREGROUND_15_LAYER_2", + 1.2 + } + }, + effects = { + { + type = "Thunder", + params = { + flash_layers = {2}, + shadow_layers = {4} + } + } + }, + color = { + r = 34, + g = 17, + b = 87 + }, + groundColor = { + r = 17, + g = 17, + b = 34 + }, + mainMenuScale = 2.5 + }, + theme22 = { + index = 999, + music = "beach_ambience", + graphicSetName = { + "THEME_14", + "BLOCKS_ABLAND" + }, + texture = "THEME_14_THEME_GROUND_14", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_16_LAYER_1", + 1.0E-5, + 1.5 + }, + { + "", + "THEME_14_BG_SUN", + 0, + 1 + }, + { + "", + "THEME_14_BG_LAYER_4_2", + 0.1, + 1, + v = 80 + }, + { + "", + "THEME_14_BG_LAYER_4", + 0.1, + 1.2, + v = 180 + }, + { + "", + "THEME_14_BG_LAYER_3", + 0.2, + 0.8 + }, + { + "", + "THEME_14_BG_LAYER_2", + 0.4, + 1.1 + }, + { + "", + "THEME_14_BG_LAYER_1", + 0.65, + 1 + }, + { + "", + "THEME_14_BG_LAYER_1_2", + 0.9, + 1 + } + }, + fgLayers = { + { + "", + "FOREGROUND_16_LAYER_1" + } + }, + color = { + r = 173, + g = 210, + b = 222 + }, + groundColor = { + r = 17, + g = 17, + b = 17 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + } +} +groups = { + staticBlocks = { + keyUp = "X", + keyDown = "Z", + firstIndex = 1, + lastIndex = 6 + }, + rockBlocks = { + keyUp = "2", + keyDown = "1", + firstIndex = 1, + lastIndex = 12 + }, + woodBlocks = { + keyUp = "W", + keyDown = "Q", + firstIndex = 1, + lastIndex = 12 + }, + lightBlocks = { + keyUp = "S", + keyDown = "A", + firstIndex = 1, + lastIndex = 12 + }, + birds = { + keyUp = "4", + keyDown = "3", + firstIndex = 1, + lastIndex = 20 + }, + piglettes = { + keyUp = "R", + keyDown = "E", + firstIndex = 1, + lastIndex = 11 + }, + extras = { + keyUp = "6", + keyDown = "5", + firstIndex = 1, + lastIndex = 131 + }, + decorations = { + keyUp = "V", + keyDown = "C", + firstIndex = 1, + lastIndex = 13 + }, + platforms = { + keyUp = "Y", + keyDown = "T", + firstIndex = 1, + lastIndex = 5 + }, + staticFragile = { + keyUp = "N", + keyDown = "M", + firstIndex = 1, + lastIndex = 6 + }, + clouds = { + keyUp = "H", + keyDown = "J", + firstIndex = 1, + lastIndex = 9 + }, + winds = { + keyUp = "I", + keyDown = "U", + firstIndex = 1, + lastIndex = 2 + } +} +damageFactors = { + DefaultDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlueBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 2.9, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1.9, + immovable = 1 + } + }, + YellowBirdDamageFactors = { + damageMultiplier = { + wood = 2.4, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlackBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 4, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + RedBigBirdDamageFactors = { + damageMultiplier = { + wood = 0.3, + rock = 0.3, + light = 0.3, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.8, + rock = 1.8, + light = 1.8, + immovable = 1 + } + }, + BoomerangBirdDamageFactors = { + damageMultiplier = { + wood = 1.6, + rock = 0.8, + light = 1.4, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.3, + rock = 1, + light = 1.3, + immovable = 1 + } + }, + GlobeBirdDamageFactors = { + damageMultiplier = { + wood = 3, + rock = 1.5, + light = 3, + immovable = 0, + staticGround = 0, + snowStaticFragile = 5 + }, + velocityMultiplier = { + wood = 4, + rock = 4, + light = 4, + immovable = 1 + } + }, + GlobeBirdBigDamageFactors = { + damageMultiplier = { + wood = 0, + rock = 0, + light = 0, + immovable = 0, + staticGround = 0, + snowStaticFragile = 0 + }, + velocityMultiplier = { + wood = 2, + rock = 2, + light = 2, + immovable = 1 + } + }, + MightyEagleBirdDamageFactors = { + damageMultiplier = { + wood = 1000000, + rock = 1000000, + light = 1000000, + immovable = 1000000, + staticGround = 0 + }, + velocityMultiplier = { + wood = 555, + rock = 555, + light = 555, + immovable = 555 + } + } +} +blocks = { + SmallBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + spriteFlying = "BIRD_BLUE", + spriteCollision = "BIRD_BLUE_COLLISION", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "10K_BLUE", + spriteYell = "BIRD_BLUE_YELL", + spriteBlink = "BIRD_BLUE_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 2, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_02_collision", + launchSound = "bird_02_flying", + specialSound = "special_group", + selectionSound = "bird_02_select", + unselectionSound = "bird_02_unselect", + specialty = "CLUSTER_BOMB", + tutorialInfo = "TUTORIAL_2", + useLegacyCollisionPath = true + }, + SmallPig = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BLUEPIG_IDLE", + spriteFlying = "BLUEPIG_HAPPY", + spriteCollision = "BLUEPIG_BLINK", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BLUEPIG_HAPPY", + spriteBlink = "BLUEPIG_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 15, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_group", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "CLUSTER_BOMB", + useLegacyCollisionPath = true + }, + RedBird = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "BIRD_RED", + spriteFlying = "BIRD_RED_FLYING", + spriteCollision = "BIRD_RED_COLLISION", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_RED_YELL", + spriteBlink = "BIRD_RED_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 1, + particles = "redBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "bird_01_collision", + launchSound = "bird_01_flying", + specialSound = "red_special", + selectionSound = "bird_01_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_1", + useLegacyCollisionPath = true + }, + RedPig = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "REDPIG_IDLE", + spriteFlying = "REDPIG_LAUNCH", + spriteCollision = "REDPIG_DEAD", + spriteAction = "REDPIG_LAUNCH", + spriteScore = "PIG_SCORE_10K", + spriteYell = "REDPIG_HAPPY", + spriteBlink = "REDPIG_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 13, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_1", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + useLegacyCollisionPath = true + }, + YellowBird = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_YELLOW", + spriteFlying = "BIRD_YELLOW_FLYING", + spriteCollision = "BIRD_YELLOW_COLLISION", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_YELLOW", + spriteYell = "BIRD_YELLOW_YELL", + spriteBlink = "BIRD_YELLOW_BLINK", + spriteSpecial = "BIRD_YELLOW_SPECIAL", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 3, + particles = "yellowBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_03_flying", + specialSound = "special_boost", + selectionSound = "bird_03_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOST", + tutorialInfo = "TUTORIAL_3", + useLegacyCollisionPath = true + }, + JetpackPig = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "CHUCKPIG_IDLE", + spriteFlying = "CHUCKPIG_LAUNCH", + spriteCollision = "CHUCKPIG_DEAD", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "PIG_SCORE_10K", + spriteYell = "CHUCKPIG_HAPPY", + spriteBlink = "CHUCKPIG_BLINK", + spriteSpecial = "CHUCKPIG_YEET", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 16, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_boost", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOOST", + useLegacyCollisionPath = true + }, + BlackBird = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BIRD_GREY", + spriteFlying = "BIRD_GREY_FLYING", + spriteCollision = "BIRD_GREY_FLYING", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "10K_BLACK", + spriteYell = "BIRD_GREY_YELL", + spriteBlink = "BIRD_GREY_BLINK", + spriteSpecial1 = "BIRD_GREY_1", + spriteSpecial2 = "BIRD_GREY_2", + spriteSpecial3 = "BIRD_GREY_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 5, + particles = "blackBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "bird_04_collision", + launchSound = "bomb_launch", + specialSound = "tnt_explodes", + selectionSound = "bird_04_select", + unselectionSound = "bird_04_unselect", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, +BombPig = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BOMBPIG_IDLE", + spriteFlying = "BOMBPIG_LAUNCH", + spriteCollision = "BOMBPIG_IDLE", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BOMBPIG_HAPPY", + spriteBlink = "BOMBPIG_BLINK", + spriteSpecial1 = "BOMBPIG_1", + spriteSpecial2 = "BOMBPIG_2", + spriteSpecial3 = "BOMBPIG_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 12, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "tnt_explodes", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + useLegacyCollisionPath = true + }, + BasicBird2 = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_GREEN", + spriteFlying = "BIRD_GREEN_FLYING", + spriteCollision = "BIRD_GREEN_COLLISION", + spriteAction = "HUD_ICON_EGG", + spriteScore = "10K_WHITE", + spriteYell = "BIRD_GREEN_YELL", + spriteBlink = "BIRD_GREEN_BLINK", + spriteSpecial = "BIRD_GREEN_SPECIAL", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 4, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bomberBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "bird_05_flying", + specialSound = "special_egg", + selectionSound = "bird_05_select", + unselectionSound = "bird_05_unselect", + specialty = "GRENADE", + projectile = "EggGranade", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + EggGranade = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "DROPPABLE_EGG", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "eggShells" + }, + Harvey = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "HARVEY_IDLE", + spriteFlying = "HARVEY_LAUNCH", + spriteCollision = "HARVEY_DEAD", + spriteAction = "HARVEY_DERP", + spriteScore = "PIG_SCORE_10K", + spriteYell = "HARVEY_DERP", + spriteBlink = "HARVEY_DERP", + spriteSpecial = "HARVEY_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 20, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "GRENADE", + projectile = "Courtney", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + Courtney = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "COURTNEY_FALL", + spriteCollision = "COURTNEY_DEAD", + density = 3, + damageFactors = "BlackBirdDamageFactors", + controllable = false, + strength = 60, + particles = "smokeBuff", + collisionSound = "piglette_destroyed", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + BowlingBallPig = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "WHITEPIG_IDLE", + spriteFlying = "WHITEPIG_LAUNCH", + spriteCollision = "WHITEPIG_DEAD_EGG", + spriteAction = "HUD_ICON_EGG", + spriteScore = "PIG_SCORE_10K", + spriteYell = "WHITEPIG_HAPPY", + spriteBlink = "WHITEPIG_BLINK", + spriteSpecial = "WHITEPIG_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 14, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "GRENADE", + projectile = "BowlingBall", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + useLegacyCollisionPath = true + }, + BowlingBall = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BOWLING_BALL", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + RedBigBird = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "BIRD_BIG_BROTHER", + spriteFlying = "BIRD_BIG_BROTHER", + spriteCollision = "BIRD_BIG_BROTHER", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_BIG_BROTHER_YELL", + spriteBlink = "BIRD_BIG_BROTHER_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 6, + particles = "bigBrotherBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "big_brother_flying", + specialSound = "big_brother_special", + selectionSound = "big_brother_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_7" + }, + BigBork = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "TRENCPIG_IDLE", + spriteFlying = "TRENCPIG_HAPPY", + spriteCollision = "TRENCPIG_BLINK", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "PIG_SCORE_10K", + spriteYell = "TRENCPIG_HAPPY", + spriteBlink = "TRENCPIG_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 17, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_2", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + }, + BoomerangBird = { + radius = 1.5, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_BOOMERANG", + spriteFlying = "BIRD_BOOMERANG", + spriteCollision = "BIRD_BOOMERANG_COLLISION", + spriteYell = "BIRD_BOOMERANG_YELL", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_BOOMERANG", + spriteBlink = "BIRD_BOOMERANG_BLINK", + spriteSpecial = "BIRD_BOOMERANG_SPECIAL", + allowRoll = true, + density = 3, + damageFactors = "BoomerangBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 7, + particles = "boomerangBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_06_flying", + specialSound = "boomerang_activate", + selectionSound = "boomerang_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOMERANG", + boomerangHorizontalForce = -50, + boomerangVerticalForce = -350, + boomerangMaxHorizontalSpeed = 50, + flyVerticalForce = -60, + tutorialInfo = "TUTORIAL_6" + }, + MightyEagleBird = { + radius = 5, + friction = 0.1, + type = "circle", + restitution = 0.05, + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + spriteFlying = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteCollision = "BIRD_MIGHTY_EAGLE_MOTION", + spriteAction = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteScore = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteYell = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteBlink = "BIRD_MIGHTY_EAGLE_RADIAL", + allowRoll = true, + density = 100, + damageFactors = "MightyEagleBirdDamageFactors", + controllable = true, + strength = 60000, + group = "birds", + groupIndex = 8, + particles = "smokeBuff", + particlesAmountLimits = {1, 1}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "", + specialSound = "", + selectionSound = "", + unselectionSound = "", + specialty = "MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + explosionRadius = 100, + explosionForce = 20000, + explosionDamageRadius = 100, + explosionDamage = 1, + z_order = 999, + collisionFunction = "mightyEagleCollision", + frozenFunction = "mightyEagleFrozen", + updateFunction = "updateMightyEagle", + collider_type = collider_types.mighty_eagle + }, + BaitSardine = { + friction = 0.25, + type = "box", + restitution = 0.05, + sprite = "BAIT_SARDINE", + spriteFlying = "BAIT_SARDINE", + spriteCollision = "BAIT_SARDINE", + spriteAction = "BAIT_SARDINE", + spriteScore = "BAIT_SARDINE", + spriteYell = "BAIT_SARDINE", + spriteBlink = "BAIT_SARDINE", + allowRoll = true, + density = 1, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "common", + strength = 1, + group = "birds", + groupIndex = 9, + particles = "", + particlesAmountLimits = {0, 0}, + particlesTrail = "redBirdTrail", + collisionSound = "sardine_can_physics_a2", + launchSound = "sardine_can_shot", + specialSound = "mighty_eagle_yell", + selectionSound = "", + destroyedSound = "light_destroyed", + unselectionSound = "", + specialty = "SUMMON_MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + collisionFunction = "mightyEagleBaitCollision", + frozenFunction = "mightyEagleBaitFrozen", + updateFunction = "updateMightyEagleBait", + timerFunction = "mightyEagleAndBaitTimerUpdate" + }, + GlobeBird = { + definition = "GlobeBird", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 10, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"orangeBuff", "smokeBuff"}, + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "GlobeBirdBig", + sprite = "BIRD_PUFFER_1", + spriteFlying = "BIRD_PUFFER_1", + spriteCollision = "BIRD_PUFFER_1", + spriteYell = "BIRD_PUFFER_YELL", + spriteAction = "BIRD_PUFFER_1", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_BLINK", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect" + }, + GlobeBirdBig = { + definition = "GlobeBirdBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 11, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "orangeBuff", + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BIRD_PUFFER_2", + spriteFlying = "BIRD_PUFFER_2", + spriteCollision = "BIRD_PUFFER_2", + spriteYell = "BIRD_PUFFER_2", + spriteAction = "BIRD_PUFFER_2", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_2", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + BalloonPig = { + definition = "BalloonPig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 18, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"smokeBuff", "smokeBuff"}, + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "BalloonPigBig", + sprite = "BALLOONPIG_IDLE", + spriteFlying = "BALLOONPIG_HAPPY", + spriteCollision = "BALLOONPIG_BLINK", + spriteYell = "BALLOONPIG_HAPPY", + spriteAction = "BALLOONPIG_IDLE", + spriteScore = "PIG_SCORE_10K", + spriteBlink = "BALLOONPIG_BLINK", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "globe_special", + selectionSound = "piglette", + unselectionSound = "piglette" + }, + BalloonPigBig = { + definition = "BalloonPigBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 19, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "smokeBuff", + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BALLOONPIG_GLOBE", + spriteFlying = "BALLOONPIG_GLOBE", + spriteCollision = "BALLOONPIG_GLOBE", + spriteYell = "BALLOONPIG_GLOBE", + spriteAction = "BALLOONPIG_GLOBE", + spriteScore = "10K_ORANGE", + spriteBlink = "BALLOONPIG_GLOBE", + collisionSound = "piglette_collision", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + SmallPiglette = { + radius = 1.075, + type = "circle", + sprite = "PIGLETTE_SMALL_01", + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 4, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 1, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_SMALL_01", + blinkSprite = "PIGLETTE_SMALL_01_BLINK", + smileSprite = "PIGLETTE_SMALL_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_SMALL_02", + blinkSprite = "PIGLETTE_SMALL_02_BLINK", + smileSprite = "PIGLETTE_SMALL_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_SMALL_03", + blinkSprite = "PIGLETTE_SMALL_03_BLINK", + smileSprite = "PIGLETTE_SMALL_03_SMILE", + max = 50, + min = -1000 + } + } + }, + MediumPiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_MEDIUM_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 10, + defence = 1, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 2, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_MEDIUM_01", + blinkSprite = "PIGLETTE_MEDIUM_01_BLINK", + smileSprite = "PIGLETTE_MEDIUM_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_MEDIUM_02", + blinkSprite = "PIGLETTE_MEDIUM_02_BLINK", + smileSprite = "PIGLETTE_MEDIUM_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_MEDIUM_03", + blinkSprite = "PIGLETTE_MEDIUM_03_BLINK", + smileSprite = "PIGLETTE_MEDIUM_03_SMILE", + max = 50, + min = -1000 + } + } + }, + HelmetPiglette = { + radius = 1.95, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_HELMET_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 15, + defence = 8, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 3, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_HELMET_01", + blinkSprite = "PIGLETTE_HELMET_01_BLINK", + smileSprite = "PIGLETTE_HELMET_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_HELMET_02", + blinkSprite = "PIGLETTE_HELMET_02_BLINK", + smileSprite = "PIGLETTE_HELMET_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_HELMET_03", + blinkSprite = "PIGLETTE_HELMET_03_BLINK", + smileSprite = "PIGLETTE_HELMET_03_SMILE", + max = 50, + min = -1000 + } + } + }, + LargePiglette = { + radius = 2.325, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_BIG_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 20, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 4, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_BIG_01", + blinkSprite = "PIGLETTE_BIG_01_BLINK", + smileSprite = "PIGLETTE_BIG_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_BIG_02", + blinkSprite = "PIGLETTE_BIG_02_BLINK", + smileSprite = "PIGLETTE_BIG_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_BIG_03", + blinkSprite = "PIGLETTE_BIG_03_BLINK", + smileSprite = "PIGLETTE_BIG_03_SMILE", + max = 50, + min = -1000 + } + } + }, + Porkarappa = { + radius = 2, + friction = 0.3, + type = "circle", + sprite = "PORKARAPPA_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 110, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 9, + damageSprites = { + damage1 = { + sprite = "PORKARAPPA_IDLE", + blinkSprite = "PORKARAPPA_BLINK", + smileSprite = "PORKARAPPA_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PORKARAPPA_HURT1_IDLE", + blinkSprite = "PORKARAPPA_HURT1_BLINK", + smileSprite = "PORKARAPPA_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PORKARAPPA_HURT2_IDLE", + blinkSprite = "PORKARAPPA_HURT2_BLINK", + smileSprite = "PORKARAPPA_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + HandsomePiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "HANDSOMEPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 8, + damageSprites = { + damage1 = { + sprite = "HANDSOMEPIG_IDLE", + blinkSprite = "HANDSOMEPIG_BLINK", + smileSprite = "HANDSOMEPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HANDSOMEPIG_HURT1_IDLE", + blinkSprite = "HANDSOMEPIG_HURT1_BLINK", + smileSprite = "HANDSOMEPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HANDSOMEPIG_HURT2_IDLE", + blinkSprite = "HANDSOMEPIG_HURT2_FIX", + smileSprite = "HANDSOMEPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + GrandpaPiglette = { + radius = 2.2, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_GRANDPA_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 30, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 5, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_GRANDPA_01", + blinkSprite = "PIGLETTE_GRANDPA_01_BLINK", + smileSprite = "PIGLETTE_GRANDPA_04_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_GRANDPA_02", + blinkSprite = "PIGLETTE_GRANDPA_02_BLINK", + smileSprite = "PIGLETTE_GRANDPA_05_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_GRANDPA_03", + blinkSprite = "PIGLETTE_GRANDPA_03_BLINK", + smileSprite = "PIGLETTE_GRANDPA_06_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPiglette = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 6, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPigletteBoss = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 5000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 10, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + FATPIG = { + radius = 7.5, + friction = 0.3, + type = "circle", + sprite = "FATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 1000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 11, + damageSprites = { + damage1 = { + sprite = "FATPIG_IDLE", + blinkSprite = "FAT_PIG_BLINK", + smileSprite = "FAT_PIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "FATPIG_HURT1_IDLE", + blinkSprite = "FATPIG_IDLE_BLINK", + smileSprite = "FATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "FATPIG_HURT2_IDLE", + blinkSprite = "FATPIG_HURT2_BLINK", + smileSprite = "FATPIG_HURT2_BLINK", + max = 50, + min = -1000 + } + } + }, + + HatPiglette = { + radius = 1.71, + friction = 0.3, + type = "circle", + sprite = "HATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 200, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "HATPIG_IDLE", + blinkSprite = "HATPIG_BLINK", + smileSprite = "HATPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HATPIG_HURT1_IDLE", + blinkSprite = "HATPIG_HURT1_BLINK", + smileSprite = "HATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HATPIG_HURT2_IDLE", + blinkSprite = "HATPIG_HURT2_BLINK", + smileSprite = "HATPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + + WoodBlock1 = { + type = "box", + sprite = "BLOCK_WOOD_1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 1, + strength = 20, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_1", + max = 25, + min = -1000 + } + } + }, + WoodBlock2 = { + type = "box", + sprite = "BLOCK_WOOD_1_2", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 2, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_2", + max = 25, + min = -1000 + } + } + }, + Log = { + type = "box", + sprite = "LOG", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 95, + strength = 60, + damageSprites = { + damage1 = { + sprite = "LOG", + max = 100, + min = 75 + }, + damage2 = { + sprite = "LOG", + max = 75, + min = 50 + }, + damage3 = { + sprite = "LOG_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "LOG_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock3 = { + type = "box", + sprite = "BLOCK_WOOD_1_3", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 3, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_3", + max = 25, + min = -1000 + } + } + }, + WoodBlock4 = { + type = "box", + sprite = "BLOCK_WOOD_1_4", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 4, + strength = 50, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock5 = { + type = "box", + sprite = "BLOCK_WOOD_1_5", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 5, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_5", + max = 25, + min = -1000 + } + } + }, + WoodBlock6 = { + type = "box", + sprite = "BLOCK_WOOD_1_6", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 6, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_6", + max = 25, + min = -1000 + } + } + }, + WoodBlock7 = { + type = "circle", + sprite = "BLOCK_WOOD_1_7", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 7, + strength = 200, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_7", + max = 25, + min = -1000 + } + } + }, + BP_TNT = { + type = "box", + sprite = "BP_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 116, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + RIO_TNT = { + type = "box", + sprite = "TNTPACKAGE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 121, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + BP_WOOD = { + type = "box", + sprite = "BP_WOOD", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 117, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BP_WOOD", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_WOODHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_WOODHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_WOODHURT2", + max = 25, + min = -1000 + } + } + }, + RIOCRATE = { + type = "box", + sprite = "RIOCRATE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 122, + strength = 200, + damageSprites = { + damage1 = { + sprite = "RIOCRATE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATE_HURT", + max = 25, + min = -1000 + } + } + }, + RIOCRATESMALL = { + type = "box", + sprite = "RIOCRATE_SMALL", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 123, + strength = 100, + damageSprites = { + damage1 = { + sprite = "RIOCRATE_SMALL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE_SMALL", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATESMALL_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATESMALL_HURT", + max = 25, + min = -1000 + } + } + }, + BP_METAL = { + type = "box", + sprite = "BP_METAL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 118, + radius = 0.9, + strength = 220, + damageSprites = { + damage1 = { + sprite = "BP_METAL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_METALHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_METALHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_METALHURT2", + max = 25, + min = -1000 + } + } + }, + WOODEN_TIRE = { + type = "circle", + sprite = "WOODEN_TIRE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 115, + strength = 200, + damageSprites = { + damage1 = { + sprite = "WOODEN_TIRE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "WOODEN_TIRE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "WOODEN_TIRE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "WOODEN_TIRE_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock8 = { + type = "circle", + sprite = "BLOCK_WOOD_1_8", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 8, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_8", + max = 25, + min = -1000 + } + } + }, + WoodBlock9 = { + type = "box", + sprite = "BLOCK_WOOD_4X4_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 9, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4X4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock10 = { + type = "box", + sprite = "BLOCK_WOOD_10X1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 10, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_10X1_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 11, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 12, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock1 = { + type = "box", + sprite = "BLOCK_ROCK_1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 1, + strength = 30, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_1", + max = 25, + min = -1000 + } + } + }, + StoneBlock2 = { + type = "box", + sprite = "BLOCK_ROCK_1_2", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 2, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_2", + max = 25, + min = -1000 + } + } + }, + StoneBlock3 = { + type = "box", + sprite = "BLOCK_ROCK_1_3", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 3, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_3", + max = 25, + min = -1000 + } + } + }, + StoneBlock4 = { + type = "box", + sprite = "BLOCK_ROCK_1_4", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 4, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock5 = { + type = "box", + sprite = "BLOCK_ROCK_1_5", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 5, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_5", + max = 25, + min = -1000 + } + } + }, + StoneBlock6 = { + type = "box", + sprite = "BLOCK_ROCK_1_6", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 6, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_6", + max = 25, + min = -1000 + } + } + }, + StoneBlock7 = { + type = "circle", + sprite = "BLOCK_ROCK_1_7", + controllable = false, + materialName = "rock", + group = "rockBlocks", + strength = 600, + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_7", + max = 25, + min = -1000 + } + } + }, + StoneBlock8 = { + type = "circle", + sprite = "BLOCK_ROCK_1_8", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 8, + strength = 300, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_8", + max = 25, + min = -1000 + } + } + }, + StoneBlock9 = { + type = "box", + sprite = "BLOCK_ROCK_4X4_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 9, + strength = 160, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4X4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock10 = { + type = "box", + sprite = "BLOCK_ROCK_10X1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 10, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_10X1_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 11, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 12, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + LightBlock1 = { + type = "box", + sprite = "BLOCK_LIGHT_1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 1, + strength = 13, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_1", + max = 25, + min = -1000 + } + } + }, + LightBlock2 = { + type = "box", + sprite = "BLOCK_LIGHT_1_2", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 2, + strength = 26, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_2", + max = 25, + min = -1000 + } + } + }, + LightBlock3 = { + type = "box", + sprite = "BLOCK_LIGHT_1_3", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 3, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_3", + max = 25, + min = -1000 + } + } + }, + LightBlock4 = { + type = "box", + sprite = "BLOCK_LIGHT_1_4", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 4, + strength = 33, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock5 = { + type = "box", + sprite = "BLOCK_LIGHT_1_5", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 5, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_5", + max = 25, + min = -1000 + } + } + }, + LightBlock6 = { + type = "box", + sprite = "BLOCK_LIGHT_1_6", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 6, + strength = 47, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_6", + max = 25, + min = -1000 + } + } + }, + LightBlock7 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_7", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 7, + strength = 125, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_7", + max = 25, + min = -1000 + } + } + }, + LightBlock8 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_8", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 8, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_8", + max = 25, + min = -1000 + } + } + }, + LightBlock9 = { + type = "box", + sprite = "BLOCK_LIGHT_4X4_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 9, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4X4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock10 = { + type = "box", + sprite = "BLOCK_LIGHT_10X1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 10, + strength = 65, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_10X1_4", + max = 25, + min = -1000 + } + } + }, + LightBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 11, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + LightBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 12, + strength = 48, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + DecorationSpotsTheme01_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_01", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme01_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_02", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme01_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_03", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme02_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_01", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme02_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_02", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme02_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_03", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme03_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_01", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme03_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_02", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme03_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_03", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSkull01 = { + type = "box", + sprite = "DECORATION_SKULL01", + materialName = "decoration", + group = "decorations", + groupIndex = 4 + }, + DecorationSkull02 = { + type = "box", + sprite = "DECORATION_SKULL02", + materialName = "decoration", + group = "decorations", + groupIndex = 5 + }, + DecorationBone01 = { + type = "box", + sprite = "DECORATION_BONE01", + materialName = "decoration", + group = "decorations", + groupIndex = 6 + }, + DecorationBone02 = { + type = "box", + sprite = "DECORATION_BONE02", + materialName = "decoration", + group = "decorations", + groupIndex = 7 + }, + DecorationBone03 = { + type = "box", + sprite = "DECORATION_BONE03", + materialName = "decoration", + group = "decorations", + groupIndex = 8 + }, + DecorationBone04 = { + type = "box", + sprite = "DECORATION_BONE04", + materialName = "decoration", + group = "decorations", + groupIndex = 9 + }, + DecorationBoneSet01 = { + type = "box", + sprite = "DECORATION_BONESET01", + materialName = "decoration", + group = "decorations", + groupIndex = 10 + }, + DecorationBoneSet02 = { + type = "box", + sprite = "DECORATION_BONESET02", + materialName = "decoration", + group = "decorations", + groupIndex = 11 + }, + DecorationEstrade01 = { + type = "box", + sprite = "ESTRADE_FLAG", + materialName = "decoration", + group = "decorations", + groupIndex = 12 + }, + DecorationEstrade02 = { + type = "box", + sprite = "ESTRADE_THEATER", + materialName = "decoration", + group = "decorations", + groupIndex = 13 + }, + StaticBlockTheme01_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme01_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme01_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme01_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme01_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme01_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme02_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme02_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme02_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme02_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme02_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme02_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme03_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme03_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme03_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme03_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme03_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme03_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme04_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme04_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme04_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme04_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme04_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme04_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme05_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme05_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme05_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme05_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme05_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme05_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme06_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme06_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme06_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme06_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme06_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme06_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme07_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme07_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme07_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme07_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme07_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme07_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme08_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme08_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme08_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme08_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme08_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme08_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme09_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme09_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme09_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme09_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme09_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme09_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme10_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme10_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme10_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme10_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme10_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme10_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme11_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme11_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme11_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme11_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme11_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme11_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme12_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme12_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme12_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme12_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme12_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme12_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme13_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme13_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme13_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme13_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme13_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme13_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme14_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme14_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme14_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme14_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme14_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme14_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme15_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme15_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme15_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme15_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme15_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme15_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme16_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme16_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme16_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme16_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme16_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme16_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme17_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme17_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme17_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme17_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme17_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme17_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme18_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme18_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme18_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme18_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme18_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme18_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + ShootingPlatform01 = { + type = "box", + sprite = "SHOOTING_PLATFORM", + materialName = "immovable", + group = "platforms", + groupIndex = 1 + }, + Estrade01 = { + type = "box", + sprite = "ESTRADE_01", + materialName = "immovable", + group = "platforms", + groupIndex = 2 + }, + Estrade02 = { + type = "box", + sprite = "ESTRADE_02", + materialName = "immovable", + group = "platforms", + groupIndex = 3 + }, + Estrade03 = { + type = "box", + sprite = "ESTRADE_03", + materialName = "immovable", + group = "platforms", + groupIndex = 4 + }, + Estrade04 = { + type = "box", + sprite = "ESTRADE_04", + materialName = "immovable", + group = "platforms", + groupIndex = 5 + }, + ExtraBlockToilet = { + type = "box", + sprite = "BLOCK_EXTRA_TOILET", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 1 + }, + ExtraBlockFlag01 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 2 + }, + Krabby_Patty = { + type = "box", + sprite = "KRABBYPATTY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 97 + }, + PRINGLES = { + type = "box", + sprite = "PRINGLES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 98 + }, + ENGINE = { + type = "box", + sprite = "BP_ENGINE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 119 + }, + FRIES = { + type = "box", + sprite = "FRIES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 99 + }, + LUNCHBOX = { + type = "box", + sprite = "LUNCHBOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 100 + }, + CHIPS = { + type = "box", + sprite = "CHIPS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 101 + }, + GOLD_DONUT = { + type = "circle", + sprite = "GOLD_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + strength = 60, + groupIndex = 102 + }, + BP_GEAR = { + type = "circle", + sprite = "BP_GEAR", + controllable = false, + materialName = "extras", + group = "extras", + strength = 70, + groupIndex = 120 + }, + PIZZABOX = { + type = "box", + sprite = "PIZZABOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 103 + }, + PIZZABOX_STACK = { + type = "box", + sprite = "PIZZABOX_STACK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 104 + }, + KETCHUP = { + type = "box", + sprite = "KETCHUP", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 105 + }, + MUSTARD = { + type = "box", + sprite = "MUSTARD", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 106 + }, + RADIO = { + type = "box", + sprite = "RADIO", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 111 + }, + MICROPHONE = { + type = "box", + sprite = "MICROPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 112 + }, + ExtraBlockFlag02 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 3 + }, + ExtraBlockTNT = { + type = "box", + sprite = "BLOCK_EXTRA_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 4, + strength = 10, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + HardTNT = { + type = "box", + sprite = "HARDTNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 96, + strength = 75, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + ExtraBlockDice = { + type = "box", + sprite = "BLOCK_EXTRA_DICE_6", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 5, + strength = 30, + defence = 1, + damageSprites = { + damage1 = { + sprite = "BLOCK_EXTRA_DICE_6", + max = 100, + min = 84 + }, + damage2 = { + sprite = "BLOCK_EXTRA_DICE_5", + max = 84, + min = 68 + }, + damage3 = { + sprite = "BLOCK_EXTRA_DICE_4", + max = 68, + min = 52 + }, + damage4 = { + sprite = "BLOCK_EXTRA_DICE_3", + max = 52, + min = 36 + }, + damage5 = { + sprite = "BLOCK_EXTRA_DICE_2", + max = 36, + min = 20 + }, + damage6 = { + sprite = "BLOCK_EXTRA_DICE_1", + max = 20, + min = -1000 + } + } + }, + ExtraBlockStairs = { + type = "box", + sprite = "ESTRADE_STAIRS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 6 + }, + SpecialBlockSwing = { + type = "box", + sprite = "SWING_HOLDER_01", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 7 + }, + SpecialBlockStart = { + type = "box", + sprite = "SWING_BASKET_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 8, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleYellow = { + type = "box", + sprite = "POLE_YELLOW", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 9, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleRed = { + type = "box", + sprite = "POLE_RED", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 10, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraTire01 = { + type = "circle", + sprite = "BLOCK_TIRE_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 11, + strength = 200 + }, + ExtraTire02 = { + type = "circle", + sprite = "BLOCK_TIRE_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 12, + strength = 200 + }, + ExtraTire03 = { + type = "circle", + sprite = "BLOCK_TIRE_03", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 13, + strength = 200 + }, + ExtraDonut01 = { + type = "circle", + sprite = "BLOCK_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 14, + strength = 50 + }, + Hay = { + type = "circle", + sprite = "HAY", + radius = 2.8, + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 125, + strength = 75 + }, + WOODEN_NOSE = { + type = "circle", + sprite = "WOODEN_NOSE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 126, + strength = 85 + }, + TRACTOR_TIRE = { + type = "circle", + sprite = "TRACTOR_TIRE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 127, + strength = 70 + }, + WOODEN_ARROW = { + type = "box", + sprite = "WOOD_ARROW", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 128, + strength = 125 + }, + SCOPE = { + type = "box", + sprite = "SCOPE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 129, + strength = 50 + }, + MEGAPHONE = { + type = "box", + sprite = "MEGAPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 130, + strength = 50 + }, + ExtraMelon = { + type = "circle", + sprite = "BLOCK_WATERMELON", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 15, + strength = 40 + }, + ExtraHam = { + type = "circle", + sprite = "BLOCK_HAM", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 16, + strength = 60 + }, + ExtraApple = { + type = "circle", + sprite = "BLOCK_APPLE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 17, + strength = 30 + }, + ExtraStrawberry = { + type = "circle", + sprite = "BLOCK_STRAWBERRY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 18, + strength = 30 + }, + ExtraBanana = { + type = "box", + sprite = "BLOCK_BANANA", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 19, + strength = 30 + }, + ExtraTreasureChest = { + type = "box", + sprite = "BLOCK_TREASURE_CHEST", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 20, + strength = 20 + }, + ExtraPillar = { + type = "box", + sprite = "BLOCK_PILLAR", + controllable = false, + density = 10, + defence = 40, + materialName = "extras", + group = "extras", + groupIndex = 21, + strength = 120 + }, + ExtraBeachBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 22, + strength = 15 + }, + ExtraBlockSmiley = { + type = "circle", + sprite = "BLOCK_SMILEY_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 23, + strength = 25, + damageSprites = { + damage1 = { + sprite = "BLOCK_SMILEY_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "BLOCK_SMILEY_3", + max = 50, + min = -1000 + } + } + }, + ExtraHolyGrail = { + type = "box", + sprite = "BLOCK_HOLYGRAIL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 24, + strength = 25 + }, + ExtraDiamond = { + type = "circle", + sprite = "BLOCK_DIAMOND", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 25, + strength = 25 + }, + ExtraRubberDuck = { + type = "circle", + sprite = "BLOCK_RUBBERDUCK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 26, + strength = 25 + }, + ExtraStolenEgg = { + type = "circle", + sprite = "BLOCK_STOLEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 27, + strength = 2000, + defence = 20000 + }, + ExtraStrongBall = { + type = "circle", + sprite = "BLOCK_STEEL_BALL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 28, + strength = 5000, + defence = 2000 + }, + ExtraRubberBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "rubber", + group = "extras", + groupIndex = 29, + defence = 50, + strength = 1000, + restitution = 1.1 + }, + ExtraTrampoline = { + type = "circle", + sprite = "BLOCK_SUPER_BALL", + materialName = "rubber", + group = "extras", + groupIndex = 30, + defence = 1000, + strength = 1000, + restitution = 5.5 + }, + ExtraBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + density = 8, + materialName = "extras", + group = "extras", + groupIndex = 31, + strength = 3000, + defence = 2000 + }, + ExtraTrampoline2 = { + type = "box", + sprite = "BLOCK_TRAMPOLINE_01", + materialName = "immovableRubber", + group = "extras", + groupIndex = 32, + defence = 1000, + strength = 1000, + restitution = 1.1 + }, + ExtraGoldenEgg = { + type = "circle", + sprite = "BLOCK_GOLDEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 33, + strength = 5, + defence = 1 + }, + ExtraRopeThick01 = { + type = "box", + sprite = "BLOCK_ROPE_THICK_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 34, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin01 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 35, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin02 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_2", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 36, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraBoomerangBird = { + radius = 1.1, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BOOMERANG", + density = 8, + materialName = "immovable", + group = "extras", + groupIndex = 37, + strength = 1000000, + defence = 1000000 + }, + BlockCarpet = { + type = "box", + sprite = "BLOCK_CARPET", + materialName = "extras", + group = "extras", + groupIndex = 38 + }, + ExtraHelmetSmall = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_SMALL", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 39, + defence = 300, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetSmall2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BLOCK_RUBBERDUCK", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 40, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BIG", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 41, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BIRD_BOOMERANG_STILL", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 42, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBoss = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BOSS", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 43, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraCowboyHelmet_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_BIG_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 44, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + COOLHAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COOLHAT", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 113, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCowboyHelmetSmall_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_SMALL_1", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 45, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + MECHANIC_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MECHANIC_HAT", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 114, + defence = 20, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_1 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 46, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_2 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_2", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 47, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraBanditoHat_1 = { + type = "polygon", + vertices = { + {x = 0.4, y = 0.3}, + {x = 0.45, y = 0.2}, + {x = 0.55, y = 0.2}, + {x = 0.6, y = 0.3}, + {x = 0.6, y = 0.7}, + {x = 0.4, y = 0.7} + }, + sprite = "BANDITO_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 48, + defence = 30, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSuperBowl = { + type = "circle", + sprite = "B_EGG_SUPER_BOWL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 49, + strength = 5, + defence = 1, + density = 0 + }, + StaticFragileBlock01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 1, + destroyedScoreInc = 50 + }, + StaticFragileBlock02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 2, + destroyedScoreInc = 50 + }, + StaticFragileBlock03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 3, + destroyedScoreInc = 50 + }, + StaticFragileBlock04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 4, + destroyedScoreInc = 50 + }, + StaticFragileBlock05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 5, + destroyedScoreInc = 50 + }, + StaticFragileBlock06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 6, + destroyedScoreInc = 50 + }, + StaticBalloon01 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 1, + destroyedScoreInc = 100 + }, + StaticBalloon02 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 2, + destroyedScoreInc = 100 + }, + StaticBalloon03 = { + type = "box", + sprite = "BLOCK_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 3, + destroyedScoreInc = 100 + }, + StaticBalloon04 = { + type = "box", + sprite = "BLOCK_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 4, + destroyedScoreInc = 100 + }, + StaticBalloon05 = { + type = "box", + sprite = "BLOCK_BALLOON_3", + materialName = "clouds", + group = "clouds", + groupIndex = 5, + destroyedScoreInc = 100 + }, + StaticCloud01 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 6 + }, + StaticCloud02 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 7 + }, + StaticCloud03 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 8 + }, + StaticCloud04 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 9 + }, + BUSH_1 = { + type = "box", + sprite = "BUSH_1", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 107 + }, + SIGN_1 = { + type = "box", + sprite = "SIGN_HEAD", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 124 + }, + SIGN_2 = { + type = "box", + sprite = "SIGN_BASE", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 131 + }, + BUSH_2 = { + type = "box", + sprite = "BUSH_2", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 108 + }, + BUSH_3 = { + type = "box", + sprite = "BUSH_3", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 109 + }, + BUSH_4 = { + type = "box", + sprite = "BUSH_4", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 110 + }, + Ground = { + type = "box", + sprite = "", + texture = "", + theme = "", + materialName = "staticGround", + group = "", + groupIndex = 1 + }, + ExtraCaveHat_1 = { + type = "box", + width = 1, + height = 0.5, + sprite = "CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 50, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_2 = { + type = "box", + width = 2, + height = 1.6, + sprite = "CAVE_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 51, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_3 = { + type = "box", + width = 2, + height = 1.5, + sprite = "CAVE_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 52, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraKingCaveHat_1 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "KING_CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 53, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_1 = { + type = "box", + width = 1.2, + height = 4.7, + sprite = "CAVE_SHOVEL_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 54, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_2 = { + type = "box", + width = 0.8, + height = 2.5, + sprite = "CAVE_SHOVEL_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 55, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_1 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 56, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_2 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 57, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraAmethyst = { + type = "box", + width = 2, + height = 1.6, + sprite = "BLOCK_AMETHYST", + materialName = "amethyst", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 58, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMETHYST_1" + }, + ExtraRuby = { + type = "box", + width = 1.3, + height = 2, + sprite = "BLOCK_RUBY", + materialName = "ruby", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 59, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_RUBY_1" + }, + ExtraAmber = { + type = "circle", + radius = 1, + sprite = "BLOCK_AMBER", + materialName = "amber", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 60, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + ExtraStalaktite_1 = { + type = "box", + width = 3, + height = 13.9, + sprite = "BLOCK_STALAKTITE_1", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 61, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_2 = { + type = "box", + width = 1, + height = 12.5, + sprite = "BLOCK_STALAKTITE_2", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 62, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_3 = { + type = "box", + width = 1.8, + height = 17.1, + sprite = "BLOCK_STALAKTITE_3", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 63, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip1 = { + type = "box", + width = 0.6, + height = 5, + sprite = "BLOCK_STALAKTITE_TIP_1", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 64, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip2 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_2", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 65, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip3 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_3", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 66, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip4 = { + type = "box", + width = 0.6, + height = 6, + sprite = "BLOCK_STALAKTITE_TIP_4", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 67, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayBalloon_1 = { + type = "circle", + radius = 1.2, + sprite = "BLOCK_BALLOON_BDAY", + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + strength = 10, + destroyedScoreInc = 500, + z_order = 5, + group = "extras", + groupIndex = 68 + }, + PartyHat_1 = { + type = "box", + width = 1.5, + height = 1.7, + sprite = "PARTY_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 69, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_2 = { + type = "box", + width = 1.6, + height = 1.7, + sprite = "PARTY_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 70, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_3 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 71, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_4 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_4", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 72, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayCandle_1 = { + type = "box", + width = 0.6, + height = 2.3, + sprite = "BDAY_CANDLE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 73, + defence = 10, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 500 + }, + BirthdayCake_1 = { + type = "box", + width = 2.5, + height = 2.9, + sprite = "CHOCO_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 74, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake1Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_2 = { + type = "box", + width = 3, + height = 3.8, + sprite = "PINK_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 75, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake2Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_3 = { + type = "box", + width = 4, + height = 2.2, + sprite = "MINT_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 76, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 100 + }, + BirthdayBalloon_2 = { + sprite = "BLOCK_BALLOON_1", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 77 + }, + BirthdayBalloon_3 = { + sprite = "BLOCK_BALLOON_2", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 78 + }, + BirthdayBalloon_4 = { + sprite = "BLOCK_BALLOON_3", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 79 + }, + SPECIAL_CAKE_1 = { + type = "box", + width = 2, + height = 2, + sprite = "SPECIAL_CAKE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 80, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + destroyedScoreInc = 100 + }, + MISC_FB_NET = { + type = "box", + sprite = "MISC_FB_NET_1", + materialName = "light", + group = "extras", + groupIndex = 71, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_NET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_NET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_NET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_STICK = { + type = "box", + sprite = "MISC_FB_STICK_1", + materialName = "wood", + group = "extras", + groupIndex = 72, + controllable = false, + density = 0.1, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_STICK_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_STICK_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_STICK_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_ROD = { + type = "box", + sprite = "MISC_FB_ROD_1", + materialName = "wood", + group = "extras", + groupIndex = 73, + controllable = false, + density = 0.001, + friction = 1, + defence = 10, + strength = 10, + restitution = 0, + z_order = 0, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_ROD_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_ROD_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_HAT = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 74, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAT_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_GLASSES = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.1, y = 0.7} + }, + sprite = "MISC_FB_GLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 75, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_GLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_GLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_GLASSES_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BUCKET = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.9, y = 0.3}, + {x = 0.8, y = 0.95}, + {x = 0.2, y = 0.95} + }, + sprite = "MISC_FB_BUCKET_1", + materialName = "light", + group = "extras", + groupIndex = 76, + controllable = false, + strength = 4, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BUCKET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BUCKET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BUCKET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SHOVEL = { + type = "box", + sprite = "MISC_FB_SHOVEL_1", + materialName = "light", + group = "extras", + groupIndex = 77, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SHOVEL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SHOVEL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SHOVEL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CASTLE = { + type = "box", + sprite = "MISC_FB_CASTLE_1", + materialName = "wood", + group = "extras", + groupIndex = 78, + controllable = false, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CASTLE_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CASTLE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TAPE = { + type = "box", + sprite = "MISC_FB_TAPE_1", + materialName = "extras", + group = "extras", + groupIndex = 79, + controllable = false, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + MISC_FB_HAMMER = { + type = "box", + sprite = "MISC_FB_HAMMER_1", + materialName = "rock", + group = "extras", + groupIndex = 80, + controllable = false, + density = 0.2, + friction = 1, + defence = 30, + strength = 20, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAMMER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_HAMMER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAMMER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CONE = { + type = "box", + sprite = "MISC_FB_CONE_1", + materialName = "wood", + group = "extras", + groupIndex = 81, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CONE_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_CONE_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CONE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_TOP = { + type = "box", + sprite = "MISC_FB_UMBRELLA_TOP_1", + materialName = "wood", + group = "extras", + groupIndex = 82, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_TOP_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_TOP_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_TOP_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_BOTTOM = { + type = "box", + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + materialName = "wood", + group = "extras", + groupIndex = 83, + controllable = false, + density = 0.01, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BARREL = { + type = "box", + sprite = "MISC_FB_BARREL_1", + materialName = "wood", + group = "extras", + groupIndex = 84, + controllable = false, + strength = 80, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BARREL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BARREL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BARREL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BOBBER = { + type = "box", + sprite = "MISC_FB_BOBBER_1", + materialName = "light", + group = "extras", + groupIndex = 85, + controllable = false, + strength = 5, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BOBBER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BOBBER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BOBBER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SMALL_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MISC_FB_SMALL_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 86, + controllable = false, + density = 0.3, + friction = 1, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SMALL_HAT_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SMALL_HAT_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SMALL_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TINYGLASSES = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_TINYGLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 87, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_TINYGLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_TINYGLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_TINYGLASSES_3", + max = 50, + min = 0 + } + } + }, + HORSE_BASE = { + type = "box", + sprite = "BLOCK_HORSE_BASE", + materialName = "extras", + group = "extras", + groupIndex = 88, + controllable = false, + strength = 80 + }, + BLOCK_GREEN_GOGGLES = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_GOGGLES", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 89, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_PILOTHELMET = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_PILOTHELMET", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 90, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_SPANNER_2 = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 91, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + GoldenSpanner = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_GOLDEN", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 92, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + BLOCK_GREEN_OILCANISTER = { + type = "box", + width = 1.5, + height = 2.7, + sprite = "BLOCK_GREEN_OILCANISTER", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 93, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_BAG = { + type = "circle", + radius = 1.3, + sprite = "BLOCK_GREEN_BAG", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 94, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + } + +} +filename = "blocks.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/cutscene.lua b/Angry Birds Project R/0.2.0/data/scripts/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..9985516e8730179aa76b0e5d4d53978e1e305b48 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/cutscene.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/cutscenes.lua b/Angry Birds Project R/0.2.0/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..dbf0349ff04afc861c4775e56efbe57628b0d76e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/cutsene.lua b/Angry Birds Project R/0.2.0/data/scripts/cutsene.lua new file mode 100644 index 0000000000000000000000000000000000000000..5ced97a39a0124eee4da06b88ee6cf0cf8c62bec --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/cutsene.lua @@ -0,0 +1,1865 @@ +pack1_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_1_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} + skim_milk_intro = { + { + time = 0, + action = "fitheight", + image = "SKIM_MILK_INTRO" + }, + { + time = 0, + action = "setreferencesize", + image = "SKIM_MILK_INTRO", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "SKIM_MILK_INTRO", + x = 512, + y = 300, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} + } +world2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack2_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_2_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world4_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world5_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_END", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 11.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 11.7, + action = "deletesprite", + name = "eye" + }, + { + time = 12.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 12.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 14.7, action = "end"} +} +pack3_intro = { + { + time = 0, + action = "set_bg_colour", + r = 14, + g = 212, + b = 255 + }, + { + time = 0, + action = "fitwidth", + image = "STORY_3_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_BEGINNING", + width = 1024, + height = 1369 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "set_scroll_position", + scroll_cursor = {x = 0, y = 1}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 1 + } + }, + { + time = 4, + action = "scroll", + duration = 9.9, + type = "cubic_in_out", + scroll_cursor = {x = 0, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 0 + } + }, + {time = 16, action = "end"} +} +world6_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world7_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world8_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 3.5, + action = "scroll", + duration = 3, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 10, + action = "createsprite", + name = "eye", + image = "KING_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 11, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 13, action = "end"} +} +pack4_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_4_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.822, + y = 0 + } + }, + { + time = 16.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 18.7, + action = "playsound", + sound = "big_brother_awakens", + loop = false, + volume = 1, + track = 7 + }, + {time = 21.7, action = "end"} +} +world9_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world10_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world11_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack5_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_5_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world12_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world13_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world14_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack6_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_6_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world15_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world16_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world17_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE4", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.9, action = "end"} +} +pack7_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_7_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world18_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_7_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack8_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_8_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_BEGINNING", + width = 3032, + height = 672 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.78, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +worldS1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack9_intro = { + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_BEGINNING", + width = 2655, + height = 655 + }, + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_BEGINNING" + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.9, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world19_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_MIDDLE" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_MIDDLE", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_MIDDLE", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +filename = "cutscenes.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/cutsene.lua.bak b/Angry Birds Project R/0.2.0/data/scripts/cutsene.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..637a50b938a5c273f2f262d359620406a1e07ff9 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/cutsene.lua.bak @@ -0,0 +1,1865 @@ +pack1_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_1_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} + skim_milk_intro = { + { + time = 0, + action = "fitheight", + image = "SKIM_MILK_INTRO" + }, + { + time = 0, + action = "setreferencesize", + image = "SKIM_MILK_INTRO", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} + } +world2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack2_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_2_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world4_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world5_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_END", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 11.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 11.7, + action = "deletesprite", + name = "eye" + }, + { + time = 12.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 12.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 14.7, action = "end"} +} +pack3_intro = { + { + time = 0, + action = "set_bg_colour", + r = 14, + g = 212, + b = 255 + }, + { + time = 0, + action = "fitwidth", + image = "STORY_3_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_BEGINNING", + width = 1024, + height = 1369 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "set_scroll_position", + scroll_cursor = {x = 0, y = 1}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 1 + } + }, + { + time = 4, + action = "scroll", + duration = 9.9, + type = "cubic_in_out", + scroll_cursor = {x = 0, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 0 + } + }, + {time = 16, action = "end"} +} +world6_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world7_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world8_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 3.5, + action = "scroll", + duration = 3, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 10, + action = "createsprite", + name = "eye", + image = "KING_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 11, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 13, action = "end"} +} +pack4_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_4_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.822, + y = 0 + } + }, + { + time = 16.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 18.7, + action = "playsound", + sound = "big_brother_awakens", + loop = false, + volume = 1, + track = 7 + }, + {time = 21.7, action = "end"} +} +world9_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world10_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world11_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack5_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_5_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world12_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world13_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world14_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack6_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_6_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world15_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world16_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world17_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE4", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.9, action = "end"} +} +pack7_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_7_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world18_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_7_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack8_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_8_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_BEGINNING", + width = 3032, + height = 672 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.78, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +worldS1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack9_intro = { + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_BEGINNING", + width = 2655, + height = 655 + }, + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_BEGINNING" + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.9, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world19_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_MIDDLE" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_MIDDLE", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_MIDDLE", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +filename = "cutscenes.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/dynamic/default.lua b/Angry Birds Project R/0.2.0/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/episodes.lua b/Angry Birds Project R/0.2.0/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..e93030795446357a70acf1fad43541f11cb7b9e8 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/episodes_free.lua b/Angry Birds Project R/0.2.0/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/epissodes.lua b/Angry Birds Project R/0.2.0/data/scripts/epissodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..7687d943395cef076482fc55423f5da3e5f0315b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/epissodes.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/fixthescript.lua b/Angry Birds Project R/0.2.0/data/scripts/fixthescript.lua new file mode 100644 index 0000000000000000000000000000000000000000..d10170f35b10fe8aeef74da803d5b1e229d95933 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/fixthescript.lua @@ -0,0 +1,400 @@ +g_level_scripts = {} +g_goldenEggKeyboardControl = deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl +g_goldenEggKeys = { + "O", + "P", + "E", + "N" +} +g_goldenEggKeyCount = 0 +if deviceModel == "freebox" then + g_rokuCursorVisible = true + g_goldenEggKeys = {"KEY_5"} +end +g_level_scripts.Level5 = { + onLoadLevel = function() + g_goldenEggKeyCount = 0 + end, + onUpdate = function(_ARG_0_, _ARG_1_) + if g_goldenEggKeys[g_goldenEggKeyCount + 1] and keyPressed[g_goldenEggKeys[g_goldenEggKeyCount + 1]] and objects.world.ExtraTreasureChest_1 ~= nil then + g_goldenEggKeyCount = g_goldenEggKeyCount + 1 + end + if (doubleClick == true and not g_goldenEggKeyboardControl or g_goldenEggKeyCount == #g_goldenEggKeys and g_goldenEggKeyboardControl) and objects.world.ExtraTreasureChest_1 ~= nil and (distance(cursorPhysics.x, cursorPhysics.y, objects.world.ExtraTreasureChest_1.x, objects.world.ExtraTreasureChest_1.y) < 2.5 or g_goldenEggKeyboardControl) then + goldenEggAchieved("LevelGE_15") + end + end +} +g_level_scripts.Level11 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_1") + end + end +} +g_level_scripts.Level34 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "GoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_2") + end + end +} +g_level_scripts.LevelP2_64 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_5") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_5") + end + end +} +g_level_scripts.LevelP2_67 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_3") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_3") + end + end +} +g_level_scripts.LevelP3_271 = { + onLoadLevel = function() + if settingsWrapper:isBoomerangBirdAchieved() then + _UPVALUE0_("ExtraBoomerangBird_1") + end + end, + onInitLevelComplete = function() + if not settingsWrapper:isBoomerangBirdAchieved() then + showBoomerangBirdPopup = true + end + end, + onBeforeLevelEnding = function() + if showBoomerangBirdPopup == true then + showBoomerangBirdPopup = false + levelCompleteTimer = levelCompleteTimer + 3.6 + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP + }) + settingsWrapper:setBoomerangBirdAchieved() + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP_SHOWN + }) + end + end +} +g_level_scripts.LevelP3_220 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "StaticBalloon03_2" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_6") + end + end +} +g_level_scripts.LevelP3_313 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_8") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_8") + end + end +} +g_level_scripts.LevelP4_426 = { + onLoadLevel = function() + if settingsWrapper:isBoomerangBird2Achieved() then + _UPVALUE0_("ExtraBoomerangBird_1") + end + end, + onInitLevelComplete = function() + if not settingsWrapper:isBoomerangBird2Achieved() then + showBoomerangBirdPopup = true + end + end, + onBeforeLevelEnding = function() + if showBoomerangBirdPopup == true then + showBoomerangBirdPopup = false + levelCompleteTimer = levelCompleteTimer + 3.6 + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP + }) + settingsWrapper:setBoomerangBird2Achieved() + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP_SHOWN + }) + end + end +} +g_level_scripts.LevelP4_440 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_9") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_9") + end + end +} +g_level_scripts.LevelP4_444 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraRubberDuck_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_10") + end + end +} +g_level_scripts.LevelP4_478 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_11") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_11") + end + end +} +g_level_scripts.LevelP5_357 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraHolyGrail_4" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_16") + end + end +} +g_level_scripts.LevelP5_650 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_17") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_17") + end + end +} +g_level_scripts.LevelP5_354 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_19") then + _UPVALUE0_("ExtraSuperBowl_2") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraSuperBowl_2" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_19") + end + end +} +g_level_scripts.LevelP5_364 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_18") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_18") + end + end +} +g_level_scripts.Level695 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_20") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_20") + end + end +} +g_level_scripts.Level697 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_21") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_21") + end + end +} +g_level_scripts.LevelP6_7 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_23") then + _UPVALUE0_("ExtraTreasureChest_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraTreasureChest_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_23") + end + end +} +g_level_scripts.LevelH564 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_24") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_24") + end + end +} +g_level_scripts.LevelH900 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "SPECIAL_CAKE_1_1" and not eagleBaitLaunched then + if not settingsWrapper:isCakeCollected() then + settingsWrapper:setCakeCollected() + eventManager:notify({ + id = events.EID_REWARD_POPUP, + sprite = "GOLDEN_EGG_SPECIAL_CAKE", + sound = "star_collect" + }) + end + eventManager:notify({ + id = events.EID_CAKE_COLLECTED + }) + end + end +} +g_level_scripts.SOUNDBOARD1 = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("SOUNDBOARD1") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "SOUNDBOARD1" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Soundboard:new() + } + }) + end +} +g_level_scripts.RADIO = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("RADIO") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "RADIO" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Radio:new() + } + }) + end +} +g_level_scripts.KEYBOARD = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("KEYBOARD") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "KEYBOARD" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Keyboard:new() + } + }) + end +} +g_level_scripts.SEQUENCER = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("SEQUENCER") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "SEQUENCER" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Sequencer:new() + } + }) + end +} +g_level_scripts.ACCORDION = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("ACCORDION") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "ACCORDION" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Accordion:new() + } + }) + end +} +g_level_scripts.LevelGE_20 = { + onLoadLevel = function() + if loadedObjects.world.StaticBlockTheme17_06_1 and loadedObjects.world.WoodBlock1_1 and loadedObjects.world.WoodBlock1_2 and loadedObjects.world.LightBlock1_1 then + loadedObjects.world.WoodBlock1_1.x = loadedObjects.world.StaticBlockTheme17_06_1.x + _G.math.cos((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.WoodBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.WoodBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + loadedObjects.world.WoodBlock1_1.y = loadedObjects.world.StaticBlockTheme17_06_1.y + _G.math.sin((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.WoodBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.WoodBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + loadedObjects.world.WoodBlock1_2.x = loadedObjects.world.WoodBlock1_1.x + loadedObjects.world.WoodBlock1_2.y = loadedObjects.world.WoodBlock1_1.y + loadedObjects.world.LightBlock1_1.x = loadedObjects.world.StaticBlockTheme17_06_1.x + _G.math.cos((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.LightBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.LightBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + loadedObjects.world.LightBlock1_1.y = loadedObjects.world.StaticBlockTheme17_06_1.y + _G.math.sin((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.LightBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.LightBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + end + end +} +filename = "level_scripts.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/game_conf.lua b/Angry Birds Project R/0.2.0/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..fee484f892382f69e76b2e95b37ab20f9f882314 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/0.2.0/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/iap.lua b/Angry Birds Project R/0.2.0/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/item.lua b/Angry Birds Project R/0.2.0/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/item.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/level_scripts.lua b/Angry Birds Project R/0.2.0/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d24a9f21ee35703ce5b2908d0da63278dbc5c61 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/limityourstars.lua b/Angry Birds Project R/0.2.0/data/scripts/limityourstars.lua new file mode 100644 index 0000000000000000000000000000000000000000..f5fe68d2e54b8c1442756e6ff14b533a7318dcaa Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/limityourstars.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/loadgroups.lua b/Angry Birds Project R/0.2.0/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..af1ea39b22cfbb6a12edff714c069ca749ac4be4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/loadgroups.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menu_flow.lua b/Angry Birds Project R/0.2.0/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus.lua b/Angry Birds Project R/0.2.0/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..59a1623c65cce1c4a89fdca5817e02a7c4c3138d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/accordion.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/ad.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/ad.lua new file mode 100644 index 0000000000000000000000000000000000000000..5bcef1e06d6e3bb4fe6b74b956cf7466b6f1ad58 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/menus/ad.lua @@ -0,0 +1,88 @@ +function magicPlacesButtonExists() + for _FORV_3_ = 1, #g_extra_pages.post do + if g_extra_pages.post[_FORV_3_].name == "magic_button" then + return true + end + end + return _FOR_ +end +ClassicEpisodeSelection = EpisodeSelection:inherit() +function ClassicEpisodeSelection.init(_ARG_0_) + EpisodeSelection.init(_ARG_0_) + if eventManager then + eventManager:addEventListener(events.EID_SERVICE_AVAILABILITY_CHANGED, _ARG_0_) + end +end +function ClassicEpisodeSelection.createMagicPlacesEpisodeButton(_ARG_0_) + _G.table.insert(g_extra_pages.post, 1, { + name = "magic_button", + image = "BTN_EP_MAGIC", + returnValue = "GOTO_MAGIC_MAP" + }) +end +function ClassicEpisodeSelection.onEntry(_ARG_0_) + _ARG_0_.GEClicks = 0 + EpisodeSelection.onEntry(_ARG_0_) + if _G.magicplaces then + if not magicPlacesButtonExists() then + _ARG_0_.createMagicPlacesEpisodeButton() + eventManager:notify({ + id = events.EID_EPISODE_EXTRAS_CHANGED + }) + end + if _ARG_0_:getChild("episodeButtons"):getChild("magic_button") ~= nil then + if _ARG_0_:getChild("episodeButtons"):getChild("magic_button"):getChild("score") == nil then + if deviceModel == "ipad" then + elseif deviceModel == "iphone" and screenWidth >= 960 then + end + ui.Text:new().name = "score" + ui.Text:new().font = "FONT_LS_SMALL" + ui.Text:new().y = _ARG_0_:getChild("episodeButtons"):getChild("magic_button").h / 2 - _ARG_0_:getChild("episodeButtons"):getChild("magic_button").h / (_ARG_0_:getChild("episodeButtons"):getChild("magic_button").h / _ARG_0_:getChild("episodeButtons"):getChild("magic_button").w) / 4.4 - _ARG_0_:getChild("episodeButtons"):getChild("magic_button").h * -0.02 + _ARG_0_:getChild("episodeButtons"):getChild("magic_button"):addChild((ui.Text:new())) + end + ui.Text:new().text = _G.magicplaces.numOfVisitedPlaces() + end + if 0 < settingsWrapper:getGameStarts() and not settingsWrapper:isMagicPlacesStartedBefore() then + settingsWrapper:setMagicPlacesStartedBefore() + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + targetEpisode = #_ARG_0_:getChild("episodeButtons").episodes + }) + _ARG_0_.magic_particles_after = 1 + end + end +end +function ClassicEpisodeSelection.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_2_ > screenWidth * 0.45 and _ARG_2_ < screenWidth * 0.55 and _ARG_3_ > screenHeight * 0.85 and _ARG_3_ < screenHeight * 0.95 then + if _ARG_1_ == "LRELEASE" then + _ARG_0_.GEClicks = _ARG_0_.GEClicks or 0 + _ARG_0_.GEClicks = _ARG_0_.GEClicks + 1 + if _ARG_0_.GEClicks > 1 and not settingsWrapper:isGoldenEggUnlocked("LevelGE_1") then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_1" + }) + end + end + else + _ARG_0_.GEClicks = 0 + end + return EpisodeSelection.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function ClassicEpisodeSelection.eventTriggered(_ARG_0_, _ARG_1_) + EpisodeSelection.eventTriggered(_ARG_0_, _ARG_1_) + if _ARG_1_.id == events.EID_SERVICE_AVAILABILITY_CHANGED and _ARG_1_.serviceName == "magicplaces" and _ARG_1_.available == true and not magicPlacesButtonExists() then + _ARG_0_.createMagicPlacesEpisodeButton() + end +end +function ClassicEpisodeSelection.update(_ARG_0_, _ARG_1_, _ARG_2_) + EpisodeSelection.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.magic_particles_after then + _ARG_0_.magic_particles_after = _ARG_0_.magic_particles_after - _ARG_1_ + if _ARG_0_.magic_particles_after <= 0 then + _G.particles.addParticles("superSlingBurst", 40, _ARG_0_:getChild("magic_button").x - _ARG_0_:getChild("episodeButtons"):getCurrentX(), _ARG_0_:getChild("magic_button").y, _ARG_0_:getChild("magic_button").w, _ARG_0_:getChild("magic_button").h, 0, false, true) + _ARG_0_.magic_particles_after = nil + end + end +end +filename = "episode_selection.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/credits.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca7385aa225ca06ca373de193032e33f33b2278a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..177933c69f0897918edeab0c29393f31d8d45bc7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/episode_selection_extra.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/keyboard.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/radio.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfea2b463142d3e149f8295f505cad64f25de36e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/select.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/select.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f18b66fb9099c3ed0794ee664dbaf50e2465368 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/select.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/sequencer.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/soundboard.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/menus/splashes.lua b/Angry Birds Project R/0.2.0/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/mightyEagle.lua b/Angry Birds Project R/0.2.0/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/options.lua b/Angry Birds Project R/0.2.0/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..84e1d4c22c2a160f1a0dba9426289cab50612378 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/options.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/page.lua b/Angry Birds Project R/0.2.0/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/page.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/particles.lua b/Angry Birds Project R/0.2.0/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..316a7255b2edf210a30b82d132ff67079d1057d6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/select_profiles.lua b/Angry Birds Project R/0.2.0/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/starLimits.lua b/Angry Birds Project R/0.2.0/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..cc028ea129244368fae97baa08d72fb9982156ed Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/starrylimits.lua b/Angry Birds Project R/0.2.0/data/scripts/starrylimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..acb98f50902d3ce8c701fa148c76b26064e7307a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts/starrylimits.lua @@ -0,0 +1,2241 @@ +Level743 = { + silverScore = 79000, + goldScore = 86000, + eagleScore = 108000, + rovioScore = 3000 +} +Level744 = { + silverScore = 71000, + goldScore = 78000, + eagleScore = 106000, + rovioScore = 3000 +} +Level745 = { + silverScore = 109000, + goldScore = 116000, + eagleScore = 131000, + rovioScore = 3000 +} +Level746 = { + silverScore = 70000, + goldScore = 77000, + eagleScore = 110000, + rovioScore = 3000 +} +Level747 = { + silverScore = 120000, + goldScore = 127000, + eagleScore = 126000, + rovioScore = 3000 +} +Level748 = { + silverScore = 75000, + goldScore = 82000, + eagleScore = 100000, + rovioScore = 3000 +} +Level749 = { + silverScore = 131000, + goldScore = 138000, + eagleScore = 158000, + rovioScore = 3000 +} +Level750 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 109000, + rovioScore = 3000 +} +Level751 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 107000, + rovioScore = 3000 +} +Level764 = { + silverScore = 96000, + goldScore = 103000, + eagleScore = 111000, + rovioScore = 3000 +} +Level765 = { + silverScore = 57000, + goldScore = 64000, + eagleScore = 76000, + rovioScore = 3000 +} +Level766 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 95000, + rovioScore = 3000 +} +Level767 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 113000, + rovioScore = 3000 +} +Level768 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 129000, + rovioScore = 3000 +} +Level769 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 125000, + rovioScore = 3000 +} +LevelH552 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 85000, + rovioScore = 84000 +} +LevelH555 = { + silverScore = 72000, + goldScore = 79000, + eagleScore = 107000, + rovioScore = 100000 +} +LevelH556 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 74000, + rovioScore = 78000 +} +LevelH560 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 69000, + rovioScore = 90000 +} +LevelH561 = { + silverScore = 140000, + goldScore = 150000, + eagleScore = 138000, + rovioScore = 188000 +} +LevelH564 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 88000, + rovioScore = 96000 +} +LevelH565 = { + silverScore = 66000, + goldScore = 74000, + eagleScore = 115000, + rovioScore = 100000 +} +LevelH566 = { + silverScore = 81000, + goldScore = 88000, + eagleScore = 112000, + rovioScore = 102000 +} +LevelH567 = { + silverScore = 74000, + goldScore = 81000, + eagleScore = 110000, + rovioScore = 95000 +} +LevelH806 = { + silverScore = 71000, + goldScore = 78000, + eagleScore = 95000, + rovioScore = 88000 +} +LevelH800 = { + silverScore = 124000, + goldScore = 131000, + eagleScore = 183000, + rovioScore = 136000 +} +LevelH801 = { + silverScore = 91000, + goldScore = 96000, + eagleScore = 132000, + rovioScore = 107000 +} +LevelH802 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 110000, + rovioScore = 100000 +} +LevelH804 = { + silverScore = 67000, + goldScore = 75000, + eagleScore = 95000, + rovioScore = 90000 +} +LevelH900 = { + silverScore = 117000, + goldScore = 125000, + eagleScore = 318000, + rovioScore = 144000 +} +LevelP5_610 = { + silverScore = 67000, + goldScore = 74000, + eagleScore = 92000, + rovioScore = 77000 +} +LevelP5_356 = { + silverScore = 74000, + goldScore = 83000, + eagleScore = 93000, + rovioScore = 88000 +} +LevelP5_615 = { + silverScore = 45000, + goldScore = 52000, + eagleScore = 86000, + rovioScore = 56000 +} +LevelP5_616 = { + silverScore = 72000, + goldScore = 79000, + eagleScore = 102000, + rovioScore = 85000 +} +LevelP5_620 = { + silverScore = 67000, + goldScore = 75000, + eagleScore = 117000, + rovioScore = 83000 +} +LevelP5_341 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 70000, + rovioScore = 68000 +} +LevelP5_339 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 80000, + rovioScore = 72000 +} +LevelP5_628 = { + silverScore = 53000, + goldScore = 59000, + eagleScore = 77000, + rovioScore = 65000 +} +LevelP5_634 = { + silverScore = 89000, + goldScore = 95000, + eagleScore = 116000, + rovioScore = 100000 +} +LevelP5_640 = { + silverScore = 75000, + goldScore = 84000, + eagleScore = 145000, + rovioScore = 92000 +} +LevelP5_347 = { + silverScore = 65000, + goldScore = 73000, + eagleScore = 81000, + rovioScore = 78000 +} +LevelP5_357 = { + silverScore = 69000, + goldScore = 78000, + eagleScore = 97000, + rovioScore = 90000 +} +LevelP5_343 = { + silverScore = 66000, + goldScore = 75000, + eagleScore = 92000, + rovioScore = 88000 +} +LevelP5_352 = { + silverScore = 72000, + goldScore = 80000, + eagleScore = 136000, + rovioScore = 100000 +} +LevelP5_350 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 163000, + rovioScore = 163000 +} +LevelP5_345 = { + silverScore = 67000, + goldScore = 76000, + eagleScore = 95000, + rovioScore = 82000 +} +LevelP5_363 = { + silverScore = 73000, + goldScore = 80000, + eagleScore = 102000, + rovioScore = 95000 +} +LevelP5_631 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 79000, + rovioScore = 81000 +} +LevelP5_355 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 100000, + rovioScore = 96000 +} +LevelP5_348 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 94000, + rovioScore = 110000 +} +LevelP5_366 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 100000, + rovioScore = 107000 +} +LevelP5_635 = { + silverScore = 138000, + goldScore = 145000, + eagleScore = 187000, + rovioScore = 157000 +} +LevelP5_669 = { + silverScore = 51000, + goldScore = 58000, + eagleScore = 82000, + rovioScore = 66000 +} +LevelP5_623 = { + silverScore = 69000, + goldScore = 76000, + eagleScore = 85000, + rovioScore = 82000 +} +LevelP5_650 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 80000, + rovioScore = 65000 +} +LevelP5_664 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 87000, + rovioScore = 98000 +} +LevelP5_354 = { + silverScore = 82000, + goldScore = 90000, + eagleScore = 105000, + rovioScore = 102000 +} +LevelP5_360 = { + silverScore = 46000, + goldScore = 53000, + eagleScore = 86000, + rovioScore = 70000 +} +LevelP5_672 = { + silverScore = 70000, + goldScore = 76000, + eagleScore = 132000, + rovioScore = 85000 +} +LevelP5_361 = { + silverScore = 118000, + goldScore = 125000, + eagleScore = 148000, + rovioScore = 150000 +} +LevelP5_340 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 80000, + rovioScore = 68000 +} +LevelP5_342 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 75000, + rovioScore = 70000 +} +LevelP5_351 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 121000, + rovioScore = 115000 +} +LevelP5_359 = { + silverScore = 115000, + goldScore = 125000, + eagleScore = 138000, + rovioScore = 145000 +} +LevelP5_362 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 126000, + rovioScore = 108000 +} +LevelP5_364 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 122000, + rovioScore = 140000 +} +LevelP5_367 = { + silverScore = 108000, + goldScore = 117000, + eagleScore = 121000, + rovioScore = 123000 +} +LevelP5_627 = { + silverScore = 51000, + goldScore = 58000, + eagleScore = 82000, + rovioScore = 63000 +} +LevelP5_648 = { + silverScore = 61000, + goldScore = 68000, + eagleScore = 91000, + rovioScore = 73000 +} +LevelP5_651 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 87000, + rovioScore = 92000 +} +LevelP5_656 = { + silverScore = 89000, + goldScore = 96000, + eagleScore = 108000, + rovioScore = 104000 +} +LevelP5_662 = { + silverScore = 75000, + goldScore = 83000, + eagleScore = 145000, + rovioScore = 100000 +} +LevelP5_663 = { + silverScore = 64000, + goldScore = 71000, + eagleScore = 112000, + rovioScore = 84000 +} +LevelP5_668 = { + silverScore = 93000, + goldScore = 100000, + eagleScore = 133000, + rovioScore = 112000 +} +LevelP5_671 = { + silverScore = 102000, + goldScore = 109000, + eagleScore = 109000, + rovioScore = 115000 +} +LevelFB_1 = { + silverScore = 105000, + goldScore = 112000, + eagleScore = 133000, + rovioScore = 117000 +} +LevelFB_2 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 80000, + rovioScore = 66000 +} +LevelFB_3 = { + silverScore = 80000, + goldScore = 89000, + eagleScore = 96000, + rovioScore = 94000 +} +LevelP6_1 = { + silverScore = 100000, + goldScore = 107000, + eagleScore = 160000, + rovioScore = 110000 +} +LevelP6_2 = { + silverScore = 105000, + goldScore = 113000, + eagleScore = 169000, + rovioScore = 119000 +} +LevelP6_8 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 121000, + rovioScore = 95000 +} +Level707 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 135000, + rovioScore = 102000 +} +LevelP6_16 = { + silverScore = 101000, + goldScore = 108000, + eagleScore = 114000, + rovioScore = 122000 +} +Level711 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 128000, + rovioScore = 143000 +} +LevelP6_28 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 105000, + rovioScore = 77000 +} +LevelP6_22 = { + silverScore = 93000, + goldScore = 100000, + eagleScore = 130000, + rovioScore = 108000 +} +LevelP6_26 = { + silverScore = 108000, + goldScore = 115000, + eagleScore = 131000, + rovioScore = 140000 +} +Level695 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 142000, + rovioScore = 124000 +} +Level702 = { + silverScore = 80000, + goldScore = 87000, + eagleScore = 115000, + rovioScore = 93000 +} +LevelP6_12 = { + silverScore = 112000, + goldScore = 119000, + eagleScore = 122000, + rovioScore = 126000 +} +Level708 = { + silverScore = 118000, + goldScore = 125000, + eagleScore = 153000, + rovioScore = 133000 +} +Level709 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 144000, + rovioScore = 113000 +} +LevelP6_20 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 173000, + rovioScore = 162000 +} +LevelP6_4 = { + silverScore = 90000, + goldScore = 97000, + eagleScore = 130000, + rovioScore = 109000 +} +Level697 = { + silverScore = 98000, + goldScore = 105000, + eagleScore = 126000, + rovioScore = 109000 +} +LevelP6_13 = { + silverScore = 94000, + goldScore = 101000, + eagleScore = 170000, + rovioScore = 106000 +} +Level704 = { + silverScore = 178000, + goldScore = 185000, + eagleScore = 196000, + rovioScore = 189000 +} +LevelP6_19 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 158000, + rovioScore = 146000 +} +LevelP6_15 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 174000, + rovioScore = 145000 +} +LevelP6_29 = { + silverScore = 86000, + goldScore = 93000, + eagleScore = 102000, + rovioScore = 98000 +} +Level703 = { + silverScore = 146000, + goldScore = 153000, + eagleScore = 182000, + rovioScore = 156000 +} +Level705 = { + silverScore = 100000, + goldScore = 107000, + eagleScore = 130000, + rovioScore = 112000 +} +LevelP6_23 = { + silverScore = 76000, + goldScore = 83000, + eagleScore = 110000, + rovioScore = 96000 +} +LevelP6_25 = { + silverScore = 64000, + goldScore = 71000, + eagleScore = 90000, + rovioScore = 75000 +} +LevelP6_3 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 140000, + rovioScore = 112000 +} +LevelP6_5 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 131000, + rovioScore = 63000 +} +LevelP6_11 = { + silverScore = 95000, + goldScore = 102000, + eagleScore = 173000, + rovioScore = 109000 +} +Level701 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 145000, + rovioScore = 153000 +} +Level713_1 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 148000, + rovioScore = 99000 +} +Level707_1 = { + silverScore = 116000, + goldScore = 123000, + eagleScore = 116000, + rovioScore = 130000 +} +Level698_1 = { + silverScore = 108000, + goldScore = 115000, + eagleScore = 171000, + rovioScore = 150000 +} +LevelP6_30 = { + silverScore = 61000, + goldScore = 68000, + eagleScore = 82000, + rovioScore = 74000 +} +LevelP6_27 = { + silverScore = 91000, + goldScore = 98000, + eagleScore = 105000, + rovioScore = 99000 +} +LevelP6_21 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 101000, + rovioScore = 94000 +} +LevelP6_17 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 133000, + rovioScore = 98000 +} +LevelP6_18 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 146000, + rovioScore = 117000 +} +LevelP6_24 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 130000, + rovioScore = 100000 +} +LevelP6_9 = { + silverScore = 120000, + goldScore = 127000, + eagleScore = 161000, + rovioScore = 150000 +} +LevelP6_6 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 100000, + rovioScore = 105000 +} +LevelP6_10 = { + silverScore = 89000, + goldScore = 96000, + eagleScore = 146000, + rovioScore = 129000 +} +LevelP6_14 = { + silverScore = 98000, + goldScore = 105000, + eagleScore = 155000, + rovioScore = 135000 +} +LevelP6_7 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 148000, + rovioScore = 105000 +} +Level711_1 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 170000, + rovioScore = 123000 +} +LevelP4_421 = { + silverScore = 19000, + goldScore = 22000, + eagleScore = 28000, + rovioScore = 23000 +} +LevelP4_423 = { + silverScore = 27000, + goldScore = 32000, + eagleScore = 53000, + rovioScore = 35000 +} +LevelP4_424 = { + silverScore = 35000, + goldScore = 40000, + eagleScore = 56000, + rovioScore = 45000 +} +LevelP4_425 = { + silverScore = 40000, + goldScore = 45000, + eagleScore = 75000, + rovioScore = 54000 +} +LevelP4_426 = { + silverScore = 27000, + goldScore = 32000, + eagleScore = 51000, + rovioScore = 38000 +} +LevelP4_427 = { + silverScore = 42000, + goldScore = 47000, + eagleScore = 59000, + rovioScore = 51000 +} +LevelP4_428 = { + silverScore = 65000, + goldScore = 74000, + eagleScore = 84000, + rovioScore = 80000 +} +LevelP4_429 = { + silverScore = 47000, + goldScore = 58000, + eagleScore = 60000, + rovioScore = 61000 +} +LevelP4_431 = { + silverScore = 35000, + goldScore = 42000, + eagleScore = 69000, + rovioScore = 48000 +} +LevelP4_432 = { + silverScore = 69000, + goldScore = 77000, + eagleScore = 85000, + rovioScore = 83000 +} +LevelP4_433 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 78000, + rovioScore = 59000 +} +LevelP4_436 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 74000, + rovioScore = 70000 +} +LevelP4_439 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 86000, + rovioScore = 81000 +} +LevelP4_440 = { + silverScore = 58000, + goldScore = 68000, + eagleScore = 84000, + rovioScore = 75000 +} +LevelP4_441 = { + silverScore = 73000, + goldScore = 83000, + eagleScore = 87000, + rovioScore = 90000 +} +LevelP4_442 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 90000, + rovioScore = 73000 +} +LevelP4_443 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 115000, + rovioScore = 99000 +} +LevelP4_444 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 90000, + rovioScore = 82000 +} +LevelP4_445 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 120000, + rovioScore = 102000 +} +LevelP4_448 = { + silverScore = 75000, + goldScore = 83000, + eagleScore = 103000, + rovioScore = 90000 +} +LevelP4_449 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 105000, + rovioScore = 110000 +} +LevelP4_451 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 101000, + rovioScore = 91000 +} +LevelP4_452 = { + silverScore = 65000, + goldScore = 73000, + eagleScore = 85000, + rovioScore = 78000 +} +LevelP4_453 = { + silverScore = 56000, + goldScore = 63000, + eagleScore = 78000, + rovioScore = 69000 +} +LevelP4_454 = { + silverScore = 63000, + goldScore = 70000, + eagleScore = 79000, + rovioScore = 75000 +} +LevelP4_455 = { + silverScore = 115000, + goldScore = 125000, + eagleScore = 129000, + rovioScore = 132000 +} +LevelP4_457 = { + silverScore = 63000, + goldScore = 70000, + eagleScore = 93000, + rovioScore = 81000 +} +LevelP4_458 = { + silverScore = 68000, + goldScore = 78000, + eagleScore = 115000, + rovioScore = 82000 +} +LevelP4_459 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 112000, + rovioScore = 115000 +} +LevelP4_462 = { + silverScore = 90000, + goldScore = 105000, + eagleScore = 95000, + rovioScore = 108000 +} +LevelP4_463 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 138000, + rovioScore = 124000 +} +LevelP4_464 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 120000, + rovioScore = 114000 +} +LevelP4_465 = { + silverScore = 123000, + goldScore = 130000, + eagleScore = 156000, + rovioScore = 140000 +} +LevelP4_466 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 105000, + rovioScore = 94000 +} +LevelP4_467 = { + silverScore = 107000, + goldScore = 116000, + eagleScore = 151000, + rovioScore = 132000 +} +LevelP4_468 = { + silverScore = 90000, + goldScore = 98000, + eagleScore = 105000, + rovioScore = 104000 +} +LevelP4_469 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 131000, + rovioScore = 123000 +} +LevelP4_470 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 142000, + rovioScore = 128000 +} +LevelP4_471 = { + silverScore = 88000, + goldScore = 96000, + eagleScore = 126000, + rovioScore = 107000 +} +LevelP4_472 = { + silverScore = 66000, + goldScore = 73000, + eagleScore = 101000, + rovioScore = 78000 +} +LevelP4_473 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 110000, + rovioScore = 94000 +} +LevelP4_474 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 115000, + rovioScore = 86000 +} +LevelP4_475 = { + silverScore = 85000, + goldScore = 95000, + eagleScore = 131000, + rovioScore = 108000 +} +LevelP4_477 = { + silverScore = 82000, + goldScore = 90000, + eagleScore = 131000, + rovioScore = 96000 +} +LevelP4_478 = { + silverScore = 85000, + goldScore = 95000, + eagleScore = 113000, + rovioScore = 105000 +} +LevelS001 = { + silverScore = 53000, + goldScore = 66000, + rovioScore = 74000, + eagleScore = 51000 +} +LevelS002 = { + silverScore = 44000, + goldScore = 54000, + rovioScore = 59000, + eagleScore = 41000 +} +LevelS003 = { + silverScore = 74000, + goldScore = 84000, + rovioScore = 93000, + eagleScore = 86000 +} +LevelS004 = { + silverScore = 67000, + goldScore = 77000, + rovioScore = 80000, + eagleScore = 77000 +} +LevelS005 = { + silverScore = 100000, + goldScore = 110000, + rovioScore = 112000, + eagleScore = 98000 +} +LevelS006 = { + silverScore = 90000, + goldScore = 96000, + rovioScore = 101000, + eagleScore = 97000 +} +LevelS007 = { + silverScore = 42000, + goldScore = 48000, + rovioScore = 52000, + eagleScore = 43000 +} +LevelS008 = { + silverScore = 66000, + goldScore = 76000, + rovioScore = 83000, + eagleScore = 82000 +} +LevelS009 = { + silverScore = 85000, + goldScore = 95000, + rovioScore = 100000, + eagleScore = 98000 +} +LevelS010 = { + silverScore = 70000, + goldScore = 80000, + rovioScore = 83000, + eagleScore = 86000 +} +LevelS011 = { + silverScore = 67000, + goldScore = 77000, + rovioScore = 87000, + eagleScore = 79000 +} +LevelS012 = { + silverScore = 80000, + goldScore = 90000, + rovioScore = 101000, + eagleScore = 106000 +} +LevelS013 = { + silverScore = 80000, + goldScore = 90000, + rovioScore = 96000, + eagleScore = 97000 +} +LevelS014 = { + silverScore = 81000, + goldScore = 91000, + rovioScore = 98000, + eagleScore = 96000 +} +LevelS015 = { + silverScore = 80000, + goldScore = 88000, + rovioScore = 89000, + eagleScore = 94000 +} +LevelS016 = { + silverScore = 62000, + goldScore = 67000, + rovioScore = 73000, + eagleScore = 88000 +} +LevelS017 = { + silverScore = 92000, + goldScore = 102000, + rovioScore = 110000, + eagleScore = 104000 +} +LevelS018 = { + silverScore = 48000, + goldScore = 55000, + rovioScore = 59000, + eagleScore = 48000 +} +LevelS019 = { + silverScore = 46000, + goldScore = 51000, + rovioScore = 54000, + eagleScore = 94000 +} +LevelS020 = { + silverScore = 85000, + goldScore = 93000, + rovioScore = 102000, + eagleScore = 110000 +} +LevelS021 = { + silverScore = 80000, + goldScore = 88000, + rovioScore = 92000, + eagleScore = 95000 +} +LevelS022 = { + silverScore = 50000, + goldScore = 56000, + rovioScore = 60000, + eagleScore = 85000 +} +LevelS023 = { + silverScore = 75000, + goldScore = 82000, + rovioScore = 87000, + eagleScore = 105000 +} +LevelS024 = { + silverScore = 85000, + goldScore = 95000, + rovioScore = 102000, + eagleScore = 131000 +} +LevelS025 = { + silverScore = 49000, + goldScore = 54000, + rovioScore = 66000, + eagleScore = 70000 +} +LevelS026 = { + silverScore = 105000, + goldScore = 112000, + rovioScore = 122000, + eagleScore = 125000 +} +LevelS027 = { + silverScore = 80000, + goldScore = 89000, + rovioScore = 94000, + eagleScore = 109000 +} +LevelS028 = { + silverScore = 75000, + goldScore = 82000, + rovioScore = 85000, + eagleScore = 119000 +} +LevelS029 = { + silverScore = 82000, + goldScore = 90000, + rovioScore = 104000, + eagleScore = 115000 +} +LevelS030 = { + silverScore = 85000, + goldScore = 92000, + rovioScore = 92000, + eagleScore = 114000 +} +LevelS031 = { + silverScore = 80000, + goldScore = 86000, + eagleScore = 113000 +} +LevelS032 = { + silverScore = 91000, + goldScore = 101000, + eagleScore = 150000 +} +LevelS033 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 104000 +} +LevelS034 = { + silverScore = 120000, + goldScore = 132000, + eagleScore = 203000 +} +LevelS035 = { + silverScore = 80000, + goldScore = 87000, + eagleScore = 119000 +} +LevelS036 = { + silverScore = 109000, + goldScore = 116000, + eagleScore = 152000 +} +LevelS037 = { + silverScore = 79000, + goldScore = 86000, + eagleScore = 115000 +} +LevelS038 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 143000 +} +LevelS039 = { + silverScore = 97000, + goldScore = 107000, + eagleScore = 120000 +} +LevelS040 = { + silverScore = 52000, + goldScore = 62000, + eagleScore = 96000 +} +LevelS041 = { + silverScore = 95000, + goldScore = 103000, + eagleScore = 120000 +} +LevelS042 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 117000 +} +LevelS043 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 102000 +} +LevelS044 = { + silverScore = 102000, + goldScore = 110000, + eagleScore = 140000 +} +LevelS045 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 140000 +} +LevelP3_306 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 146000, + rovioScore = 126000 +} +LevelP3_149 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 73000, + rovioScore = 92000 +} +LevelP3_307 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 102000, + rovioScore = 120000 +} +LevelP3_312 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 73000, + rovioScore = 95000 +} +LevelP3_311 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 100000, + rovioScore = 121000 +} +LevelP3_310 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 106000, + rovioScore = 130000 +} +LevelP3_309 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 100000, + rovioScore = 117000 +} +LevelP3_308 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 139000, + rovioScore = 148000 +} +LevelP3_296 = { + silverScore = 135000, + goldScore = 145000, + eagleScore = 127000, + rovioScore = 153000 +} +LevelP3_301 = { + silverScore = 92000, + goldScore = 102000, + eagleScore = 116000, + rovioScore = 108000 +} +LevelP3_168 = { + silverScore = 135000, + goldScore = 145000, + eagleScore = 172000, + rovioScore = 156000 +} +LevelP3_217 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 112000, + rovioScore = 108000 +} +LevelP3_221 = { + silverScore = 55000, + goldScore = 60000, + eagleScore = 89000, + rovioScore = 68000 +} +LevelP3_297 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 114000, + rovioScore = 103000 +} +LevelP3_313 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 427000, + rovioScore = 149000 +} +LevelP3_166 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 123000, + rovioScore = 127000 +} +LevelP3_237 = { + silverScore = 125000, + goldScore = 135000, + eagleScore = 147000, + rovioScore = 142000 +} +LevelP3_298 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 101000, + rovioScore = 85000 +} +LevelP3_299 = { + silverScore = 120000, + goldScore = 130000, + eagleScore = 122000, + rovioScore = 142000 +} +LevelP3_303 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 92000, + rovioScore = 96000 +} +LevelP3_214 = { + silverScore = 69000, + goldScore = 75000, + eagleScore = 83000, + rovioScore = 84000 +} +LevelP3_159 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 122000, + rovioScore = 103000 +} +LevelP3_164 = { + silverScore = 80000, + goldScore = 90000, + eagleScore = 115000, + rovioScore = 100000 +} +LevelP3_216 = { + silverScore = 56000, + goldScore = 64000, + eagleScore = 94000, + rovioScore = 68000 +} +LevelP3_302 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 109000, + rovioScore = 117000 +} +LevelP3_219 = { + silverScore = 90000, + goldScore = 98000, + eagleScore = 124000, + rovioScore = 104000 +} +LevelP3_163 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 95000, + rovioScore = 96000 +} +LevelP3_160 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 95000, + rovioScore = 64000 +} +LevelP3_161 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 78000, + rovioScore = 71000 +} +LevelP3_304 = { + silverScore = 140000, + goldScore = 150000, + eagleScore = 165000, + rovioScore = 162000 +} +LevelP3_212 = { + silverScore = 50000, + goldScore = 58000, + eagleScore = 77000, + rovioScore = 69000 +} +LevelP3_134 = { + silverScore = 62000, + goldScore = 72000, + eagleScore = 73000, + rovioScore = 77000 +} +LevelP3_162 = { + silverScore = 53000, + goldScore = 63000, + eagleScore = 66000, + rovioScore = 73000 +} +LevelP3_271 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 88000, + rovioScore = 92000 +} +LevelP3_224 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 51000, + rovioScore = 70000 +} +LevelP3_253 = { + silverScore = 68000, + goldScore = 78000, + eagleScore = 72000, + rovioScore = 82000 +} +LevelP3_225 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 115000, + rovioScore = 120000 +} +LevelP3_232 = { + silverScore = 80000, + goldScore = 88000, + eagleScore = 155000, + rovioScore = 92000 +} +LevelP3_150 = { + silverScore = 94000, + goldScore = 100000, + eagleScore = 96000, + rovioScore = 108000 +} +LevelP3_211 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 116000, + rovioScore = 87000 +} +LevelP3_223 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 96000, + rovioScore = 105000 +} +LevelP3_226 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 118000, + rovioScore = 110000 +} +LevelP3_215 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 84000, + rovioScore = 86000 +} +LevelP3_220 = { + silverScore = 82000, + goldScore = 92000, + eagleScore = 84000, + rovioScore = 96000 +} +LevelP3_231 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 150000, + rovioScore = 129000 +} +LevelLite7 = {silverScore = 50000, goldScore = 57000} +LevelLite8 = {silverScore = 50000, goldScore = 56000} +LevelLite9 = {silverScore = 65000, goldScore = 75000} +LevelLite10 = {silverScore = 78000, goldScore = 88000} +LevelLite11 = {silverScore = 55000, goldScore = 60000} +LevelLite12 = {silverScore = 68000, goldScore = 77000} +LevelLite13 = {silverScore = 63000, goldScore = 72000} +LevelLite14 = {silverScore = 90000, goldScore = 100000} +LevelLite15 = {silverScore = 70000, goldScore = 80000} +LevelLite16 = {silverScore = 80000, goldScore = 90000} +LevelLite17 = {silverScore = 50000, goldScore = 60000} +LevelLite18 = {silverScore = 57000, goldScore = 65000} +LevelP2_210 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 91000, + rovioScore = 91000 +} +LevelP2_122 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 95000, + rovioScore = 86000 +} +LevelP2_115 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 100000, + rovioScore = 64000 +} +LevelP2_114 = { + silverScore = 73000, + goldScore = 83000, + eagleScore = 89000, + rovioScore = 89000 +} +LevelP2_108 = { + silverScore = 30000, + goldScore = 40000, + eagleScore = 47000, + rovioScore = 52000 +} +LevelP2_104 = { + silverScore = 68000, + goldScore = 76000, + eagleScore = 81000, + rovioScore = 81000 +} +LevelP2_103 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 53000, + rovioScore = 70000 +} +LevelP2_101 = { + silverScore = 48000, + goldScore = 55000, + rovioScore = 1000 +} +LevelP2_100 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 68000, + rovioScore = 51000 +} +LevelP2_99 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 83000, + rovioScore = 77000 +} +LevelP2_98 = { + silverScore = 50000, + goldScore = 58000, + eagleScore = 67000, + rovioScore = 64000 +} +LevelP2_97 = { + silverScore = 88000, + goldScore = 97000, + eagleScore = 110000, + rovioScore = 107000 +} +LevelP2_96 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 78000, + rovioScore = 63000 +} +LevelP2_95 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 81000, + rovioScore = 102000 +} +LevelP2_94 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 88000, + rovioScore = 71000 +} +LevelP2_93 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 114000, + rovioScore = 111000 +} +LevelP2_92 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 96000, + rovioScore = 86000 +} +LevelP2_91 = { + silverScore = 50000, + goldScore = 56000, + eagleScore = 90000, + rovioScore = 60000 +} +LevelP2_90 = { + silverScore = 160000, + goldScore = 175000, + eagleScore = 171000, + rovioScore = 179000 +} +LevelP2_89 = { + silverScore = 55000, + goldScore = 65000, + eagleScore = 87000, + rovioScore = 71000 +} +LevelP2_88 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 67000, + rovioScore = 58000 +} +LevelP2_87 = { + silverScore = 85000, + goldScore = 100000, + eagleScore = 86000, + rovioScore = 112000 +} +LevelP2_86 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 99000, + rovioScore = 66000 +} +LevelP2_85 = { + silverScore = 35000, + goldScore = 45000, + eagleScore = 60000, + rovioScore = 54000 +} +LevelP2_84 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 67000, + rovioScore = 51000 +} +LevelP2_83 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 80000, + rovioScore = 88000 +} +LevelP2_82 = { + silverScore = 60000, + goldScore = 75000, + eagleScore = 90000, + rovioScore = 93000 +} +LevelP2_81 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 63000, + rovioScore = 52000 +} +LevelP2_80 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 77000, + rovioScore = 61000 +} +LevelP2_79 = { + silverScore = 68000, + goldScore = 77000, + eagleScore = 91000, + rovioScore = 83000 +} +LevelP2_78 = { + silverScore = 48000, + goldScore = 55000, + eagleScore = 70000, + rovioScore = 58000 +} +LevelP2_77 = { + silverScore = 23000, + goldScore = 30000, + eagleScore = 40000, + rovioScore = 33000 +} +LevelP2_76 = { + silverScore = 70000, + goldScore = 85000, + eagleScore = 99000, + rovioScore = 92000 +} +LevelP2_74 = { + silverScore = 64000, + goldScore = 72000, + eagleScore = 115000, + rovioScore = 86000 +} +LevelP2_73 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 103000, + rovioScore = 92000 +} +LevelP2_72 = { + silverScore = 105000, + goldScore = 113000, + eagleScore = 124000, + rovioScore = 115000 +} +LevelP2_71 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 75000, + rovioScore = 64000 +} +LevelP2_69 = { + silverScore = 87000, + goldScore = 93000, + eagleScore = 103000, + rovioScore = 99000 +} +LevelP2_68 = { + silverScore = 98000, + goldScore = 107000, + eagleScore = 119000, + rovioScore = 111000 +} +LevelP2_67 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 119000, + rovioScore = 125000 +} +LevelP2_66 = { + silverScore = 85000, + goldScore = 94000, + eagleScore = 103000, + rovioScore = 106000 +} +LevelP2_65 = { + silverScore = 45000, + goldScore = 55000, + eagleScore = 69000, + rovioScore = 59000 +} +LevelP2_64 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 67000, + rovioScore = 78000 +} +Level27 = { + silverScore = 30000, + goldScore = 36000, + eagleScore = 61000, + rovioScore = 43000 +} +Level44 = { + silverScore = 55000, + goldScore = 75000, + eagleScore = 76000, + rovioScore = 80000 +} +Level17 = { + silverScore = 40000, + goldScore = 53000, + eagleScore = 65000, + rovioScore = 55000 +} +Level1 = { + silverScore = 30000, + goldScore = 32000, + eagleScore = 17000, + rovioScore = 33000 +} +Level11 = { + silverScore = 30000, + goldScore = 32000, + eagleScore = 17000, + rovioScore = 33000 +} +Level9 = { + silverScore = 43000, + goldScore = 54000, + eagleScore = 58000, + rovioScore = 60000 +} +Level20 = { + silverScore = 53000, + goldScore = 70000, + eagleScore = 75000, + rovioScore = 89000 +} +Level36 = { + silverScore = 54000, + goldScore = 62000, + eagleScore = 68000, + rovioScore = 74000 +} +Level35 = { + silverScore = 43000, + goldScore = 60000, + eagleScore = 63000, + rovioScore = 63000 +} +Level95 = { + silverScore = 59000, + goldScore = 68000, + eagleScore = 86000, + rovioScore = 85000 +} +Level96 = { + silverScore = 58000, + goldScore = 75000, + eagleScore = 84000, + rovioScore = 83000 +} +Level53 = { + silverScore = 31000, + goldScore = 41000, + eagleScore = 19400, + rovioScore = 43000 +} +Level45 = { + silverScore = 55000, + goldScore = 65000, + eagleScore = 68000, + rovioScore = 73000 +} +Level51 = { + silverScore = 45000, + goldScore = 50000, + eagleScore = 53000, + rovioScore = 62000 +} +Level81 = { + silverScore = 90000, + goldScore = 107000, + eagleScore = 135000, + rovioScore = 128000 +} +Level59 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 71000, + rovioScore = 62000 +} +Level3 = { + silverScore = 20000, + goldScore = 28000, + eagleScore = 19000, + rovioScore = 29000 +} +Level89 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 116000, + rovioScore = 118000 +} +Level88 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 100000, + rovioScore = 87000 +} +Level57 = { + silverScore = 47000, + goldScore = 60000, + eagleScore = 29000, + rovioScore = 61000 +} +Level85 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 75000, + rovioScore = 72000 +} +Level24 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 52000, + rovioScore = 55000 +} +Level34 = { + silverScore = 48000, + goldScore = 60000, + eagleScore = 58000, + rovioScore = 66000 +} +Level16 = { + silverScore = 25000, + goldScore = 35000, + eagleScore = 39000, + rovioScore = 37000 +} +Level18 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 87000, + rovioScore = 62000 +} +Level12 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 87000, + rovioScore = 62000 +} +Level91 = { + silverScore = 46000, + goldScore = 55000, + eagleScore = 45000, + rovioScore = 57000 +} +Level23 = { + silverScore = 37000, + goldScore = 50000, + eagleScore = 48000, + rovioScore = 62000 +} +Level32 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 59000, + rovioScore = 70000 +} +Level52 = { + silverScore = 52000, + goldScore = 60000, + eagleScore = 66000, + rovioScore = 68000 +} +Level79 = { + silverScore = 33000, + goldScore = 40000, + eagleScore = 40000, + rovioScore = 48000 +} +Level22 = { + silverScore = 50000, + goldScore = 63000, + eagleScore = 89000, + rovioScore = 66000 +} +Level5 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 39000, + rovioScore = 56000 +} +Level12 = { + silverScore = 32000, + goldScore = 41000, + eagleScore = 50000, + rovioScore = 51000 +} +Level15 = { + silverScore = 55000, + goldScore = 64000, + eagleScore = 47000, + rovioScore = 66000 +} +Level8 = { + silverScore = 40000, + goldScore = 55000, + eagleScore = 45000, + rovioScore = 69000 +} +Level30 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 67000, + rovioScore = 62000 +} +Level28 = { + silverScore = 47000, + goldScore = 57000, + eagleScore = 65000, + rovioScore = 69000 +} +Level29 = { + silverScore = 33000, + goldScore = 39000, + eagleScore = 55000, + rovioScore = 40000 +} +Level13 = { + silverScore = 35000, + goldScore = 45000, + eagleScore = 41000, + rovioScore = 60000 +} +Level75 = { + silverScore = 42000, + goldScore = 50000, + eagleScore = 59000, + rovioScore = 55000 +} +Level21 = { + silverScore = 45000, + goldScore = 53000, + eagleScore = 85000, + rovioScore = 56000 +} +Level31 = { + silverScore = 43000, + goldScore = 50000, + eagleScore = 37000, + rovioScore = 59000 +} +Level87 = { + silverScore = 80000, + goldScore = 89000, + eagleScore = 88000, + rovioScore = 111000 +} +Level66 = { + silverScore = 42000, + goldScore = 50000, + eagleScore = 71000, + rovioScore = 80000 +} +Level26 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 73000, + rovioScore = 59000 +} +Level41 = { + silverScore = 20000, + goldScore = 28000, + eagleScore = 28000, + rovioScore = 29000 +} +Level40 = { + silverScore = 44000, + goldScore = 50000, + eagleScore = 63000, + rovioScore = 52000 +} +Level42 = { + silverScore = 90000, + goldScore = 102000, + eagleScore = 96000, + rovioScore = 117000 +} +Level77 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 35000, + rovioScore = 61000 +} +Level58 = { + silverScore = 55000, + goldScore = 70000, + eagleScore = 86000, + rovioScore = 75000 +} +Level2 = { + silverScore = 27000, + goldScore = 35000, + eagleScore = 28000, + rovioScore = 44000 +} +Level7 = { + silverScore = 38000, + goldScore = 50000, + eagleScore = 50000, + rovioScore = 56000 +} +Level72 = { + silverScore = 35000, + goldScore = 47000, + eagleScore = 52000, + rovioScore = 51000 +} +Level6 = { + silverScore = 51000, + goldScore = 64000, + eagleScore = 65900, + rovioScore = 68000 +} +Level4 = { + silverScore = 35000, + goldScore = 45000, + eagleScore = 42000, + rovioScore = 46000 +} +Level82 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 102000, + rovioScore = 97000 +} +Level38 = { + silverScore = 51000, + goldScore = 69000, + eagleScore = 91000, + rovioScore = 90000 +} +Level39 = { + silverScore = 62000, + goldScore = 70000, + eagleScore = 64000, + rovioScore = 81000 +} +Level43 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 60000, + rovioScore = 65000 +} +Level90 = { + silverScore = 40000, + goldScore = 52000, + eagleScore = 80000, + rovioScore = 59000 +} +Level76 = { + silverScore = 32000, + goldScore = 40000, + eagleScore = 49000, + rovioScore = 43000 +} +Level49 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 86000, + rovioScore = 84000 +} +Level10 = { + silverScore = 38000, + goldScore = 47000, + eagleScore = 49000, + rovioScore = 49000 +} +Level14 = { + silverScore = 39000, + goldScore = 48000, + eagleScore = 45000, + rovioScore = 58000 +} +LevelGE_1 = {silverScore = 1000, goldScore = 2000} +LevelGE_2 = {silverScore = 1000, goldScore = 2000} +LevelGE_3 = {silverScore = 1000, goldScore = 2000} +LevelGE_4 = {silverScore = 1000, goldScore = 2000} +LevelGE_5 = {silverScore = 1000, goldScore = 2000} +LevelGE_6 = {silverScore = 1000, goldScore = 2000} +LevelGE_7 = {silverScore = 1000, goldScore = 2000} +LevelGE_8 = {silverScore = 1000, goldScore = 2000} +LevelGE_9 = {silverScore = 1000, goldScore = 2000} +LevelGE_10 = {silverScore = 1000, goldScore = 2000} +LevelGE_11 = {silverScore = 1000, goldScore = 2000} +LevelGE_12 = {silverScore = 1000, goldScore = 2000} +LevelGE_13 = {silverScore = 1000, goldScore = 2000} +LevelGE_14 = {silverScore = 1000, goldScore = 2000} +LevelGE_15 = {silverScore = 1000, goldScore = 2000} +LevelGE_16 = {silverScore = 1000, goldScore = 2000} +LevelGE_17 = {silverScore = 1000, goldScore = 2000} +LevelGE_18 = {silverScore = 1000, goldScore = 2000} +LevelGE_19 = {silverScore = 1000, goldScore = 2000} +LevelGE_20 = {silverScore = 1000, goldScore = 2000} +LevelGE_21 = {silverScore = 1000, goldScore = 2000} +LevelGE_22 = {silverScore = 1000, goldScore = 2000} +LevelGE_23 = {silverScore = 1000, goldScore = 2000} +LevelGE_24 = {silverScore = 1000, goldScore = 2000} +LevelLite1 = {silverScore = 30000, goldScore = 32000} +LevelLite2 = {silverScore = 35000, goldScore = 40000} +LevelLite3 = {silverScore = 40000, goldScore = 48000} +LevelLite4 = {silverScore = 53000, goldScore = 60000} +LevelLite5 = {silverScore = 72000, goldScore = 79000} +LevelLite6 = {silverScore = 42000, goldScore = 49000} +LevelLite7 = {silverScore = 54000, goldScore = 47000} +LevelLite8 = {silverScore = 90000, goldScore = 100000} +LevelLite9 = {silverScore = 70000, goldScore = 80000} +LevelLite10 = {silverScore = 80000, goldScore = 90000} +LevelLite11 = {silverScore = 73000, goldScore = 80000} +LevelLite12 = {silverScore = 57000, goldScore = 65000} +LevelLite13 = {silverScore = 68000, goldScore = 75000} +LevelLite14 = {silverScore = 53000, goldScore = 61000} +LevelLite15 = {silverScore = 76000, goldScore = 86000} +LevelLite16 = {silverScore = 69000, goldScore = 76000} +LevelLite17 = {silverScore = 37000, goldScore = 44000} +LevelLite18 = {silverScore = 57000, goldScore = 64000} +LevelLite19 = {silverScore = 63000, goldScore = 70000} +LevelLite20 = {silverScore = 50000, goldScore = 57000} +LevelLite21 = {silverScore = 53000, goldScore = 60000} +LevelLite22 = {silverScore = 61000, goldScore = 68000} +LevelLite23 = {silverScore = 92000, goldScore = 98000} +LevelLite24 = {silverScore = 78000, goldScore = 85000} +filename = "starLimits.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/0.2.0/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/0.2.0/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..c9e58a57080c0ae98e89eb7145407dc4b078e077 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/0.2.0/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/0.2.0/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts/thatwasntpartofthescript.lua b/Angry Birds Project R/0.2.0/data/scripts/thatwasntpartofthescript.lua new file mode 100644 index 0000000000000000000000000000000000000000..4ec498a4c11fb6094a13eb6e51f4e2dc18e84c17 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts/thatwasntpartofthescript.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/EventManager.lua b/Angry Birds Project R/0.2.0/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/default_conf.lua b/Angry Birds Project R/0.2.0/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ed430eeda0e65636cd64613ab51aa9c64f5ef43 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/0.2.0/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d88bfe75d899bc9e110ac6c81740c1c5532c77b Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/events.lua b/Angry Birds Project R/0.2.0/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..164bdc4820ebea20fc7be8faad3fa38c0bf7a543 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/gamelogic.lua b/Angry Birds Project R/0.2.0/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..3a55102845504bf3155e034be16371c5c8605f57 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/0.2.0/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/level_effects.lua b/Angry Birds Project R/0.2.0/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f1e0922fce554168278c665ecc637771d56c1cc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/level_utils.lua b/Angry Birds Project R/0.2.0/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..58553501351d5c899e2aaa72982297e6adb24aae Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..2fc6ddd2710c0977629227ea87535b0c9f92d467 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c3685e99422c02b603d0241d1aaa1491bb62e0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/about.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/about.lua new file mode 100644 index 0000000000000000000000000000000000000000..a49a402e4f581d5c35c55a4aa3be485b507c47e5 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts_common/menus/about.lua @@ -0,0 +1,217 @@ +Credits = MainMenuRoot:inherit() +function Credits.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + ui.ImageButton:new().name = "backButton" + ui.ImageButton:new():setImage("ARROW_LEFT") + ui.ImageButton:new().returnValue = "RETURN_TO_MAIN_MENU" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new().clickSound = "menu_back" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Frame:new().name = "creditsFrame" + _ARG_0_:addChild((ui.Frame:new())) + ui.Image:new().name = "birds1" + ui.Image:new():setImage("ABOUT_BIRDS_1") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds2" + ui.Image:new():setImage("ABOUT_BIRDS_2") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds3" + ui.Image:new():setImage("ABOUT_BIRDS_3") + ui.Frame:new():addChild((ui.Image:new())) + if g_hasWebBrowser then + ui.ImageButton:new().name = "privacyButton" + ui.ImageButton:new():setImage("BUTTON_PRIVACY") + ui.ImageButton:new().returnValue = "GOTO_PRIVACY_POLICY" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "eulaButton" + ui.ImageButton:new():setImage("BUTTON_EULA") + ui.ImageButton:new().returnValue = "GOTO_EULA" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + end + ui.Text:new({font = getFontBasic}).name = "textAbout" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + _ARG_0_:setupAboutText() + ui.Text:new({font = getFontBasic}).name = "textCredits" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Text:new({font = getFontBasic}).text = "TEXT_CREDITS" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + if applyChinaRestictions then + ui.Image:new().name = "textAdditionalCredits" + ui.Image:new():setImage("TOM_CREDITS_S60") + ui.Frame:new():addChild((ui.Image:new())) + end + if g_hasWebBrowser then + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "privacyButton", + [4] = "eulaButton", + [5] = "birds2", + [6] = "textCredits", + [7] = "birds3" + } + else + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "birds2", + [4] = "textCredits", + [5] = "birds3" + } + end + if deviceModel == "s60" and applyChinaRestictions then + _G.table.insert(_ARG_0_.items, 7, "textAdditionalCredits") + end +end +function Credits.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "credits", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function Credits.setupAboutText(_ARG_0_) + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT" + if deviceModel == "iphone" or deviceModel == "iphone4" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CLICKGAMER" + end + if deviceModel == "ipad" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CHILLINGO" + end + if deviceModel == "s60" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_S60" + end + if deviceModel == "palm" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_PALM" + end + if deviceModel == "android" then + if isHDVersion then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + else + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID" + end + end + if deviceModel == "blackberry" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + end + _ARG_0_:getChild("textAbout").text = _G.res.getString("TEXTS_BASIC", _ARG_0_:getChild("textAbout").text) + _ARG_0_:getChild("textAbout").text = _G.string.gsub(_ARG_0_:getChild("textAbout").text, "(%$GAME_VERSION)", gameVersionNumber .. " (" .. svnRevisionNumber .. ") - " .. customerString) + _ARG_0_:getChild("textAbout"):clip() +end +function Credits.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + _ARG_0_.state = "RELEASED" + _ARG_0_.scroll = 0 + _ARG_0_.extra_velocity = 0 + _ARG_0_:getChild("textCredits"):clip() +end +function Credits.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + _ARG_0_:setupAboutText() + _ARG_0_.total_height = 0 + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.items) do + if _FORV_6_ > 1 then + _ARG_0_.total_height = _ARG_0_.total_height + screenHeight * 0.05 + end + _ARG_0_:getChild(_FORV_7_).x = screenWidth * 0.5 + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_.total_height + if _ARG_0_:getChild(_FORV_7_).text then + if deviceModel == "freebox" then + _ARG_0_:getChild(_FORV_7_).scaleX = 1.5 + _ARG_0_:getChild(_FORV_7_).scaleY = 1.5 + end + setFont(_ARG_0_:getChild(_FORV_7_).font) + _ARG_0_:getChild(_FORV_7_).textBoxSize = _G.math.min(screenWidth * 0.77, _G.res.getFontLeading() * 1.5 * 20) + _ARG_0_:getChild(_FORV_7_):clip() + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines + elseif _ARG_0_:getChild(_FORV_7_).image then + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) + end + end + _ARG_0_:getChild("backButton"):refresh() + _ARG_0_:getChild("backButton").x = _ARG_0_:getChild("backButton").w * 0.5 + g_layoutMargin.x + _ARG_0_:getChild("backButton").y = screenHeight - _ARG_0_:getChild("backButton").h * 0.5 - g_layoutMargin.y + if deviceModel == "roku" then + _ARG_0_:getChild("backButton").y = _ARG_0_:getChild("backButton").h * 0.5 + g_layoutMargin.y + end +end +function Credits.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "RELEASED" then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_1_ * screenHeight * 0.125 + _ARG_0_.extra_velocity * _ARG_1_ + if _G.math.abs(_ARG_0_.extra_velocity) > 0 then + if _ARG_0_.extra_velocity < 0 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity >= 0 then + _ARG_0_.extra_velocity = 0 + end + else + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity - screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity <= 0 then + _ARG_0_.extra_velocity = 0 + end + end + end + else + _ARG_0_.scroll = _ARG_0_.scroll + (_ARG_0_.last_y or _ARG_0_.drag_start) - cursor.y + _ARG_0_.last_y = cursor.y + end + if _ARG_0_.scroll >= _ARG_0_.total_height + screenHeight then + _ARG_0_.scroll = _ARG_0_.scroll - _ARG_0_.total_height - screenHeight + elseif _ARG_0_.scroll < 0 then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_0_.total_height + screenHeight + end + _ARG_0_:getChild("creditsFrame").y = screenHeight - _ARG_0_.scroll +end +function Credits.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "KEY_MENU" or _ARG_2_ == "ESCAPE") then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + end + if _ARG_1_ == "HOLD" and (_ARG_2_ == "DOWN" or _ARG_2_ == "UP") then + if _G.math.abs(_ARG_0_.extra_velocity) < screenHeight then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * (_ARG_2_ == "UP" and -1 or 1) * screenHeight * 16 + end + end +end +function Credits.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == nil then + if _ARG_1_ == "LPRESS" and _ARG_0_.state == "RELEASED" then + _ARG_0_.state = "DRAGGING" + _ARG_0_.drag_start = cursor.y + _ARG_0_.drag_start_time = g_time + _ARG_0_.last_y = cursor.y + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "RETURN_TO_MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_PRIVACY_POLICY" then + gotoPrivacyPolicy() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EULA" then + gotoEula() + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.state == "DRAGGING" then + _ARG_0_.state = "RELEASED" + if g_time - _ARG_0_.drag_start_time ~= 0 then + _ARG_0_.extra_velocity = (_ARG_0_.drag_start - cursor.y) / (g_time - _ARG_0_.drag_start_time) + else + _ARG_0_.extra_velocity = 0 + end + elseif _ARG_1_ == "WHEEL" and _ARG_0_.state == "RELEASED" and _G.math.abs(_ARG_0_.extra_velocity) < screenHeight * 8 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * -cursor.wheel * screenHeight * 16 + end + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +filename = "credits.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8d162faff205e33758c6d85a45accbb52665b3f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/ads.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/ads.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0bd4329f1c9d8ecd122ecacf0dcde39e3270915 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/ads.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/advertisa.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/advertisa.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/adverts.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/adverts.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..9871f7e2ce23fa1d7b06a1edbb361008fedcac39 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/credit.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/credit.lua new file mode 100644 index 0000000000000000000000000000000000000000..450519ff739d5c5f81cb7764a667842b40a171e6 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/credit.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/credits.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d3ba679ed45a448df8e3aa563134f393c194831 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e068dde7d9eda40d0c11e466003629b779bc37f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/cutsenes.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/cutsenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..763528e56e9079385e543cb806052626c416e19a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts_common/menus/cutsenes.lua @@ -0,0 +1,304 @@ +CutScene = ui.Frame:inherit() +function CutScene.new(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + _ARG_3_ or {}.cutscene = _ARG_1_ + _ARG_3_ or {}.data = cutscenes[_ARG_1_] + _ARG_3_ or {}.end_event = _ARG_2_ + _ARG_3_ or {}.name = "CutScene" + return ui.Frame.new(_ARG_0_, _ARG_3_ or {}) +end +function CutScene.init(_ARG_0_) + ui.Frame.init(_ARG_0_) + ui.ImageButton:new().name = "skip_button" + if deviceModel == "android" and screenHeight < 320 then + ui.ImageButton:new():setImage("BUTTON_SKIP_CUTSCENE_QVGA") + else + ui.ImageButton:new():setImage("BUTTON_SKIP_CUTSCENE") + end + ui.ImageButton:new():setVisible(false) + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function CutScene.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function CutScene.onEntry(_ARG_0_) + _ARG_0_.scroll_x = 0 + _ARG_0_.scroll_y = 0 + _ARG_0_.scale = 1 + _ARG_0_.offset_x = 0 + _ARG_0_.offset_y = 0 + _ARG_0_.x_multiplier = 1 + _ARG_0_.y_multiplier = 1 + _ARG_0_.dataPosition = 1 + _ARG_0_.timeElapsed = 0 + _ARG_0_.sprites = {} + _ARG_0_.fit = "none" + _ARG_0_.result = nil + _ARG_0_.no_scroll = false + _ARG_0_.borders = true + _ARG_0_.draw_game = false + ui.Frame.onEntry(_ARG_0_) + _G.res.stopAllAudio() + if keyHold.LBUTTON then + _ARG_0_.ldown = true + end + if settingsWrapper:canSkipCutscene(_ARG_0_.cutscene) then + _ARG_0_:getChild("skip_button"):setVisible(true) + end + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function CutScene.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.timeElapsed = _ARG_0_.timeElapsed + _ARG_1_ + while _ARG_0_.data[_ARG_0_.dataPosition] and _ARG_0_.data[_ARG_0_.dataPosition].time <= _ARG_0_.timeElapsed do + _ARG_0_:processCommand(_ARG_0_.data[_ARG_0_.dataPosition]) + _ARG_0_.dataPosition = _ARG_0_.dataPosition + 1 + end + if _ARG_0_.scroll and not _ARG_0_.no_scroll then + if _ARG_0_.scroll.type == "linear" then + elseif _ARG_0_.scroll.type == "cubic_in_out" then + end + if 1 <= tweenEaseCubicInOut(_ARG_0_.timeElapsed - _ARG_0_.scroll.begin_time, 0, 1, _ARG_0_.scroll.end_time - _ARG_0_.scroll.begin_time) then + _ARG_0_.scroll = nil + _ARG_0_.scroll_x = _ARG_0_.scroll.end_x + _ARG_0_.scroll_y = _ARG_0_.scroll.end_y + else + _ARG_0_.scroll_x = _ARG_0_.scroll.begin_x + tweenEaseCubicInOut(_ARG_0_.timeElapsed - _ARG_0_.scroll.begin_time, 0, 1, _ARG_0_.scroll.end_time - _ARG_0_.scroll.begin_time) * (_ARG_0_.scroll.end_x - _ARG_0_.scroll.begin_x) + _ARG_0_.scroll_y = _ARG_0_.scroll.begin_y + tweenEaseCubicInOut(_ARG_0_.timeElapsed - _ARG_0_.scroll.begin_time, 0, 1, _ARG_0_.scroll.end_time - _ARG_0_.scroll.begin_time) * (_ARG_0_.scroll.end_y - _ARG_0_.scroll.begin_y) + end + end + ui.Frame.update(_ARG_0_, _ARG_1_, _ARG_2_) +end +function CutScene.processCommand(_ARG_0_, _ARG_1_) + if _ARG_1_.action == "playsound" then + _G.res.playAudio(_ARG_1_.sound, _ARG_1_.volume or 1, _ARG_1_.loop or false, _ARG_1_.track) + elseif _ARG_1_.action == "createsprite" then + _ARG_0_.sprites[_ARG_1_.name] = { + image = _ARG_1_.image, + layer = _ARG_1_.layer or 0, + x = _ARG_1_.x * _ARG_0_.x_multiplier, + y = _ARG_1_.y * _ARG_0_.y_multiplier, + z = _ARG_1_.z or 0, + flip_x = _ARG_1_.flip_x or false, + flip_y = _ARG_1_.flip_y or false, + scale_x = _ARG_1_.scale_x or 1, + scale_y = _ARG_1_.scale_y or 1, + angle = _ARG_1_.angle or 0 + } + elseif _ARG_1_.action == "deletesprite" then + _ARG_0_.sprites[_ARG_1_.name] = nil + elseif _ARG_1_.action == "set_bg_colour" then + setBGColor(_ARG_1_.r, _ARG_1_.g, _ARG_1_.b) + _ARG_0_.backgroundColour = { + r = _ARG_1_.r, + g = _ARG_1_.g, + b = _ARG_1_.b, + a = 1 + } + elseif _ARG_1_.action == "fitheight" then + _ARG_0_.fit = "height" + if _ARG_1_.image then + _ARG_0_.ref_height, _ARG_0_.ref_width = _ARG_0_:getCompoSpriteBounds(_ARG_1_.image or _ARG_0_.sprites[_ARG_1_.sprite].image) + else + _ARG_0_.ref_width = _ARG_1_.width + _ARG_0_.ref_height = _ARG_1_.height + end + _ARG_0_:layout() + print("fitting cutscene to h=" .. _ARG_0_.ref_height .. " scale=" .. _ARG_0_.scale .. "\n") + elseif _ARG_1_.action == "fitwidth" then + _ARG_0_.fit = "width" + if _ARG_1_.image then + _ARG_0_.ref_height, _ARG_0_.ref_width = _ARG_0_:getCompoSpriteBounds(_ARG_1_.image or _ARG_0_.sprites[_ARG_1_.sprite].image) + else + _ARG_0_.ref_width = _ARG_1_.width + _ARG_0_.ref_height = _ARG_1_.height + end + _ARG_0_:layout() + print("fitting cutscene to w=" .. _ARG_0_.ref_width .. " scale=" .. _ARG_0_.scale .. "\n") + elseif _ARG_1_.action == "setreferencesize" then + _ARG_0_.x_multiplier = _G.res.getSpriteBounds(_ARG_1_.image) / _ARG_1_.width + _ARG_0_.y_multiplier = _G.res.getSpriteBounds(_ARG_1_.image) / _ARG_1_.height + elseif _ARG_1_.action == "createnonfullscreencutscene" then + _ARG_0_.sprites[_ARG_1_.name] = { + image = _ARG_1_.image, + layer = _ARG_1_.layer or 0, + x = _ARG_1_.x * screenWidth, + y = _ARG_1_.y * screenHeight, + z = _ARG_1_.z or 0, + flip_x = _ARG_1_.flip_x or false, + flip_y = _ARG_1_.flip_y or false, + scale_x = _ARG_1_.scale_x or 1, + scale_y = _ARG_1_.scale_y or 1, + angle = _ARG_1_.angle or 0 + } + if _ARG_1_.button then + _ARG_0_.sprites[_ARG_1_.button] = { + image = _ARG_1_.button, + layer = _ARG_1_.layer or 0, + x = _ARG_1_.x * screenWidth + _G.res.getSpriteBounds(_ARG_1_.image) * 0.3, + y = _ARG_1_.y * screenHeight + _G.res.getSpriteBounds(_ARG_1_.image) * 0.5, + z = _ARG_1_.z + 0.01 or 0.01, + flip_x = _ARG_1_.flip_x or false, + flip_y = _ARG_1_.flip_y or false, + scale_x = _ARG_1_.scale_x or 1, + scale_y = _ARG_1_.scale_y or 1, + angle = _ARG_1_.angle or 0 + } + end + elseif _ARG_1_.action == "set_scroll_position" then + _ARG_0_.scroll_x = _ARG_0_.sprites[_ARG_1_.scroll_target.sprite].x + _ARG_1_.scroll_target.x * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - _ARG_1_.scroll_cursor.x * (screenWidth / _ARG_0_.scale - _ARG_0_.offset_x * 2) + _ARG_0_.scroll_y = _ARG_0_.sprites[_ARG_1_.scroll_target.sprite].y + _ARG_1_.scroll_target.y * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - _ARG_1_.scroll_cursor.y * (screenHeight / _ARG_0_.scale - _ARG_0_.offset_y * 2) + print("setting scroll position to [" .. _ARG_0_.scroll_x .. ";" .. _ARG_0_.scroll_y .. "]\n") + elseif _ARG_1_.action == "scroll" then + print("CURSOR: " .. _ARG_0_.scroll_x + _ARG_1_.scroll_cursor.x * ((g_cutsceneFilm and _G.math.max(screenWidth, g_cutsceneDimensions.width) or screenWidth) / _ARG_0_.scale - _ARG_0_.offset_x * 2) .. "; TARGET: " .. _ARG_0_.sprites[_ARG_1_.scroll_target.sprite].x + _ARG_1_.scroll_target.x * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) .. "\n") + _ARG_0_.scroll = { + begin_x = _ARG_0_.scroll_x, + end_x = _ARG_0_.scroll_x + (_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].x + _ARG_1_.scroll_target.x * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - (_ARG_0_.scroll_x + _ARG_1_.scroll_cursor.x * ((g_cutsceneFilm and _G.math.max(screenWidth, g_cutsceneDimensions.width) or screenWidth) / _ARG_0_.scale - _ARG_0_.offset_x * 2))), + begin_y = _ARG_0_.scroll_y, + end_y = _ARG_0_.scroll_y + (_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].y + _ARG_1_.scroll_target.y * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - (_ARG_0_.scroll_y + _ARG_1_.scroll_cursor.y * ((g_cutsceneFilm and _G.math.max(screenHeight, g_cutsceneDimensions.height) or screenHeight) / _ARG_0_.scale - _ARG_0_.offset_y * 2))), + begin_time = _ARG_1_.time, + end_time = _ARG_1_.time + _ARG_1_.duration, + type = _ARG_1_.type or "linear" + } + elseif _ARG_1_.action == "end" then + settingsWrapper:setCutsceneWatched(_ARG_0_.cutscene) + saveLuaFileWrapper("settings.lua", "settings", true) + if _ARG_0_.end_event then + eventManager:notify(_ARG_0_.end_event) + end + elseif _ARG_1_.action == "toggle_borders" then + _ARG_0_.borders = _ARG_1_.value + elseif _ARG_1_.action == "toggle_draw_game" then + _ARG_0_.draw_game = _ARG_1_.value + end +end +function CutScene.getCompoSpriteBounds(_ARG_0_, _ARG_1_) + return _G.res.getSpriteBounds(_ARG_1_) +end +function CutScene.layout(_ARG_0_) + _ARG_0_.offset_x = 0 + _ARG_0_.offset_y = 0 + _ARG_0_.scale = 1 + _ARG_0_.no_scroll = false + if _ARG_0_.fit == "height" then + if _ARG_0_.ref_height * g_cutscene_asset_scale > screenHeight then + _ARG_0_.scale = screenHeight / (_ARG_0_.ref_height * g_cutscene_asset_scale) + _ARG_0_.offset_y = 0 + else + _ARG_0_.scale = 1 + _ARG_0_.offset_y = (screenHeight - _ARG_0_.ref_height * g_cutscene_asset_scale) * 0.5 + end + if _ARG_0_.ref_width * g_cutscene_asset_scale < screenWidth and not g_cutsceneFilm then + _ARG_0_.offset_x = (screenWidth - _ARG_0_.ref_width * g_cutscene_asset_scale) * 0.5 + _ARG_0_.no_scroll = true + end + elseif _ARG_0_.fit == "width" then + if _ARG_0_.ref_width * g_cutscene_asset_scale > screenWidth then + _ARG_0_.scale = screenWidth / (_ARG_0_.ref_width * g_cutscene_asset_scale) + _ARG_0_.offset_x = 0 + else + _ARG_0_.scale = 1 + _ARG_0_.offset_x = (screenWidth - _ARG_0_.ref_width * g_cutscene_asset_scale) * 0.5 + end + end + if g_cutsceneFilm then + if screenWidth > g_cutsceneDimensions.width then + _ARG_0_.offset_x = (screenWidth - g_cutsceneDimensions.width) * 0.5 + end + if screenHeight > g_cutsceneDimensions.height then + _ARG_0_.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + elseif screenHeight < g_cutsceneDimensions.height then + _ARG_0_.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + end + print(" film strip mode, offset x=" .. _G.tostring(_ARG_0_.offset_x) .. " y=" .. _G.tostring(_ARG_0_.offset_y) .. "\n") + _ARG_0_.scale = 1 + end + _ARG_0_:getChild("skip_button").x = screenWidth - _G.res.getSpriteBounds(_ARG_0_:getChild("skip_button").image) * 0.55 - g_layoutMargin.x + _ARG_0_:getChild("skip_button").y = screenHeight - _G.res.getSpriteBounds(_ARG_0_:getChild("skip_button").image) * 0.55 - g_layoutMargin.y + _ARG_0_.scale = _ARG_0_.scale * g_cutscene_asset_scale + ui.Frame.layout(_ARG_0_) +end +function CutScene.onExit(_ARG_0_) + _G.res.stopAllAudio() + ui.Frame.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function CutScene.draw(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.draw_game then + drawGame() + end + if g_cutsceneFilm then + setRenderState(0, 0, _G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1), (_G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1))) + _G.res.drawSprite("CUTSCENE_BG", screenWidth * 0.5 / _G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1), screenHeight * 0.5 / _G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1)) + end + for _FORV_7_, _FORV_8_ in _G.pairs(_ARG_0_.sprites) do + _G.table.insert({}, _FORV_8_) + end + _G.table.sort({}, function(_ARG_0_, _ARG_1_) + return _ARG_0_.z < _ARG_1_.z + end) + setRenderState(0, 0, 1, 1) + if not g_cutsceneFilm and 0 < _ARG_0_.offset_y and _ARG_0_.borders then + drawRect(0, 0, 0, 1, 0, 0, screenWidth, _G.math.ceil(_ARG_0_.offset_y), false) + drawRect(0, 0, 0, 1, 0, _G.math.floor(screenHeight - _ARG_0_.offset_y), screenWidth, screenHeight, false) + end + if not g_cutsceneFilm and 0 < _ARG_0_.offset_x and _ARG_0_.borders then + drawRect(0, 0, 0, 1, 0, 0, _G.math.ceil(_ARG_0_.offset_x), screenHeight, false) + drawRect(0, 0, 0, 1, _G.math.floor(screenWidth - _ARG_0_.offset_x), 0, screenWidth, screenHeight, false) + _G.res.setClipRect(_ARG_0_.offset_x, 0, screenWidth - 2 * _ARG_0_.offset_x, screenHeight) + end + if g_cutsceneFilm and _ARG_0_.backgroundColour then + drawRect(_ARG_0_.backgroundColour.r / 255, _ARG_0_.backgroundColour.g / 255, _ARG_0_.backgroundColour.b / 255, 1, _ARG_0_.offset_x, _ARG_0_.offset_y, screenWidth - _ARG_0_.offset_x, screenHeight - _ARG_0_.offset_y, false) + end + if 0 < _ARG_0_.offset_y or 0 < _ARG_0_.offset_x then + _G.res.setClipRect(_ARG_0_.offset_x, _ARG_0_.offset_y, screenWidth - 2 * _ARG_0_.offset_x, screenHeight - 2 * _ARG_0_.offset_y) + end + for _FORV_12_ = 1, #{} do + if {}[_FORV_12_].flip_x then + end + if {}[_FORV_12_].flip_y then + end + setRenderState(-_G.math.floor(_ARG_0_.scroll_x) + _ARG_0_.offset_x + {}[_FORV_12_].x * _ARG_0_.scale / (_ARG_0_.scale * -1), -_G.math.floor(_ARG_0_.scroll_y) + _ARG_0_.offset_y / g_cutscene_asset_scale + {}[_FORV_12_].y * _ARG_0_.scale / (_ARG_0_.scale * -1), _ARG_0_.scale * -1, _ARG_0_.scale * -1, {}[_FORV_12_].angle, _G.res.getSpritePivot({}[_FORV_12_].image)) + _G.res.drawSprite({}[_FORV_12_].image, 0, 0) + end + setRenderState(0, 0, 1, 1, 0, 0, 0) + _G.res.setClipRect(0, 0, screenWidth, screenHeight) + if g_cutsceneFilm then + _G.res.drawSprite("CUTSCENE_FILMSTRIP_TOP", screenWidth * 0.5, _ARG_0_.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_BOTTOM", screenWidth * 0.5, screenHeight - _ARG_0_.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_LEFT", _ARG_0_.offset_x, _ARG_0_.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_RIGHT", screenWidth - _ARG_0_.offset_x, _ARG_0_.offset_y) + end + ui.Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +function CutScene.skip(_ARG_0_) + _G.res.stopAllAudio() + settingsWrapper:setCutsceneWatched(_ARG_0_.cutscene) + eventManager:notify(_ARG_0_.end_event) +end +if not g_isAccelerometerControl then + function CutScene.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" and (settingsWrapper:canSkipCutscene(_ARG_0_.cutscene) or cheatsEnabled) then + if _ARG_0_.ldown then + _ARG_0_.ldown = nil + else + _ARG_0_:skip() + end + end + return ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function CutScene.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + function CutScene.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "FORWARD" and (settingsWrapper:canSkipCutscene(_ARG_0_.cutscene) or cheatsEnabled) then + _ARG_0_:skip() + end + end +end +filename = "cutscene.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..3359c975c75cb51420616f0fb4fdc8df1c2980b7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..931742e304deea1ff3adea2f7d2e7ee16986f4eb Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..c11c750975d07f10dab7bbc23cd7b5ef9efa7dc7 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..67dc11d940875d5520fac91a2ecbfe528cb7a98f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/loading.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..ecf52854ba123b83206e78013d81f73e2ebd8bd3 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..d152b9cec47870a5a911b12d5ed499c7ae59e10e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/maine.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/maine.lua new file mode 100644 index 0000000000000000000000000000000000000000..7066efc9f5100237d8e7cfdeefed824ee53971ce --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts_common/menus/maine.lua @@ -0,0 +1,1134 @@ +MainMenuRoot = ui.Frame:inherit() +g_bird_animations = {} +g_bird_sprites = {} +function MainMenuRoot.init(_ARG_0_) + _ARG_0_.name = "mainMenuRoot" + _ARG_0_.backgroundColour = { + r = 11, + g = 101, + b = 76, + a = 255 + } +end +function MainMenuRoot.onEntry(_ARG_0_) + ui.Frame.onEntry(_ARG_0_) + if settingsWrapper:getCurrentMainMenuTheme() and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()] and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color then + _ARG_0_.backgroundColour = { + r = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.r, + g = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.g, + b = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.b, + a = 255 + } + end + _ARG_0_:buildBirdList() +end +function MainMenuRoot.buildBirdList(_ARG_0_) + g_bird_sprites = {} + for _FORV_6_, _FORV_7_ in _G.pairs((settingsWrapper:getTutorials())) do + if _FORV_6_ == "BAIT_SARDINE" then + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 1, + scale = 1 + }) + else + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 0, + scale = 1 + }) + end + end + if #g_bird_sprites == 0 then + _G.table.insert(g_bird_sprites, { + sprite = "BIRD_RED", + reward = 0, + scale = 1 + }) + end + for _FORV_7_, _FORV_8_ in _G.ipairs(g_episodeIds) do + for _FORV_13_ = 1, #g_episodes[_FORV_8_].pages do + if not g_episodes[_FORV_8_].pages[_FORV_13_].extra and not g_episodes[_FORV_8_].pages[_FORV_13_].disregard_in_rewards then + end + end + _FOR_.projectile = 1 + if g_episodes[_FORV_8_].reward_three_stars and settingsWrapper:isEpisodeThreeStarred(_FORV_8_) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + elseif g_episodes[_FORV_8_].reward_completion and isEpisodeCompleted(g_episodes[_FORV_8_]) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + end + end + if calculateAllFeathers() >= 200 then + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + end +end +function MainMenuRoot.layout(_ARG_0_) + _ARG_0_.current_zoom_level = settingsWrapper:getCurrentZoomLevelMainMenu() + _ARG_0_.camera_top = -2 * screenHeight / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.605)) + _G.res.getSpriteBounds("BUTTON_EMPTY") * 2.15 / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.5)) + setWorldScale(0.5 * screenHeight / 400 / (_ARG_0_.current_zoom_level * 0.66)) + setTheme((settingsWrapper:getCurrentMainMenuTheme())) + setLevelEffects((settingsWrapper:getCurrentMainMenuTheme())) + if blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].menuWater then + objects.waterLevel = 20 + else + objects.waterLevel = nil + end + ui.Frame.layout(_ARG_0_) +end +function MainMenuRoot.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) + _ARG_0_:drawSelf() + ui.Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) +end +function MainMenuRoot.drawSelf(_ARG_0_) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + _ARG_0_:drawBirds() + drawForegroundNative() +end +function MainMenuRoot.drawBirds(_ARG_0_) + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 3 then + setRenderState(0, 0, _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.7 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.7 * (screenHeight / 640)) - screenHeight * 0.2 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 4 then + setRenderState(0, 0, _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.8 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.8 * (screenHeight / 640)) - screenHeight * 0.125 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 5 then + setRenderState(0, 0, _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.9 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.9 * (screenHeight / 640)))) + end + end +end +function MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.Frame.update(_ARG_0_, _ARG_1_, _ARG_2_) + setTopLeft(50 * _ARG_2_, _ARG_0_.camera_top) + _ARG_0_:animateBirds(_ARG_1_) + if _G.res.isAudioPlaying(currentMainMenuSong) == false and currentMainMenuSong ~= nil then + _G.res.playAudio(currentMainMenuSong, 0.8, true, 7) + end + updateLevelEffects(_ARG_1_, _ARG_2_) +end +function MainMenuRoot.animateBirds(_ARG_0_, _ARG_1_) + if #g_bird_sprites * 0.75 > #g_bird_animations and _G.math.random(1, 5) == 1 then + if _G.math.random(3, 5) == 1 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 1 then + elseif g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 2 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite == "BIRD_PUFFER_1" then + else + end + _G.table.insert(g_bird_animations, { + sprite = g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite, + yell_sprite = "BIRD_PINK_BLINK", + angle = 0, + angleSpeed = _G.math.random() * _G.math.pi * 1.5, + x = _G.math.random(screenWidth * 0.1, screenWidth * 0.9), + y = screenHeight + 30 * screenHeight / 320, + xVel = 0, + yVel = _G.math.random(-250, -150) * (_G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale) * (screenHeight / 320 + 1) * 0.175, + scale = _G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale, + layer = _G.math.random(3, 5), + spriteHeight = _G.res.getSpriteBounds("", g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite) + }) + end + for _FORV_7_ = #g_bird_animations, 1, -1 do + if g_bird_animations[_FORV_7_].reward == 2 then + g_bird_animations[_FORV_7_].angle = _G.math.sin(g_bird_animations[_FORV_7_].angleSpeed) * 0.15 + g_bird_animations[_FORV_7_].angleSpeed = (g_bird_animations[_FORV_7_].angleSpeed + _ARG_1_ * 2) % (_G.math.pi * 2) + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x - g_bird_animations[_FORV_7_].angle * g_bird_animations[_FORV_7_].layer * _ARG_1_ * 30 + else + g_bird_animations[_FORV_7_].yVel = g_bird_animations[_FORV_7_].yVel + 150 * _ARG_1_ + g_bird_animations[_FORV_7_].angle = g_bird_animations[_FORV_7_].angle + g_bird_animations[_FORV_7_].angleSpeed * _ARG_1_ + end + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x + g_bird_animations[_FORV_7_].xVel * _ARG_1_ + g_bird_animations[_FORV_7_].y = g_bird_animations[_FORV_7_].y + g_bird_animations[_FORV_7_].yVel * _ARG_1_ + if g_bird_animations[_FORV_7_].y > screenHeight + 50 * screenHeight / 320 or (g_bird_animations[_FORV_7_].reward == 2 or g_bird_animations[_FORV_7_].reward == 2) and g_bird_animations[_FORV_7_].y < -g_bird_animations[_FORV_7_].spriteHeight then + _G.table.remove(g_bird_animations, _FORV_7_) + end + end +end +MainMenuSlider = ui.BackgroundBox:inherit() +function MainMenuSlider.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_:setState("CLOSED") + _ARG_0_.slide_amount = 0 + _ARG_0_.components = { + topLeft = "MENU_SLIDER_BG_TOP_LEFT", + left = "MENU_SLIDER_BG_LEFT", + right = "MENU_SLIDER_BG_RIGHT", + topRight = "MENU_SLIDER_BG_TOP_RIGHT", + topMiddle = "MENU_SLIDER_BG_TOP_MIDDLE", + center = "MENU_SLIDER_BG_CENTER" + } + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "BOTTOM" + _ARG_0_.element_width = 0 + _ARG_0_.element_height = 0 + _ARG_0_.element_gap = 0 + _ARG_0_.bottom_margin = 0 + _ARG_0_.width = 0 + _ARG_0_.height = 0 +end +function MainMenuSlider.setState(_ARG_0_, _ARG_1_) + _ARG_0_.state = _ARG_1_ + _ARG_0_.visible = _ARG_1_ ~= "CLOSED" + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.children) do + _FORV_7_.visible = _ARG_1_ ~= "CLOSED" + end +end +function MainMenuSlider.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") +end +function MainMenuSlider.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_:setState("CLOSING") + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_:setState("OPENING") + end +end +function MainMenuSlider.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.height = _ARG_0_.height + _ARG_1_ * screenHeight * 0.8 + if #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin <= _ARG_0_.height then + _ARG_0_.height = #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin + _ARG_0_:setState("OPEN") + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.height = _ARG_0_.height - _ARG_1_ * screenHeight * 0.8 + if _ARG_0_.height < 0 then + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") + end + end + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "CLOSING" or _ARG_0_.state == "CLOSED" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -_ARG_0_.height + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if 0 <= _ARG_0_.children[_FORV_7_].y then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + elseif _ARG_0_.state == "OPENING" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -(#_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin) + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if -_ARG_0_.children[_FORV_7_].y > _ARG_0_.height then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + end + _FOR_.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenuSlider.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_0_.state == "OPEN" then + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +ToggleIndicator = ui.Image:inherit() +function ToggleIndicator.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.onEntry(_ARG_0_) + ui.Image.onEntry(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_.state = "CLOSING" + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_.state = "OPENING" + end +end +function ToggleIndicator.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.angle = _ARG_0_.angle + _ARG_1_ * 16 + if _ARG_0_.angle >= 3.14159 then + _ARG_0_.angle = 3.14159 + _ARG_0_.state = "OPEN" + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.angle = _ARG_0_.angle - _ARG_1_ * 16 + if _ARG_0_.angle < 0 then + _ARG_0_.angle = 0 + _ARG_0_.state = "CLOSED" + end + end +end +AdSplashPage = ui.Image:inherit() +function AdSplashPage.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_:setImage("MAIN_MENU_AD_IMAGE") + ui.ImageButton:new().name = "ok_button" + ui.ImageButton:new():setImage("MENU_YES") + ui.ImageButton:new().returnValue = "OPEN_AD_SPLASH_LINK" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "cancel_button" + ui.ImageButton:new():setImage("MENU_NO") + ui.ImageButton:new().returnValue = "CLOSE_AD_SPLASH" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AdSplashPage.layout(_ARG_0_) + ui.Image.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_:getChild("ok_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 - 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("ok_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 + _ARG_0_:getChild("cancel_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * -0.5 + 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("cancel_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 +end +function AdSplashPage.draw(_ARG_0_, _ARG_1_, _ARG_2_) + setRenderState(0, 0, 1, 1) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.Image.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +function AdSplashPage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) then + return ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return "BLOCK", nil, _ARG_0_ +end +LoginButton = ui.ImageButton:inherit() +function LoginButton.init(_ARG_0_) + ui.ImageButton.init(_ARG_0_) + _ARG_0_.state = "NOT_REGISTERED" +end +function LoginButton.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.ImageButton.update(_ARG_0_) + if _ARG_0_.state == "NOT_REGISTERED" then + _ARG_0_.animation_timer = (_ARG_0_.animation_timer or 0) + _ARG_1_ + if 2 > _ARG_0_.animation_timer then + elseif _ARG_0_.animation_timer >= 2 + 1 then + _ARG_0_.animation_timer = 0 + end + _ARG_0_.scaleY, _ARG_0_.scaleX = tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1), tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1) + end +end +function LoginButton.setState(_ARG_0_, _ARG_1_) + if _ARG_1_ == "NOT_REGISTERED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "NOT_LOGGED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "LOGGED" then + _ARG_0_:setImage("BUTTON_LOG_OUT") + end + _ARG_0_.scaleX = 1 + _ARG_0_.scaleY = 1 + _ARG_0_.state = _ARG_1_ +end +MainMenu = MainMenuRoot:inherit() +function MainMenu.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + if deviceModel == "s60" then + ui.ImageButton:new().name = "closeButton" + ui.ImageButton:new():setImage("BUTTON_CLOSE") + ui.ImageButton:new().returnValue = "EXIT" + _ARG_0_:addChild((ui.ImageButton:new())) + end + _ARG_0_.quadClickCount = 0 + _ARG_0_.quadClickTimer = 0 + MainMenuSlider:new().name = "optionsSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + _ARG_0_:createOptionsSliderButtons((MainMenuSlider:new())) + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + ui.BackgroundBox:new().name = "playButton" + ui.BackgroundBox:new().components = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } + ui.BackgroundBox:new().hanchor = "HCENTER" + ui.BackgroundBox:new().vanchor = "VCENTER" + ui.BackgroundBox:new().onPointerEvent = function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" and _ARG_2_ >= _ARG_0_.x - _ARG_0_.width * 0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y - _ARG_0_.height * 0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + _G.res.playAudio("menu_confirm", 1, false) + return "PLAY", nil, _ARG_0_ + end + end + else + ui.ImageButton:new().name = "playButton" + ui.ImageButton:new().returnValue = "PLAY" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + end + _ARG_0_:addChild((ui.ImageButton:new())) + _ARG_0_.playEvent = { + id = events.EID_CHANGE_SCENE, + target = "PLAY", + from = "MAIN_MENU" + } + ui.ImageButton:new().name = "playText" + ui.ImageButton:new().returnValue = "GOTO_EPISODE_SELECTION" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new():addChild((ui.ImageButton:new())) + ui.Image:new().name = "gameLogo" + ui.Image:new():setImage("MENU_LOGO") + _ARG_0_:addChild((ui.Image:new())) + ui.ImageButton:new().name = "optionsButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_OPTIONS" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "optionsImage" + ToggleIndicator:new():setImage("BUTTON_OPTIONS") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + if not _UPVALUE0_ then + MainMenuSlider:new().name = "externalSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + ui.ImageButton:new().name = "externalButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_EXTERNAL" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "externalImage" + ToggleIndicator:new():setImage("BUTTON_SLIDER") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + _ARG_0_:createExternalSliderButtons((MainMenuSlider:new())) + end + _ARG_0_.mid_buttons = {} + ui.ImageButton:new().name = "eagleButton" + ui.ImageButton:new():setImage("BUTTON_EAGLE_BUY") + ui.ImageButton:new().returnValue = "GOTO_EAGLE_PAGE" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "magicPlacesButton" + ui.ImageButton:new():setImage("BTN_MAGIC") + ui.ImageButton:new().returnValue = "GOTO_MAGIC_MAP" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + if not releaseBuild and showEditor then + ui.ImageButton:new().name = "editorButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "GOTO_EDITOR" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "editorText" + ui.Text:new({font = getFontBasic}).text = "EDITOR" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if cheatsEnabled and g_ABsync_enabled then + ui.ImageButton:new().name = "sync_button" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "CLOUD_SYNC" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "sync_text" + ui.Text:new({font = getFontBasic}).text = "SYNC" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:initGameCenter() + end + if ABIDEnabled then + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):setImage("BUTTON_EMPTY") + _ARG_0_:addChild((ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }))) + ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }):clip() + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):addChild((ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }))) + end + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "exit_button" + ui.ImageButton:new():setImage("MENU_QUIT_EN") + ui.ImageButton:new().returnValue = "EXIT" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled or deviceModel == "s60" then + ui.ImageButton:new().name = "update_button" + if deviceModel ~= "s60" then + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + else + ui.ImageButton:new():setImage("BUTTON_UPDATE") + end + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + if deviceModel ~= "s60" then + ui.ImageButton:new():setVisible(false) + end + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_registrationEnabled then + ui.ImageButton:new().name = "register_button" + ui.ImageButton:new():setImage("BUTTON_ACTIVATE_FULL") + ui.ImageButton:new().returnValue = "OPEN_REGISTER_WINDOW" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled then + ui.ImageButton:new().name = "update_button" + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setVisible(false) + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_ABsync_enabled and g_cloudsync_available then + LoginButton:new().name = "rovio_login_button" + LoginButton:new().returnValue = "ROVIO_LOGIN" + LoginButton:new():setState("NOT_LOGGED") + LoginButton:new().activateOnRelease = true + _ARG_0_:addChild((LoginButton:new())) + end + if not g_loadTimed then + g_loadTimed = true + logFlurryTimerEvent("Loading time - splash to menu") + end +end +function MainMenu.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mainMenuRoot", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenu.createOptionsSliderButtons(_ARG_0_, _ARG_1_) + if g_allowLowQualityGraphics then + ui.ToggleButton:new().name = "qualityButton" + ui.ToggleButton:new():setImage({ + "BUTTON_LQ", + "BUTTON_LOW_QUALITY" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_QUALITY" + if settingsWrapper:isGfxLowQuality() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + if iOS and isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + ui.ImageButton:new().name = "iap_restore_button" + ui.ImageButton:new():setImage("BUTTON_EAGLE_RESTORE") + ui.ImageButton:new().returnValue = "IAP_RESTORE_CLICKED" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if g_powerups_enabled then + ui.ToggleButton:new().name = "childlockButton" + ui.ToggleButton:new():setImage({ + "BUTTON_MENU_POWERUP", + "BUTTON_CHILDLOCK_ON" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_CHILDLOCK" + if settingsWrapper:isChildlockOn() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + ui.ImageButton:new().name = "creditsButton" + ui.ImageButton:new():setImage("BUTTON_ABOUT_SMALL") + ui.ImageButton:new().returnValue = "GOTO_CREDITS" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ToggleButton:new().name = "soundButton" + ui.ToggleButton:new():setImage({ + "BUTTON_SOUNDS_SMALL", + "BUTTON_MAINMENU_SFX_OFF" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_SOUND" + _ARG_1_:addChild((ui.ToggleButton:new())) + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "fullscreen_button" + ui.ImageButton:new():setImage("BUTTON_FULLSCREEN") + ui.ImageButton:new().returnValue = "TOGGLE_FULLSCREEN" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end +end +function MainMenu.createExternalSliderButtons(_ARG_0_, _ARG_1_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:createGameCenterExternalSliderButtons(_ARG_1_) + end + if not _UPVALUE0_ then + ui.ImageButton:new().name = "youtubeButton" + ui.ImageButton:new():setImage("BUTTON_TRAILER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TRAILER" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if not _UPVALUE0_ then + if not applyChinaRestictions then + ui.ImageButton:new().name = "facebookButton" + ui.ImageButton:new():setImage("BUTTON_FACEBOOK_SMALL") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK" + ui.ImageButton:new().name = "twitterButton" + ui.ImageButton:new():setImage("BUTTON_TWITTER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TWITTER" + _ARG_1_:addChild((ui.ImageButton:new())) + _ARG_1_:addChild((ui.ImageButton:new())) + else + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_2_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TENCENT_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_1_SMALL") + ui.ImageButton:new().returnValue = "GOTO_SINA_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "qzonetButton" + ui.ImageButton:new():setImage("BUTTON_QZONE_SMALL") + ui.ImageButton:new().returnValue = "GOTO_QZONE" + _ARG_1_:addChild((ui.ImageButton:new())) + end + end +end +function MainMenu.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + eventManager:notify({ + id = events.EID_MAIN_MENU_ENTERED + }) + _ARG_0_:refreshMiddleButtons() + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + end + _ARG_0_:getChild("optionsButton"):getChild("optionsImage").angle = 0 + if not _UPVALUE0_ then + _ARG_0_:getChild("externalButton"):getChild("externalImage").angle = 0 + end + eventManager:addEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:addEventListener(events.EID_SERVICE_AVAILABILITY_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + eventManager:addEventListener(events.EID_ID_SYNC_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:addEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + _ARG_0_:getChild("update_button"):setVisible(g_updateAvailable) + end + if not g_mainMenuAdChecked and iOS then + if releaseBuild then + else + end + if 60 < getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getMainMenuAdLastCheckedTime()) then + print(" Initiating main menu ad check with URL: " .. (MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) .. "\n") + mainMenuAdChecked = true + checkMainMenuAd(MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) + settingsWrapper:setMainMenuAdLastCheckedTime(getCurrentTime()) + else + print(" Too short a time from last main menu ad check, not checking now\n") + end + end + if g_startup_rewards and _G.tonumber(g_startup_rewards) and 0 < _G.tonumber(g_startup_rewards) and g_powerups_enabled then + addPowerups("slingscope", g_startup_rewards) + addPowerups("birdquake", g_startup_rewards) + addPowerups("kingsling", g_startup_rewards) + addPowerups("superseed", g_startup_rewards) + settingsWrapper:setRewardCollected("firststart") + g_startup_rewards = nil + end + if g_ABsync_enabled and g_cloudsync_available then + if rovioProfile.id then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif settingsWrapper:getBoundId() ~= "" then + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + else + _ARG_0_:getChild("rovio_login_button"):setState("NOT_REGISTERED") + end + end +end +function MainMenu.onExit(_ARG_0_) + MainMenuRoot.onExit(_ARG_0_) + eventManager:removeEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:removeEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:removeEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:removeEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + end +end +function MainMenu.refreshMiddleButtons(_ARG_0_) + _ARG_0_.mid_buttons = {} + if g_ABsync_enabled and g_cloudsync_available then + _G.table.insert(_ARG_0_.mid_buttons, "rovio_login_button") + end + if isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + _G.table.insert(_ARG_0_.mid_buttons, "eagleButton") + _ARG_0_:getChild("eagleButton").visible = true + else + _ARG_0_:getChild("eagleButton").visible = false + end + if g_registrationEnabled then + if not g_isRegistered then + _G.table.insert(_ARG_0_.mid_buttons, "register_button") + _ARG_0_:getChild("register_button").visible = true + else + _ARG_0_:getChild("register_button").visible = false + end + end + if g_magic_places_enabled and _G.magicplaces then + _G.table.insert(_ARG_0_.mid_buttons, "magicPlacesButton") + _ARG_0_:getChild("magicPlacesButton").visible = true + else + _ARG_0_:getChild("magicPlacesButton").visible = false + end + _ARG_0_:layout() +end +function MainMenu.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + if deviceModel == "s60" then + _ARG_0_:getChild("closeButton").x = screenWidth - g_layoutMargin.x + _ARG_0_:getChild("closeButton").y = g_layoutMargin.y + end + _ARG_0_:getChild("playButton").x = screenWidth * 0.5 + _ARG_0_:getChild("playButton").y = screenHeight * 0.555 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + if _G.type(blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].playButtonSprite) == "table" then + end + else + end + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + _ARG_0_:getChild("playButton"):getChild("playText"):setImage("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").width = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").height = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") * 1.7 + else + _ARG_0_:getChild("playButton"):setImage("MENU_PLAY_SMALL_EN") + end + _ARG_0_:getChild("gameLogo").x = screenWidth * 0.5 + _ARG_0_:getChild("gameLogo").y = screenHeight * 0.021875 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + _ARG_0_:getChild("optionsSlider").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + else + _ARG_0_:getChild("optionsSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + end + _ARG_0_:getChild("optionsSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("optionsSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsButton").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsButton").y = _ARG_0_:getChild("optionsSlider").y + if not _UPVALUE0_ then + _ARG_0_:getChild("externalSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.x + _ARG_0_:getChild("externalSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("externalSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalButton").x = _ARG_0_:getChild("externalSlider").x + _ARG_0_:getChild("externalButton").y = _ARG_0_:getChild("externalSlider").y + end + if deviceModel == "windows" or deviceModel == "osx" then + _ARG_0_:getChild("exit_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + _ARG_0_:getChild("exit_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if g_updateCheckEnabled or deviceModel == "s60" then + _ARG_0_:getChild("update_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + _ARG_0_:getChild("update_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + for _FORV_15_, _FORV_16_ in _G.ipairs(_ARG_0_.mid_buttons) do + end + for _FORV_16_, _FORV_17_ in _G.ipairs(_ARG_0_.mid_buttons) do + _ARG_0_:getChild(_FORV_17_).x = screenWidth * 0.5 - (#_ARG_0_.mid_buttons - 1) * (screenWidth * 0.01) * 0.5 - _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_16_).image) * 0.5 + _G.res.getSpritePivot(_ARG_0_:getChild(_FORV_17_).image) + _ARG_0_:getChild(_FORV_17_).y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if not releaseBuild and showEditor then + _ARG_0_:getChild("editorButton").x = screenWidth * 0.75 + _ARG_0_:getChild("editorButton").y = screenHeight * 0.7 + end + if cheatsEnabled and g_ABsync_enabled then + _ARG_0_:getChild("sync_button").x = screenWidth * 0.75 + _ARG_0_:getChild("sync_button").y = screenHeight * 0.7 - _ARG_0_:getChild("sync_button").h * 1.1 + end + if ABIDEnabled then + _ARG_0_:getChild("ABID_button").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsSlider").width * 2 + _ARG_0_:getChild("ABID_button").y = _ARG_0_:getChild("optionsSlider").y + _ARG_0_:getChild("ABID_text"):clip() + _ARG_0_:getChild("ABID_text").x = 0 + _ARG_0_:getChild("ABID_text").y = 0 + end +end +function MainMenu.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:updateGameCenter(_ARG_1_, _ARG_2_) + end + if mainMenuAdReadyToBeShown then + mainMenuAdReadyToBeShown = false + _ARG_0_:showAdPopup() + settingsWrapper:setMainMenuAdTimeStamp(mainMenuAdTimeStamp) + end + if cheatsEnabled then + if keyPressed.F1 then + print("unlocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 200) + end + end + end + if _FOR_.F2 then + print("relocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 1) + end + end + _FOR_() + end + end + _ARG_0_.quadClickTimer = _ARG_0_.quadClickTimer - _ARG_1_ +end +function MainMenu.showAdPopup(_ARG_0_) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AdSplashPage:new() + }) +end +function MainMenu.updatePrompt(_ARG_0_) + g_updatePrompted = true + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = [[ +New update available! +Download now?]], + confirmOnLeft = deviceModel == "windows", + confirm_event = { + id = events.EID_UPDATE_GAME + } + })) +end +function MainMenu.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if not MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) and _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "ESCAPE") and deviceModel ~= "roku" and deviceModel ~= "freebox" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + end + return MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenu.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if releaseBuild ~= true and _ARG_2_ > screenWidth - 50 and _ARG_3_ < 50 then + settingsWrapper:setMightyEagleEnabled() + end + if _ARG_2_ > screenWidth * 0.92 and _ARG_3_ < screenHeight * 0.08 and cheatsEnabled and _ARG_1_ == "LRELEASE" then + if _ARG_0_.quadClickTimer > 0 or _ARG_0_.quadClickCount == 0 then + _ARG_0_.quadClickCount = _ARG_0_.quadClickCount + 1 + if _ARG_0_.quadClickCount == 4 then + _ARG_0_.quadClickCount = 0 + for _FORV_10_, _FORV_11_ in _G.pairs(g_achievements) do + achievementProcessor:addToAchievementUnlockQueue(_FORV_10_, true) + end + end + else + _ARG_0_.quadClickCount = 1 + end + _ARG_0_.quadClickTimer = 0.5 + end + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "PLAY" then + eventManager:notify(_ARG_0_.playEvent) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_CREDITS" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS", + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_PAGE" then + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_MAGIC_MAP" then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EDITOR" then + menuManager:changeRoot(EditorPage:new()) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOUD_SYNC" then + g_last_sync_time = nil + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_ACHIEVEMENTS" then + _ARG_0_:gotoAchievements() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_LEADERBOARDS" then + _ARG_0_:gotoLeaderboards() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_OPTIONS" then + _ARG_0_:getChild("optionsSlider"):toggle() + _ARG_0_:getChild("optionsButton"):getChild("optionsImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_EXTERNAL" then + _ARG_0_:getChild("externalSlider"):toggle() + _ARG_0_:getChild("externalButton"):getChild("externalImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_SOUND" then + changeAudio() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_CHILDLOCK" then + if not settingsWrapper:isChildlockOn() then + powerupChildLockPrompt({ + content = "TEXT_POWERUP_PARENTAL", + image_scale = 0.5 + }) + end + settingsWrapper:toggleChildlock() + eventManager:notify({ + id = events.EID_PARENTAL_LOCK_TOGGLED, + toggled_on = _G.tostring(settingsWrapper:isChildlockOn()) + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ROVIO_LOGIN" then + if not rovioProfile.id then + if settingsWrapper:getBoundId() == "" then + notificationsFrame:addChild(ABsync.SyncIntroductionFrame:new()) + else + ABsync.showLoadScreen("sign_in") + end + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = _G.string.format(_G.res.getString("TEXTS_BASIC", "TEXT_ROVIO_ID_SIGN_OUT"), rovioProfile.email), + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + _UPVALUE0_.logging_out = true + ABsync.showLoadScreen() + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_QUALITY" then + changeGFXQuality() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_FULLSCREEN" then + eventManager:notify({ + id = events.EID_TOGGLE_FULLSCREEN + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "IAP_RESTORE_CLICKED" then + if settingsWrapper:isMightyEagleEnabled() then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY" + })) + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_RESTORE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + iapRestoreItems("iosEagleRestoreCallback") + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TRAILER" then + gotoAngryBirdsTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_TRAILER" then + gotoMightyEagleTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_FACEBOOK" then + gotoFacebook() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TWITTER" then + gotoTwitter() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_SINA_WEIBO" then + gotoSinaWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TENCENT_WEIBO" then + gotoTencentWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_QZONE" then + gotoQzone() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_RENREN" then + gotoRenren() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ABID_CLICKED" then + eventManager:notify({ + id = events.EID_ABID_CLICKED + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EXIT" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_REGISTER_WINDOW" then + eventManager:notify({ + id = events.EID_SHOW_REGISTRATION_DIALOG, + from = "MAIN_MENU", + success_call = function() + _UPVALUE0_:refreshMiddleButtons() + end + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "UPDATE_GAME" then + if deviceModel == "s60" then + _G.res.openURL(ROVIO_UPDATE_URL_S60 .. _G.res.getLocale()) + else + _ARG_0_:updatePrompt() + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_AD_SPLASH_LINK" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + if _G.magicplaces and _G.string.find(mainMenuAdUrl, "magicplaces") ~= nil then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + else + openURL(generateRedirectURL(g_variant, mainMenuAdUrl)) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_AD_SPLASH" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP" then + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + releaseImages({ + "LEVELSELECTION", + "TUTORIALS" + }) + _G.res.createBitmapFont(fontPath .. "/" .. _UPVALUE0_ .. "/FONT_SHOP_AMOUNT.dat") + loadAssets({"SHOP"}) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = ProductPage:new({ + from = "MAIN_MENU", + product = g_shop_products[1] + }) + } + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP_DISABLED" then + powerupChildLockPrompt({image_scale = 0.5}) + elseif _ARG_1_ ~= "HOVER" then + for _FORV_10_ = 1, #g_bird_animations do + if g_bird_animations[_FORV_10_].layer == 5 then + g_bird_animations[_FORV_10_].renderState = true + if _ARG_0_:checkBirdBounds(g_bird_animations[_FORV_10_], cursor.x, cursor.y) and g_bird_animations[_FORV_10_].yelling ~= true and _G.string.sub(g_bird_animations[_FORV_10_].sprite, 1, 4) == "BIRD" then + g_bird_animations[_FORV_10_].yelling = true + _G.res.playAudio({ + BIRD_RED = "bird_01_flying", + BIRD_BLUE = "bird_02_flying", + BIRD_YELLOW = "bird_03_flying", + BIRD_GREY = "bird_04_flying", + BIRD_GREEN = "bird_05_flying", + BIRD_BIG_BROTHER = "big_brother_flying", + BIRD_BOOMERANG = "bird_06_flying", + BIRD_PUFFER_1 = "Globe_Bird_Launch_3", + BIRD_PINK = "pink_activate_01" + }[g_bird_animations[_FORV_10_].sprite], 1, false, 0) + g_bird_animations[_FORV_10_].sprite = g_bird_animations[_FORV_10_].yell_sprite + end + end + end + else + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return nil, nil, nil +end +function MainMenu.eventTriggered(_ARG_0_, _ARG_1_) + if _ARG_1_.id == events.EID_UPDATE_AVAILABLE then + _ARG_0_:getChild("update_button"):setVisible(true) + _ARG_0_:updatePrompt() + elseif _ARG_1_.id == events.EID_AUDIO_STATE_CHANGED then + if _ARG_1_.from == "KEYBOARD_COMMAND" then + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + end + end + elseif _ARG_1_.id == events.EID_IAP_ITEMS_RESTORED then + _ARG_0_:refreshMiddleButtons() + elseif _ARG_1_.id == events.EID_SERVICE_AVAILABILITY_CHANGED then + if _ARG_1_.serviceName == "magicplaces" and _ARG_1_.available == true then + _ARG_0_:refreshMiddleButtons() + end + elseif _ARG_1_.id == events.EID_ROVIO_ID_LOGIN_SUCCESS then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif _ARG_1_.id == events.EID_ID_SYNC_SUCCESS and _ARG_0_.logging_out then + logoutRovioId() + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + _ARG_0_.logging_out = false + notifyEventManager(events.EID_ROVIO_ID_LOGOUT) + end +end +function MainMenu.checkBirdBounds(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_.scale ~= nil then + end + if _ARG_1_.scale ~= 1 then + end + if _ARG_1_.scale ~= 1 then + end + return _ARG_3_ >= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_3_ <= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ >= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ <= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 +end +MainMenuEaglePage = MainMenuRoot:inherit() +function MainMenuEaglePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenuEaglePage.init(_ARG_0_) + _ARG_0_:addChild((MEPage:new())) +end +function MainMenuEaglePage.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) +end +function MainMenuEaglePage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EAGLE_PURCHASE_CLICKED" then + goToMightyEaglePaymentPage(false) + end + return ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function MainMenuEaglePage.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BACK" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end +end +MainMenuEaglePurchasePage = MainMenuRoot:inherit() +function MainMenuEaglePurchasePage.init(_ARG_0_) + _ARG_0_:addChild((EaglePurchasePage:new())) +end +function MainMenuEaglePurchasePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +filename = "main_menu.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/maine.lua.bak b/Angry Birds Project R/0.2.0/data/scripts_common/menus/maine.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..0537ca76c48ddf7cddf71067dbf0825463f8e5ea --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts_common/menus/maine.lua.bak @@ -0,0 +1,1134 @@ +MainMenuRoot = ui.Frame:inherit() +g_bird_animations = {} +g_bird_sprites = {} +function MainMenuRoot.init(_ARG_0_) + _ARG_0_.name = "mainMenuRoot" + _ARG_0_.backgroundColour = { + r = 11, + g = 101, + b = 76, + a = 255 + } +end +function MainMenuRoot.onEntry(_ARG_0_) + ui.Frame.onEntry(_ARG_0_) + if settingsWrapper:getCurrentMainMenuTheme() and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()] and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color then + _ARG_0_.backgroundColour = { + r = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.r, + g = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.g, + b = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.b, + a = 255 + } + end + _ARG_0_:buildBirdList() +end +function MainMenuRoot.buildBirdList(_ARG_0_) + g_bird_sprites = {} + for _FORV_6_, _FORV_7_ in _G.pairs((settingsWrapper:getTutorials())) do + if _FORV_6_ == "BAIT_SARDINE" then + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 1, + scale = 1 + }) + else + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 0, + scale = 1 + }) + end + end + if #g_bird_sprites == 0 then + _G.table.insert(g_bird_sprites, { + sprite = "BIRD_RED", + reward = 0, + scale = 1 + }) + end + for _FORV_7_, _FORV_8_ in _G.ipairs(g_episodeIds) do + for _FORV_13_ = 1, #g_episodes[_FORV_8_].pages do + if not g_episodes[_FORV_8_].pages[_FORV_13_].extra and not g_episodes[_FORV_8_].pages[_FORV_13_].disregard_in_rewards then + end + end + _FOR_.projectile = 1 + if g_episodes[_FORV_8_].reward_three_stars and settingsWrapper:isEpisodeThreeStarred(_FORV_8_) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + elseif g_episodes[_FORV_8_].reward_completion and isEpisodeCompleted(g_episodes[_FORV_8_]) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + end + end + if calculateAllFeathers() >= 200 then + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + end +end +function MainMenuRoot.layout(_ARG_0_) + _ARG_0_.current_zoom_level = settingsWrapper:getCurrentZoomLevelMainMenu() + _ARG_0_.camera_top = -2 * screenHeight / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.605)) + _G.res.getSpriteBounds("BUTTON_EMPTY") * 2.15 / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.5)) + setWorldScale(0.5 * screenHeight / 400 / (_ARG_0_.current_zoom_level * 0.66)) + setTheme((settingsWrapper:getCurrentMainMenuTheme())) + setLevelEffects((settingsWrapper:getCurrentMainMenuTheme())) + if blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].menuWater then + objects.waterLevel = 20 + else + objects.waterLevel = nil + end + ui.Frame.layout(_ARG_0_) +end +function MainMenuRoot.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) + _ARG_0_:drawSelf() + ui.Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) +end +function MainMenuRoot.drawSelf(_ARG_0_) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + _ARG_0_:drawBirds() + drawForegroundNative() +end +function MainMenuRoot.drawBirds(_ARG_0_) + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 3 then + setRenderState(0, 0, _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.7 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.7 * (screenHeight / 640)) - screenHeight * 0.2 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 4 then + setRenderState(0, 0, _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.8 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.8 * (screenHeight / 640)) - screenHeight * 0.125 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 5 then + setRenderState(0, 0, _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.9 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.9 * (screenHeight / 640)))) + end + end +end +function MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.Frame.update(_ARG_0_, _ARG_1_, _ARG_2_) + setTopLeft(50 * _ARG_2_, _ARG_0_.camera_top) + _ARG_0_:animateBirds(_ARG_1_) + if _G.res.isAudioPlaying(currentMainMenuSong) == false and currentMainMenuSong ~= nil then + _G.res.playAudio(currentMainMenuSong, 0.8, true, 7) + end + updateLevelEffects(_ARG_1_, _ARG_2_) +end +function MainMenuRoot.animateBirds(_ARG_0_, _ARG_1_) + if #g_bird_sprites * 0.75 > #g_bird_animations and _G.math.random(1, 5) == 1 then + if _G.math.random(3, 5) == 1 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 1 then + elseif g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 2 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite == "BIRD_PUFFER_1" then + else + end + _G.table.insert(g_bird_animations, { + sprite = g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite, + yell_sprite = "BIRD_PINK_BLINK", + angle = 0, + angleSpeed = _G.math.random() * _G.math.pi * 1.5, + x = _G.math.random(screenWidth * 0.1, screenWidth * 0.9), + y = screenHeight + 30 * screenHeight / 320, + xVel = 0, + yVel = _G.math.random(-250, -150) * (_G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale) * (screenHeight / 320 + 1) * 0.175, + scale = _G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale, + layer = _G.math.random(3, 5), + spriteHeight = _G.res.getSpriteBounds("", g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite) + }) + end + for _FORV_7_ = #g_bird_animations, 1, -1 do + if g_bird_animations[_FORV_7_].reward == 2 then + g_bird_animations[_FORV_7_].angle = _G.math.sin(g_bird_animations[_FORV_7_].angleSpeed) * 0.15 + g_bird_animations[_FORV_7_].angleSpeed = (g_bird_animations[_FORV_7_].angleSpeed + _ARG_1_ * 2) % (_G.math.pi * 2) + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x - g_bird_animations[_FORV_7_].angle * g_bird_animations[_FORV_7_].layer * _ARG_1_ * 30 + else + g_bird_animations[_FORV_7_].yVel = g_bird_animations[_FORV_7_].yVel + 150 * _ARG_1_ + g_bird_animations[_FORV_7_].angle = g_bird_animations[_FORV_7_].angle + g_bird_animations[_FORV_7_].angleSpeed * _ARG_1_ + end + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x + g_bird_animations[_FORV_7_].xVel * _ARG_1_ + g_bird_animations[_FORV_7_].y = g_bird_animations[_FORV_7_].y + g_bird_animations[_FORV_7_].yVel * _ARG_1_ + if g_bird_animations[_FORV_7_].y > screenHeight + 50 * screenHeight / 320 or (g_bird_animations[_FORV_7_].reward == 2 or g_bird_animations[_FORV_7_].reward == 2) and g_bird_animations[_FORV_7_].y < -g_bird_animations[_FORV_7_].spriteHeight then + _G.table.remove(g_bird_animations, _FORV_7_) + end + end +end +MainMenuSlider = ui.BackgroundBox:inherit() +function MainMenuSlider.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_:setState("CLOSED") + _ARG_0_.slide_amount = 0 + _ARG_0_.components = { + topLeft = "MENU_SLIDER_BG_TOP_LEFT", + left = "MENU_SLIDER_BG_LEFT", + right = "MENU_SLIDER_BG_RIGHT", + topRight = "MENU_SLIDER_BG_TOP_RIGHT", + topMiddle = "MENU_SLIDER_BG_TOP_MIDDLE", + center = "MENU_SLIDER_BG_CENTER" + } + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "BOTTOM" + _ARG_0_.element_width = 0 + _ARG_0_.element_height = 0 + _ARG_0_.element_gap = 0 + _ARG_0_.bottom_margin = 0 + _ARG_0_.width = 0 + _ARG_0_.height = 0 +end +function MainMenuSlider.setState(_ARG_0_, _ARG_1_) + _ARG_0_.state = _ARG_1_ + _ARG_0_.visible = _ARG_1_ ~= "CLOSED" + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.children) do + _FORV_7_.visible = _ARG_1_ ~= "CLOSED" + end +end +function MainMenuSlider.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") +end +function MainMenuSlider.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_:setState("CLOSING") + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_:setState("OPENING") + end +end +function MainMenuSlider.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.height = _ARG_0_.height + _ARG_1_ * screenHeight * 0.8 + if #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin <= _ARG_0_.height then + _ARG_0_.height = #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin + _ARG_0_:setState("OPEN") + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.height = _ARG_0_.height - _ARG_1_ * screenHeight * 0.8 + if _ARG_0_.height < 0 then + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") + end + end + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "CLOSING" or _ARG_0_.state == "CLOSED" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -_ARG_0_.height + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if 0 <= _ARG_0_.children[_FORV_7_].y then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + elseif _ARG_0_.state == "OPENING" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -(#_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin) + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if -_ARG_0_.children[_FORV_7_].y > _ARG_0_.height then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + end + _FOR_.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenuSlider.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_0_.state == "OPEN" then + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +ToggleIndicator = ui.Image:inherit() +function ToggleIndicator.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.onEntry(_ARG_0_) + ui.Image.onEntry(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_.state = "CLOSING" + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_.state = "OPENING" + end +end +function ToggleIndicator.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.angle = _ARG_0_.angle + _ARG_1_ * 16 + if _ARG_0_.angle >= 3.14159 then + _ARG_0_.angle = 3.14159 + _ARG_0_.state = "OPEN" + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.angle = _ARG_0_.angle - _ARG_1_ * 16 + if _ARG_0_.angle < 0 then + _ARG_0_.angle = 0 + _ARG_0_.state = "CLOSED" + end + end +end +AdSplashPage = ui.Image:inherit() +function AdSplashPage.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_:setImage("MAIN_MENU_AD_IMAGE") + ui.ImageButton:new().name = "ok_button" + ui.ImageButton:new():setImage("MENU_YES") + ui.ImageButton:new().returnValue = "OPEN_AD_SPLASH_LINK" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "cancel_button" + ui.ImageButton:new():setImage("MENU_NO") + ui.ImageButton:new().returnValue = "CLOSE_AD_SPLASH" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AdSplashPage.layout(_ARG_0_) + ui.Image.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_:getChild("ok_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 - 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("ok_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 + _ARG_0_:getChild("cancel_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * -0.5 + 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("cancel_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 +end +function AdSplashPage.draw(_ARG_0_, _ARG_1_, _ARG_2_) + setRenderState(0, 0, 1, 1) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.Image.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +function AdSplashPage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) then + return ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return "BLOCK", nil, _ARG_0_ +end +LoginButton = ui.ImageButton:inherit() +function LoginButton.init(_ARG_0_) + ui.ImageButton.init(_ARG_0_) + _ARG_0_.state = "NOT_REGISTERED" +end +function LoginButton.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.ImageButton.update(_ARG_0_) + if _ARG_0_.state == "NOT_REGISTERED" then + _ARG_0_.animation_timer = (_ARG_0_.animation_timer or 0) + _ARG_1_ + if 2 > _ARG_0_.animation_timer then + elseif _ARG_0_.animation_timer >= 2 + 1 then + _ARG_0_.animation_timer = 0 + end + _ARG_0_.scaleY, _ARG_0_.scaleX = tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1), tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1) + end +end +function LoginButton.setState(_ARG_0_, _ARG_1_) + if _ARG_1_ == "NOT_REGISTERED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "NOT_LOGGED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "LOGGED" then + _ARG_0_:setImage("BUTTON_LOG_OUT") + end + _ARG_0_.scaleX = 1 + _ARG_0_.scaleY = 1 + _ARG_0_.state = _ARG_1_ +end +MainMenu = MainMenuRoot:inherit() +function MainMenu.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + if deviceModel == "s60" then + ui.ImageButton:new().name = "closeButton" + ui.ImageButton:new():setImage("BUTTON_CLOSE") + ui.ImageButton:new().returnValue = "EXIT" + _ARG_0_:addChild((ui.ImageButton:new())) + end + _ARG_0_.quadClickCount = 0 + _ARG_0_.quadClickTimer = 0 + MainMenuSlider:new().name = "optionsSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + _ARG_0_:createOptionsSliderButtons((MainMenuSlider:new())) + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + ui.BackgroundBox:new().name = "playButton" + ui.BackgroundBox:new().components = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } + ui.BackgroundBox:new().hanchor = "HCENTER" + ui.BackgroundBox:new().vanchor = "VCENTER" + ui.BackgroundBox:new().onPointerEvent = function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" and _ARG_2_ >= _ARG_0_.x - _ARG_0_.width * 0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y - _ARG_0_.height * 0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + _G.res.playAudio("menu_confirm", 1, false) + return "PLAY", nil, _ARG_0_ + end + end + else + ui.ImageButton:new().name = "playButton", + ui.ImageButton:new().returnValue = "PLAY" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + end + _ARG_0_:addChild((ui.ImageButton:new())) + _ARG_0_.playEvent = { + id = events.EID_CHANGE_SCENE, + target = "PLAY", + from = "MAIN_MENU" + } + ui.ImageButton:new().name = "playText" + ui.ImageButton:new().returnValue = "GOTO_EPISODE_SELECTION" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new():addChild((ui.ImageButton:new())) + ui.Image:new().name = "gameLogo" + ui.Image:new():setImage("MENU_LOGO") + _ARG_0_:addChild((ui.Image:new())) + ui.ImageButton:new().name = "optionsButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_OPTIONS" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "optionsImage" + ToggleIndicator:new():setImage("BUTTON_OPTIONS") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + if not _UPVALUE0_ then + MainMenuSlider:new().name = "externalSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + ui.ImageButton:new().name = "externalButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_EXTERNAL" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "externalImage" + ToggleIndicator:new():setImage("BUTTON_SLIDER") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + _ARG_0_:createExternalSliderButtons((MainMenuSlider:new())) + end + _ARG_0_.mid_buttons = {} + ui.ImageButton:new().name = "eagleButton" + ui.ImageButton:new():setImage("BUTTON_EAGLE_BUY") + ui.ImageButton:new().returnValue = "GOTO_EAGLE_PAGE" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "magicPlacesButton" + ui.ImageButton:new():setImage("BTN_MAGIC") + ui.ImageButton:new().returnValue = "GOTO_MAGIC_MAP" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + if not releaseBuild and showEditor then + ui.ImageButton:new().name = "editorButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "GOTO_EDITOR" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "editorText" + ui.Text:new({font = getFontBasic}).text = "EDITOR" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if cheatsEnabled and g_ABsync_enabled then + ui.ImageButton:new().name = "sync_button" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "CLOUD_SYNC" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "sync_text" + ui.Text:new({font = getFontBasic}).text = "SYNC" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:initGameCenter() + end + if ABIDEnabled then + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):setImage("BUTTON_EMPTY") + _ARG_0_:addChild((ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }))) + ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }):clip() + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):addChild((ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }))) + end + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "exit_button" + ui.ImageButton:new():setImage("MENU_QUIT_EN") + ui.ImageButton:new().returnValue = "EXIT" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled or deviceModel == "s60" then + ui.ImageButton:new().name = "update_button" + if deviceModel ~= "s60" then + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + else + ui.ImageButton:new():setImage("BUTTON_UPDATE") + end + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + if deviceModel ~= "s60" then + ui.ImageButton:new():setVisible(false) + end + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_registrationEnabled then + ui.ImageButton:new().name = "register_button" + ui.ImageButton:new():setImage("BUTTON_ACTIVATE_FULL") + ui.ImageButton:new().returnValue = "OPEN_REGISTER_WINDOW" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled then + ui.ImageButton:new().name = "update_button" + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setVisible(false) + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_ABsync_enabled and g_cloudsync_available then + LoginButton:new().name = "rovio_login_button" + LoginButton:new().returnValue = "ROVIO_LOGIN" + LoginButton:new():setState("NOT_LOGGED") + LoginButton:new().activateOnRelease = true + _ARG_0_:addChild((LoginButton:new())) + end + if not g_loadTimed then + g_loadTimed = true + logFlurryTimerEvent("Loading time - splash to menu") + end +end +function MainMenu.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mainMenuRoot", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenu.createOptionsSliderButtons(_ARG_0_, _ARG_1_) + if g_allowLowQualityGraphics then + ui.ToggleButton:new().name = "qualityButton" + ui.ToggleButton:new():setImage({ + "BUTTON_LQ", + "BUTTON_LOW_QUALITY" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_QUALITY" + if settingsWrapper:isGfxLowQuality() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + if iOS and isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + ui.ImageButton:new().name = "iap_restore_button" + ui.ImageButton:new():setImage("BUTTON_EAGLE_RESTORE") + ui.ImageButton:new().returnValue = "IAP_RESTORE_CLICKED" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if g_powerups_enabled then + ui.ToggleButton:new().name = "childlockButton" + ui.ToggleButton:new():setImage({ + "BUTTON_MENU_POWERUP", + "BUTTON_CHILDLOCK_ON" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_CHILDLOCK" + if settingsWrapper:isChildlockOn() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + ui.ImageButton:new().name = "creditsButton" + ui.ImageButton:new():setImage("BUTTON_ABOUT_SMALL") + ui.ImageButton:new().returnValue = "GOTO_CREDITS" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ToggleButton:new().name = "soundButton" + ui.ToggleButton:new():setImage({ + "BUTTON_SOUNDS_SMALL", + "BUTTON_MAINMENU_SFX_OFF" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_SOUND" + _ARG_1_:addChild((ui.ToggleButton:new())) + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "fullscreen_button" + ui.ImageButton:new():setImage("BUTTON_FULLSCREEN") + ui.ImageButton:new().returnValue = "TOGGLE_FULLSCREEN" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end +end +function MainMenu.createExternalSliderButtons(_ARG_0_, _ARG_1_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:createGameCenterExternalSliderButtons(_ARG_1_) + end + if not _UPVALUE0_ then + ui.ImageButton:new().name = "youtubeButton" + ui.ImageButton:new():setImage("BUTTON_TRAILER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TRAILER" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if not _UPVALUE0_ then + if not applyChinaRestictions then + ui.ImageButton:new().name = "facebookButton" + ui.ImageButton:new():setImage("BUTTON_FACEBOOK_SMALL") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK" + ui.ImageButton:new().name = "twitterButton" + ui.ImageButton:new():setImage("BUTTON_TWITTER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TWITTER" + _ARG_1_:addChild((ui.ImageButton:new())) + _ARG_1_:addChild((ui.ImageButton:new())) + else + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_2_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TENCENT_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_1_SMALL") + ui.ImageButton:new().returnValue = "GOTO_SINA_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "qzonetButton" + ui.ImageButton:new():setImage("BUTTON_QZONE_SMALL") + ui.ImageButton:new().returnValue = "GOTO_QZONE" + _ARG_1_:addChild((ui.ImageButton:new())) + end + end +end +function MainMenu.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + eventManager:notify({ + id = events.EID_MAIN_MENU_ENTERED + }) + _ARG_0_:refreshMiddleButtons() + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + end + _ARG_0_:getChild("optionsButton"):getChild("optionsImage").angle = 0 + if not _UPVALUE0_ then + _ARG_0_:getChild("externalButton"):getChild("externalImage").angle = 0 + end + eventManager:addEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:addEventListener(events.EID_SERVICE_AVAILABILITY_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + eventManager:addEventListener(events.EID_ID_SYNC_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:addEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + _ARG_0_:getChild("update_button"):setVisible(g_updateAvailable) + end + if not g_mainMenuAdChecked and iOS then + if releaseBuild then + else + end + if 60 < getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getMainMenuAdLastCheckedTime()) then + print(" Initiating main menu ad check with URL: " .. (MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) .. "\n") + mainMenuAdChecked = true + checkMainMenuAd(MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) + settingsWrapper:setMainMenuAdLastCheckedTime(getCurrentTime()) + else + print(" Too short a time from last main menu ad check, not checking now\n") + end + end + if g_startup_rewards and _G.tonumber(g_startup_rewards) and 0 < _G.tonumber(g_startup_rewards) and g_powerups_enabled then + addPowerups("slingscope", g_startup_rewards) + addPowerups("birdquake", g_startup_rewards) + addPowerups("kingsling", g_startup_rewards) + addPowerups("superseed", g_startup_rewards) + settingsWrapper:setRewardCollected("firststart") + g_startup_rewards = nil + end + if g_ABsync_enabled and g_cloudsync_available then + if rovioProfile.id then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif settingsWrapper:getBoundId() ~= "" then + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + else + _ARG_0_:getChild("rovio_login_button"):setState("NOT_REGISTERED") + end + end +end +function MainMenu.onExit(_ARG_0_) + MainMenuRoot.onExit(_ARG_0_) + eventManager:removeEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:removeEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:removeEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:removeEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + end +end +function MainMenu.refreshMiddleButtons(_ARG_0_) + _ARG_0_.mid_buttons = {} + if g_ABsync_enabled and g_cloudsync_available then + _G.table.insert(_ARG_0_.mid_buttons, "rovio_login_button") + end + if isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + _G.table.insert(_ARG_0_.mid_buttons, "eagleButton") + _ARG_0_:getChild("eagleButton").visible = true + else + _ARG_0_:getChild("eagleButton").visible = false + end + if g_registrationEnabled then + if not g_isRegistered then + _G.table.insert(_ARG_0_.mid_buttons, "register_button") + _ARG_0_:getChild("register_button").visible = true + else + _ARG_0_:getChild("register_button").visible = false + end + end + if g_magic_places_enabled and _G.magicplaces then + _G.table.insert(_ARG_0_.mid_buttons, "magicPlacesButton") + _ARG_0_:getChild("magicPlacesButton").visible = true + else + _ARG_0_:getChild("magicPlacesButton").visible = false + end + _ARG_0_:layout() +end +function MainMenu.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + if deviceModel == "s60" then + _ARG_0_:getChild("closeButton").x = screenWidth - g_layoutMargin.x + _ARG_0_:getChild("closeButton").y = g_layoutMargin.y + end + _ARG_0_:getChild("playButton").x = screenWidth * 0.5 + _ARG_0_:getChild("playButton").y = screenHeight * 0.555 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + if _G.type(blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].playButtonSprite) == "table" then + end + else + end + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + _ARG_0_:getChild("playButton"):getChild("playText"):setImage("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").width = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").height = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") * 1.7 + else + _ARG_0_:getChild("playButton"):setImage("MENU_PLAY_SMALL_EN") + end + _ARG_0_:getChild("gameLogo").x = screenWidth * 0.5 + _ARG_0_:getChild("gameLogo").y = screenHeight * 0.021875 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + _ARG_0_:getChild("optionsSlider").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + else + _ARG_0_:getChild("optionsSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + end + _ARG_0_:getChild("optionsSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("optionsSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsButton").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsButton").y = _ARG_0_:getChild("optionsSlider").y + if not _UPVALUE0_ then + _ARG_0_:getChild("externalSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.x + _ARG_0_:getChild("externalSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("externalSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalButton").x = _ARG_0_:getChild("externalSlider").x + _ARG_0_:getChild("externalButton").y = _ARG_0_:getChild("externalSlider").y + end + if deviceModel == "windows" or deviceModel == "osx" then + _ARG_0_:getChild("exit_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + _ARG_0_:getChild("exit_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if g_updateCheckEnabled or deviceModel == "s60" then + _ARG_0_:getChild("update_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + _ARG_0_:getChild("update_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + for _FORV_15_, _FORV_16_ in _G.ipairs(_ARG_0_.mid_buttons) do + end + for _FORV_16_, _FORV_17_ in _G.ipairs(_ARG_0_.mid_buttons) do + _ARG_0_:getChild(_FORV_17_).x = screenWidth * 0.5 - (#_ARG_0_.mid_buttons - 1) * (screenWidth * 0.01) * 0.5 - _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_16_).image) * 0.5 + _G.res.getSpritePivot(_ARG_0_:getChild(_FORV_17_).image) + _ARG_0_:getChild(_FORV_17_).y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if not releaseBuild and showEditor then + _ARG_0_:getChild("editorButton").x = screenWidth * 0.75 + _ARG_0_:getChild("editorButton").y = screenHeight * 0.7 + end + if cheatsEnabled and g_ABsync_enabled then + _ARG_0_:getChild("sync_button").x = screenWidth * 0.75 + _ARG_0_:getChild("sync_button").y = screenHeight * 0.7 - _ARG_0_:getChild("sync_button").h * 1.1 + end + if ABIDEnabled then + _ARG_0_:getChild("ABID_button").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsSlider").width * 2 + _ARG_0_:getChild("ABID_button").y = _ARG_0_:getChild("optionsSlider").y + _ARG_0_:getChild("ABID_text"):clip() + _ARG_0_:getChild("ABID_text").x = 0 + _ARG_0_:getChild("ABID_text").y = 0 + end +end +function MainMenu.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:updateGameCenter(_ARG_1_, _ARG_2_) + end + if mainMenuAdReadyToBeShown then + mainMenuAdReadyToBeShown = false + _ARG_0_:showAdPopup() + settingsWrapper:setMainMenuAdTimeStamp(mainMenuAdTimeStamp) + end + if cheatsEnabled then + if keyPressed.F1 then + print("unlocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 200) + end + end + end + if _FOR_.F2 then + print("relocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 1) + end + end + _FOR_() + end + end + _ARG_0_.quadClickTimer = _ARG_0_.quadClickTimer - _ARG_1_ +end +function MainMenu.showAdPopup(_ARG_0_) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AdSplashPage:new() + }) +end +function MainMenu.updatePrompt(_ARG_0_) + g_updatePrompted = true + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = [[ +New update available! +Download now?]], + confirmOnLeft = deviceModel == "windows", + confirm_event = { + id = events.EID_UPDATE_GAME + } + })) +end +function MainMenu.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if not MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) and _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "ESCAPE") and deviceModel ~= "roku" and deviceModel ~= "freebox" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + end + return MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenu.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if releaseBuild ~= true and _ARG_2_ > screenWidth - 50 and _ARG_3_ < 50 then + settingsWrapper:setMightyEagleEnabled() + end + if _ARG_2_ > screenWidth * 0.92 and _ARG_3_ < screenHeight * 0.08 and cheatsEnabled and _ARG_1_ == "LRELEASE" then + if _ARG_0_.quadClickTimer > 0 or _ARG_0_.quadClickCount == 0 then + _ARG_0_.quadClickCount = _ARG_0_.quadClickCount + 1 + if _ARG_0_.quadClickCount == 4 then + _ARG_0_.quadClickCount = 0 + for _FORV_10_, _FORV_11_ in _G.pairs(g_achievements) do + achievementProcessor:addToAchievementUnlockQueue(_FORV_10_, true) + end + end + else + _ARG_0_.quadClickCount = 1 + end + _ARG_0_.quadClickTimer = 0.5 + end + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "PLAY" then + eventManager:notify(_ARG_0_.playEvent) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_CREDITS" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS", + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_PAGE" then + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_MAGIC_MAP" then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EDITOR" then + menuManager:changeRoot(EditorPage:new()) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOUD_SYNC" then + g_last_sync_time = nil + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_ACHIEVEMENTS" then + _ARG_0_:gotoAchievements() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_LEADERBOARDS" then + _ARG_0_:gotoLeaderboards() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_OPTIONS" then + _ARG_0_:getChild("optionsSlider"):toggle() + _ARG_0_:getChild("optionsButton"):getChild("optionsImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_EXTERNAL" then + _ARG_0_:getChild("externalSlider"):toggle() + _ARG_0_:getChild("externalButton"):getChild("externalImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_SOUND" then + changeAudio() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_CHILDLOCK" then + if not settingsWrapper:isChildlockOn() then + powerupChildLockPrompt({ + content = "TEXT_POWERUP_PARENTAL", + image_scale = 0.5 + }) + end + settingsWrapper:toggleChildlock() + eventManager:notify({ + id = events.EID_PARENTAL_LOCK_TOGGLED, + toggled_on = _G.tostring(settingsWrapper:isChildlockOn()) + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ROVIO_LOGIN" then + if not rovioProfile.id then + if settingsWrapper:getBoundId() == "" then + notificationsFrame:addChild(ABsync.SyncIntroductionFrame:new()) + else + ABsync.showLoadScreen("sign_in") + end + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = _G.string.format(_G.res.getString("TEXTS_BASIC", "TEXT_ROVIO_ID_SIGN_OUT"), rovioProfile.email), + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + _UPVALUE0_.logging_out = true + ABsync.showLoadScreen() + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_QUALITY" then + changeGFXQuality() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_FULLSCREEN" then + eventManager:notify({ + id = events.EID_TOGGLE_FULLSCREEN + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "IAP_RESTORE_CLICKED" then + if settingsWrapper:isMightyEagleEnabled() then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY" + })) + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_RESTORE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + iapRestoreItems("iosEagleRestoreCallback") + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TRAILER" then + gotoAngryBirdsTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_TRAILER" then + gotoMightyEagleTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_FACEBOOK" then + gotoFacebook() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TWITTER" then + gotoTwitter() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_SINA_WEIBO" then + gotoSinaWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TENCENT_WEIBO" then + gotoTencentWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_QZONE" then + gotoQzone() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_RENREN" then + gotoRenren() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ABID_CLICKED" then + eventManager:notify({ + id = events.EID_ABID_CLICKED + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EXIT" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_REGISTER_WINDOW" then + eventManager:notify({ + id = events.EID_SHOW_REGISTRATION_DIALOG, + from = "MAIN_MENU", + success_call = function() + _UPVALUE0_:refreshMiddleButtons() + end + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "UPDATE_GAME" then + if deviceModel == "s60" then + _G.res.openURL(ROVIO_UPDATE_URL_S60 .. _G.res.getLocale()) + else + _ARG_0_:updatePrompt() + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_AD_SPLASH_LINK" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + if _G.magicplaces and _G.string.find(mainMenuAdUrl, "magicplaces") ~= nil then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + else + openURL(generateRedirectURL(g_variant, mainMenuAdUrl)) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_AD_SPLASH" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP" then + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + releaseImages({ + "LEVELSELECTION", + "TUTORIALS" + }) + _G.res.createBitmapFont(fontPath .. "/" .. _UPVALUE0_ .. "/FONT_SHOP_AMOUNT.dat") + loadAssets({"SHOP"}) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = ProductPage:new({ + from = "MAIN_MENU", + product = g_shop_products[1] + }) + } + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP_DISABLED" then + powerupChildLockPrompt({image_scale = 0.5}) + elseif _ARG_1_ ~= "HOVER" then + for _FORV_10_ = 1, #g_bird_animations do + if g_bird_animations[_FORV_10_].layer == 5 then + g_bird_animations[_FORV_10_].renderState = true + if _ARG_0_:checkBirdBounds(g_bird_animations[_FORV_10_], cursor.x, cursor.y) and g_bird_animations[_FORV_10_].yelling ~= true and _G.string.sub(g_bird_animations[_FORV_10_].sprite, 1, 4) == "BIRD" then + g_bird_animations[_FORV_10_].yelling = true + _G.res.playAudio({ + BIRD_RED = "bird_01_flying", + BIRD_BLUE = "bird_02_flying", + BIRD_YELLOW = "bird_03_flying", + BIRD_GREY = "bird_04_flying", + BIRD_GREEN = "bird_05_flying", + BIRD_BIG_BROTHER = "big_brother_flying", + BIRD_BOOMERANG = "bird_06_flying", + BIRD_PUFFER_1 = "Globe_Bird_Launch_3", + BIRD_PINK = "pink_activate_01" + }[g_bird_animations[_FORV_10_].sprite], 1, false, 0) + g_bird_animations[_FORV_10_].sprite = g_bird_animations[_FORV_10_].yell_sprite + end + end + end + else + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return nil, nil, nil +end +function MainMenu.eventTriggered(_ARG_0_, _ARG_1_) + if _ARG_1_.id == events.EID_UPDATE_AVAILABLE then + _ARG_0_:getChild("update_button"):setVisible(true) + _ARG_0_:updatePrompt() + elseif _ARG_1_.id == events.EID_AUDIO_STATE_CHANGED then + if _ARG_1_.from == "KEYBOARD_COMMAND" then + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + end + end + elseif _ARG_1_.id == events.EID_IAP_ITEMS_RESTORED then + _ARG_0_:refreshMiddleButtons() + elseif _ARG_1_.id == events.EID_SERVICE_AVAILABILITY_CHANGED then + if _ARG_1_.serviceName == "magicplaces" and _ARG_1_.available == true then + _ARG_0_:refreshMiddleButtons() + end + elseif _ARG_1_.id == events.EID_ROVIO_ID_LOGIN_SUCCESS then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif _ARG_1_.id == events.EID_ID_SYNC_SUCCESS and _ARG_0_.logging_out then + logoutRovioId() + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + _ARG_0_.logging_out = false + notifyEventManager(events.EID_ROVIO_ID_LOGOUT) + end +end +function MainMenu.checkBirdBounds(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_.scale ~= nil then + end + if _ARG_1_.scale ~= 1 then + end + if _ARG_1_.scale ~= 1 then + end + return _ARG_3_ >= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_3_ <= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ >= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ <= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 +end +MainMenuEaglePage = MainMenuRoot:inherit() +function MainMenuEaglePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenuEaglePage.init(_ARG_0_) + _ARG_0_:addChild((MEPage:new())) +end +function MainMenuEaglePage.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) +end +function MainMenuEaglePage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EAGLE_PURCHASE_CLICKED" then + goToMightyEaglePaymentPage(false) + end + return ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function MainMenuEaglePage.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BACK" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end +end +MainMenuEaglePurchasePage = MainMenuRoot:inherit() +function MainMenuEaglePurchasePage.init(_ARG_0_) + _ARG_0_:addChild((EaglePurchasePage:new())) +end +function MainMenuEaglePurchasePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +filename = "main_menu.lua" diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/menu_main.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/menu_main.lua new file mode 100644 index 0000000000000000000000000000000000000000..1b5cde6c43d9312fb2bb59d4527027568ecbcab0 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/menu_main.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/slideshow.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/slideshow.lua new file mode 100644 index 0000000000000000000000000000000000000000..7741f64b7fbfd784214d4b2c53bdb158f3e7eb17 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/slideshow.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..d913df02529685589c6b6a8a486c3ec90fd4b27e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/0.2.0/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a1e5ba530c3c0843944887dc04a0fac4961169c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/powerups.lua b/Angry Birds Project R/0.2.0/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/powerups2.lua b/Angry Birds Project R/0.2.0/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/0.2.0/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..dc0f75c1bed06bc8c3341425a51a7a3296ab24c4 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/0.2.0/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/the system behind the game.lua b/Angry Birds Project R/0.2.0/data/scripts_common/the system behind the game.lua new file mode 100644 index 0000000000000000000000000000000000000000..1caa76895f9b03cbcfee9a6e0ac2c85eb8edd8dd --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts_common/the system behind the game.lua @@ -0,0 +1,10872 @@ +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or deviceModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "http://cloud.rovio.com/link/redirect/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "osx" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = generateRedirectURL(variant, appStoreFullType) + APP_STORE_HALLOWEEN_URL = generateRedirectURL(variant, appStoreSeasonsFullType) + NEWSLETTER_URL = generateRedirectURL(variant, "newsletter") + ANDROID_MARKET_FULL_VERSION_URL = generateRedirectURL("litebeta2", "originalfull") + ALEX_URL = generateRedirectURL(variant, appStoreAlexFullType) + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = generateRedirectURL(variant, "trailer") + OVI_STORE_URL = generateRedirectURL(variant, "full") + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = generateRedirectURL(variant, "facebook") + TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = generateRedirectURL(variant, "qzone") + RENREN_URL = generateRedirectURL(variant, "renren") + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = generateRedirectURL(variant, "shop") + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + RIO_CONTEST_URL = generateRedirectURL(variant, "riocontest") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = generateRedirectURL(variant, "facebooklike") + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "http://www.angrybirds.com/redirect.php?device=pc&product=angrybirds&variant=free&type=originalfullpc" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "http://cloud.rovio.com/content/embed/popup/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "http://smoke.rovio.com/content/embed/popup/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "http://cloud.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "http://smoke.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "http://cloud.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(1, 16, 16000) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + if check_diff / 3600 > settingsWrapper:getInstalledAppsTTL() then + checkInstalledAppsOnline(CHECK_APPLICATIONS_URL) + else + possibleInstalledApps = settingsWrapper:getPossibleAppsList() + if possibleInstalledApps then + checkInstalledAppsOffline(exportLuaTableAsJSON("possibleInstalledApps")) + end + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = true +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, false, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if showflyingBird then + if flyingBird ~= nil then + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird can use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + else + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird cant use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + end + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 150 + softLimitSimultaneousParticles = 75 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = false + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme1" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = v0.music + currentMainMenuSong = v0.menuMusic or "title_theme" + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + local name = v.definition .. "_" .. objects.counts[v.definition] + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + objects.themeSprites[v.name] = nil + themeSpriteObjects[v.name] = nil + removeThemeSprite(name, editor.currentLayer) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + removeObject(name) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 8 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + if selectedObjects[1].startNumber ~= nil then + _G.res.drawString("TEXTS_BASIC", "Start: " .. selectedObjects[1].startNumber, 0, 35, "TOP", "LEFT") + end + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PHYSICS_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_PHYSICS_OFF", screenWidth, 0) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopIngameSounds() + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + playAudio(getAudioName(g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(g_sound_level_start), 1, false) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if currentMusic ~= nil and _G.res.isAudioPlaying(currentMusic) == false then + playAudio(currentMusic, 1, true, 7) + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 1 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(1, lx, ly) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("special_explosion")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, false, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, false, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + if v1.levelGoal then + v1.defenceBoost = pigDefenceBoost + end + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 4 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, false, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "COURTNEY" then + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + local newName2 = flyingBird.name .. "b" + objects.world[flyingBird.name].sprite = "BIRD_HARVEY_FLY" + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "COURTNEY_FALL", flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "Courtney" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_COURTNEY","COURTNEY_FALL") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "COURTNEY_DEAD" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, "COURTNEY_DEAD") + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + end + if birdSpecialty == "TONY" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "COURTNEY" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.bird + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = false + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, false, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, false, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, "displacement vector missing x/y members") + local distToRest = vLength(displacement.x, displacement.y) + rubberBandAngle = 0 < distToRest and _G.math.atan2(displacement.y, displacement.x) or 0 + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(g_sound_pigs), volume, false, 0) + end + end + end + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(g_sound_birds), volume, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, false, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, false, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName("bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosion", 1, true, false) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius and v.defence < definition.explosionDamage / dist then + v.strength = v.strength - definition.explosionDamage / dist + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if v.strength <= 0 then + deadBlocks[k] = v + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/the system behind the game.lua.bak b/Angry Birds Project R/0.2.0/data/scripts_common/the system behind the game.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..c2a1b8c9774e1902a20b71325615d2b092891f1e --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/scripts_common/the system behind the game.lua.bak @@ -0,0 +1,10845 @@ +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or deviceModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "http://cloud.rovio.com/link/redirect/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "osx" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = generateRedirectURL(variant, appStoreFullType) + APP_STORE_HALLOWEEN_URL = generateRedirectURL(variant, appStoreSeasonsFullType) + NEWSLETTER_URL = generateRedirectURL(variant, "newsletter") + ANDROID_MARKET_FULL_VERSION_URL = generateRedirectURL("litebeta2", "originalfull") + ALEX_URL = generateRedirectURL(variant, appStoreAlexFullType) + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = generateRedirectURL(variant, "trailer") + OVI_STORE_URL = generateRedirectURL(variant, "full") + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = generateRedirectURL(variant, "facebook") + TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = generateRedirectURL(variant, "qzone") + RENREN_URL = generateRedirectURL(variant, "renren") + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = generateRedirectURL(variant, "shop") + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + RIO_CONTEST_URL = generateRedirectURL(variant, "riocontest") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = generateRedirectURL(variant, "facebooklike") + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "http://www.angrybirds.com/redirect.php?device=pc&product=angrybirds&variant=free&type=originalfullpc" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "http://cloud.rovio.com/content/embed/popup/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "http://smoke.rovio.com/content/embed/popup/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "http://cloud.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "http://smoke.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "http://cloud.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(1, 16, 16000) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + if check_diff / 3600 > settingsWrapper:getInstalledAppsTTL() then + checkInstalledAppsOnline(CHECK_APPLICATIONS_URL) + else + possibleInstalledApps = settingsWrapper:getPossibleAppsList() + if possibleInstalledApps then + checkInstalledAppsOffline(exportLuaTableAsJSON("possibleInstalledApps")) + end + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = true +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, false, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if showflyingBird then + if flyingBird ~= nil then + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird can use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + else + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird cant use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + end + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 150 + softLimitSimultaneousParticles = 75 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = false + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme1" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = v0.music + currentMainMenuSong = v0.menuMusic or "title_theme" + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + local name = v.definition .. "_" .. objects.counts[v.definition] + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + objects.themeSprites[v.name] = nil + themeSpriteObjects[v.name] = nil + removeThemeSprite(name, editor.currentLayer) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + removeObject(name) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 8 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + if selectedObjects[1].startNumber ~= nil then + _G.res.drawString("TEXTS_BASIC", "Start: " .. selectedObjects[1].startNumber, 0, 35, "TOP", "LEFT") + end + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PHYSICS_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_PHYSICS_OFF", screenWidth, 0) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopIngameSounds() + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + playAudio(getAudioName(g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(g_sound_level_start), 1, false) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if currentMusic ~= nil and _G.res.isAudioPlaying(currentMusic) == false then + playAudio(currentMusic, 1, true, 7) + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 1 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(1, lx, ly) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("special_explosion")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, false, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, false, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + if v1.levelGoal then + v1.defenceBoost = pigDefenceBoost + end + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 4 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, false, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "TONY" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "COURTNEY" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = false + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, false, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, false, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, "displacement vector missing x/y members") + local distToRest = vLength(displacement.x, displacement.y) + rubberBandAngle = 0 < distToRest and _G.math.atan2(displacement.y, displacement.x) or 0 + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(g_sound_pigs), volume, false, 0) + end + end + end + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(g_sound_birds), volume, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, false, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, false, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName("bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosion", 1, true, false) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius and v.defence < definition.explosionDamage / dist then + v.strength = v.strength - definition.explosionDamage / dist + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if v.strength <= 0 then + deadBlocks[k] = v + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/timer.lua b/Angry Birds Project R/0.2.0/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/trackpad.lua b/Angry Birds Project R/0.2.0/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/0.2.0/data/scripts_common/utils.lua b/Angry Birds Project R/0.2.0/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/0.2.0/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/0.2.0/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/pp.fx b/Angry Birds Project R/0.2.0/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/0.2.0/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/0.2.0/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/0.2.0/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/0.2.0/desktop.ini b/Angry Birds Project R/0.2.0/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..717d2cacf9cf6416b1ccc3bf1e65128bacd6f53c --- /dev/null +++ b/Angry Birds Project R/0.2.0/desktop.ini @@ -0,0 +1,6 @@ +[.ShellClassInfo] +IconResource=C:\Users\norto\Downloads\favicon.ico,0 +[ViewState] +Mode= +Vid= +FolderType=Generic diff --git a/Angry Birds Project R/0.2.0/msvcp100.dll b/Angry Birds Project R/0.2.0/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/0.2.0/msvcp100.dll differ diff --git a/Angry Birds Project R/0.2.0/msvcr100.dll b/Angry Birds Project R/0.2.0/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/0.2.0/msvcr100.dll differ diff --git a/Angry Birds Project R/0.2.0/updater.exe b/Angry Birds Project R/0.2.0/updater.exe new file mode 100644 index 0000000000000000000000000000000000000000..17319c301ca02f76a5450fe7376d86487af104f2 Binary files /dev/null and b/Angry Birds Project R/0.2.0/updater.exe differ diff --git a/Angry Birds Project R/0.2.0/updater.ini b/Angry Birds Project R/0.2.0/updater.ini new file mode 100644 index 0000000000000000000000000000000000000000..80bc0e7f770db824b450ec8bbc024808d8e5bea6 --- /dev/null +++ b/Angry Birds Project R/0.2.0/updater.ini @@ -0,0 +1,9 @@ +[General] +URL=http://cloud.rovio.com/install/pc/update/AngryBirds +AppDir=C:\Program Files (x86)\Rovibro\Angry Birds\ +CheckFrequency=2 +CompanyName=Rovio +ApplicationName=Angry Birds +ID={12A16EDE-2DC7-4D9D-B3A7-E1743959457A} +ApplicationVersion=2.3.0 +DownloadsFolder=C:\Users\norto\AppData\Roaming\Rovio\Angry Birds\updates\ diff --git a/Angry Birds Project R/0.3.0/Angry Birds.exe b/Angry Birds Project R/0.3.0/Angry Birds.exe new file mode 100644 index 0000000000000000000000000000000000000000..205b658e02c8316d987d6c99a6f214dd92383891 --- /dev/null +++ b/Angry Birds Project R/0.3.0/Angry Birds.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0eb3ed1b796a0bc7e37e81545bcf2c08d7b6973bfabcda90f0c9008c0916d1e7 +size 1529968 diff --git a/Angry Birds Project R/0.3.0/Angry Birds.gdf b/Angry Birds Project R/0.3.0/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/0.3.0/Angry Birds.gdf differ diff --git a/Angry Birds Project R/0.3.0/config.lua b/Angry Birds Project R/0.3.0/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..e6c7a653e53d3ccd699411499b04c85f0b5806ab --- /dev/null +++ b/Angry Birds Project R/0.3.0/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R BETA 3.0" +publisher = "JPA" +name = "Angry Birds Project R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/0.3.0/data/audio/BUTTONS_EXTRA.dat b/Angry Birds Project R/0.3.0/data/audio/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..0b5f357649aa8333e479881c559c5ac46eaddbec Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/audio/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/0.3.0/data/audio/music/BeachAmbience.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/BeachAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..85759b30fe232e2ed045f7474b215fdd47a19e85 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/BeachAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8c5315331f8cd9356f9d6ddf968212f7c748b1ac4590f237a299393ba36609e +size 1544944 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/RainAmbience.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/RainAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..962af79c19b74b7a0b95e4ef156c2df62bab994b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/RainAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5fb460d03b8a0e74ac075abf1821d3ccef4651f3583a55c207ed5f505bf95ca +size 889343 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/ab_cave_ambient.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/ab_cave_ambient.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..38f968513c9866b61f66cdb2aba0bb5653d3d414 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/ab_cave_ambient.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d93725def68b368ebafaadf4710b2a53d5af2fd5d331b58798fbcb29f9b6f6f8 +size 956707 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/ambience_waterfall.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/ambience_waterfall.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..057fa9ac2c38dc3b0abeed22157cb0692bd04ea3 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/ambience_waterfall.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ad5805317a25bd1fdbb94ba60017997045c1988fe7ad524516ef0d28b5366b0 +size 681509 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/ambient_city.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/ambient_city.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b36d0e0b2b5abb84682805c093f0a42964c553e3 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/ambient_city.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a3c2fd920b89dd824478c1da55dbe90a8144c92a7ff40e91986a441f9b2f0b1 +size 978023 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/ambient_construction.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/ambient_construction.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8640725c93e332136a3eb10baaa2e658103d7703 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/ambient_construction.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78230eaa24ac157753c414488d2fa2cb68dee6e38db5ea7d9514eadf8a6f7630 +size 903417 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/ambient_green_jungleish.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/ambient_green_jungleish.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a101c7dae1114d6e1a990fd89b0743b7d7ff45d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/ambient_green_jungleish.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb90dc799591de5930090b2449702b850bd8644d140777172707b4f7eba8dde1 +size 667688 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/ambient_red_savannah.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/ambient_red_savannah.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..46d53409296381ea6a735ce47fb1caaa652ddaef --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/ambient_red_savannah.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79c23296d2c44f1958d15a1a7a5db87463aebf1bc90070355cb98264e4d57901 +size 776776 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/ambient_white_dryforest.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/ambient_white_dryforest.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d248660596ef347adf6a430e2647583b5c5bb17c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/ambient_white_dryforest.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d3e724d5cbabae83024895c56d381bb024ca5d2bb250de0a5833436a2b03a62 +size 1012467 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..66ea07e25c36891b4082b617726e5eb619536c40 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fcd8e6b735bf0eff911bf778f6a814eada1b8c785205b039cb26ab60d707a4ed +size 149098 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7d52f8e115016c3c25780ca47403c02ea2967a5d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:199a9d5d6d8a39fa0578e6568e356c98cb9761ec1316bddd588c3013a01f2b8f +size 366131 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/birds_mid.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/birds_mid.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a258011a5b1dc952bc8fe5959d7cef2a508da178 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/birds_mid.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd0cb48ed1c14999e187ca47b6b46e7b9f2ebb5fc374a3cc7221c89ccbeb5557 +size 193458 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..aa49c9606f8bc98c9eba8b284bf60f2790b3d183 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7719b486d88b26345d28c08875206f557af38ec33ef92005154fd3a0fa974f2e +size 299048 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/birthday_ambience.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/birthday_ambience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c98bf7258b925859023f6b9212b2cbe60aaea43a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/birthday_ambience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a672d6c0f3abfab6427721b550c700380854e89b88e21c97644322af4dd3622f +size 709632 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/funky_theme.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/funky_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..cfa2984fd2175716219e8881993972015cf35476 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/funky_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c52b0d9438cc379fe16818604c818c60e2f3ea3727754c92a9ebfef1533514c +size 1791790 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/game_complete.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/game_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a1710be57afe4fc2c8c0de8dc331d4f44ba5ef7 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/game_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:966a98b93f7c6bb23b77f64501efb03b6edafce184bae7764d538dffd695c2d5 +size 290171 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/level_complete.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/level_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b867b036a8488818cacdeee1c5854b0701b922eb --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/level_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da50606f54269411f16050dae2483ea3c633263f93948372383ff692626d8e5c +size 70742 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/m.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/m.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f78a076ae4625f7d8eb59760fca3a33ca8269284 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/m.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91250cff87bd32bd057a3c00e5314badef6304945a8e8290e79d83fc6a259712 +size 1364880 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a68d33208bcb4f3b8b432ebd5e6a340673d7c4ab --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41f18bcce5bb275027ce0712b2d0239d6266c20d6267425ffd455060a5606f1c +size 1645471 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_1.wav b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed2a441a4cbbcb3342aff20880cede5587680552 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00d60a0c2df7d7c0760021f1757a273222c7635f86dfc1314c1f44f4f9a79762 +size 13227596 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6f15480666c08cc07bdc30899632c841a6774006 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdc21e56c91d786b09ac52fa86f4aa926844ad57b755092b75a6b09ce1c11587 +size 2957669 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_2.wav b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1a3f50e78b5d2474073c6f04b7933e34f8e8a503 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/pig_boss_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2ec7ac21727d00e32f884cc318255f848543dd28fe23ef4926077cea9c30b5c +size 24161752 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/pig_tales.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/pig_tales.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a71408e9ff641b657f642fa59633d39340b9a02 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/pig_tales.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28150f3f1ba9392128a481eee507c26fba2c707f839f4222df6ae41227d9b3e7 +size 409721 diff --git a/Angry Birds Project R/0.3.0/data/audio/music/title_theme.mp3 b/Angry Birds Project R/0.3.0/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..127e51b75365b4075728d89207154805c894a987 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2dbbd3062a49eadd26b796a3d65124fe0baa9575010e00da7b6227abb2c8fd5 +size 1640597 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Death_remove_1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Death_remove_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..a8cbcb0f71d90cc6a05566fcc6d0de0239e06413 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Death_remove_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c856abecf4a3bce50dd285acdaf5f8b12973b798e64ec7d51a1019e5f2b678c0 +size 377852 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..849f458dcade8524cbc89ee52bae07148f368cc6 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aec1c7b1fb875859289e477e32bc039aab07b9aac44638fa43b9351de1693307 +size 23114 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_2-2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_2-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..4005b15ede9572caba1f8e03dce9722b84651f8b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_2-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6785a7d077ab3dcf5606fa8c160cca08b7568964abcbf9d69885ccd6a73482f6 +size 25760 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..511506f11b68a79ce5a58d37b6cb63d8ac0325f3 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dfe5a89d58c8359fe6ade05ec1289b71f8cb00ef8ff47d977573e37459656d0 +size 25760 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_3-2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_3-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..85c6d856f3de10166636a162408d279d7b3502e5 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_3-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54641938b42f37b311fdca461012a824ab87fc2553de02ac5cbdb8b97b330567 +size 24356 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..eae3f3d9db21af975d8a27a2fbadfd93f0312f10 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4be1d2009dd2fb868763db99de2a832833c0a448218c1ae60f06100abac853ce +size 24356 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_4-2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_4-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..28b564b22a7b728dd6ea237f1d70974787125e5d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_4-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d4a3db8bcd6d0df402bb530a5c07c7c02b31cea883c792ec575e1234acc6b36 +size 29064 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_4.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e8f53095fae87a30655d433ee8cda63396cf0598 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Hit_4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1597c2c6b6405f2beb74203b3bc8d128e02cbcc315568103077327512104289 +size 29064 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Launch_3-2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Launch_3-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..4f05907a20c61705d0f06d0fda94e76dc07d932e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_Launch_3-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:382f348832ad0f282d6d28d24f0f0bccf6c3eb72f860c53deabcef99ebca1c8d +size 137024 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_01-2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_01-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..0800c308bf534c667083a100f55c32cb9711fcdf --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_01-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a96899e435165149918c61cb53236a924bad5dda32a277736583ed94d42f57d +size 133254 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_01.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..62ac372fb1d7abb4164ec1181defe49529faf5f9 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d7f22c0bdf1f1208c39bcecf44396d64a340dd1b706d77c1ae1f9561be70b74 +size 133254 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_02-2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_02-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..d386dca9084ae334f468e7f707901a7ea37ca152 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_02-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91b873d344cc9a29a7478f3c1cd188e2e5518cfce0728364c4de8ad3eed52f45 +size 92674 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_02.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..259011ecc52bfbf88100e80585522ce7e20913b1 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16708a6a77bde19f10a79fafba60b5a540348ab3be5101e2a97b6ec967a1b0a8 +size 92674 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_03-2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_03-2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b906ed8cf978b693d726c0a16b5b5d77726b6c00 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_03-2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c59cc9a55dc1f936587c71c68b87a9a9567d831191fb87232f23b718caae657 +size 38010 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_03.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..31792c7cd29f0d2865ff6502e2704968b09e8300 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/Globe_Bird_idle_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d6893bdb54df3e56d05143e045dd33b6cafee9a66bc655a3222f2543f31f336 +size 38010 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_break.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_break.wav new file mode 100644 index 0000000000000000000000000000000000000000..d3ce78a122b294664eb98366db9d7c2f871f676f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_break.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5217c9b69c36e69659a37ed7625bff291e30c21b7f16c6f5a82fd27908e91d1 +size 125128 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_empty_pull.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_empty_pull.wav new file mode 100644 index 0000000000000000000000000000000000000000..ce11b37c756784b8d5ea83a6a14ad2b4f8f1a3ff --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_empty_pull.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:640393fdd29346c65c20cae8aaaecdc9b2c7a5116b4024304b5de14dd288ff68 +size 108504 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_empty_push.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_empty_push.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d54e0c5ca538c55e63efeedb744dd9f62d8a9d1 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/accordion_empty_push.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dcf6356dd30b16806bb6d982cd463c061e8095d5d4184d182f4f36527f19f60 +size 127482 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/ball_bounce.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/ball_bounce.wav new file mode 100644 index 0000000000000000000000000000000000000000..14edb928903cde79c51569c3d221ee79adebcba5 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/ball_bounce.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11a20f27efdebdc4261004ca6abaa4d6b57b1654f747939fff316739cd9eda83 +size 28878 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..3620e582ab428cdf69b13650e927e7152c63d534 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20bc621567696c8892c1b4b4a49b282b14422a1f0f657d4c686029e38938a6e0 +size 22380 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/big_bird.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..00e48a039ec3426b39a6ef7d44165c2969b28d5b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1db4bd3508dcee3edbc195b5bf6ceb17a8136a689061cb40a79e14f6dff7ded5 +size 158250 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bmajor_left.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bmajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..344d3efe508db54a31d79b1eb0d24e7d0206cb58 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bmajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:108aa85275c295921053b41112e7666f83645c18a0a265106a98e2fc23e3ecac +size 88806 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bmajor_right.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bmajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..856df6d666256064b83ec50bc34b1a1ec4fe19cd --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bmajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7694f8efb7b28557f37ae9d1c93c41a51b0dcb5345acb21f3738a951d49a3a9e +size 88664 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/button_radio.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/button_radio.wav new file mode 100644 index 0000000000000000000000000000000000000000..1fff9be156c4183bc8edf2c4bac48c3d57f2198a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/button_radio.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:279d95cad7ed6f09e20332782effb474573c2d9969209867b7a2bf0627d152f2 +size 71302 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/cminor_left.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/cminor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..298126026cbf9d113191e4e7e610aad0929d296f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/cminor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99809e3d2d8d73c1ac8d5e68567ca4b35c919b4d651c382d04e4801ccd38d6d6 +size 89324 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/cminor_right.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/cminor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..64f2c095bd962bf0e85d1f81371377be21b2fb13 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/cminor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a37f938ca0739ef595c6326cf7ed3653a788ad1cac3e732c3fdda39e392138da +size 89012 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/dismajor_left.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/dismajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..677019845280a10c3530a0cdd04958bcf2781426 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/dismajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36f198d0195a71a90dd86942479607c08ea7bed508e99e1df57d49a584095177 +size 89632 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/dismajor_right.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/dismajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..45b81e86d40de35b8d7adc8b94e8029ef62cebad --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/dismajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccba698b26705154177f2c0dbbb9a93bc9e7d995408ba8bf7956068c02c5429c +size 88724 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/earthquake.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/earthquake.wav new file mode 100644 index 0000000000000000000000000000000000000000..884c551683dd30001a14e40965404c6394b86ecd --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/earthquake.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cddc413da151b6c4db58870a1a1419347a3ce2e05d488129dc705cacce9a987 +size 846940 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/fmajor_left.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/fmajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..475800f246b10ec810fb89fabba1df1705e2e4a2 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/fmajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db59873181c77a6e6f42d9342b915817dae5c021b61642a3d246c0dc4133afd6 +size 88494 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/fmajor_right.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/fmajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..86b25b300532d7ab28210f04487c7b8d9510ae29 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/fmajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0812d08318768967ec0f9c120694ddd68958d122ce2bf2e3d50ba5758911e09b +size 88870 diff --git a/Angry Birds Project R/0.3.0/data/audio/sfx/gamescorescreen_score_count_loop.wav b/Angry Birds Project R/0.3.0/data/audio/sfx/gamescorescreen_score_count_loop.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ac364bfeef52ff2ccc7dbbce84fd91fdacfb604 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/audio/sfx/gamescorescreen_score_count_loop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db750f80e3d385a5f94c19a4f09ede24c41f4e92e4213bfc1b5a2fc99f18e557 +size 31628 diff --git a/Angry Birds Project R/0.3.0/data/editor/edit.lua b/Angry Birds Project R/0.3.0/data/editor/edit.lua new file mode 100644 index 0000000000000000000000000000000000000000..757aa1aced8f7d9ba5b51ce484043e4f70ef98ee --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/editor/edit.lua @@ -0,0 +1,1199 @@ +loadLuaFile(scriptPath .. "/item.lua", "") +loadLuaFile(scriptPath .. "/page.lua", "") +g_editLevelPacks = 50 +g_levelsPerFolder = 21 +g_levelsPerFolderRow = 7 + +Editor = {} + +function Editor:new(o) + local o = o or {} + self.__index = self + _G.setmetatable(o, self) + return o +end + +function Editor:eventTriggered(event) + if event.id == events.EID_LEVEL_ENDED then + if startedFromEditor then + returnToEditor() + end + end +end + +EditorPage = ui.Frame:new() + +function EditorPage:init() + + self.backgroundColour = { r = 0, g = 0, b = 0, a = 1 } + + local bw, bh = _G.res.getSpriteBounds("LS_LEVEL_BG_NORMAL_OPEN_1") + + local epsCaption = ui.Text:new() + epsCaption.font = fontBasic + epsCaption.text = "Worlds" + epsCaption.x = bw * 0.3 + epsCaption.y = bh * 0.3 + epsCaption.hanchor = "LEFT" + self:addChild(epsCaption) + + local offs = 0 + for i = 1, #g_episodeIds do + for j = 1, #g_episodes[g_episodeIds[i]].pages do + offs = offs + 1 + local ep = ui.ImageButton:new() + ep.name = "ep" .. i .. "_" .. j + ep.scaleX = 0.35 + ep.scaleY = 0.35 + ep.x = bw * offs * 0.4 + ep.y = bh * 0.8 + ep:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + ep.returnValue = "EDITOR_MENU_WORLD" + ep.meta = { ep = g_episodeIds[i], page = j } + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + epNumber.text = "" .. g_episodes[g_episodeIds[i]].pages[j].display_number + ep:addChild(epNumber) + self:addChild(ep) + end + end + + local foldersCaption = ui.Text:new() + foldersCaption.font = fontBasic + foldersCaption.text = "Folders" + foldersCaption.x = bw * 0.3 + foldersCaption.y = bh * 1.2 + foldersCaption.hanchor = "LEFT" + self:addChild(foldersCaption) + + for i = 1, g_editLevelPacks do + local col = (i - 1) % 20 + local row = (i - 1 - col) / 20 + + local folder = ui.ImageButton:new() + folder.scaleX = 0.35 + folder.scaleY = 0.35 + folder.x = bw * (col + 1) * 0.4 + folder.y = bh * (1.2 + (row + 1) * 0.4) + folder:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + folder.returnValue = "EDITOR_MENU_FOLDER" + folder.meta = i + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + epNumber.text = "" .. i + folder:addChild(epNumber) + self:addChild(folder) + end + + local exitButton = ui.ImageButton:new() + exitButton:setImage("LS_BACK_BUTTON") + exitButton.x = 0 + exitButton.y = screenHeight + exitButton.returnValue = "EDITOR_EXIT" + self:addChild(exitButton) + + local nextPage = ui.ImageButton:new() + nextPage:setImage("LS_BACK_BUTTON") + nextPage.scaleX = -1 + local w, _ = _G.res.getSpriteBounds("LS_BACK_BUTTON") + nextPage.x = screenWidth + nextPage.y = screenHeight + nextPage.returnValue = "EDITOR_MENU_WORLD" + nextPage.meta = { ep = g_episodeIds[1], page = 1 } + self:addChild(nextPage) +end + +EditorEpPage = ui.Frame:new() + +function EditorEpPage:new(e, p) + local o = {} + o.ep = e + o.page = p + return ui.Frame.new(self, o) +end + +function EditorEpPage:init() + + self.backgroundColour = { r = 0, g = 0, b = 0, a = 1 } + + local world = -1 + + local world_index = 1 + for i = 1, #g_episodeIds do + for j = 1, #g_episodes[g_episodeIds[i]].pages do + if i == self.ep and j == self.page then + world = world_index + end + world_index = world_index + 1 + end + end + + local exitButton = ui.ImageButton:new() + exitButton:setImage("LS_BACK_BUTTON") + exitButton.x = 0 + exitButton.y = screenHeight + exitButton.returnValue = "EDITOR_MENU" + self:addChild(exitButton) + + local nextPage = ui.ImageButton:new() + nextPage:setImage("LS_BACK_BUTTON") + nextPage.scaleX = -1 + local w, _ = _G.res.getSpriteBounds("LS_BACK_BUTTON") + nextPage.x = screenWidth + nextPage.y = screenHeight + local e = self.ep + local p = self.page + p = p + 1 + if p > #g_episodes[e].pages then + p = 1 + for i = 1, #g_episodeIds do + if e == g_episodeIds[i] then + if i < #g_episodeIds then + e = g_episodeIds[i + 1] + break + else + e = nil + end + end + end + end + + if e ~= nil then + nextPage.returnValue = "EDITOR_MENU_WORLD" + nextPage.meta = { ep = e, page = p } + else + nextPage.returnValue = "EDITOR_MENU_FOLDER" + nextPage.meta = 1 + end + self:addChild(nextPage) + + local bw, bh = _G.res.getSpriteBounds("LS_LEVEL_BG_NORMAL_OPEN_1") + + local epsCaption = ui.Text:new() + epsCaption.font = fontBasic + epsCaption.text = "World" + epsCaption.x = bw * 0.3 + epsCaption.y = bh * 0.3 + epsCaption.hanchor = "LEFT" + self:addChild(epsCaption) + + local epsCaption2 = ui.Text:new() + epsCaption2.font = "FONT_BIG_NUMBERS" + epsCaption2.text = "" .. g_episodes[self.ep].pages[self.page].display_number or "0" + epsCaption2.x = screenWidth * 0.11 + epsCaption2.y = bh * 0.3 + epsCaption2.hanchor = "LEFT" + self:addChild(epsCaption2) + + local ln = 1 + local pg = g_episodes[self.ep].pages[self.page] + local folder = pg.folder_name + if pg.layout == "grid" or pg.layout == "facebook" then + local rows + local cols + if pg.layout == "grid" then + cols = pg.layout_params.cols + rows = pg.layout_params.rows + else + cols = 3 + rows = 1 + end + local idx = 1 + for i = 1, rows do + for j = 1, cols do + local lvl = ui.ImageButton:new() + lvl.scaleX = 1 + lvl.scaleY = 1 + lvl.x = bw * j * 1.1 + lvl.y = bh * i * 1.1 + lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + local level_index = getLevelIndexInEpisode(pg.levels[ln].name) + if g_episodes[self.ep].per_page_level_numbering then + epNumber.text = "" .. ln + else + epNumber.text = "" .. level_index + end + + lvl.returnValue = "EDITOR_GOTO_LEVEL" + lvl.meta = + { + index = ln, + index_in_theme = level_index, + theme = self.ep, + world = world, + page = self.page, + level_name = pg.levels[ln].name, + level_folder = levelPath .. "/" .. folder .. "/", + editor_page = "pack", + } + + lvl:addChild(epNumber) + self:addChild(lvl) + ln = ln + 1 + end + end + elseif pg.layout == "goldeneggs" then + for k, v in _G.ipairs(pg.levels) do + local lvl = ui.ImageButton:new() + lvl.scaleX = 1 + lvl.scaleY = 1 + lvl.x = bw + v.x * bw * 1.1 * 7 + lvl.y = bh + v.y * bh * 1.1 * 3 + lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + local level_index = getLevelIndexInEpisode(v.name) + if g_episodes[self.ep].per_page_level_numbering then + epNumber.text = "" .. ln + else + epNumber.text = "" .. level_index + end + + lvl.returnValue = "EDITOR_GOTO_LEVEL" + lvl.meta = + { + index = k, + index_in_theme = level_index, + theme = self.ep, + world = world, + page = self.page, + level_name = v.name, + level_folder = levelPath .. "/" .. folder .. "/", + editor_page = "pack", + } + + lvl:addChild(epNumber) + self:addChild(lvl) + ln = ln + 1 + end + end +end + +EditorFolderPage = ui.Frame:new() + +function EditorFolderPage:new(f) + local o = {} + o.folder = f + return ui.Frame.new(self, o) +end + +function EditorFolderPage:init() + + self.backgroundColour = { r = 0, g = 0, b = 0, a = 1 } + + local exitButton = ui.ImageButton:new() + exitButton:setImage("LS_BACK_BUTTON") + exitButton.x = 0 + exitButton.y = screenHeight + exitButton.returnValue = "EDITOR_MENU" + self:addChild(exitButton) + + local nextPage = ui.ImageButton:new() + nextPage:setImage("LS_BACK_BUTTON") + nextPage.scaleX = -1 + local w, _ = _G.res.getSpriteBounds("LS_BACK_BUTTON") + nextPage.x = screenWidth + nextPage.y = screenHeight + if self.folder < g_editLevelPacks then + nextPage.returnValue = "EDITOR_MENU_FOLDER" + nextPage.meta = self.folder + 1 + else + nextPage.visible = false + end + self:addChild(nextPage) + + local bw, bh = _G.res.getSpriteBounds("LS_LEVEL_BG_NORMAL_OPEN_1") + + local epsCaption = ui.Text:new() + epsCaption.font = fontBasic + epsCaption.text = "folder \"pack" .. self.folder .. "\"" + epsCaption.x = bw * 0.3 + epsCaption.y = bh * 0.3 + epsCaption.hanchor = "LEFT" + self:addChild(epsCaption) + + local ln = (self.folder - 1) * g_levelsPerFolder + 1 + local idx = 1 + local rows = g_levelsPerFolder / g_levelsPerFolderRow + local cols = g_levelsPerFolderRow + for i = 1, rows do + for j = 1, cols do + local lvl = ui.ImageButton:new() + lvl.scaleX = 1 + lvl.scaleY = 1 + lvl.x = bw * j * 1.1 + lvl.y = bh * i * 1.1 + lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + local epNumber = ui.Text:new() + epNumber.font = "FONT_BIG_NUMBERS" + epNumber.text = "" .. ln + lvl:addChild(epNumber) + self:addChild(lvl) + if ln >= 1000 then + epNumber.scaleX = 0.5 + epNumber.scaleY = 0.5 + elseif ln >= 100 then + epNumber.scaleX = 0.67 + epNumber.scaleY = 0.67 + end + + if checkForLuaFile(levelPath .. "/pack" .. self.folder .. "/Level" .. ln .. ".lua") then + --lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + else + --lvl:setImage("LS_LEVEL_BG_NORMAL_OPEN_1") + lvl.alpha = 0.3 + end + + lvl.returnValue = "EDITOR_GOTO_LEVEL" + lvl.meta = + { + index = idx, + index_in_theme = idx, + theme = 1, + world = -1, + page = self.folder, + level_name = "Level" .. ln, + level_folder = levelPath .. "/pack" .. self.folder .. "/", + editor_page = "folder", + } + + ln = ln + 1 + idx = idx + 1 + end + end +end + +function editor_pointer_event(o, eventType, x, y) + local result, meta = ui.Frame.onPointerEvent(o, eventType, x, y) + + if result == "EDITOR_MENU_WORLD" then + menuManager:changeRoot(EditorEpPage:new(meta.ep, meta.page)) + elseif result == "EDITOR_EXIT" then + startedFromEditor = false + eventManager:notify({ id = events.EID_CHANGE_SCENE, target = "MAIN_MENU", from = "EPISODE_SELECTION" }) + elseif result == "EDITOR_MENU" then + menuManager:changeRoot(EditorPage:new()) + elseif result == "EDITOR_MENU_FOLDER" then + menuManager:changeRoot(EditorFolderPage:new(meta)) + elseif result == "EDITOR_GOTO_LEVEL" then + editLevel(meta.level_folder, meta.level_name, meta.index, meta.index_in_theme, meta.theme, meta.world, meta.page, meta.editor_page) + end + + if eventType == "BACK" then + if o.init == EditorPage.init then + startedFromEditor = false + eventManager:notify({ id = events.EID_CHANGE_SCENE, target = "MAIN_MENU", from = "EPISODE_SELECTION" }) + else + menuManager:changeRoot(EditorPage:new()) + end + end +end + +EditorPage.onPointerEvent = editor_pointer_event +EditorEpPage.onPointerEvent = editor_pointer_event +EditorFolderPage.onPointerEvent = editor_pointer_event + +function editLevel(folder, level, index, index_in_theme, theme, world, page, editor_page) + startedFromEditor = true + _G.res.stopAudio(currentMainMenuSong) + levelName = level + levelFolder = folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = index + currentLevelNumber = index_in_theme + currentThemeNumber = theme + currentWorldNumber = world + currentPageNumber = page + loadLevelInternal(folder .. level) + currentGameMode = updateEditor + + --local hud = ui.GameHud:new() + --menuManager:changeRoot(hud) + --hud.visible = false + menuManager:changeRoot(nil) + + g_editorPage = editor_page +end + +------------------- +--OverlayPage-class +------------------- + +OverlayPage = Page:new() + +function OverlayPage:init() + self:insertItem("shade", RectItem:new({alpha = 0.0})) + self:insertItem("kingText", TextItem:new({default = "Pigs popped: ", text = "Pigs popped: ", x = screenWidth / 2, y = screenHeight / 2, visible = false})) + self:insertItem("trainText", TextItem:new({default = "Carts wrecked: ", text = "Carts Wrecked: ", x = screenWidth / 2, y = screenHeight / 2, visible = false})) + self:insertItem("again", TextItem:new({text = "Try again", x = screenWidth / 2, y = (screenHeight / 2) + (50 / 320) * screenHeight, visible = false, + action = {[function(x) sm:changeScene(x) end] = "kingOfTheHill"}})) + self:insertItem("quit", TextItem:new({text = "Quit", x = screenWidth / 2, y = (screenHeight / 2) + (80 / 320) * screenHeight, visible = false, + action = {[function(x) sm:changeScene(x) end] = "mainMenu"}})) +end + +function OverlayPage:onEntry() + --print("\noverlay on entry") + self.items.shade.x1 = 0 + self.items.shade.x2 = screenWidth + self.items.shade.y1 = 0 + self.items.shade.y2 = screenHeight + +end + +function OverlayPage:update(dt, time) + if self.fadeIn == true then + self.fadeTime = self.fadeTime - dt + self.items.shade.alpha = self.items.shade.alpha + dt * self.fadeIncrement + if self.fadeTime < 0 then + self.fadeIn = false + self.items.shade.alpha = self.fadeTo + self.fadeTime = 0 + end + elseif self.fadeOut == true then + self.fadeTime = self.fadeTime - dt + self.items.shade.alpha = self.items.shade.alpha - dt * self.fadeIncrement + if self.fadeTime < 0 then + self.fadeOut = false + self.items.shade.alpha = self.fadeTo + self.fadeTime = 0 + end + end +end + +function OverlayPage:initTexts(score) + self.visible = true + self.items.kingText.text = self.items.kingText.default .. score + self.items.kingText.visible = true + self.items.again.visible = true + self.items.quit.visible = true + self:fade(0, 0.3, 1) +end + + +function OverlayPage:initTrainTexts(score) + self.visible = true + self.items.trainText.text = self.items.trainText.default .. score + self.items.trainText.visible = true + self.items.again.visible = true + self.items.quit.visible = true + self:fade(0, 0.3, 1) +end + +function OverlayPage:updatePositions() + self.items.shade.x2 = screenWidth + self.items.shade.y2 = screenHeight + self.items.kingText.x = screenWidth / 2 + self.items.kingText.y = screenHeight / 2 + self.items.trainText.x = screenWidth / 2 + self.items.trainText.y = screenHeight / 2 + self.items.again.x = screenWidth / 2 + self.items.again.y = screenHeight / 2 + (50 / 320) * screenHeight + self.items.quit.x = screenWidth / 2 + self.items.quit.y = screenHeight / 2 + (80 / 320) * screenHeight +end + +function OverlayPage:fade(from, to, time) + if from < to then + self.items.shade.alpha = from + self.fadeTo = to + self.fadeIncrement = (to - from)/ time + self.fadeTime = time + self.fadeIn = true + else + self.items.shade.alpha = from + self.fadeTo = to + self.fadeIncrement = (from - to)/ time + self.fadeTime = time + self.fadeOut = true + end +end + +EditorJointPage = Page:new() + +function EditorJointPage:init() + self.m_selectedAnchor = nil +end + +function EditorJointPage:onEntry() + + self:insertItem("shade", RectItem:new({alpha = 0.0, renderState = true})) + + self.jointTexts = { "Distance Joint", "Weld Joint", "Revolute Joint", "Prismatic Joint", "\"Destroy-attached\" -joint" } + self.motorTexts = { "Motor: disabled", "Motor: enabled" } + self.limitTexts = { "Limits: disabled", "Limits: enabled" } + self.backAndForthTexts = { "Back-and-forth: disabled", "Back-and-forth: enabled"} + self.xTexts = { "x: 0", "x: 1" } + self.yTexts = { "y: 0", "y: 1" } + self.collideTexts = { "Collide connected: disabled", "Collide connected: enabled" } + + setFont("FONT_BASIC") + local fl = _G.res.getFontLeading() + fl = fl * 1.5 + self:insertItem("name", TextItem:new({name = "name", text = "", visible = false, font = "FONT_BASIC", x = 0, y = (80 / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("type", TextItem:new({name = "type", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("motor", TextItem:new({name = "motor", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("motorSpeed", TextItem:new({name = "motorSpeed", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("maxTorque", TextItem:new({name = "maxTorque", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 4) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("limit", TextItem:new({name = "limit", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 5) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("lowerLimit", TextItem:new({name = "lowerLimit", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 6) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("upperLimit", TextItem:new({name = "upperLimit", text = "", visible = false, font = "FONT_BASIC", x = (20 / 480) * screenWidth, y = ((80 + fl * 7) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("backAndForth", TextItem:new({name = "backAndForth", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 8) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("ok", TextItem:new({name = "ok", text = "OK", visible = false, font = "FONT_BASIC", x = (40 / 480) * screenWidth, y = ((80 + fl * 4) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("x", TextItem:new({name = "x", text = "", visible = false, font = "FONT_BASIC", x = (10 / 480) * screenWidth, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("y", TextItem:new({name = "y", text = "", visible = false, font = "FONT_BASIC", x = (60 / 480) * screenWidth, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("frequency", TextItem:new({name = "frequency", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("damping", TextItem:new({name = "damping", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 3) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("collide", TextItem:new({name = "collide", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("destroyTimer", TextItem:new({name = "destroyTimer", text = "", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 2) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + self:insertItem("anchor1", TextItem:new({name = "anchors1", text = "Anchors 1", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 9) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("anchor2", TextItem:new({name = "anchors1", text = "Anchors 2", visible = false, font = "FONT_BASIC", x = 0, y = ((80 + fl * 10) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + self:insertItem("anchorX1", TextItem:new({name = "anchorX1", text = "x:", visible = false, font = "FONT_BASIC", x = 100, y = ((80 + fl * 9) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("anchorY1", TextItem:new({name = "anchorY1", text = "y:", visible = false, font = "FONT_BASIC", x = 200, y = ((80 + fl * 9) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + self:insertItem("anchorX2", TextItem:new({name = "anchorX2", text = "x:", visible = false, font = "FONT_BASIC", x = 100, y = ((80 + fl * 10) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + self:insertItem("anchorY2", TextItem:new({name = "anchorY2", text = "y:", visible = false, font = "FONT_BASIC", x = 200, y = ((80 + fl * 10) / 480) * screenHeight, hanchor = "LEFT", vanchor = "TOP"})) + + + self.selectedJoint = nil + for k, v in _G.pairs(objects.joints) do + self:addJoint(v.name) + end + self:updatePositions() + self:prepareTexts() +end + +function EditorJointPage:hideAllNonCommonItems() + + self.items.motor.visible = false + self.items.motorSpeed.visible = false + self.items.maxTorque.visible = false + self.items.limit.visible = false + self.items.lowerLimit.visible = false + self.items.upperLimit.visible = false + self.items.backAndForth.visible = false + + self.items.x.visible = false + self.items.y.visible = false + self.items.frequency.visible = false + self.items.damping.visible = false + self.items.collide.visible = false + self.items.destroyTimer.visible = false + + +end + +function EditorJointPage:onExit() + for i = 1, #self.items do + self:removeItem(self.items[i]) + end +end + +function EditorJointPage:addJoint(joint) + + self:insertItem(joint, SpriteItem:new({ sprite = "TRAIL_FLOWER_1",spriteIdle = "TRAIL_FLOWER_1", spriteClick="TRAIL_FLOWER_3", inWorld = true })) + self:insertItem(joint .. "_ANCHOR_1", SpriteItem:new({ sprite = "TRAIL_WHITE_1",spriteIdle = "TRAIL_WHITE_1", spriteClick="TRAIL_FLOWER_3", inWorld = true })) + self:insertItem(joint .. "_ANCHOR_2", SpriteItem:new({ sprite = "TRAIL_WHITE_1",spriteIdle = "TRAIL_WHITE_1", spriteClick="TRAIL_FLOWER_3", inWorld = true })) + +end + +function EditorJointPage:create_joint() + if editor.newJoint.type == 4 then + if self.items.x.text == self.xTexts[1] then + editor.newJoint.worldAxisX = 0 + else + editor.newJoint.worldAxisX = 1 + end + if self.items.y.text == self.yTexts[1] then + editor.newJoint.worldAxisY = 0 + else + editor.newJoint.worldAxisY = 1 + end + self.items.x.visible = false + self.items.y.visible = false + end + + --makes all anchors coordinates in object's local space + editor.newJoint.coordType = 2 + + createJoint(editor.newJoint) + self:addJoint(editor.newJoint.name) + selectedObjects = {} + self.selectedJoint = objects.joints[editor.newJoint.name] + --self.items[self.selectedJoint.name].sprite = "TRAIL_FLOWER_3" + self.items[self.selectedJoint.name].sprite = self.items[self.selectedJoint.name].spriteClick + editor.newJoint = nil + levelSaved = false + self.items.ok.visible = false + self:prepareTexts() +end + +function EditorJointPage:update(dt, time) + + self:updatePositions() + + if self.newJoint then + if not self.fadeIn and self.items.shade.alpha <= 0 then + OverlayPage.fade(self, 0, 0.5, 0.2) + self.fadeIn = true + end + -- self.items.ok.visible = true + self:prepareTexts() + self.newJoint = false + end + + local itm = self:checkClicks() + if itm and (self.selectedJoint or editor.newJoint) then + local joint = self.selectedJoint + -- toggle motor for revolute and prismatic joints + if itm.name == "motor" then + if joint.motor ~= nil then + setJointParameters({name = joint.name, motor = not joint.motor}) + if not joint.motor then + joint.backAndForth = false + end + self:prepareTexts() + levelSaved = false + end + -- toggle limits + elseif itm.name == "limit" then + if joint.limit ~= nil then + setJointParameters({name = joint.name, limit = not joint.limit}) + if not joint.limit then + joint.backAndForth = false + end + self:prepareTexts() + levelSaved = false + end + -- toggle back-and-forth + elseif itm.name == "backAndForth" then + if joint.motor ~= nil and joint.limit ~= nil then + joint.backAndForth = not joint.backAndForth + if joint.backAndForth then + self.items.backAndForth.text = self.backAndForthTexts[2] + else + self.items.backAndForth.text = self.backAndForthTexts[1] + end + levelSaved = false + end + elseif itm.name == "x" then + if itm.text == self.xTexts[1] then + itm.text = self.xTexts[2] + else + itm.text = self.xTexts[1] + end + elseif itm.name == "y" then + if itm.text == self.yTexts[1] then + itm.text = self.yTexts[2] + else + itm.text = self.yTexts[1] + end + elseif not joint and itm.name == "collide" then + editor.newJoint.collideConnected = not editor.newJoint.collideConnected + if itm.text == self.collideTexts[1] then + itm.text = self.collideTexts[2] + else + itm.text = self.collideTexts[1] + end + elseif itm.name == "type" and not joint and editor.newJoint then + editor.newJoint.type = editor.newJoint.type + 1 + if editor.newJoint.type == 6 then + editor.newJoint.type = 1 + end + if editor.newJoint.type == 4 then + self.items.x.visible = true + self.items.y.visible = true + self.items.x.text = self.xTexts[1] + self.items.y.text = self.yTexts[1] + else + self.items.x.visible = false + self.items.y.visible = false + end + if editor.newJoint.type == 5 then + self.items.collide.visible = false + else + self.items.collide.visible = true + end + self.items.type.text = self.jointTexts[editor.newJoint.type] + -- create new joint + elseif not joint and editor.newJoint and itm.name == "ok" then + self:create_joint() + end + end + + if keyPressed["RETURN"] then + if not self.selectedJoint and editor.newJoint then + self:create_joint() + elseif self.selectedJoint ~= nil then + self.disableSelectedJoint = true + end + end + + -- change joint parameters + if (keyHold["LBUTTON"] or keyHold["RBUTTON"] or (keyHold["CONTROL"] and cursor.wheel and cursor.wheelTriggered and (cursor.wheel == -1 or cursor.wheel == 1))) + and (self.selectedJoint or editor.newJoint) then + + local itms = self:getHoveredItems() + local offset = 1 + if keyHold["RBUTTON"] then + offset = -1 + end + if keyHold["CONTROL"] and cursor.wheel and (cursor.wheel == -1 or cursor.wheel == 1) and cursor.wheelTriggered then + offset = cursor.wheel + end + if itms then + if keyHold["SHIFT"] then + offset = offset * 10 + end + for k, v in _G.pairs(itms) do + if v == "motorSpeed" then + setJointParameters({name = self.selectedJoint.name, motorSpeed = self.selectedJoint.motorSpeed + offset / 10 })--+ cursor.wheel / 10}) + self.items.motorSpeed.text = "Speed: " .. self.selectedJoint.motorSpeed + levelSaved = false + elseif v == "maxTorque" then + setJointParameters({name = self.selectedJoint.name, maxTorque = self.selectedJoint.maxTorque + offset * 100})--cursor.wheel * 100}) + self.items.maxTorque.text = "MaxTorque: " .. self.selectedJoint.maxTorque + levelSaved = false + elseif v == "lowerLimit" then + local newLowLimit = _G.math.min(self.selectedJoint.lowerLimit + (offset / 360) * (_G.math.pi * 2), 0) + setJointParameters({name = self.selectedJoint.name, lowerLimit = newLowLimit }) + if self.selectedJoint.type == 3 then + self.items.lowerLimit.text = "Lower: " .. (self.selectedJoint.lowerLimit / (2 * _G.math.pi)) * 360 + elseif self.selectedJoint.type == 4 then + self.items.lowerLimit.text = "Lower: " .. self.selectedJoint.lowerLimit + end + levelSaved = false + elseif v == "upperLimit" then + local newHighLimit = _G.math.max(0, self.selectedJoint.upperLimit + (offset / 360) * (_G.math.pi * 2)) + setJointParameters({name = self.selectedJoint.name, upperLimit = newHighLimit}) + if self.selectedJoint.type == 3 then + self.items.upperLimit.text = "Upper: " .. (self.selectedJoint.upperLimit / (2 * _G.math.pi)) * 360 + elseif self.selectedJoint.type == 4 then + self.items.upperLimit.text = "Upper: " .. self.selectedJoint.upperLimit + end + levelSaved = false + elseif v == "frequency" then + setJointParameters({name = self.selectedJoint.name, frequency = self.selectedJoint.frequency + offset / 10 }) + self.items.frequency.text = "Frequency: " .. self.selectedJoint.frequency + levelSaved = false + elseif v == "damping" then + local newDamping = _G.math.max(0, _G.math.min(self.selectedJoint.dampingRatio + offset / 100, 1)) + setJointParameters({name = self.selectedJoint.name, dampingRatio = newDamping }) + self.items.damping.text = "Damping: " .. self.selectedJoint.dampingRatio + levelSaved = false + elseif v == "destroyTimer" then + self.selectedJoint.destroyTimer = _G.math.max(0, self.selectedJoint.destroyTimer + offset / 100) + self.items.destroyTimer.text = "Annihilation(!) timer: " .. self.selectedJoint.destroyTimer + levelSaved = false + elseif v == "anchorX1" then + self.selectedJoint.x1 = self.selectedJoint.x1 + (offset / 100) + self.items.anchorX1.text = "x: " .. roundNumber(self.selectedJoint.x1, 2) + levelSaved = false + elseif v == "anchorY1" then + self.selectedJoint.y1 = self.selectedJoint.y1 + (offset / 100) + self.items.anchorY1.text = "y: " .. roundNumber(self.selectedJoint.y1,2) + levelSaved = false + elseif v == "anchorX2" then + self.selectedJoint.x2 = self.selectedJoint.x2 + (offset / 100) + self.items.anchorX2.text = "x: " .. roundNumber(self.selectedJoint.x2,2) + levelSaved = false + elseif v == "anchorY2" then + self.selectedJoint.y2 = self.selectedJoint.y2 + (offset / 100) + self.items.anchorY2.text = "y: " .. roundNumber(self.selectedJoint.y2,2) + levelSaved = false + end + end + end + end + + if keyPressed["RBUTTON"] then + local t_clickedOnAJointElement = false + local t_clickedOnAnEditorItem = false + local t_jointSelectedBefore = self.selectedJoint ~= nil + + local t_items = self:getHoveredItems() + + if not t_items then + t_clickedOnAnEditorItem = false + else + t_clickedOnAnEditorItem = true + end + + --checks if the user has clicked any joint elements + for k, v in _G.pairs(objects.joints) do + + if (self.items[v.name] and self.items[v.name]:checkBounds(cursor.x, cursor.y)) or + (self.items[v.name .. "_ANCHOR_1"] and self.items[v.name .. "_ANCHOR_1"]:checkBounds(cursor.x, cursor.y)) or + (self.items[v.name .. "_ANCHOR_2"] and self.items[v.name .. "_ANCHOR_2"]:checkBounds(cursor.x, cursor.y)) then + + --brings the selected joint to the idle state + if self.selectedJoint then + self.items[self.selectedJoint.name .. "_ANCHOR_1"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_1"].spriteIdle + self.items[self.selectedJoint.name .. "_ANCHOR_2"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_2"].spriteIdle + self.items[self.selectedJoint.name].sprite = self.items[self.selectedJoint.name].spriteIdle + end + + selectedObjects = {} + + self.selectedJoint = v + + editor.newJoint = false + + t_clickedOnAJointElement = true + + --sets clicked joint with the click sprite + self.items[v.name].sprite = self.items[v.name].spriteClick + + --if an anchor was clicked, put also the click sprite + if self.items[v.name .. "_ANCHOR_1"]:checkBounds(cursor.x, cursor.y) then + self.items[v.name .. "_ANCHOR_1"].sprite = self.items[v.name .. "_ANCHOR_1"].spriteClick + self.items[v.name .. "_ANCHOR_2"].sprite = self.items[v.name .. "_ANCHOR_1"].spriteIdle + self.m_selectedAnchor = self.items[v.name .. "_ANCHOR_1"] + elseif self.items[v.name .. "_ANCHOR_2"]:checkBounds(cursor.x, cursor.y) then + self.items[v.name .. "_ANCHOR_2"].sprite = self.items[v.name .. "_ANCHOR_2"].spriteClick + self.items[v.name .. "_ANCHOR_1"].sprite = self.items[v.name .. "_ANCHOR_2"].spriteIdle + self.m_selectedAnchor = self.items[v.name .. "_ANCHOR_2"] + end + + + self:hideAllNonCommonItems() + self:prepareTexts() + + break + end + end + + if not editor.newJoint then + + --user has clicked outside the editing buttons or joints + if (not t_clickedOnAnEditorItem) and (not t_clickedOnAJointElement) then + --print("\nclick outside") + --there was a joint selected, wil disable this joint + if self.selectedJoint ~= nil then + self.disableSelectedJoint = true + end + end + + --new joint has been selected outside the editing page + if (t_clickedOnAJointElement) and not t_jointSelectedBefore then + OverlayPage.fade(self, 0, 0.5, 0.2) + self.fadeIn = true + end + + end + + end + + --moving joint anchors + if self.selectedJoint and self.m_selectedAnchor and keyHold["LBUTTON"] then + if self.items[self.selectedJoint.name .. "_ANCHOR_1"]:checkBounds(cursor.x, cursor.y) then + + local t_worldPosX = 0 + local t_worldPosY = 0 + + local t_localPosX = 0 + local t_localPosY = 0 + + t_worldPosX, t_worldPosY = screenToPhysicsTransform(cursor.x, cursor.y) + t_localPosX , t_localPosY = getLocalPoint(objects.joints[self.selectedJoint.name].end1, t_worldPosX, t_worldPosY); + + objects.joints[self.selectedJoint.name].x1 = t_localPosX + objects.joints[self.selectedJoint.name].y1 = t_localPosY + + self.items.anchorX1.text = "x: " .. roundNumber(t_localPosX, 2) + self.items.anchorY1.text = "y: " .. roundNumber(t_localPosY, 2) + + self:updatePositions() + + levelSaved = false + + elseif self.items[self.selectedJoint.name .. "_ANCHOR_2"]:checkBounds(cursor.x, cursor.y) then + local t_worldPosX = 0 + local t_worldPosY = 0 + + local t_localPosX = 0 + local t_localPosY = 0 + + t_worldPosX, t_worldPosY = screenToPhysicsTransform(cursor.x, cursor.y) + t_localPosX , t_localPosY = getLocalPoint(objects.joints[self.selectedJoint.name].end2, t_worldPosX, t_worldPosY); + + objects.joints[self.selectedJoint.name].x2 = t_localPosX + objects.joints[self.selectedJoint.name].y2 = t_localPosY + + self.items.anchorX2.text = "x: " .. roundNumber(t_localPosX, 2) + self.items.anchorY2.text = "y: " .. roundNumber(t_localPosY, 2) + + self:updatePositions() + + levelSaved = false + end + + end + + if keyPressed["DELETE"] and self.selectedJoint and not physicsEnabled then + self:removeItem(self.selectedJoint.name) + self:removeItem(self.selectedJoint.name .. "_ANCHOR_1") + self:removeItem(self.selectedJoint.name .. "_ANCHOR_2") + destroyJoint(self.selectedJoint.name) + self.selectedJoint = nil + self.disableSelectedJoint = true + end + + if self.disableSelectedJoint then + if self.selectedJoint then + --self.items[self.selectedJoint.name].sprite = "TRAIL_FLOWER_1" + self.items[self.selectedJoint.name].sprite = self.items[self.selectedJoint.name].spriteIdle + + + self.items[self.selectedJoint.name .. "_ANCHOR_1"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_1"].spriteIdle + self.items[self.selectedJoint.name .. "_ANCHOR_2"].sprite = self.items[self.selectedJoint.name .. "_ANCHOR_2"].spriteIdle + + self.m_selectedAnchor = nil + self.selectedJoint = nil + end + if not self.fadeOut and self.items.shade.alpha >= 0.5 then + self.fadeOut = true + OverlayPage.fade(self, 0.5, 0, 0.2) + end + editor.newJoint = nil + self:prepareTexts() + self.disableSelectedJoint = false + end + + + if self.fadeIn then + OverlayPage.update(self, dt) + if self.items.shade.alpha >= 0.5 then + self.fadeIn = false + end + elseif self.fadeOut then + OverlayPage.update(self, dt) + if self.items.shade.alpha <= 0 then + self.fadeOut = false + end + end + +end + +function EditorJointPage:setJointSelection() + + +end + +function EditorJointPage:prepareTexts() + + local joint = self.selectedJoint or editor.newJoint + + if joint then + self.items.name.text = "Name: " .. joint.name + self.items.type.text = self.jointTexts[joint.type] + if joint.collideConnected then + self.items.collide.text = self.collideTexts[2] + else + self.items.collide.text = self.collideTexts[1] + end + self.items.type.visible = true + self.items.name.visible = true + + if self.selectedJoint then + self.items.anchor1.visible = true + self.items.anchor2.visible = true + self.items.anchorX1.visible = true + self.items.anchorY1.visible = true + self.items.anchorX2.visible = true + self.items.anchorY2.visible = true + + + + self.items.anchorX1.text = "x: " .. roundNumber(joint.x1,2) + self.items.anchorY1.text = "y: " .. roundNumber(joint.y1, 2) + self.items.anchorX2.text = "x: " .. roundNumber(joint.x2,2) + self.items.anchorY2.text = "y: " .. roundNumber(joint.y2,2) + end + + + + if editor.newJoint and not self.selectedJoint then + self.items.ok.visible = true + if editor.newJoint.type ~= 5 then + self.items.collide.visible = true + end + return + else + self.items.ok.visible = false + self.items.collide.visible = false + end + if joint.type == 3 or joint.type == 4 then -- revolute and prismatic joint + + if joint.motor then + self.items.motor.text = self.motorTexts[2] + else + self.items.motor.text = self.motorTexts[1] + end + if joint.limit then + self.items.limit.text = self.limitTexts[2] + else + self.items.limit.text = self.limitTexts[1] + end + + if joint.backAndForth then + self.items.backAndForth.text = self.backAndForthTexts[2] + else + self.items.backAndForth.text = self.backAndForthTexts[1] + end + + self.items.motorSpeed.text = "Speed: " .. joint.motorSpeed + self.items.maxTorque.text = "MaxTorque: " .. joint.maxTorque + if joint.type == 3 then + self.items.lowerLimit.text = "Lower: " .. (joint.lowerLimit / (2 * _G.math.pi)) * 360 + self.items.upperLimit.text = "Upper: " .. (joint.upperLimit / (2 * _G.math.pi)) * 360 + else + self.items.lowerLimit.text = "Lower: " .. joint.lowerLimit + self.items.upperLimit.text = "Upper: " .. joint.upperLimit + end + + self.items.motor.visible = true + self.items.limit.visible = true + if joint.motor then + self.items.motorSpeed.visible = true + self.items.maxTorque.visible = true + else + self.items.motorSpeed.visible = false + self.items.maxTorque.visible = false + end + if joint.limit then + self.items.lowerLimit.visible = true + self.items.upperLimit.visible = true + else + self.items.lowerLimit.visible = false + self.items.upperLimit.visible = false + end + + if joint.motor and joint.limit then + self.items.backAndForth.visible = true + else + self.items.backAndForth.visible = false + end + elseif joint.type == 1 then + self.items.frequency.text = "Frequency: " .. joint.frequency + self.items.damping.text = "Damping: " .. joint.dampingRatio + self.items.frequency.visible = true + self.items.damping.visible = true + elseif joint.type == 5 then + self.items.destroyTimer.text = "Annihilation(!) timer: " .. joint.destroyTimer + self.items.destroyTimer.visible = true + self.items.collide.visible = false + end + elseif not joint then + self.items.name.visible = false + self.items.type.visible = false + self.items.motor.visible = false + self.items.motorSpeed.visible = false + self.items.maxTorque.visible = false + self.items.limit.visible = false + self.items.lowerLimit.visible = false + self.items.upperLimit.visible = false + self.items.backAndForth.visible = false + self.items.x.visible = false + self.items.y.visible = false + self.items.damping.visible = false + self.items.frequency.visible = false + self.items.ok.visible = false + self.items.collide.visible = false + self.items.destroyTimer.visible = false + + self.items.anchor1.visible = false + self.items.anchor2.visible = false + self.items.anchorX1.visible = false + self.items.anchorY1.visible = false + self.items.anchorX2.visible = false + self.items.anchorY2.visible = false + end + +end + + +function EditorJointPage:draw() + if editor.drawOneLayer then + return + end + + self.items["shade"]:draw() + + if self.selectedJoint or editor.newJoint then + local joint = self.selectedJoint or editor.newJoint + local obj1 = objects.world[joint.end1] + local obj2 = objects.world[joint.end2] + local xCoord, yCoord = physicsToWorldTransform(obj1.x, obj1.y) + setRenderState(-screen.left, -screen.top, worldScale, worldScale, obj1.angle, _G.res.getSpritePivot("", obj1.sprite)) + _G.res.drawSprite("", obj1.sprite, xCoord, yCoord) + setRenderState(-screen.left, -screen.top, worldScale, worldScale, obj2.angle, _G.res.getSpritePivot("", obj2.sprite)) + xCoord, yCoord = physicsToWorldTransform(obj2.x, obj2.y) + _G.res.drawSprite("", obj2.sprite, xCoord, yCoord) + setRenderState(0, 0, 1, 1, 0, 0, 0) + if self.selectedJoint then + drawJoint(editor, objects.joints[self.selectedJoint.name], "EDITOR_JOINT") + end + end + + for k, v in _G.pairs(self.order) do + if v ~= "shade" and self.items[v].sprite then + --self.items[v]:draw() + local xCoord, yCoord = self.items[v].x, self.items[v].y + local xs, ys = self.items[v].xs or 1, self.items[v].ys or 1 + local angle = self.items[v].angle or 0 + local px, py = self.items[v].pivotX or 0, self.items[v].pivotY or 0 + + setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + xCoord, yCoord = physicsToWorldTransform(xCoord, yCoord) + + _G.res.drawSprite(self.items[v].sheet, self.items[v].sprite, xCoord, yCoord) + setRenderState(0, 0, 1, 1, 0, 0, 0) + else + self.items[v]:draw() + end + end + + + +end + +function EditorJointPage:updatePositions() + + for k, v in _G.pairs(objects.joints) do + local joint = v + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local xCoord, yCoord = jointWorldX1 + (xdif / 2), jointWorldY1 + (ydif / 2) + self.items[joint.name].x = xCoord + self.items[joint.name].y = yCoord + + + self.items[joint.name .. "_ANCHOR_1"].x = jointWorldX1 + self.items[joint.name .. "_ANCHOR_1"].y = jointWorldY1 + + self.items[joint.name .. "_ANCHOR_2"].x = jointWorldX2 + self.items[joint.name .. "_ANCHOR_2"].y = jointWorldY2 + + + end + self.items.shade.x2 = screenWidth + self.items.shade.y2 = screenHeight + +end + + +filename = "editor.lua" diff --git a/Angry Birds Project R/0.3.0/data/editor/editor - Copy/editor.lua b/Angry Birds Project R/0.3.0/data/editor/editor - Copy/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..84f8850111d540a4f694920b75e266c517ff2b0f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/editor/editor - Copy/editor.lua differ diff --git a/Angry Birds Project R/0.3.0/data/editor/editor.lua b/Angry Birds Project R/0.3.0/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..84f8850111d540a4f694920b75e266c517ff2b0f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/editor/editor.lua differ diff --git a/Angry Birds Project R/0.3.0/data/editor/editor/editor.lua b/Angry Birds Project R/0.3.0/data/editor/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..84f8850111d540a4f694920b75e266c517ff2b0f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/editor/editor/editor.lua differ diff --git a/Angry Birds Project R/0.3.0/data/editor/scripts_common/gamelogic.lua b/Angry Birds Project R/0.3.0/data/editor/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..79fc677522f073065a837b1beb7a313ef7beb7d5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/editor/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..ff3bfcaafa73fce1afce14a858e5898b7053eb9a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a0f1cda44e11d116e723dcae3c2783bb25d85ea5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..38f5bc741ef8361ee646a11eae7428207f245410 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..c872a89a8f99fdc02ef4f6af2082262423dea92b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..2afab23baf9dbe0563477e3020cf3d68e40a4e02 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9c714b48867d240d2c5a7b003ea5c6ebf05d7ce0bb02a64a60f305bf873c7b +size 42897 diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/images/INGAME_BLOCKS_STATIC_1.dat b/Angry Birds Project R/0.3.0/data/images/INGAME_BLOCKS_STATIC_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..9bb53a474774087901baa0b28dbfaa7696fab080 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/INGAME_BLOCKS_STATIC_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/0.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..93e95058b2c4fa8b075f22eb90f4896f145cdd07 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2bc905fe37058aed0f14291fd23bd90b5f4e2b097b33622c674894f9b001631 +size 172482 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/Angry Birds - Shortcut (2).lnk b/Angry Birds Project R/0.3.0/data/images/pc/Angry Birds - Shortcut (2).lnk new file mode 100644 index 0000000000000000000000000000000000000000..6a836d97cee4568b5e1ab48ef2de1fff3d455c65 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/Angry Birds - Shortcut (2).lnk differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/Angry Birds - Shortcut.lnk b/Angry Birds Project R/0.3.0/data/images/pc/Angry Birds - Shortcut.lnk new file mode 100644 index 0000000000000000000000000000000000000000..c2238ef538491362f4715f6890f3c93ccc6aee95 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/Angry Birds - Shortcut.lnk differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_GE_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_GE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..2e787132f2aeda4502bd35bfddcdca594732c15e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_GE_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_GE_1.png b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_GE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..a63ee240d512b713b77df559d19229fff04ea137 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_GE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7490c8c2f9523b45c8f5f25263bdeef1de325670e045e1358f84c58b259edcf +size 314567 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_LS_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_LS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc166ed4b0667007c7a221b495c10e59eac04e9f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_LS_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_LS_1.png b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_LS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..02b42e457fdc949980179ccc7c1b8ef2e8efc713 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_LS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a27a28e6ffcf478b55b1960f97866cd7579a1a2dbeab81c35dcf07d60e1d84c0 +size 443675 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_MAIN_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_MAIN_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..538cc54e2d19b0d545fbba7a68893682e7f820d5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_MAIN_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_MAIN_1.png b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_MAIN_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8229f241c726b29450fd99ab98480678dbd0ad06 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BACKGROUNDS_MAIN_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151795aa964a14aec05cf46bf82e4f6f46d10c0a60072911699ef79b20e4ccec +size 212209 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..94ab3ff908cfe8a8d72bd354ed7c5b1b807a0458 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6c4cd07e942122c4ace337e25cc6d9c651c49f92 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_EXTRA.dat b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..0b5f357649aa8333e479881c559c5ac46eaddbec Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_EXTRA.png b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_EXTRA.png new file mode 100644 index 0000000000000000000000000000000000000000..a4d2b7ed08c6dc3017ca97832a412816ed2b4b3e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_EXTRA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33ce3218795f89b379bb1eb5e9cdc6c744d98056f297aba72b508718ff2c67dd +size 42143 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..954003bea393fac44e95b53a79d9c2641af8eec2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..cc2f888002dabedd028057c7e99451247b9bc4e8 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f395697cf9df7f0f42fd89b24a71a2be745951925432792dd62c18e4e18f9e +size 533595 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_2.dat b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..945e93e40870787f8def90da1e873e24fe1392d3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_2.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_2.png b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..58a44ed17766ab54b1d476f0362f67d4ce09219d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/BUTTONS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c167a6c413dabd79a225be37d0ad75b7c6107c942cd6e53e685a74d92c84040 +size 823640 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/0.3.0/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_BG_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_BG_1.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5f1980ad479bb8d5fbca14fc95c72f4b4b91480f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4b8425f5f47cee50f75335997c722577da94efd57416c8bd93b62f9df82bf5 +size 6361 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..da1626c4116060d7c1a64d14c27a5e9b31a93851 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4d4890a275d3bee259cd8e037d61badecc08aff9f9352a909e618caacde8e9e +size 11699 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ddb67e4656c60f456acfda7c963c4dbb63ee9f1c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a881b143366d693d4441b8d1c7aa5e8a2861341d7b3ec6170711ca5229b40bb9 +size 197403 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_END.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..796a59610bf9f362aaf6869b288e3461e4c02027 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_END.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_END.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..e074f44e905d2ee402c50f60bdd7690e97acc18f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06fa48572ddea14ce4b6b9d361a3b54af0c543093b1db9fd85ed82b69de3d97f +size 94337 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..772a607c037a8b5102f21bec12ef3ce642db1117 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cc5b2970191b0ca81366ae1a805b4a49573ee1ff --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa4fa3b67ad3d83cab2aa4a3abcab955750f8d61f270fdea90dd9d00fd7cc06a +size 195212 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_2.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..35ad39c8ea2f27a18348ad7ef87f45645907cfa9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_2.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_2.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_2.png new file mode 100644 index 0000000000000000000000000000000000000000..34f470725350f46563d8d7d1e1967241665f64ee --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84c9926df6e9d223949c52906d232d1d762823dd5ba38f1125cb01b1eb84abdf +size 147709 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..4416bea846c8ff17e609c0d77b792095f30f5619 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..f8ab6b07144c973f0c23227ddf2a2ed477f21143 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:181a44259bc49af7bed228df0458014f65b661e83ba271dca58e53317c9068f2 +size 122013 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..84ebccd0eabf50e5811fe6503c8a47d2d265cc98 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cb94f3a9f80c6e524c705115ae67f14e124bf65e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f0512e34356e77c573026dfd531fbdb498bf88f7ef7b8f21ec1f64219c40e65 +size 77988 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..78f26cd5f6c336242d161aef6668fa94cfa65c7c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..711f182668dd21f4f619191b139fe5fea3aeea02 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f53c05db143dcba9a27100e5587af6e6d9e9a594da097e10ad77ea3e7bc693fc +size 239524 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..c07f5eee210ee7bbe3311f69fa1121200dfecfea Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..89764f65fa0e6258e5975c663150ee27be840f2e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9531ebf6d9f0277e617df1f41b21c3344a1724314e61d0e3b66a7ed4dcf91875 +size 176305 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..33f63ff149a7df327adf8f76111ba66709098995 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..715cc8c3557b3c5d3a6514c8a3416b3d7256cb04 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03f4a6abaec9ba14f4b64a6abd019b0b21a507f68873538611f053362b9794d +size 236897 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_7_END.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_7_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc853f4e5c89393da8cb974180b7b421a6e4bb1d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_7_END.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_7_END.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_7_END.png new file mode 100644 index 0000000000000000000000000000000000000000..331b0e317a57542921d1a84dd69f7d9b9eac2901 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_7_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37a51ec64f6665d4cc03dc5e35cc51e1ab50fa3af8bc396d8f08acc6843b615f +size 106804 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a935ced06d0d5d74779e7033d603b5501917790 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..c5ece888559e20078586e695fafc03f22f5415bf --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be264bd07c26c580d8c4da8b671592b226c55eee119daf6945c072d8b733fe06 +size 103828 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BG.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BG.dat new file mode 100644 index 0000000000000000000000000000000000000000..e8b71ae3e7a74f30c7bc0f7f1ad9e6721f8fa2be Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BG.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BG.png b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BG.png new file mode 100644 index 0000000000000000000000000000000000000000..497aac633352303b9fc89f28b012194687eb0a17 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_8_BG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe30ff37883de7b98e9b7bff1641ac6fdbf6d2c614035f74cd5589a828805e90 +size 267411 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_GREEN.dat b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_GREEN.dat new file mode 100644 index 0000000000000000000000000000000000000000..19cb78f18f6a41b8cfd92f8eab0754ff03054765 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_GREEN.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr new file mode 100644 index 0000000000000000000000000000000000000000..34630f2df24ebbe544f0a1bb5d36cf236305975f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/CUTSCENES_STORY_GREEN.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:326704b4a4c61a03fd606f47da26e48444a7d83e9b1185cf108db4ffb2d394b7 +size 1547122 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODE0DECOR_RIGHT.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE0DECOR_RIGHT.dat new file mode 100644 index 0000000000000000000000000000000000000000..aada6ee6ab2380b53bc24447c64dec8e5d649c79 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE0DECOR_RIGHT.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODE0DECOR_RIGHT.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE0DECOR_RIGHT.png new file mode 100644 index 0000000000000000000000000000000000000000..7af7d762e74461f0bfd3a7ff6e5d284973ff82fa --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE0DECOR_RIGHT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09c13d09d8c8186a44a8b8615c9753e49b2b621be295092cd1dc23d0f4e20ed3 +size 50007 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR.dat new file mode 100644 index 0000000000000000000000000000000000000000..ad2c605602ad1cde53b98a17d0bf3268f33be707 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR.png new file mode 100644 index 0000000000000000000000000000000000000000..363d1a6f46d26f25744a9ac6e330fe10385d94f2 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b3c03fcfdf680edfcb0e45c9b13804ca3e0cd2a8008c1ceac08a4e745d70b4f +size 358046 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR_RIGHT.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR_RIGHT.dat new file mode 100644 index 0000000000000000000000000000000000000000..26873a85edeaef706d42ea099f3c92f351126b9f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR_RIGHT.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR_RIGHT.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR_RIGHT.png new file mode 100644 index 0000000000000000000000000000000000000000..4130f8df071dc8b6c7c31fc010bf63a71f12d2fe --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODE1DECOR_RIGHT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9495cb519c8ad8d10caaae79f03058de55cabb5d2fb8a0c780c895d2dd4d55e6 +size 15072 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES1.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a8c5954ecc9eb9dbeea4181ba0c5c221918b76fa Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES1.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..821cb669a9f7743e67f87854129e3060581f1d74 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b969bf6fea45c58c421e7a27e88f8e9ed3bb328b7ec74a7554853a4597555724 +size 289350 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_GE.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_GE.dat new file mode 100644 index 0000000000000000000000000000000000000000..83f21ec49250c1d81fa97ab10a2bb90437fba831 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_GE.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_GE.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_GE.png new file mode 100644 index 0000000000000000000000000000000000000000..b888ff2abd0b68b1613fad25389f3163f90bdb90 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_GE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:235c52356dd402eca50b73e96b4aba6489a066558835346b0fd03f10cd0911ac +size 579707 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_PROMO.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_PROMO.dat new file mode 100644 index 0000000000000000000000000000000000000000..c2e60b8abfa530eb6c518b0fd23402c5b28a771f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_PROMO.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_PROMO.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_PROMO.png new file mode 100644 index 0000000000000000000000000000000000000000..35b1acc2c082a6a875676068690a7e26407d082b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_PROMO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d20ede3a3898f2cf151c4bf32a5af955a7e06d2f914ade42a24362240b542c6 +size 604754 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_SUMMERMADNESS.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_SUMMERMADNESS.dat new file mode 100644 index 0000000000000000000000000000000000000000..99772fb5b6bf6618fc2026ce7b33188b45a4b89e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_SUMMERMADNESS.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_SUMMERMADNESS.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_SUMMERMADNESS.png new file mode 100644 index 0000000000000000000000000000000000000000..25c6f25cbe8c3eb2bf86c767811102b2cf73736c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_SUMMERMADNESS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e428305158018269129ac2e04bbe843a4ba506b74804317d4ba10519c76c2e1b +size 202750 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_WIP.dat b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_WIP.dat new file mode 100644 index 0000000000000000000000000000000000000000..78cd0761e0004e28c6e9ef392b25dde068bb9f42 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_WIP.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_WIP.png b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_WIP.png new file mode 100644 index 0000000000000000000000000000000000000000..b9956b28f69a950c53a9e2d470ce3ead730fe6f1 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/EPISODES_WIP.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:826fb5538fa7c879c815149631dd05dfdd3693615a08f9340cff4f03f050da62 +size 234990 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat new file mode 100644 index 0000000000000000000000000000000000000000..e66efcb2398664cd38b336679b035c1ec53b0499 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png new file mode 100644 index 0000000000000000000000000000000000000000..afb247d6304a69689e94dfc194c4c8e8b978f569 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417c778e23c21f132106e8555de1e201e35b9016d2473897ae3d0fd471ff38a7 +size 41978 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e21af0f0894473012cd7a01e1aeac20765733571 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..389f975deb60dc545ef0a114141f4d3b59e09d01 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..1864ee06c8bebe1400773ab60b02975e70e41945 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a4c4dd4693d969d26d273f89284a12f085cea1cc34985d8cc48fbe43e6c94ad +size 446162 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..0272c99635b9e7a7201c6307bf957a28ec7b32d6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..f371fccc2421abffd20d997b03ecc47ce0f2eab4 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57edc45894ebdbafd74904a09641c34986926c68112aa66ecbe933ffb3216c2 +size 240993 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat b/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..c1677e756494c6d1035d8a8e48c8a45e43e467fe Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2c132c7e650c4c890523ec05aeed8f3ca6b3bdd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr b/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..a8e4a32b7b0956a9289fe9b77063aefa4af16db0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..adbcd2d17333d2c7b3944a5334b6debe1b5b7a5f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.png b/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..1bea63c71f0be24ec3d7ac3367e2f24f6f8c0c1a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4965eb9b5dfbcbdc49315645a96522d114879fac9db4751a094eccb2a4bc58e +size 195696 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.pvr b/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..73d8a21f2b6070846811c2fd313c86d380803ae9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/HUD_INGAME_1.pvr differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGGIES_1.png b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGGIES_1.png new file mode 100644 index 0000000000000000000000000000000000000000..118b84722f6cd9d91bf48cd0440fdb7557820aad --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGGIES_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:724f4165e88155459bd1816a4772fda7eaafafffe9f275c6dc84e72d73ac1c91 +size 414061 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGS.dat b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGS.dat new file mode 100644 index 0000000000000000000000000000000000000000..86c70949ad6ca2a3e4e4fd90e3818e7058864fd4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGS.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGS.png b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGS.png new file mode 100644 index 0000000000000000000000000000000000000000..8fb77bb4780c30c9759cb17275900c17bee37c0c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BAD_PIGS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b417d26d6c0208aab8d6a43d53588ab60a0a8c0ee18bd66f63f621df6040cb39 +size 304778 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1 (2).png b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1 (2).png new file mode 100644 index 0000000000000000000000000000000000000000..a14856efcfb52d5d590d57d01618a52e86d7b31e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1 (2).png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfdaff3da84b30db6b1d4d39ec68b87bbc7830bcc23e5620f385115bfe8d0118 +size 633227 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1.dat b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..bbe1966f124057fc521f0047b4c06557a489b524 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1.png b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..a14856efcfb52d5d590d57d01618a52e86d7b31e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfdaff3da84b30db6b1d4d39ec68b87bbc7830bcc23e5620f385115bfe8d0118 +size 633227 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_2.dat b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..dab476e09d6bbef1a2b6956c8993a1bdf5d61bf4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/INGAME_BIRDS_2.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/allpiggiesgo.lua b/Angry Birds Project R/0.3.0/data/images/pc/allpiggiesgo.lua new file mode 100644 index 0000000000000000000000000000000000000000..f61d783a8bfeb5c96d635f7dfcfdc0c1f527033b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/allpiggiesgo.lua differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/desktop.ini b/Angry Birds Project R/0.3.0/data/images/pc/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..ef6e722c586292c2ea2ce657731d490e428619d9 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/desktop.ini @@ -0,0 +1,2 @@ +[LocalizedFileNames] +INGAME_BIRDS_1.png=@INGAME_BIRDS_1,0 diff --git a/Angry Birds Project R/0.3.0/data/images/pc/fatpig_enemy.dat b/Angry Birds Project R/0.3.0/data/images/pc/fatpig_enemy.dat new file mode 100644 index 0000000000000000000000000000000000000000..55c504722a733aae3519822df9b1629d92994262 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/images/pc/fatpig_enemy.dat differ diff --git a/Angry Birds Project R/0.3.0/data/images/pc/fatpig_enemy.png b/Angry Birds Project R/0.3.0/data/images/pc/fatpig_enemy.png new file mode 100644 index 0000000000000000000000000000000000000000..21506c1f4fc2e3b4bc0947a2d4ff3135da9b287e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/images/pc/fatpig_enemy.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae6a8af6c46595999d6e20d4932fb7012e792772bf958ed76a836853a7182957 +size 543249 diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_1.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..13a1774b992003c296db7bc274e40c10eccc6989 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_1.lua @@ -0,0 +1,2194 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1181.81, + ["bottom"] = 60.8805, + ["screenWidth"] = 480, + ["py"] = -388.347, + ["left"] = 507.969, + ["right"] = 1855.65, + ["top"] = -837.574, + ["iphone"] = { + ["bottom"] = 116.63, + ["screenWidth"] = 1680, + ["py"] = -537.152, + ["screenHeight"] = 1024, + ["top"] = -1190.93, + ["sy"] = 0.783136, + ["sx"] = 0.783136, + ["px"] = 1248.23, + ["left"] = 175.619, + ["right"] = 2320.84, + + }, + ["version"] = "0.02", + ["sx"] = 0.356167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["sy"] = 0.356167, + ["ipad"] = { + ["bottom"] = 244.585, + ["screenWidth"] = 1024, + ["py"] = -541.712, + ["screenHeight"] = 768, + ["top"] = -1328.01, + ["sy"] = 0.488365, + ["sx"] = 0.488365, + ["right"] = 2262.19, + ["left"] = 165.394, + ["px"] = 1213.79, + + }, + ["screenHeight"] = 320, + +} +levelParticles = { + ["y"] = -2868.98, + ["x"] = 1115.78, + ["firstFrame"] = true, + ["width"] = 10350.5, + +} +joints = { + ["LightBlock3_2LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_2LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["LargePiglette_6ExtraHelmetBig_2"] = { + ["type"] = 1, + ["end2"] = "ExtraHelmetBig_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_6ExtraHelmetBig_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LargePiglette_6", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["BLOCK_GREEN_OILCANISTER_2LargePiglette_5"] = { + ["type"] = 1, + ["end2"] = "LargePiglette_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BLOCK_GREEN_OILCANISTER_2LargePiglette_5", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "BLOCK_GREEN_OILCANISTER_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["SmallPiglette_12StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_12StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "SmallPiglette_12", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StaticBlockTheme02_03_9StoneBlock7_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock7_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme02_03_9StoneBlock7_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticBlockTheme02_03_9", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["BUSH_2_1"] = { + ["y"] = -56.41, + ["x"] = -57.3183, + ["name"] = "BUSH_2_1", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_4"] = { + ["y"] = -64.5609, + ["x"] = -91.9942, + ["name"] = "BUSH_3_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_15"] = { + ["y"] = -21.7208, + ["x"] = -125.322, + ["name"] = "WoodBlock2_15", + ["angle"] = 1.57114, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme04_05_7"] = { + ["y"] = -2.11828, + ["x"] = -65.3678, + ["name"] = "StaticBlockTheme04_05_7", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -51.6674, + ["x"] = -25.3859, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_9"] = { + ["y"] = -30.8771, + ["x"] = -118.955, + ["name"] = "StaticBlockTheme02_03_9", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -51.6674, + ["x"] = -25.5906, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -14.7189, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["SmallPiglette_13"] = { + ["y"] = -49.4732, + ["x"] = -18.54, + ["name"] = "SmallPiglette_13", + ["angle"] = 0.000213146, + ["definition"] = "SmallPiglette", + + }, + ["BUSH_2_13"] = { + ["y"] = -47.292, + ["x"] = -89.991, + ["name"] = "BUSH_2_13", + ["angle"] = 1.5708, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -57.7762, + ["x"] = -110.155, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_26"] = { + ["y"] = -49.088, + ["x"] = -83.4979, + ["name"] = "BUSH_2_26", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_124"] = { + ["y"] = -40.8443, + ["x"] = -57.7714, + ["name"] = "StaticBlockTheme04_01_124", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -61.7739, + ["x"] = -19.673, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_12"] = { + ["y"] = -40.6007, + ["x"] = -13.2665, + ["name"] = "SmallPiglette_12", + ["angle"] = 0.000160217, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock11_2"] = { + ["y"] = -6.25128, + ["x"] = -5.67314, + ["name"] = "LightBlock11_2", + ["angle"] = 0.000213146, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -36.5148, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_26"] = { + ["y"] = -5.53363, + ["x"] = -126.794, + ["name"] = "LightBlock4_26", + ["angle"] = 4.71269, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_12"] = { + ["y"] = -34.444, + ["x"] = -83.2216, + ["name"] = "BUSH_2_12", + ["angle"] = 0.785401, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_8"] = { + ["y"] = -46.8776, + ["x"] = -47.6477, + ["name"] = "BUSH_2_8", + ["angle"] = 4.71239, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_21"] = { + ["y"] = -61.0466, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_21", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_30"] = { + ["y"] = -40.5917, + ["x"] = -55.8677, + ["name"] = "BUSH_2_30", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["SmallPiglette_14"] = { + ["y"] = -5.47155, + ["x"] = -8.76922, + ["name"] = "SmallPiglette_14", + ["angle"] = 0.000230789, + ["definition"] = "SmallPiglette", + + }, + ["SmallPiglette_15"] = { + ["y"] = -13.4934, + ["x"] = -125.255, + ["name"] = "SmallPiglette_15", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme04_01_111"] = { + ["y"] = -47.6549, + ["x"] = -76.8933, + ["name"] = "StaticBlockTheme04_01_111", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_2"] = { + ["y"] = -1.83298, + ["x"] = -11.8097, + ["name"] = "ExtraTire01_2", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme04_01_120"] = { + ["y"] = -51.1475, + ["x"] = -60.5655, + ["name"] = "StaticBlockTheme04_01_120", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_5"] = { + ["y"] = -39.8644, + ["x"] = -23.3304, + ["name"] = "WoodBlock5_5", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -8.73298, + ["x"] = -105.158, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 4.31976, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock5_3"] = { + ["y"] = -36.0188, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_3", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -53.9607, + ["x"] = -108.974, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 1.17821, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_17"] = { + ["y"] = -66.7022, + ["x"] = -73.0675, + ["name"] = "BUSH_2_17", + ["angle"] = 3.5343, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_2"] = { + ["y"] = -56.0241, + ["x"] = -55.9109, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock6_9"] = { + ["y"] = -38.3098, + ["x"] = -11.1392, + ["name"] = "LightBlock6_9", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock6", + + }, + ["BUSH_2_19"] = { + ["y"] = -65.597, + ["x"] = -64.5021, + ["name"] = "BUSH_2_19", + ["angle"] = 3.53428, + ["definition"] = "BUSH_2", + + }, + ["LightBlock4_23"] = { + ["y"] = -33.2369, + ["x"] = -7.45724, + ["name"] = "LightBlock4_23", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["ExtraBlockTNT_42"] = { + ["y"] = -52.9745, + ["x"] = -113.631, + ["name"] = "ExtraBlockTNT_42", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LargePiglette_6"] = { + ["y"] = -2.40008, + ["x"] = -20.6456, + ["name"] = "LargePiglette_6", + ["angle"] = 0.000230789, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_01_118"] = { + ["y"] = -51.1475, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_01_118", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -3.90921, + ["x"] = -103.08, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -44.5804, + ["x"] = -64.934, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.820282, + ["x"] = -34.4186, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 2.74899, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock12_3"] = { + ["y"] = -50.455, + ["x"] = -15.349, + ["name"] = "WoodBlock12_3", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["Estrade02_3"] = { + ["y"] = -1.1706, + ["x"] = -129.891, + ["name"] = "Estrade02_3", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme04_03_22"] = { + ["y"] = -30.7574, + ["x"] = -63.2722, + ["name"] = "StaticBlockTheme04_03_22", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_10"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_10", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -36.6348, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_49"] = { + ["y"] = -36.0327, + ["x"] = -84.534, + ["name"] = "BUSH_2_49", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock4_6"] = { + ["y"] = -3.01348, + ["x"] = -125.386, + ["name"] = "WoodBlock4_6", + ["angle"] = 0.000283718, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_02_20"] = { + ["y"] = -60.1381, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_20", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_115"] = { + ["y"] = -48.6153, + ["x"] = -72.1783, + ["name"] = "StaticBlockTheme04_01_115", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_41"] = { + ["y"] = -48.7426, + ["x"] = -73.7582, + ["name"] = "BUSH_2_41", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_25"] = { + ["y"] = -62.4098, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_25", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_6"] = { + ["y"] = -55.0975, + ["x"] = -81.2875, + ["name"] = "BUSH_2_6", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -3.46394, + ["x"] = -105.825, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_1_4"] = { + ["y"] = -31.4046, + ["x"] = -59.9431, + ["name"] = "BUSH_1_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_1", + + }, + ["BoomerangBird_4"] = { + ["y"] = -56.4694, + ["x"] = -72.757, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -42.3976, + ["x"] = -73.4035, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_1"] = { + ["y"] = -1.58752, + ["x"] = -5.9186, + ["name"] = "ExtraTire01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["Estrade02_1"] = { + ["y"] = 0.569902, + ["x"] = -112.896, + ["name"] = "Estrade02_1", + ["angle"] = 0.392931, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -3.2413, + ["x"] = -106.419, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_123"] = { + ["y"] = -42.2414, + ["x"] = -61.0894, + ["name"] = "StaticBlockTheme04_01_123", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_110"] = { + ["y"] = -45.2974, + ["x"] = -73.3134, + ["name"] = "StaticBlockTheme04_01_110", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_117"] = { + ["y"] = -47.6549, + ["x"] = -69.7335, + ["name"] = "StaticBlockTheme04_01_117", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_3"] = { + ["y"] = -40.0391, + ["x"] = -84.6031, + ["name"] = "BUSH_2_3", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock6_10"] = { + ["y"] = -15.7676, + ["x"] = -123.382, + ["name"] = "WoodBlock6_10", + ["angle"] = 1.5711, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_21"] = { + ["y"] = -31.6823, + ["x"] = -21.9395, + ["name"] = "LightBlock4_21", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_9"] = { + ["y"] = -43.1372, + ["x"] = -19.2394, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.00017786, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -38.0319, + ["x"] = -26.6029, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_7"] = { + ["y"] = -53.9923, + ["x"] = -50.6179, + ["name"] = "BUSH_2_7", + ["angle"] = 4.31969, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_8"] = { + ["y"] = -2.03097, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_8", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_23"] = { + ["y"] = -61.4105, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_23", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -58.5943, + ["x"] = -22.3075, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_1"] = { + ["y"] = -42.8146, + ["x"] = -57.0331, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -48.0004, + ["x"] = -18.4582, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["BUSH_2_33"] = { + ["y"] = -54.1305, + ["x"] = -56.7657, + ["name"] = "BUSH_2_33", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_112"] = { + ["y"] = -50.0124, + ["x"] = -80.3859, + ["name"] = "StaticBlockTheme04_01_112", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_22"] = { + ["y"] = -62.5915, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_22", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_31"] = { + ["y"] = -42.3186, + ["x"] = -52.0685, + ["name"] = "BUSH_2_31", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_23"] = { + ["y"] = -37.2761, + ["x"] = -74.1036, + ["name"] = "BUSH_2_23", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -0.45155, + ["x"] = -28.1503, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_8"] = { + ["y"] = -35.8551, + ["x"] = -9.42094, + ["name"] = "WoodBlock10_8", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_4"] = { + ["y"] = -33.0733, + ["x"] = -5.00263, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000160217, + ["definition"] = "MediumPiglette", + + }, + ["BoomerangBird_6"] = { + ["y"] = -41.0917, + ["x"] = -84.2067, + ["name"] = "BoomerangBird_6", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -5.78267, + ["x"] = -29.6399, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.35624, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_1"] = { + ["y"] = -36.7552, + ["x"] = -9.33912, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock4", + + }, + ["Estrade02_2"] = { + ["y"] = -1.1706, + ["x"] = -120.984, + ["name"] = "Estrade02_2", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_03_10"] = { + ["y"] = -29.5233, + ["x"] = -118.967, + ["name"] = "StaticBlockTheme02_03_10", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_03_8"] = { + ["y"] = -5.90242, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_8", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_22"] = { + ["y"] = -33.3187, + ["x"] = -12.0392, + ["name"] = "LightBlock4_22", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -1.10732, + ["x"] = -35.651, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_15"] = { + ["y"] = -59.7947, + ["x"] = -86.8826, + ["name"] = "BUSH_2_15", + ["angle"] = 2.3562, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_18"] = { + ["y"] = -61.0466, + ["x"] = -124.962, + ["name"] = "StaticBlockTheme02_02_18", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -50.3364, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_11"] = { + ["y"] = -29.0691, + ["x"] = -14.5855, + ["name"] = "StaticBlockTheme02_03_11", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_20"] = { + ["y"] = -49.3643, + ["x"] = -78.6626, + ["name"] = "BUSH_2_20", + ["angle"] = 2.35617, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_24"] = { + ["y"] = -36.8616, + ["x"] = -78.3172, + ["name"] = "BUSH_2_24", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_125"] = { + ["y"] = -38.0503, + ["x"] = -55.0647, + ["name"] = "StaticBlockTheme04_01_125", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_116"] = { + ["y"] = -52.8064, + ["x"] = -72.9642, + ["name"] = "StaticBlockTheme04_01_116", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -50.234, + ["x"] = -107.189, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_15"] = { + ["y"] = 0.172443, + ["x"] = -103.302, + ["name"] = "StaticBlockTheme02_02_15", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_16"] = { + ["y"] = -65.0444, + ["x"] = -81.2184, + ["name"] = "BUSH_2_16", + ["angle"] = 3.1416, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_9"] = { + ["y"] = -2.11828, + ["x"] = -69.5589, + ["name"] = "StaticBlockTheme04_05_9", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BLOCK_GREEN_OILCANISTER_2"] = { + ["y"] = -1.50569, + ["x"] = 2.26369, + ["name"] = "BLOCK_GREEN_OILCANISTER_2", + ["angle"] = 0.000213146, + ["definition"] = "BLOCK_GREEN_OILCANISTER", + + }, + ["MediumPiglette_5"] = { + ["y"] = -45.5458, + ["x"] = -19.6037, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.000195503, + ["definition"] = "MediumPiglette", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -4.36941, + ["x"] = -0.272988, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraHelmetBig", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -36.837, + ["x"] = -79.8702, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_9"] = { + ["y"] = -11.1523, + ["x"] = -125.322, + ["name"] = "WoodBlock6_9", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock6_10"] = { + ["y"] = -32.162, + ["x"] = -130.883, + ["name"] = "LightBlock6_10", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock6", + + }, + ["LightBlock4_25"] = { + ["y"] = -5.53363, + ["x"] = -123.851, + ["name"] = "LightBlock4_25", + ["angle"] = 1.57108, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_28"] = { + ["y"] = -46.1868, + ["x"] = -77.2811, + ["name"] = "BUSH_2_28", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -59.4119, + ["x"] = -23.3068, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock12_1"] = { + ["y"] = -50.455, + ["x"] = -21.731, + ["name"] = "WoodBlock12_1", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["ExtraBlockTNT_36"] = { + ["y"] = -36.8175, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_36", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -0.421252, + ["x"] = -99.4432, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LargePiglette_5"] = { + ["y"] = -2.16026, + ["x"] = -0.272748, + ["name"] = "LargePiglette_5", + ["angle"] = 0.000213146, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_02_17"] = { + ["y"] = -60.1381, + ["x"] = -125.144, + ["name"] = "StaticBlockTheme02_02_17", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = -12.3133, + ["x"] = -25.1872, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_24"] = { + ["y"] = -61.4105, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_24", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock6_7"] = { + ["y"] = -6.60385, + ["x"] = -128.733, + ["name"] = "WoodBlock6_7", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -1.63101, + ["x"] = -91.3878, + ["name"] = "WoodBlock10_4", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = 0.080072, + ["x"] = -38.4711, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_35"] = { + ["y"] = -59.3112, + ["x"] = -60.703, + ["name"] = "BUSH_2_35", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_5"] = { + ["y"] = -57.0631, + ["x"] = -65.4842, + ["name"] = "BoomerangBird_5", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -8.08323, + ["x"] = -28.5267, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock4_8"] = { + ["y"] = -8.1423, + ["x"] = -125.322, + ["name"] = "WoodBlock4_8", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -56.5097, + ["x"] = -16.0854, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -1.3118, + ["x"] = -102.486, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_9"] = { + ["y"] = -41.0752, + ["x"] = -47.5786, + ["name"] = "BUSH_2_9", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -41.1735, + ["x"] = -17.4393, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.00017786, + ["definition"] = "ExtraDonut01", + + }, + ["BUSH_1_3"] = { + ["y"] = -34.3058, + ["x"] = -58.0781, + ["name"] = "BUSH_1_3", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_02_16"] = { + ["y"] = 0.988773, + ["x"] = -103.525, + ["name"] = "StaticBlockTheme02_02_16", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_121"] = { + ["y"] = -53.1557, + ["x"] = -57.8588, + ["name"] = "StaticBlockTheme04_01_121", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_8"] = { + ["y"] = -6.67074, + ["x"] = -121.978, + ["name"] = "WoodBlock6_8", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["BUSH_3_1"] = { + ["y"] = -25.8095, + ["x"] = -59.2524, + ["name"] = "BUSH_3_1", + ["angle"] = 5.89049, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_13"] = { + ["y"] = -3.32063, + ["x"] = -117.196, + ["name"] = "WoodBlock2_13", + ["angle"] = 4.71267, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -37.5734, + ["x"] = -82.8976, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 3.92718, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_18"] = { + ["y"] = -61.1762, + ["x"] = -57.042, + ["name"] = "BUSH_2_18", + ["angle"] = 3.92699, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_48"] = { + ["y"] = -32.7862, + ["x"] = -87.4352, + ["name"] = "BUSH_2_48", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -59.2297, + ["x"] = -114.152, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_27"] = { + ["y"] = -60.7617, + ["x"] = -80.8039, + ["name"] = "BUSH_2_27", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock2_14"] = { + ["y"] = -11.955, + ["x"] = -125.322, + ["name"] = "WoodBlock2_14", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock9_1"] = { + ["y"] = -40.6826, + ["x"] = -13.2665, + ["name"] = "StoneBlock9_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -39.2916, + ["x"] = -76.3519, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -60.6837, + ["x"] = -19.4004, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_3"] = { + ["y"] = -57.0631, + ["x"] = -82.7013, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["BUSH_2_46"] = { + ["y"] = -52.8181, + ["x"] = -62.9134, + ["name"] = "BUSH_2_46", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -5.6903, + ["x"] = -104.564, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 4.31977, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_4"] = { + ["y"] = -46.0487, + ["x"] = -67.6796, + ["name"] = "BUSH_2_4", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_1_5"] = { + ["y"] = -47.7755, + ["x"] = -57.9399, + ["name"] = "BUSH_1_5", + ["angle"] = 5.49776, + ["definition"] = "BUSH_1", + + }, + ["WoodBlock10_7"] = { + ["y"] = -37.3279, + ["x"] = -19.403, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.000142574, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -4.65133, + ["x"] = -102.709, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 0.785472, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -0.866525, + ["x"] = -103.154, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_14"] = { + ["y"] = -53.3707, + ["x"] = -89.093, + ["name"] = "BUSH_2_14", + ["angle"] = 1.9635, + ["definition"] = "BUSH_2", + + }, + ["ExtraBlockTNT_38"] = { + ["y"] = -40.1036, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_38", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraBlockTNT_39"] = { + ["y"] = -43.2529, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_39", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock4_2"] = { + ["y"] = -8.95255, + ["x"] = -8.8716, + ["name"] = "StoneBlock4_2", + ["angle"] = 0.000230789, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_6"] = { + ["y"] = -1.5568, + ["x"] = -43.6696, + ["name"] = "WoodBlock10_6", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock10", + + }, + ["BUSH_2_39"] = { + ["y"] = -60.0019, + ["x"] = -72.7912, + ["name"] = "BUSH_2_39", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_2"] = { + ["y"] = -36.4472, + ["x"] = -52.8974, + ["name"] = "BUSH_2_2", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -0.643887, + ["x"] = -97.959, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 3.53437, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_05_10"] = { + ["y"] = -10.5878, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_3"] = { + ["y"] = -2.44735, + ["x"] = -82.0371, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.89047, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_12"] = { + ["y"] = -30.3409, + ["x"] = -14.6764, + ["name"] = "StaticBlockTheme02_03_12", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock10_2"] = { + ["y"] = -3.85737, + ["x"] = -76.6196, + ["name"] = "WoodBlock10_2", + ["angle"] = 5.49777, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_9"] = { + ["y"] = -20.3161, + ["x"] = -125.322, + ["name"] = "WoodBlock4_9", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -39.7781, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_6"] = { + ["y"] = -44.6457, + ["x"] = -15.5127, + ["name"] = "WoodBlock5_6", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -27.1175, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock8_5"] = { + ["y"] = -34.7636, + ["x"] = -132.663, + ["name"] = "WoodBlock8_5", + ["angle"] = 0.00035429, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -37.9906, + ["x"] = -25.2614, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock5_1"] = { + ["y"] = -45.7094, + ["x"] = -22.5492, + ["name"] = "LightBlock5_1", + ["angle"] = 1.571, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -14.8935, + ["x"] = -26.6902, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["ExtraBlockTNT_34"] = { + ["y"] = -32.9096, + ["x"] = -9.83004, + ["name"] = "ExtraBlockTNT_34", + ["angle"] = 0.000142574, + ["definition"] = "ExtraBlockTNT", + + }, + ["BUSH_2_22"] = { + ["y"] = -50.8839, + ["x"] = -86.1918, + ["name"] = "BUSH_2_22", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_47"] = { + ["y"] = -39.9009, + ["x"] = -63.3969, + ["name"] = "BUSH_2_47", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_19"] = { + ["y"] = -60.1381, + ["x"] = -124.781, + ["name"] = "StaticBlockTheme02_02_19", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -55.0513, + ["x"] = -24.4878, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock11_3"] = { + ["y"] = -6.41493, + ["x"] = -11.8915, + ["name"] = "LightBlock11_3", + ["angle"] = 4.71262, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme04_01_114"] = { + ["y"] = -53.5049, + ["x"] = -82.6561, + ["name"] = "StaticBlockTheme04_01_114", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -1.63254, + ["x"] = -29.6946, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_1"] = { + ["y"] = -52.9914, + ["x"] = -18.7036, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock11_1"] = { + ["y"] = -40.7644, + ["x"] = -9.09366, + ["name"] = "LightBlock11_1", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock11", + + }, + ["StoneBlock7_2"] = { + ["y"] = -51.8792, + ["x"] = -119.108, + ["name"] = "StoneBlock7_2", + ["angle"] = 0.00035429, + ["definition"] = "StoneBlock7", + + }, + ["ExtraHelmetBig_2"] = { + ["y"] = -4.75487, + ["x"] = -20.6456, + ["name"] = "ExtraHelmetBig_2", + ["angle"] = 0.000230789, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_11"] = { + ["y"] = -15.7676, + ["x"] = -127.262, + ["name"] = "WoodBlock6_11", + ["angle"] = 1.57112, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -60.229, + ["x"] = -113.788, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_35"] = { + ["y"] = -1.58102, + ["x"] = -16.1408, + ["name"] = "ExtraBlockTNT_35", + ["angle"] = 0.000230789, + ["definition"] = "ExtraBlockTNT", + + }, + ["Estrade02_4"] = { + ["y"] = 0.467517, + ["x"] = -138.082, + ["name"] = "Estrade02_4", + ["angle"] = 5.89075, + ["definition"] = "Estrade02", + + }, + ["WoodBlock10_5"] = { + ["y"] = -2.22471, + ["x"] = -52.7234, + ["name"] = "WoodBlock10_5", + ["angle"] = 0.392705, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -60.1381, + ["x"] = -118.422, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_1"] = { + ["y"] = -3.85737, + ["x"] = -58.3635, + ["name"] = "WoodBlock10_1", + ["angle"] = 0.78537, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -34.3646, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -4.35789, + ["x"] = -27.6052, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -49.1407, + ["x"] = -119.108, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 0.00035429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_12"] = { + ["y"] = -3.62778, + ["x"] = -133.474, + ["name"] = "WoodBlock2_12", + ["angle"] = 1.57107, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -54.4149, + ["x"] = -107.883, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 4.31979, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -0.179016, + ["x"] = -31.6932, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["BUSH_2_40"] = { + ["y"] = -50.1932, + ["x"] = -76.1759, + ["name"] = "BUSH_2_40", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_122"] = { + ["y"] = -54.0288, + ["x"] = -60.8274, + ["name"] = "StaticBlockTheme04_01_122", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock4_27"] = { + ["y"] = -33.1205, + ["x"] = -132.8, + ["name"] = "LightBlock4_27", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_11"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_11", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_21"] = { + ["y"] = -60.6236, + ["x"] = -83.0834, + ["name"] = "BUSH_2_21", + ["angle"] = 2.74887, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_44"] = { + ["y"] = -47.3611, + ["x"] = -65.1929, + ["name"] = "BUSH_2_44", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_119"] = { + ["y"] = -53.8542, + ["x"] = -66.2409, + ["name"] = "StaticBlockTheme04_01_119", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_34"] = { + ["y"] = -50.6076, + ["x"] = -53.381, + ["name"] = "BUSH_2_34", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["LargePiglette_7"] = { + ["y"] = -34.079, + ["x"] = -117.465, + ["name"] = "LargePiglette_7", + ["angle"] = 0.00035429, + ["definition"] = "LargePiglette", + + }, + ["BUSH_2_5"] = { + ["y"] = -54.1996, + ["x"] = -67.1961, + ["name"] = "BUSH_2_5", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock5_7"] = { + ["y"] = -46.6094, + ["x"] = -15.5945, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock3_2"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock3_2", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock3", + + }, + ["ExtraBlockTNT_41"] = { + ["y"] = -49.6884, + ["x"] = -112.535, + ["name"] = "ExtraBlockTNT_41", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme04_01_109"] = { + ["y"] = -46.6944, + ["x"] = -62.3118, + ["name"] = "StaticBlockTheme04_01_109", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_38"] = { + ["y"] = -60.5545, + ["x"] = -76.0377, + ["name"] = "BUSH_2_38", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_42"] = { + ["y"] = -47.7065, + ["x"] = -71.4788, + ["name"] = "BUSH_2_42", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -57.0494, + ["x"] = -110.7, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -19.0846, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BUSH_2_32"] = { + ["y"] = -49.3643, + ["x"] = -51.8613, + ["name"] = "BUSH_2_32", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_43"] = { + ["y"] = -46.2559, + ["x"] = -69.0611, + ["name"] = "BUSH_2_43", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_45"] = { + ["y"] = -50.055, + ["x"] = -62.8443, + ["name"] = "BUSH_2_45", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_37"] = { + ["y"] = -61.1762, + ["x"] = -70.7189, + ["name"] = "BUSH_2_37", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_2"] = { + ["y"] = -33.2697, + ["x"] = -83.8433, + ["name"] = "BUSH_3_2", + ["angle"] = 1.5708, + ["definition"] = "BUSH_3", + + }, + ["BUSH_2_29"] = { + ["y"] = -39.9009, + ["x"] = -60.0122, + ["name"] = "BUSH_2_29", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock5_4"] = { + ["y"] = -38.7189, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_4", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["BUSH_1_2"] = { + ["y"] = -43.1475, + ["x"] = -87.7115, + ["name"] = "BUSH_1_2", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["BUSH_2_36"] = { + ["y"] = -60.2782, + ["x"] = -65.4692, + ["name"] = "BUSH_2_36", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_03_21"] = { + ["y"] = -30.8447, + ["x"] = -71.4798, + ["name"] = "StaticBlockTheme04_03_21", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LargePiglette_3"] = { + ["y"] = -34.546, + ["x"] = -22.0213, + ["name"] = "LargePiglette_3", + ["angle"] = 0.000142574, + ["definition"] = "LargePiglette", + + }, + ["BUSH_1_1"] = { + ["y"] = -28.9179, + ["x"] = -71.3406, + ["name"] = "BUSH_1_1", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_4"] = { + ["y"] = -39.9462, + ["x"] = -20.4667, + ["name"] = "WoodBlock5_4", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -66.7762, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["BUSH_2_25"] = { + ["y"] = -40.7989, + ["x"] = -81.9091, + ["name"] = "BUSH_2_25", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock10_3"] = { + ["y"] = -3.96031, + ["x"] = -8.78232, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock9_1"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock9_1", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -55.8689, + ["x"] = -25.7596, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_37"] = { + ["y"] = -33.5313, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_37", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_24"] = { + ["y"] = -42.2371, + ["x"] = -21.7758, + ["name"] = "LightBlock4_24", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock4", + + }, + ["BUSH_3_3"] = { + ["y"] = -61.7979, + ["x"] = -50.2726, + ["name"] = "BUSH_3_3", + ["angle"] = 5.10508, + ["definition"] = "BUSH_3", + + }, + ["ExtraBlockTNT_40"] = { + ["y"] = -46.5391, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_40", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 5, + ["StoneBlock6"] = 1, + ["StaticBlockTheme03_01"] = 1, + ["ExtraDonut01"] = 1, + ["LightBlock3"] = 2, + ["LightBlock11"] = 3, + ["StoneBlock3"] = 1, + ["RedBird"] = 5, + ["ExtraTire01"] = 3, + ["StaticBlockTheme04_02"] = 63, + ["StaticBlockTheme03_02"] = 4, + ["ExtraStrongBall"] = 1, + ["LargePiglette"] = 7, + ["ExtraPoleRed"] = 1, + ["LightBlock9"] = 1, + ["SmallBlueBird"] = 2, + ["ExtraHelmetBig"] = 2, + ["StaticBlockTheme03_03"] = 4, + ["StoneBlock9"] = 1, + ["LightBlock6"] = 10, + ["StaticBlockTheme02_01"] = 26, + ["StoneBlock8"] = 25, + ["StoneBlock5"] = 4, + ["BUSH_1"] = 5, + ["LightBlock1"] = 9, + ["LightBlock10"] = 4, + ["ExtraPoleYellow"] = 1, + ["LightBlock4"] = 27, + ["ExtraBlockFlag01"] = 1, + ["MediumPiglette"] = 5, + ["LightBlock5"] = 1, + ["StaticBlockTheme03_05"] = 11, + ["StaticBlockTheme02_04"] = 5, + ["ExtraBlockTNT"] = 42, + ["YellowBird"] = 3, + ["ExtraTire03"] = 3, + ["WoodBlock2"] = 15, + ["StoneBlock1"] = 3, + ["HelmetPiglette"] = 1, + ["StaticBlockTheme04_04"] = 18, + ["BUSH_3"] = 4, + ["WoodBlock3"] = 4, + ["LightBlock8"] = 2, + ["BUSH_4"] = 1, + ["StoneBlock7"] = 2, + ["GrandpaPiglette"] = 3, + ["StoneBlock10"] = 3, + ["StaticBlockTheme04_05"] = 10, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme03_04"] = 7, + ["StoneBlock4"] = 2, + ["WoodBlock4"] = 9, + ["StaticBlockTheme04_01"] = 125, + ["BUSH_2"] = 49, + ["StaticBlockTheme02_03"] = 12, + ["StaticBlockTheme02_05"] = 4, + ["StaticBlockTheme02_02"] = 25, + ["HandsomePiglette"] = 1, + ["Estrade02"] = 4, + ["WoodBlock10"] = 9, + ["LightBlock2"] = 3, + ["BLOCK_GREEN_OILCANISTER"] = 2, + ["WoodBlock6"] = 11, + ["SmallPiglette"] = 15, + ["ExtraHelmetBoss"] = 1, + ["WoodBlock5"] = 7, + ["StaticBlockTheme04_03"] = 22, + ["BoomerangBird"] = 6, + ["WoodBlock12"] = 3, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -505.521, + ["py"] = -292.17, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = -452.138, + ["screenWidth"] = 1680, + ["py"] = -251.34, + ["screenHeight"] = 1024, + ["top"] = -620.738, + ["sy"] = 1.38604, + ["sx"] = 1.38604, + ["right"] = 1387.71, + ["left"] = -2535.7, + ["px"] = -1929.66, + + }, + ["sy"] = 0.456167, + ["sx"] = 0.456167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = -124.936, + ["screenWidth"] = 1024, + ["py"] = -396.08, + ["screenHeight"] = 768, + ["top"] = -997.617, + ["sy"] = 0.638365, + ["sx"] = 0.638365, + ["right"] = 1769.49, + ["left"] = -2455.31, + ["px"] = -1653.26, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_10.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..94f56243dc02fc5f213e74e627814dfda3c6cef1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_10.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_11.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f6f285e635b7a3eeb0729c6c1e1768375082139 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_11.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_14.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b90eb098420b93d6e9618b0e728c239795772c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_14.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_15.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b68b48154384c410929ce79c46d4acda46f1997 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_15.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_16.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..13d91a2bcfbda04bd45099797530858bcb3c37bd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_16.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_17.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..98bbbcd31f3f42f584dfe342b80ff4e8b6ef542a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_17.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_18.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..458fc11afd83647d34170c76ef3c082478298ef1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_18.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_19.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..915fc92374b1ec9e5982fb65bcc057493e7272eb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_19.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_2.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..199eef07f76dfe46e76ff9fb2d7dc9dfb9fab74f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_2.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_20.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..381a3e4cc3f3f5aceaaed8dc00ec2f615d1a01b8 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_20.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_21.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..e9def31f751ae21321b4cafefb69857ea79fdd0e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_21.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_22.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..7a5434a1dc71c513437aa72c60507c857e302e58 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_22.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_23.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..210ea7b59f9465001de9964f3b33078fc414991e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_23.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_24.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..7cf2e021a990765279eca7dcc325f1d0e0e3781a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_24.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_3.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6680d5e5f7405ff2a016316e5189321e02b8eaa Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_3.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_4.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..a7354f81271b76c7af96949bd5fe999fb6f7066b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_4.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_5.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..448351eb5e108bda697b1bc5d5ab20246a69751d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_5.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_6.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef6e89ecaccd87a6f0c32b835e94b7745e761092 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_6.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_7.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..11dd8a0d46b6d13f4b091d8171782e471404db64 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_7.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_8.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..9397db67513c3d730908b1da71635e637368749b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_8.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_9.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..68e181146001ae9cce6ae86de96e6c7ee3f64735 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/LevelGE_9.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/temp/LevelGE_1.temp.lua b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/temp/LevelGE_1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..13a1774b992003c296db7bc274e40c10eccc6989 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/goldeneggs1/temp/LevelGE_1.temp.lua @@ -0,0 +1,2194 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1181.81, + ["bottom"] = 60.8805, + ["screenWidth"] = 480, + ["py"] = -388.347, + ["left"] = 507.969, + ["right"] = 1855.65, + ["top"] = -837.574, + ["iphone"] = { + ["bottom"] = 116.63, + ["screenWidth"] = 1680, + ["py"] = -537.152, + ["screenHeight"] = 1024, + ["top"] = -1190.93, + ["sy"] = 0.783136, + ["sx"] = 0.783136, + ["px"] = 1248.23, + ["left"] = 175.619, + ["right"] = 2320.84, + + }, + ["version"] = "0.02", + ["sx"] = 0.356167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["sy"] = 0.356167, + ["ipad"] = { + ["bottom"] = 244.585, + ["screenWidth"] = 1024, + ["py"] = -541.712, + ["screenHeight"] = 768, + ["top"] = -1328.01, + ["sy"] = 0.488365, + ["sx"] = 0.488365, + ["right"] = 2262.19, + ["left"] = 165.394, + ["px"] = 1213.79, + + }, + ["screenHeight"] = 320, + +} +levelParticles = { + ["y"] = -2868.98, + ["x"] = 1115.78, + ["firstFrame"] = true, + ["width"] = 10350.5, + +} +joints = { + ["LightBlock3_2LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_2LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["LargePiglette_6ExtraHelmetBig_2"] = { + ["type"] = 1, + ["end2"] = "ExtraHelmetBig_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_6ExtraHelmetBig_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LargePiglette_6", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["BLOCK_GREEN_OILCANISTER_2LargePiglette_5"] = { + ["type"] = 1, + ["end2"] = "LargePiglette_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BLOCK_GREEN_OILCANISTER_2LargePiglette_5", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "BLOCK_GREEN_OILCANISTER_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["SmallPiglette_12StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_12StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "SmallPiglette_12", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StaticBlockTheme02_03_9StoneBlock7_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock7_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme02_03_9StoneBlock7_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticBlockTheme02_03_9", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["BUSH_2_1"] = { + ["y"] = -56.41, + ["x"] = -57.3183, + ["name"] = "BUSH_2_1", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_4"] = { + ["y"] = -64.5609, + ["x"] = -91.9942, + ["name"] = "BUSH_3_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_15"] = { + ["y"] = -21.7208, + ["x"] = -125.322, + ["name"] = "WoodBlock2_15", + ["angle"] = 1.57114, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme04_05_7"] = { + ["y"] = -2.11828, + ["x"] = -65.3678, + ["name"] = "StaticBlockTheme04_05_7", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -51.6674, + ["x"] = -25.3859, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_9"] = { + ["y"] = -30.8771, + ["x"] = -118.955, + ["name"] = "StaticBlockTheme02_03_9", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -51.6674, + ["x"] = -25.5906, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -14.7189, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["SmallPiglette_13"] = { + ["y"] = -49.4732, + ["x"] = -18.54, + ["name"] = "SmallPiglette_13", + ["angle"] = 0.000213146, + ["definition"] = "SmallPiglette", + + }, + ["BUSH_2_13"] = { + ["y"] = -47.292, + ["x"] = -89.991, + ["name"] = "BUSH_2_13", + ["angle"] = 1.5708, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -57.7762, + ["x"] = -110.155, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_26"] = { + ["y"] = -49.088, + ["x"] = -83.4979, + ["name"] = "BUSH_2_26", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_124"] = { + ["y"] = -40.8443, + ["x"] = -57.7714, + ["name"] = "StaticBlockTheme04_01_124", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -61.7739, + ["x"] = -19.673, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_12"] = { + ["y"] = -40.6007, + ["x"] = -13.2665, + ["name"] = "SmallPiglette_12", + ["angle"] = 0.000160217, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock11_2"] = { + ["y"] = -6.25128, + ["x"] = -5.67314, + ["name"] = "LightBlock11_2", + ["angle"] = 0.000213146, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -36.5148, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_26"] = { + ["y"] = -5.53363, + ["x"] = -126.794, + ["name"] = "LightBlock4_26", + ["angle"] = 4.71269, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_12"] = { + ["y"] = -34.444, + ["x"] = -83.2216, + ["name"] = "BUSH_2_12", + ["angle"] = 0.785401, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_8"] = { + ["y"] = -46.8776, + ["x"] = -47.6477, + ["name"] = "BUSH_2_8", + ["angle"] = 4.71239, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_21"] = { + ["y"] = -61.0466, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_21", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_30"] = { + ["y"] = -40.5917, + ["x"] = -55.8677, + ["name"] = "BUSH_2_30", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["SmallPiglette_14"] = { + ["y"] = -5.47155, + ["x"] = -8.76922, + ["name"] = "SmallPiglette_14", + ["angle"] = 0.000230789, + ["definition"] = "SmallPiglette", + + }, + ["SmallPiglette_15"] = { + ["y"] = -13.4934, + ["x"] = -125.255, + ["name"] = "SmallPiglette_15", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme04_01_111"] = { + ["y"] = -47.6549, + ["x"] = -76.8933, + ["name"] = "StaticBlockTheme04_01_111", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_2"] = { + ["y"] = -1.83298, + ["x"] = -11.8097, + ["name"] = "ExtraTire01_2", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme04_01_120"] = { + ["y"] = -51.1475, + ["x"] = -60.5655, + ["name"] = "StaticBlockTheme04_01_120", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_5"] = { + ["y"] = -39.8644, + ["x"] = -23.3304, + ["name"] = "WoodBlock5_5", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -8.73298, + ["x"] = -105.158, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 4.31976, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock5_3"] = { + ["y"] = -36.0188, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_3", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -53.9607, + ["x"] = -108.974, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 1.17821, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_17"] = { + ["y"] = -66.7022, + ["x"] = -73.0675, + ["name"] = "BUSH_2_17", + ["angle"] = 3.5343, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_2"] = { + ["y"] = -56.0241, + ["x"] = -55.9109, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock6_9"] = { + ["y"] = -38.3098, + ["x"] = -11.1392, + ["name"] = "LightBlock6_9", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock6", + + }, + ["BUSH_2_19"] = { + ["y"] = -65.597, + ["x"] = -64.5021, + ["name"] = "BUSH_2_19", + ["angle"] = 3.53428, + ["definition"] = "BUSH_2", + + }, + ["LightBlock4_23"] = { + ["y"] = -33.2369, + ["x"] = -7.45724, + ["name"] = "LightBlock4_23", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["ExtraBlockTNT_42"] = { + ["y"] = -52.9745, + ["x"] = -113.631, + ["name"] = "ExtraBlockTNT_42", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LargePiglette_6"] = { + ["y"] = -2.40008, + ["x"] = -20.6456, + ["name"] = "LargePiglette_6", + ["angle"] = 0.000230789, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_01_118"] = { + ["y"] = -51.1475, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_01_118", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -3.90921, + ["x"] = -103.08, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -44.5804, + ["x"] = -64.934, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.820282, + ["x"] = -34.4186, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 2.74899, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock12_3"] = { + ["y"] = -50.455, + ["x"] = -15.349, + ["name"] = "WoodBlock12_3", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["Estrade02_3"] = { + ["y"] = -1.1706, + ["x"] = -129.891, + ["name"] = "Estrade02_3", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme04_03_22"] = { + ["y"] = -30.7574, + ["x"] = -63.2722, + ["name"] = "StaticBlockTheme04_03_22", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_10"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_10", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -36.6348, + ["x"] = -107.02, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_49"] = { + ["y"] = -36.0327, + ["x"] = -84.534, + ["name"] = "BUSH_2_49", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock4_6"] = { + ["y"] = -3.01348, + ["x"] = -125.386, + ["name"] = "WoodBlock4_6", + ["angle"] = 0.000283718, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_02_20"] = { + ["y"] = -60.1381, + ["x"] = -127.597, + ["name"] = "StaticBlockTheme02_02_20", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_115"] = { + ["y"] = -48.6153, + ["x"] = -72.1783, + ["name"] = "StaticBlockTheme04_01_115", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_41"] = { + ["y"] = -48.7426, + ["x"] = -73.7582, + ["name"] = "BUSH_2_41", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_25"] = { + ["y"] = -62.4098, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_25", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_6"] = { + ["y"] = -55.0975, + ["x"] = -81.2875, + ["name"] = "BUSH_2_6", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -3.46394, + ["x"] = -105.825, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_1_4"] = { + ["y"] = -31.4046, + ["x"] = -59.9431, + ["name"] = "BUSH_1_4", + ["angle"] = 3.14157, + ["definition"] = "BUSH_1", + + }, + ["BoomerangBird_4"] = { + ["y"] = -56.4694, + ["x"] = -72.757, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -42.3976, + ["x"] = -73.4035, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraTire01_1"] = { + ["y"] = -1.58752, + ["x"] = -5.9186, + ["name"] = "ExtraTire01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraTire01", + + }, + ["Estrade02_1"] = { + ["y"] = 0.569902, + ["x"] = -112.896, + ["name"] = "Estrade02_1", + ["angle"] = 0.392931, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -3.2413, + ["x"] = -106.419, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_123"] = { + ["y"] = -42.2414, + ["x"] = -61.0894, + ["name"] = "StaticBlockTheme04_01_123", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_110"] = { + ["y"] = -45.2974, + ["x"] = -73.3134, + ["name"] = "StaticBlockTheme04_01_110", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_117"] = { + ["y"] = -47.6549, + ["x"] = -69.7335, + ["name"] = "StaticBlockTheme04_01_117", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_3"] = { + ["y"] = -40.0391, + ["x"] = -84.6031, + ["name"] = "BUSH_2_3", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock6_10"] = { + ["y"] = -15.7676, + ["x"] = -123.382, + ["name"] = "WoodBlock6_10", + ["angle"] = 1.5711, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_21"] = { + ["y"] = -31.6823, + ["x"] = -21.9395, + ["name"] = "LightBlock4_21", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_9"] = { + ["y"] = -43.1372, + ["x"] = -19.2394, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.00017786, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -38.0319, + ["x"] = -26.6029, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_7"] = { + ["y"] = -53.9923, + ["x"] = -50.6179, + ["name"] = "BUSH_2_7", + ["angle"] = 4.31969, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_8"] = { + ["y"] = -2.03097, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_8", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_23"] = { + ["y"] = -61.4105, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_23", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -58.5943, + ["x"] = -22.3075, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_1"] = { + ["y"] = -42.8146, + ["x"] = -57.0331, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -48.0004, + ["x"] = -18.4582, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["BUSH_2_33"] = { + ["y"] = -54.1305, + ["x"] = -56.7657, + ["name"] = "BUSH_2_33", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_112"] = { + ["y"] = -50.0124, + ["x"] = -80.3859, + ["name"] = "StaticBlockTheme04_01_112", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_22"] = { + ["y"] = -62.5915, + ["x"] = -12.9504, + ["name"] = "StaticBlockTheme02_02_22", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_31"] = { + ["y"] = -42.3186, + ["x"] = -52.0685, + ["name"] = "BUSH_2_31", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_23"] = { + ["y"] = -37.2761, + ["x"] = -74.1036, + ["name"] = "BUSH_2_23", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -0.45155, + ["x"] = -28.1503, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_8"] = { + ["y"] = -35.8551, + ["x"] = -9.42094, + ["name"] = "WoodBlock10_8", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_4"] = { + ["y"] = -33.0733, + ["x"] = -5.00263, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000160217, + ["definition"] = "MediumPiglette", + + }, + ["BoomerangBird_6"] = { + ["y"] = -41.0917, + ["x"] = -84.2067, + ["name"] = "BoomerangBird_6", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -5.78267, + ["x"] = -29.6399, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.35624, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_1"] = { + ["y"] = -36.7552, + ["x"] = -9.33912, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock4", + + }, + ["Estrade02_2"] = { + ["y"] = -1.1706, + ["x"] = -120.984, + ["name"] = "Estrade02_2", + ["angle"] = 0.000248432, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_03_10"] = { + ["y"] = -29.5233, + ["x"] = -118.967, + ["name"] = "StaticBlockTheme02_03_10", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_03_8"] = { + ["y"] = -5.90242, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_03_8", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock4_22"] = { + ["y"] = -33.3187, + ["x"] = -12.0392, + ["name"] = "LightBlock4_22", + ["angle"] = 1.57094, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -1.10732, + ["x"] = -35.651, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_15"] = { + ["y"] = -59.7947, + ["x"] = -86.8826, + ["name"] = "BUSH_2_15", + ["angle"] = 2.3562, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_18"] = { + ["y"] = -61.0466, + ["x"] = -124.962, + ["name"] = "StaticBlockTheme02_02_18", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -50.3364, + ["x"] = -108.418, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_11"] = { + ["y"] = -29.0691, + ["x"] = -14.5855, + ["name"] = "StaticBlockTheme02_03_11", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BUSH_2_20"] = { + ["y"] = -49.3643, + ["x"] = -78.6626, + ["name"] = "BUSH_2_20", + ["angle"] = 2.35617, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_24"] = { + ["y"] = -36.8616, + ["x"] = -78.3172, + ["name"] = "BUSH_2_24", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_125"] = { + ["y"] = -38.0503, + ["x"] = -55.0647, + ["name"] = "StaticBlockTheme04_01_125", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme04_01_116"] = { + ["y"] = -52.8064, + ["x"] = -72.9642, + ["name"] = "StaticBlockTheme04_01_116", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -50.234, + ["x"] = -107.189, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 1.57089, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_15"] = { + ["y"] = 0.172443, + ["x"] = -103.302, + ["name"] = "StaticBlockTheme02_02_15", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_16"] = { + ["y"] = -65.0444, + ["x"] = -81.2184, + ["name"] = "BUSH_2_16", + ["angle"] = 3.1416, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_05_9"] = { + ["y"] = -2.11828, + ["x"] = -69.5589, + ["name"] = "StaticBlockTheme04_05_9", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BLOCK_GREEN_OILCANISTER_2"] = { + ["y"] = -1.50569, + ["x"] = 2.26369, + ["name"] = "BLOCK_GREEN_OILCANISTER_2", + ["angle"] = 0.000213146, + ["definition"] = "BLOCK_GREEN_OILCANISTER", + + }, + ["MediumPiglette_5"] = { + ["y"] = -45.5458, + ["x"] = -19.6037, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.000195503, + ["definition"] = "MediumPiglette", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -4.36941, + ["x"] = -0.272988, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraHelmetBig", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -36.837, + ["x"] = -79.8702, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_9"] = { + ["y"] = -11.1523, + ["x"] = -125.322, + ["name"] = "WoodBlock6_9", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock6_10"] = { + ["y"] = -32.162, + ["x"] = -130.883, + ["name"] = "LightBlock6_10", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock6", + + }, + ["LightBlock4_25"] = { + ["y"] = -5.53363, + ["x"] = -123.851, + ["name"] = "LightBlock4_25", + ["angle"] = 1.57108, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_28"] = { + ["y"] = -46.1868, + ["x"] = -77.2811, + ["name"] = "BUSH_2_28", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -59.4119, + ["x"] = -23.3068, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 5.49793, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock12_1"] = { + ["y"] = -50.455, + ["x"] = -21.731, + ["name"] = "WoodBlock12_1", + ["angle"] = 0.000213146, + ["definition"] = "WoodBlock12", + + }, + ["ExtraBlockTNT_36"] = { + ["y"] = -36.8175, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_36", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -0.421252, + ["x"] = -99.4432, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LargePiglette_5"] = { + ["y"] = -2.16026, + ["x"] = -0.272748, + ["name"] = "LargePiglette_5", + ["angle"] = 0.000213146, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_02_17"] = { + ["y"] = -60.1381, + ["x"] = -125.144, + ["name"] = "StaticBlockTheme02_02_17", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = -12.3133, + ["x"] = -25.1872, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_24"] = { + ["y"] = -61.4105, + ["x"] = -7.68142, + ["name"] = "StaticBlockTheme02_02_24", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock6_7"] = { + ["y"] = -6.60385, + ["x"] = -128.733, + ["name"] = "WoodBlock6_7", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -1.63101, + ["x"] = -91.3878, + ["name"] = "WoodBlock10_4", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = 0.080072, + ["x"] = -38.4711, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_35"] = { + ["y"] = -59.3112, + ["x"] = -60.703, + ["name"] = "BUSH_2_35", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BoomerangBird_5"] = { + ["y"] = -57.0631, + ["x"] = -65.4842, + ["name"] = "BoomerangBird_5", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -8.08323, + ["x"] = -28.5267, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock4_8"] = { + ["y"] = -8.1423, + ["x"] = -125.322, + ["name"] = "WoodBlock4_8", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -56.5097, + ["x"] = -16.0854, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0.000213146, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -1.3118, + ["x"] = -102.486, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_9"] = { + ["y"] = -41.0752, + ["x"] = -47.5786, + ["name"] = "BUSH_2_9", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -41.1735, + ["x"] = -17.4393, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.00017786, + ["definition"] = "ExtraDonut01", + + }, + ["BUSH_1_3"] = { + ["y"] = -34.3058, + ["x"] = -58.0781, + ["name"] = "BUSH_1_3", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_02_16"] = { + ["y"] = 0.988773, + ["x"] = -103.525, + ["name"] = "StaticBlockTheme02_02_16", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_01_121"] = { + ["y"] = -53.1557, + ["x"] = -57.8588, + ["name"] = "StaticBlockTheme04_01_121", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_8"] = { + ["y"] = -6.67074, + ["x"] = -121.978, + ["name"] = "WoodBlock6_8", + ["angle"] = 4.71269, + ["definition"] = "WoodBlock6", + + }, + ["BUSH_3_1"] = { + ["y"] = -25.8095, + ["x"] = -59.2524, + ["name"] = "BUSH_3_1", + ["angle"] = 5.89049, + ["definition"] = "BUSH_3", + + }, + ["WoodBlock2_13"] = { + ["y"] = -3.32063, + ["x"] = -117.196, + ["name"] = "WoodBlock2_13", + ["angle"] = 4.71267, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -37.5734, + ["x"] = -82.8976, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 3.92718, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_18"] = { + ["y"] = -61.1762, + ["x"] = -57.042, + ["name"] = "BUSH_2_18", + ["angle"] = 3.92699, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_48"] = { + ["y"] = -32.7862, + ["x"] = -87.4352, + ["name"] = "BUSH_2_48", + ["angle"] = 4.31971, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -59.2297, + ["x"] = -114.152, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_27"] = { + ["y"] = -60.7617, + ["x"] = -80.8039, + ["name"] = "BUSH_2_27", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock2_14"] = { + ["y"] = -11.955, + ["x"] = -125.322, + ["name"] = "WoodBlock2_14", + ["angle"] = 0.000301361, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock9_1"] = { + ["y"] = -40.6826, + ["x"] = -13.2665, + ["name"] = "StoneBlock9_1", + ["angle"] = 0.000160217, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -39.2916, + ["x"] = -76.3519, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -60.6837, + ["x"] = -19.4004, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 5.89063, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BoomerangBird_3"] = { + ["y"] = -57.0631, + ["x"] = -82.7013, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["BUSH_2_46"] = { + ["y"] = -52.8181, + ["x"] = -62.9134, + ["name"] = "BUSH_2_46", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -5.6903, + ["x"] = -104.564, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 4.31977, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_4"] = { + ["y"] = -46.0487, + ["x"] = -67.6796, + ["name"] = "BUSH_2_4", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["BUSH_1_5"] = { + ["y"] = -47.7755, + ["x"] = -57.9399, + ["name"] = "BUSH_1_5", + ["angle"] = 5.49776, + ["definition"] = "BUSH_1", + + }, + ["WoodBlock10_7"] = { + ["y"] = -37.3279, + ["x"] = -19.403, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.000142574, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -4.65133, + ["x"] = -102.709, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 0.785472, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -0.866525, + ["x"] = -103.154, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_14"] = { + ["y"] = -53.3707, + ["x"] = -89.093, + ["name"] = "BUSH_2_14", + ["angle"] = 1.9635, + ["definition"] = "BUSH_2", + + }, + ["ExtraBlockTNT_38"] = { + ["y"] = -40.1036, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_38", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraBlockTNT_39"] = { + ["y"] = -43.2529, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_39", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock4_2"] = { + ["y"] = -8.95255, + ["x"] = -8.8716, + ["name"] = "StoneBlock4_2", + ["angle"] = 0.000230789, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_6"] = { + ["y"] = -1.5568, + ["x"] = -43.6696, + ["name"] = "WoodBlock10_6", + ["angle"] = 2.28882e-005, + ["definition"] = "WoodBlock10", + + }, + ["BUSH_2_39"] = { + ["y"] = -60.0019, + ["x"] = -72.7912, + ["name"] = "BUSH_2_39", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_2"] = { + ["y"] = -36.4472, + ["x"] = -52.8974, + ["name"] = "BUSH_2_2", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -0.643887, + ["x"] = -97.959, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 3.53437, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme04_05_10"] = { + ["y"] = -10.5878, + ["x"] = -67.376, + ["name"] = "StaticBlockTheme04_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_3"] = { + ["y"] = -2.44735, + ["x"] = -82.0371, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.89047, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_03_12"] = { + ["y"] = -30.3409, + ["x"] = -14.6764, + ["name"] = "StaticBlockTheme02_03_12", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock10_2"] = { + ["y"] = -3.85737, + ["x"] = -76.6196, + ["name"] = "WoodBlock10_2", + ["angle"] = 5.49777, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_9"] = { + ["y"] = -20.3161, + ["x"] = -125.322, + ["name"] = "WoodBlock4_9", + ["angle"] = 0.000336647, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -39.7781, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_6"] = { + ["y"] = -44.6457, + ["x"] = -15.5127, + ["name"] = "WoodBlock5_6", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -27.1175, + ["x"] = -67.2914, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock8_5"] = { + ["y"] = -34.7636, + ["x"] = -132.663, + ["name"] = "WoodBlock8_5", + ["angle"] = 0.00035429, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -37.9906, + ["x"] = -25.2614, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock5_1"] = { + ["y"] = -45.7094, + ["x"] = -22.5492, + ["name"] = "LightBlock5_1", + ["angle"] = 1.571, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -14.8935, + ["x"] = -26.6902, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["ExtraBlockTNT_34"] = { + ["y"] = -32.9096, + ["x"] = -9.83004, + ["name"] = "ExtraBlockTNT_34", + ["angle"] = 0.000142574, + ["definition"] = "ExtraBlockTNT", + + }, + ["BUSH_2_22"] = { + ["y"] = -50.8839, + ["x"] = -86.1918, + ["name"] = "BUSH_2_22", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_47"] = { + ["y"] = -39.9009, + ["x"] = -63.3969, + ["name"] = "BUSH_2_47", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_02_19"] = { + ["y"] = -60.1381, + ["x"] = -124.781, + ["name"] = "StaticBlockTheme02_02_19", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -55.0513, + ["x"] = -24.4878, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock11_3"] = { + ["y"] = -6.41493, + ["x"] = -11.8915, + ["name"] = "LightBlock11_3", + ["angle"] = 4.71262, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme04_01_114"] = { + ["y"] = -53.5049, + ["x"] = -82.6561, + ["name"] = "StaticBlockTheme04_01_114", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -1.63254, + ["x"] = -29.6946, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_1"] = { + ["y"] = -52.9914, + ["x"] = -18.7036, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock11_1"] = { + ["y"] = -40.7644, + ["x"] = -9.09366, + ["name"] = "LightBlock11_1", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock11", + + }, + ["StoneBlock7_2"] = { + ["y"] = -51.8792, + ["x"] = -119.108, + ["name"] = "StoneBlock7_2", + ["angle"] = 0.00035429, + ["definition"] = "StoneBlock7", + + }, + ["ExtraHelmetBig_2"] = { + ["y"] = -4.75487, + ["x"] = -20.6456, + ["name"] = "ExtraHelmetBig_2", + ["angle"] = 0.000230789, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_11"] = { + ["y"] = -15.7676, + ["x"] = -127.262, + ["name"] = "WoodBlock6_11", + ["angle"] = 1.57112, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -60.229, + ["x"] = -113.788, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 0.392825, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_35"] = { + ["y"] = -1.58102, + ["x"] = -16.1408, + ["name"] = "ExtraBlockTNT_35", + ["angle"] = 0.000230789, + ["definition"] = "ExtraBlockTNT", + + }, + ["Estrade02_4"] = { + ["y"] = 0.467517, + ["x"] = -138.082, + ["name"] = "Estrade02_4", + ["angle"] = 5.89075, + ["definition"] = "Estrade02", + + }, + ["WoodBlock10_5"] = { + ["y"] = -2.22471, + ["x"] = -52.7234, + ["name"] = "WoodBlock10_5", + ["angle"] = 0.392705, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -60.1381, + ["x"] = -118.422, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_1"] = { + ["y"] = -3.85737, + ["x"] = -58.3635, + ["name"] = "WoodBlock10_1", + ["angle"] = 0.78537, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -34.3646, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -4.35789, + ["x"] = -27.6052, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.96359, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -49.1407, + ["x"] = -119.108, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 0.00035429, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_12"] = { + ["y"] = -3.62778, + ["x"] = -133.474, + ["name"] = "WoodBlock2_12", + ["angle"] = 1.57107, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -54.4149, + ["x"] = -107.883, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 4.31979, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -0.179016, + ["x"] = -31.6932, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["BUSH_2_40"] = { + ["y"] = -50.1932, + ["x"] = -76.1759, + ["name"] = "BUSH_2_40", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_122"] = { + ["y"] = -54.0288, + ["x"] = -60.8274, + ["name"] = "StaticBlockTheme04_01_122", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock4_27"] = { + ["y"] = -33.1205, + ["x"] = -132.8, + ["name"] = "LightBlock4_27", + ["angle"] = 0.00035429, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_11"] = { + ["y"] = -32.0263, + ["x"] = -76.5213, + ["name"] = "BUSH_2_11", + ["angle"] = 0.392702, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_21"] = { + ["y"] = -60.6236, + ["x"] = -83.0834, + ["name"] = "BUSH_2_21", + ["angle"] = 2.74887, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_44"] = { + ["y"] = -47.3611, + ["x"] = -65.1929, + ["name"] = "BUSH_2_44", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_01_119"] = { + ["y"] = -53.8542, + ["x"] = -66.2409, + ["name"] = "StaticBlockTheme04_01_119", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_34"] = { + ["y"] = -50.6076, + ["x"] = -53.381, + ["name"] = "BUSH_2_34", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["LargePiglette_7"] = { + ["y"] = -34.079, + ["x"] = -117.465, + ["name"] = "LargePiglette_7", + ["angle"] = 0.00035429, + ["definition"] = "LargePiglette", + + }, + ["BUSH_2_5"] = { + ["y"] = -54.1996, + ["x"] = -67.1961, + ["name"] = "BUSH_2_5", + ["angle"] = 0, + ["definition"] = "BUSH_2", + + }, + ["WoodBlock5_7"] = { + ["y"] = -46.6094, + ["x"] = -15.5945, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock3_2"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock3_2", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock3", + + }, + ["ExtraBlockTNT_41"] = { + ["y"] = -49.6884, + ["x"] = -112.535, + ["name"] = "ExtraBlockTNT_41", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme04_01_109"] = { + ["y"] = -46.6944, + ["x"] = -62.3118, + ["name"] = "StaticBlockTheme04_01_109", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_2_38"] = { + ["y"] = -60.5545, + ["x"] = -76.0377, + ["name"] = "BUSH_2_38", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_42"] = { + ["y"] = -47.7065, + ["x"] = -71.4788, + ["name"] = "BUSH_2_42", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -57.0494, + ["x"] = -110.7, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.92711, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -19.0846, + ["x"] = -67.3788, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BUSH_2_32"] = { + ["y"] = -49.3643, + ["x"] = -51.8613, + ["name"] = "BUSH_2_32", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_43"] = { + ["y"] = -46.2559, + ["x"] = -69.0611, + ["name"] = "BUSH_2_43", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_45"] = { + ["y"] = -50.055, + ["x"] = -62.8443, + ["name"] = "BUSH_2_45", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_2_37"] = { + ["y"] = -61.1762, + ["x"] = -70.7189, + ["name"] = "BUSH_2_37", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["BUSH_3_2"] = { + ["y"] = -33.2697, + ["x"] = -83.8433, + ["name"] = "BUSH_3_2", + ["angle"] = 1.5708, + ["definition"] = "BUSH_3", + + }, + ["BUSH_2_29"] = { + ["y"] = -39.9009, + ["x"] = -60.0122, + ["name"] = "BUSH_2_29", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock5_4"] = { + ["y"] = -38.7189, + ["x"] = -17.3575, + ["name"] = "StoneBlock5_4", + ["angle"] = 0.000142574, + ["definition"] = "StoneBlock5", + + }, + ["BUSH_1_2"] = { + ["y"] = -43.1475, + ["x"] = -87.7115, + ["name"] = "BUSH_1_2", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["BUSH_2_36"] = { + ["y"] = -60.2782, + ["x"] = -65.4692, + ["name"] = "BUSH_2_36", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme04_03_21"] = { + ["y"] = -30.8447, + ["x"] = -71.4798, + ["name"] = "StaticBlockTheme04_03_21", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LargePiglette_3"] = { + ["y"] = -34.546, + ["x"] = -22.0213, + ["name"] = "LargePiglette_3", + ["angle"] = 0.000142574, + ["definition"] = "LargePiglette", + + }, + ["BUSH_1_1"] = { + ["y"] = -28.9179, + ["x"] = -71.3406, + ["name"] = "BUSH_1_1", + ["angle"] = 5.49779, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -61.0466, + ["x"] = -118.058, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 3.14173, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_4"] = { + ["y"] = -39.9462, + ["x"] = -20.4667, + ["name"] = "WoodBlock5_4", + ["angle"] = 1.57096, + ["definition"] = "WoodBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -66.7762, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["BUSH_2_25"] = { + ["y"] = -40.7989, + ["x"] = -81.9091, + ["name"] = "BUSH_2_25", + ["angle"] = 5.10509, + ["definition"] = "BUSH_2", + + }, + ["StoneBlock10_3"] = { + ["y"] = -3.96031, + ["x"] = -8.78232, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock9_1"] = { + ["y"] = -33.0732, + ["x"] = -17.4393, + ["name"] = "LightBlock9_1", + ["angle"] = 0.000142574, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -55.8689, + ["x"] = -25.7596, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 5.10523, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_37"] = { + ["y"] = -33.5313, + ["x"] = -112.398, + ["name"] = "ExtraBlockTNT_37", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_24"] = { + ["y"] = -42.2371, + ["x"] = -21.7758, + ["name"] = "LightBlock4_24", + ["angle"] = 0.00017786, + ["definition"] = "LightBlock4", + + }, + ["BUSH_3_3"] = { + ["y"] = -61.7979, + ["x"] = -50.2726, + ["name"] = "BUSH_3_3", + ["angle"] = 5.10508, + ["definition"] = "BUSH_3", + + }, + ["ExtraBlockTNT_40"] = { + ["y"] = -46.5391, + ["x"] = -112.261, + ["name"] = "ExtraBlockTNT_40", + ["angle"] = 0.00035429, + ["definition"] = "ExtraBlockTNT", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 5, + ["StoneBlock6"] = 1, + ["StaticBlockTheme03_01"] = 1, + ["ExtraDonut01"] = 1, + ["LightBlock3"] = 2, + ["LightBlock11"] = 3, + ["StoneBlock3"] = 1, + ["RedBird"] = 5, + ["ExtraTire01"] = 3, + ["StaticBlockTheme04_02"] = 63, + ["StaticBlockTheme03_02"] = 4, + ["ExtraStrongBall"] = 1, + ["LargePiglette"] = 7, + ["ExtraPoleRed"] = 1, + ["LightBlock9"] = 1, + ["SmallBlueBird"] = 2, + ["ExtraHelmetBig"] = 2, + ["StaticBlockTheme03_03"] = 4, + ["StoneBlock9"] = 1, + ["LightBlock6"] = 10, + ["StaticBlockTheme02_01"] = 26, + ["StoneBlock8"] = 25, + ["StoneBlock5"] = 4, + ["BUSH_1"] = 5, + ["LightBlock1"] = 9, + ["LightBlock10"] = 4, + ["ExtraPoleYellow"] = 1, + ["LightBlock4"] = 27, + ["ExtraBlockFlag01"] = 1, + ["MediumPiglette"] = 5, + ["LightBlock5"] = 1, + ["StaticBlockTheme03_05"] = 11, + ["StaticBlockTheme02_04"] = 5, + ["ExtraBlockTNT"] = 42, + ["YellowBird"] = 3, + ["ExtraTire03"] = 3, + ["WoodBlock2"] = 15, + ["StoneBlock1"] = 3, + ["HelmetPiglette"] = 1, + ["StaticBlockTheme04_04"] = 18, + ["BUSH_3"] = 4, + ["WoodBlock3"] = 4, + ["LightBlock8"] = 2, + ["BUSH_4"] = 1, + ["StoneBlock7"] = 2, + ["GrandpaPiglette"] = 3, + ["StoneBlock10"] = 3, + ["StaticBlockTheme04_05"] = 10, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme03_04"] = 7, + ["StoneBlock4"] = 2, + ["WoodBlock4"] = 9, + ["StaticBlockTheme04_01"] = 125, + ["BUSH_2"] = 49, + ["StaticBlockTheme02_03"] = 12, + ["StaticBlockTheme02_05"] = 4, + ["StaticBlockTheme02_02"] = 25, + ["HandsomePiglette"] = 1, + ["Estrade02"] = 4, + ["WoodBlock10"] = 9, + ["LightBlock2"] = 3, + ["BLOCK_GREEN_OILCANISTER"] = 2, + ["WoodBlock6"] = 11, + ["SmallPiglette"] = 15, + ["ExtraHelmetBoss"] = 1, + ["WoodBlock5"] = 7, + ["StaticBlockTheme04_03"] = 22, + ["BoomerangBird"] = 6, + ["WoodBlock12"] = 3, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -505.521, + ["py"] = -292.17, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = -452.138, + ["screenWidth"] = 1680, + ["py"] = -251.34, + ["screenHeight"] = 1024, + ["top"] = -620.738, + ["sy"] = 1.38604, + ["sx"] = 1.38604, + ["right"] = 1387.71, + ["left"] = -2535.7, + ["px"] = -1929.66, + + }, + ["sy"] = 0.456167, + ["sx"] = 0.456167, + ["windows"] = { + ["bottom"] = 326.184, + ["screenWidth"] = 1366, + ["py"] = -725.395, + ["screenHeight"] = 768, + ["top"] = -1776.97, + ["sy"] = 0.365165, + ["sx"] = 0.365165, + ["px"] = -1253.9, + ["left"] = -3124.29, + ["right"] = 616.487, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = -124.936, + ["screenWidth"] = 1024, + ["py"] = -396.08, + ["screenHeight"] = 768, + ["top"] = -997.617, + ["sy"] = 0.638365, + ["sx"] = 0.638365, + ["right"] = 1769.49, + ["left"] = -2455.31, + ["px"] = -1653.26, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level1.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b0d953ad3f93f7095d3559f0ac6eb15ba254aff1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level10.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..fe53488a1c492f7ff59ccd15136534d378e16c86 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level10.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level11.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..1dd9afa41dc6b734fca7f665c23993bf7612a94c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level11.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level12.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd0cb522b3c7ad6acfec3f1cfbcbd708aac0e9a9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level12.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level13.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fc56bc622058aec16122483c605afd13f77305f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level13.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level14.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..45c68dde4aa9b7f92999495a97d47fd663aa3601 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level14.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level15.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..409775483f73f42590e6f31bf9efdf6e3d363e4f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level15.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level2.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5b983166667c95a26c449f60c118983eafc1884e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level2.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level3.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..23557bcba2b48d19afad8df55b210b111c975407 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level3.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level4.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..b73af4969b08355eced129bb29beb72f60805448 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level4.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level5.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..9698ba173a0aba7c1f14c68515cfaca71d97eba2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level5.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level6.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..5aaf24e216f670e5739b89d8616c481ab0cf66e9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level6.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level7.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..3e12dfe0fc01cbbc694c311ebc1463a595db6d5a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level7.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level8.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..48582c147aef4a74d68cb43427720c6f477ec1cb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level8.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/Level9.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b330326715f1e658df5838befa42a0977100752 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack1/Level9.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/audeo.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/audeo.lua new file mode 100644 index 0000000000000000000000000000000000000000..8bbfd74cea5756e7406c6610e531ede29546ac25 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/audeo.lua @@ -0,0 +1,1347 @@ +g_useMp3Sound = true +if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "roku" or deviceModel == "freebox" then + g_useMp3Sound = false +end +createAudio({ + fileName = "/sfx/bird 01 collision a1", + clipName = "bird 01 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a2", + clipName = "bird 01 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a3", + clipName = "bird 01 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a4", + clipName = "bird 01 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a1_low", + clipName = "bird 01 collision a1_low" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a2_low", + clipName = "bird 01 collision a2_low" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a3_low", + clipName = "bird 01 collision a3_low" +}) +createAudio({ + fileName = "/sfx/bird 01 collision a4_low", + clipName = "bird 01 collision a4_low" +}) +createAudio({ + fileName = "/sfx/bird 01 flying", + clipName = "bird_01_flying" +}) +createAudio({ + fileName = "/sfx/bigbrother_fly", + clipName = "big_brother_flying" +}) +createAudio({ + fileName = "/sfx/bigbrother_awakens", + clipName = "big_brother_awakens" +}) +createAudio({ + fileName = "/sfx/bird 01 select", + clipName = "bird_01_select" +}) +createAudio({ + fileName = "/sfx/bigbrother_select", + clipName = "big_brother_select" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a1", + clipName = "bird 02 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a2", + clipName = "bird 02 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a3", + clipName = "bird 02 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a4", + clipName = "bird 02 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 02 collision a5", + clipName = "bird 02 collision a5" +}) +createAudio({ + fileName = "/sfx/bird 02 flying", + clipName = "bird_02_flying" +}) +createAudio({ + fileName = "/sfx/bird 02 select", + clipName = "bird_02_select" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a1", + clipName = "bird 03 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a2", + clipName = "bird 03 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a3", + clipName = "bird 03 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a4", + clipName = "bird 03 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 03 collision a5", + clipName = "bird 03 collision a5" +}) +createAudio({ + fileName = "/sfx/bird 03 flying", + clipName = "bird_03_flying" +}) +createAudio({ + fileName = "/sfx/bird 03 select", + clipName = "bird_03_select" +}) +createAudio({ + fileName = "/sfx/bird 04 flying", + clipName = "bird_04_flying" +}) +createAudio({ + fileName = "/sfx/bird 04 select", + clipName = "bird_04_select" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a1", + clipName = "bird 04 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a2", + clipName = "bird 04 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a3", + clipName = "bird 04 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 04 collision a4", + clipName = "bird 04 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a1", + clipName = "bird 05 collision a1" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a2", + clipName = "bird 05 collision a2" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a3", + clipName = "bird 05 collision a3" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a4", + clipName = "bird 05 collision a4" +}) +createAudio({ + fileName = "/sfx/bird 05 collision a5", + clipName = "bird 05 collision a5" +}) +createAudio({ + fileName = "/sfx/bird 05 flying", + clipName = "bird_05_flying" +}) +createAudio({ + fileName = "/sfx/bird 05 select", + clipName = "bird_05_select" +}) +createAudio({ + fileName = "/sfx/bird_06_flying", + clipName = "bird_06_flying" +}) +createAudio({ + fileName = "/sfx/boomerang_select", + clipName = "boomerang_select" +}) +createAudio({ + fileName = "/sfx/bird misc a1", + clipName = "bird_misc_a1" +}) +createAudio({ + fileName = "/sfx/bird misc a2", + clipName = "bird_misc_a2" +}) +createAudio({ + fileName = "/sfx/bird misc a3", + clipName = "bird_misc_a3" +}) +createAudio({ + fileName = "/sfx/bird misc a4", + clipName = "bird_misc_a4" +}) +createAudio({ + fileName = "/sfx/bird misc a5", + clipName = "bird_misc_a5" +}) +createAudio({ + fileName = "/sfx/bird misc a6", + clipName = "bird_misc_a6" +}) +createAudio({ + fileName = "/sfx/bird misc a7", + clipName = "bird_misc_a7" +}) +createAudio({ + fileName = "/sfx/bird misc a8", + clipName = "bird_misc_a8" +}) +createAudio({ + fileName = "/sfx/bird misc a9", + clipName = "bird_misc_a9" +}) +createAudio({ + fileName = "/sfx/bird misc a10", + clipName = "bird_misc_a10" +}) +createAudio({ + fileName = "/sfx/bird misc a11", + clipName = "bird_misc_a11" +}) +createAudio({ + fileName = "/sfx/bird misc a12", + clipName = "bird_misc_a12" +}) +createAudio({ + fileName = "/sfx/bird destroyed", + clipName = "bird_destroyed" +}) +createAudio({ + fileName = "/sfx/bird next military a1", + clipName = "bird next military a1" +}) +createAudio({ + fileName = "/sfx/bird next military a2", + clipName = "bird next military a2" +}) +createAudio({ + fileName = "/sfx/bird next military a3", + clipName = "bird next military a3" +}) +createAudio({ + fileName = "/sfx/bird shot-a1", + clipName = "bird shot a1" +}) +createAudio({ + fileName = "/sfx/bird shot-a2", + clipName = "bird shot a2" +}) +createAudio({ + fileName = "/sfx/bird shot-a3", + clipName = "bird shot a3" +}) +createAudio({ + fileName = "/sfx/level clear military a1", + extension = "mp3", + stream = true, + clipName = "level clear military a1" +}) +createAudio({ + fileName = "/sfx/level clear military a2", + extension = "mp3", + stream = true, + clipName = "level clear military a2" +}) +createAudio({ + fileName = "/sfx/level failed piglets a1", + extension = "mp3", + stream = true, + clipName = "level failed piglets a1" +}) +createAudio({ + fileName = "/sfx/level failed piglets a2", + extension = "mp3", + stream = true, + clipName = "level failed piglets a2" +}) +createAudio({ + fileName = "/sfx/level start military a1", + extension = "mp3", + stream = true, + clipName = "level start military a1" +}) +createAudio({ + fileName = "/sfx/level start military a2", + extension = "mp3", + stream = true, + clipName = "level start military a2" +}) +createAudio({ + fileName = "/sfx/ice light collision a1", + clipName = "light collision a1" +}) +createAudio({ + fileName = "/sfx/ice light collision a2", + clipName = "light collision a2" +}) +createAudio({ + fileName = "/sfx/ice light collision a3", + clipName = "light collision a3" +}) +createAudio({ + fileName = "/sfx/ice light collision a4", + clipName = "light collision a4" +}) +createAudio({ + fileName = "/sfx/ice light collision a5", + clipName = "light collision a5" +}) +createAudio({ + fileName = "/sfx/ice light collision a6", + clipName = "light collision a6" +}) +createAudio({ + fileName = "/sfx/ice light collision a7", + clipName = "light collision a7" +}) +createAudio({ + fileName = "/sfx/ice light collision a8", + clipName = "light collision a8" +}) +createAudio({ + fileName = "/sfx/light damage a1", + clipName = "light damage a1" +}) +createAudio({ + fileName = "/sfx/light damage a2", + clipName = "light damage a2" +}) +createAudio({ + fileName = "/sfx/light damage a3", + clipName = "light damage a3" +}) +createAudio({ + fileName = "/sfx/light destroyed a1", + clipName = "light destroyed a1" +}) +createAudio({ + fileName = "/sfx/light destroyed a2", + clipName = "light destroyed a2" +}) +createAudio({ + fileName = "/sfx/light destroyed a3", + clipName = "light destroyed a3" +}) +createAudio({ + fileName = "/sfx/light rolling", + clipName = "light_rolling" +}) +createAudio({ + fileName = "/sfx/menu back", + clipName = "menu_back" +}) +createAudio({ + fileName = "/sfx/menu confirm", + clipName = "menu_confirm" +}) +createAudio({ + fileName = "/sfx/menu select", + clipName = "menu_select" +}) +createAudio({ + fileName = "/sfx/piglette collision a1", + clipName = "piglette collision a1" +}) +createAudio({ + fileName = "/sfx/piglette collision a2", + clipName = "piglette collision a2" +}) +createAudio({ + fileName = "/sfx/piglette collision a3", + clipName = "piglette collision a3" +}) +createAudio({ + fileName = "/sfx/piglette collision a4", + clipName = "piglette collision a4" +}) +createAudio({ + fileName = "/sfx/piglette collision a5", + clipName = "piglette collision a5" +}) +createAudio({ + fileName = "/sfx/piglette collision a6", + clipName = "piglette collision a6" +}) +createAudio({ + fileName = "/sfx/piglette collision a7", + clipName = "piglette collision a7" +}) +createAudio({ + fileName = "/sfx/piglette collision a8", + clipName = "piglette collision a8" +}) +createAudio({ + fileName = "/sfx/piglette damage a1", + clipName = "piglette damage a1" +}) +createAudio({ + fileName = "/sfx/piglette damage a2", + clipName = "piglette damage a2" +}) +createAudio({ + fileName = "/sfx/piglette damage a3", + clipName = "piglette damage a3" +}) +createAudio({ + fileName = "/sfx/piglette damage a4", + clipName = "piglette damage a4" +}) +createAudio({ + fileName = "/sfx/piglette damage a5", + clipName = "piglette damage a5" +}) +createAudio({ + fileName = "/sfx/piglette damage a6", + clipName = "piglette damage a6" +}) +createAudio({ + fileName = "/sfx/piglette damage a7", + clipName = "piglette damage a7" +}) +createAudio({ + fileName = "/sfx/piglette damage a8", + clipName = "piglette damage a8" +}) +createAudio({ + fileName = "/sfx/piglette destroyed", + clipName = "piglette_destroyed" +}) +createAudio({ + fileName = "/sfx/rock collision a1", + clipName = "rock collision a1" +}) +createAudio({ + fileName = "/sfx/rock collision a2", + clipName = "rock collision a2" +}) +createAudio({ + fileName = "/sfx/rock collision a3", + clipName = "rock collision a3" +}) +createAudio({ + fileName = "/sfx/rock collision a4", + clipName = "rock collision a4" +}) +createAudio({ + fileName = "/sfx/rock collision a5", + clipName = "rock collision a5" +}) +createAudio({ + fileName = "/sfx/rock damage a1", + clipName = "rock damage a1" +}) +createAudio({ + fileName = "/sfx/rock damage a2", + clipName = "rock damage a2" +}) +createAudio({ + fileName = "/sfx/rock damage a3", + clipName = "rock damage a3" +}) +createAudio({ + fileName = "/sfx/rock destroyed a1", + clipName = "rock destroyed a1" +}) +createAudio({ + fileName = "/sfx/rock destroyed a2", + clipName = "rock destroyed a2" +}) +createAudio({ + fileName = "/sfx/rock destroyed a3", + clipName = "rock destroyed a3" +}) +createAudio({ + fileName = "/sfx/rock rolling", + clipName = "rock_rolling" +}) +createAudio({ + fileName = "/sfx/special boost", + clipName = "special_boost" +}) +createAudio({ + fileName = "/sfx/special egg explosion", + clipName = "special_explosion" +}) +createAudio({ + fileName = "/sfx/special group", + clipName = "special_egg" +}) +createAudio({ + fileName = "/sfx/special egg", + clipName = "special_group" +}) +createAudio({ + fileName = "/sfx/wood collision a1", + clipName = "wood collision a1" +}) +createAudio({ + fileName = "/sfx/wood collision a2", + clipName = "wood collision a2" +}) +createAudio({ + fileName = "/sfx/wood collision a3", + clipName = "wood collision a3" +}) +createAudio({ + fileName = "/sfx/wood collision a4", + clipName = "wood collision a4" +}) +createAudio({ + fileName = "/sfx/wood collision a5", + clipName = "wood collision a5" +}) +createAudio({ + fileName = "/sfx/wood collision a6", + clipName = "wood collision a6" +}) +createAudio({ + fileName = "/sfx/wood damage a1", + clipName = "wood damage a1" +}) +createAudio({ + fileName = "/sfx/wood damage a2", + clipName = "wood damage a2" +}) +createAudio({ + fileName = "/sfx/wood damage a3", + clipName = "wood damage a3" +}) +createAudio({ + fileName = "/sfx/wood destroyed a1", + clipName = "wood destroyed a1" +}) +createAudio({ + fileName = "/sfx/wood destroyed a2", + clipName = "wood destroyed a2" +}) +createAudio({ + fileName = "/sfx/wood destroyed a3", + clipName = "wood destroyed a3" +}) +createAudio({ + fileName = "/sfx/wood rolling", + clipName = "wood_rolling" +}) +createAudio({ + fileName = "/sfx/balloon_pop", + clipName = "balloon_pop" +}) +createAudio({ + fileName = "/sfx/bird pushing egg out", + clipName = "bird_pushing_egg_out" +}) +createAudio({ + fileName = "/sfx/slingshot streched", + clipName = "slingshot_stretched" +}) +createAudio({ + fileName = "/sfx/tnt box explodes", + clipName = "tnt_explodes" +}) +createAudio({ + fileName = "/sfx/boomerang_swish", + clipName = "boomerang_swish" +}) +createAudio({ + fileName = "/sfx/boomerang_activate", + clipName = "boomerang_activate" +}) +createAudio({ + fileName = "/sfx/trampoline", + clipName = "trampoline" +}) +createAudio({ + fileName = "/sfx/redbird_yell01", + clipName = "red_special_1" +}) +createAudio({ + fileName = "/sfx/redbird_yell02", + clipName = "red_special_2" +}) +createAudio({ + fileName = "/sfx/redbird_yell03", + clipName = "red_special_3" +}) +createAudio({ + fileName = "/sfx/bigbrother_yell", + clipName = "big_brother_special_1" +}) +createAudio({ + fileName = "/sfx/mightyeagle", + clipName = "mighty_eagle_yell" +}) +createAudio({ + fileName = "/sfx/sardine_can_shot", + extension = "mp3", + stream = true, + clipName = "sardine_can_shot" +}) +createAudio({ + fileName = "/sfx/sardine_can_physics_a2", + extension = "mp3", + stream = true, + clipName = "sardine_can_physics_a2" +}) +createAudio({ + fileName = "/sfx/mighty_eagle_bounce", + extension = "mp3", + stream = true, + clipName = "mighty_eagle_thump" +}) +createAudio({ + fileName = "/sfx/mighty_eagle_fly", + extension = "mp3", + stream = true, + clipName = "mighty_eagle_fly" +}) +createAudio({ + fileName = "/sfx/piglette oink a1", + clipName = "piglette_a1" +}) +createAudio({ + fileName = "/sfx/piglette oink a2", + clipName = "piglette_a2" +}) +createAudio({ + fileName = "/sfx/piglette oink a3", + clipName = "piglette_a3" +}) +createAudio({ + fileName = "/sfx/piglette oink a4", + clipName = "piglette_a4" +}) +createAudio({ + fileName = "/sfx/piglette oink a5", + clipName = "piglette_a5" +}) +createAudio({ + fileName = "/sfx/piglette oink a8", + clipName = "piglette_a8" +}) +createAudio({ + fileName = "/sfx/piglette oink a9", + clipName = "piglette_a9" +}) +createAudio({ + fileName = "/sfx/piglette oink a10", + clipName = "piglette_a10" +}) +createAudio({ + fileName = "/sfx/piglette oink a11", + clipName = "piglette_a11" +}) +createAudio({ + fileName = "/sfx/piglette oink a12", + clipName = "piglette_a12" +}) +createAudio({ + fileName = "/sfx/star_collect", + clipName = "star_collect" +}) +createAudio({ + fileName = "/sfx/button_radio", + clipName = "button_radio" +}) +createAudio({ + fileName = "/sfx/goldenegg", + clipName = "goldenegg" +}) +createAudio({ + fileName = "/sfx/piano-c", + clipName = "noteC" +}) +createAudio({ + fileName = "/sfx/piano-cis", + clipName = "noteCis" +}) +createAudio({ + fileName = "/sfx/piano-d", + clipName = "noteD" +}) +createAudio({ + fileName = "/sfx/piano-dis", + clipName = "noteDis" +}) +createAudio({ + fileName = "/sfx/piano-e", + clipName = "noteE" +}) +createAudio({ + fileName = "/sfx/piano-f", + clipName = "noteF" +}) +createAudio({ + fileName = "/sfx/piano-fis", + clipName = "noteFis" +}) +createAudio({ + fileName = "/sfx/piano-g", + clipName = "noteG" +}) +createAudio({ + fileName = "/music/level_complete", + extension = "mp3", + stream = true, + clipName = "level_complete" +}) +createAudio({ + fileName = "/music/game_complete", + extension = "mp3", + stream = true, + clipName = "game_complete" +}) +createAudio({ + fileName = "/music/title_theme", + extension = "mp3", + stream = true, + clipName = "title_theme" +}) +createAudio({ + fileName = "/music/Funky_Porkcini", + extension = "mp3", + stream = true, + clipName = "pig_boss_1" +}) +createAudio({ + fileName = "/music/ambient_white_dryforest", + extension = "mp3", + stream = true, + clipName = "ambient_theme1" +}) +createAudio({ + fileName = "/music/ambient_green_jungleish", + extension = "mp3", + stream = true, + clipName = "ambient_theme2" +}) +createAudio({ + fileName = "/music/ambient_red_savannah", + extension = "mp3", + stream = true, + clipName = "ambient_theme3" +}) +createAudio({ + fileName = "/music/ambient_city", + extension = "mp3", + stream = true, + clipName = "ambient_theme7" +}) +createAudio({ + fileName = "/music/birds_outro", + extension = "mp3", + stream = true, + clipName = "birds_outro" +}) +createAudio({ + fileName = "/music/birds_intro", + extension = "mp3", + stream = true, + clipName = "birds_intro" +}) +createAudio({ + fileName = "/music/birds_boss", + extension = "mp3", + stream = true, + clipName = "birds_boss" +}) +createAudio({ + fileName = "/music/funky_theme", + extension = "mp3", + stream = true, + clipName = "funky_theme" +}) +createAudio({ + fileName = "/sfx/piglette oink story", + clipName = "piglette_oink_story" +}) +createAudio({ + fileName = "/sfx/ball_bounce", + clipName = "ball_bounce" +}) +createAudio({ + fileName = "/music/ambient_construction", + extension = "mp3", + stream = true, + clipName = "construction_theme1" +}) +createAudio({ + fileName = "/sfx/pig_bd", + clipName = "pig_bd" +}) +createAudio({ + fileName = "/sfx/pig_snare_1", + clipName = "pig_snare_1" +}) +createAudio({ + fileName = "/sfx/pig_snare_2", + clipName = "pig_snare_2" +}) +createAudio({ + fileName = "/sfx/pig_snare_3", + clipName = "pig_snare_3" +}) +createAudio({ + fileName = "/sfx/pig_snare_4", + clipName = "pig_snare_4" +}) +createAudio({ + fileName = "/sfx/pig_hi-hat_1", + clipName = "pig_hi-hat_1" +}) +createAudio({ + fileName = "/sfx/pig_hi-hat_2", + clipName = "pig_hi-hat_2" +}) +createAudio({ + fileName = "/sfx/cminor_left", + clipName = "cminor_left" +}) +createAudio({ + fileName = "/sfx/dismajor_left", + clipName = "dismajor_left" +}) +createAudio({ + fileName = "/sfx/fmajor_left", + clipName = "fmajor_left" +}) +createAudio({ + fileName = "/sfx/gminor_left", + clipName = "gminor_left" +}) +createAudio({ + fileName = "/sfx/bmajor_left", + clipName = "bmajor_left" +}) +createAudio({ + fileName = "/sfx/cminor_right", + clipName = "cminor_right" +}) +createAudio({ + fileName = "/sfx/dismajor_right", + clipName = "dismajor_right" +}) +createAudio({ + fileName = "/sfx/fmajor_right", + clipName = "fmajor_right" +}) +createAudio({ + fileName = "/sfx/gminor_right", + clipName = "gminor_right" +}) +createAudio({ + fileName = "/sfx/bmajor_right", + clipName = "bmajor_right" +}) +createAudio({ + fileName = "/sfx/accordion_empty_pull", + clipName = "empty_accordion_left" +}) +createAudio({ + fileName = "/sfx/accordion_empty_push", + clipName = "empty_accordion_right" +}) +createAudio({ + fileName = "/sfx/accordion_break", + clipName = "accordion_break" +}) +createAudio({ + fileName = "/sfx/pig_singing_1", + clipName = "pig_singing_1" +}) +createAudio({ + fileName = "/sfx/pig_singing_2", + clipName = "pig_singing_2" +}) +createAudio({ + fileName = "/sfx/pig_singing_3", + clipName = "pig_singing_3" +}) +createAudio({ + fileName = "/sfx/pig_singing_4", + clipName = "pig_singing_4" +}) +createAudio({ + fileName = "/sfx/pig_singing_5", + clipName = "pig_singing_5" +}) +createAudio({ + fileName = "/sfx/pig_singing_6", + clipName = "pig_singing_6" +}) +createAudio({ + fileName = "/sfx/pig_singing_7", + clipName = "pig_singing_7" +}) +createAudio({ + fileName = "/sfx/pig_singing_8", + clipName = "pig_singing_8" +}) +createAudio({ + fileName = "/music/ab_cave_ambient", + extension = "mp3", + stream = true, + clipName = "ambient_cave" +}) +createAudio({ + fileName = "/sfx/jewel_break_01", + clipName = "jewel_break_1" +}) +createAudio({ + fileName = "/sfx/jewel_break_02", + clipName = "jewel_break_2" +}) +createAudio({ + fileName = "/sfx/jewel_break_03", + clipName = "jewel_break_3" +}) +createAudio({ + fileName = "/sfx/stalaktite_break_01", + clipName = "stalaktite_break_1" +}) +createAudio({ + fileName = "/sfx/stalaktite_break_02", + clipName = "stalaktite_break_2" +}) +createAudio({ + fileName = "/sfx/stalaktite_break_03", + clipName = "stalaktite_break_3" +}) +createAudio({ + fileName = "/sfx/gamescorescreen_score_count_loop", + extension = "wav", + clipName = "score_count" +}) +createAudio({ + fileName = "/sfx/star_1", + stream = true, + clipName = "star_1" +}) +createAudio({ + fileName = "/sfx/star_2", + stream = true, + clipName = "star_2" +}) +createAudio({ + fileName = "/sfx/star_3", + stream = true, + clipName = "star_3" +}) +createAudio({ + fileName = "/sfx/highscore", + extension = "mp3", + stream = true, + clipName = "new_highscore" +}) +createAudio({ + fileName = "/music/ambience_waterfall", + extension = "mp3", + stream = true, + clipName = "ambience_waterfall" +}) +createAudio({ + fileName = "/sfx/big_bird", + clipName = "big_bird" +}) +createAudio({ + fileName = "/sfx/earthquake", + clipName = "earthquake" +}) +createAudio({ + fileName = "/sfx/laser_sight", + clipName = "laser_sight" +}) +createAudio({ + fileName = "/sfx/powerup_intro", + clipName = "powerup_intro" +}) +createAudio({ + fileName = "/sfx/slot_1", + clipName = "slot_1" +}) +createAudio({ + fileName = "/sfx/slot_2", + clipName = "slot_2" +}) +createAudio({ + fileName = "/sfx/slot_3", + clipName = "slot_3" +}) +createAudio({ + fileName = "/sfx/slot_machine", + clipName = "slot_machine" +}) +createAudio({ + fileName = "/sfx/super_shot", + clipName = "super_shot" +}) +createAudio({ + fileName = "/sfx/super_slingshot", + clipName = "super_slingshot" +}) +createAudio({ + fileName = "/sfx/powerup_awarded", + clipName = "powerup_awarded" +}) +createAudio({ + fileName = "/sfx/powerup_awarded2", + clipName = "powerup_awarded2" +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Death_remove_1", + clipName = "Globe_Bird_Death_remove_1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_1", + clipName = "Globe_Bird_Hit_1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_2", + clipName = "Globe_Bird_Hit_2", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_3", + clipName = "Globe_Bird_Hit_3", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Hit_4", + clipName = "Globe_Bird_Hit_4", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_idle_01", + clipName = "Globe_Bird_idle_01", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_idle_02", + clipName = "Globe_Bird_idle_02", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_idle_03", + clipName = "Globe_Bird_idle_03", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Launch_3", + clipName = "Globe_Bird_Launch_3", + volume = 1 +}) +audioData.channelVolume[1] = 1 +audioData.channelVolume[2] = 1 +audioData.channelVolume[3] = 1 +audioData.channelVolume[4] = 1 +audioData.channelVolume[5] = 1 +audioData.channelVolume[6] = 1 +audioData.channelVolume[7] = 1 +setChannelCountLimit(1, 4) +setChannelCountLimit(2, 4) +setChannelCountLimit(3, 6) +setChannelCountLimit(4, 4) +setChannelCountLimit(5, 6) +setChannelCountLimit(6, 4) +setChannelCountLimit(7, 3) +createAudio({ + fileName = "/sfx/Globe_Bird_Special_Activation_1", + clipName = "Globe_Bird_Special_Activation_1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Special_Activation_2", + clipName = "Globe_Bird_Special_Activation_2", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Special_Activation_3", + clipName = "Globe_Bird_Special_Activation_3", + volume = 1 +}) +createAudio({ + fileName = "/sfx/Globe_Bird_Selection_1", + clipName = "Globe_Bird_Selection_1", + volume = 1 +}) +createAudio({ + fileName = "/music/birthday_ambience", + extension = "mp3", + stream = true, + clipName = "birthday_ambience", + volume = 1 +}) +createAudio({ + fileName = "/sfx/birthday_cake1", + clipName = "birthday_cake1", + volume = 1 +}) +createAudio({ + fileName = "/sfx/birthday_cake2", + clipName = "birthday_cake2", + volume = 1 +}) +createAudio({ + fileName = "/music/BeachAmbience", + extension = "mp3", + stream = true, + clipName = "beach_ambience" +}) +createAudio({ + fileName = "/music/RainAmbience", + extension = "mp3", + stream = true, + clipName = "rain_ambience" +}) +createAudio({ + fileName = "/sfx/Lightning01", + clipName = "Lightning01" +}) +createAudio({ + fileName = "/sfx/Lightning02", + clipName = "Lightning02" +}) +createAudio({ + fileName = "/sfx/Lightning03", + clipName = "Lightning03" +}) +createAudio({ + fileName = "/sfx/Lightning04", + clipName = "Lightning04" +}) +audioGroups = { + bird_01_collision = { + "bird 01 collision a1", + "bird 01 collision a2", + "bird 01 collision a3", + "bird 01 collision a4" + }, + bird_02_collision = { + "bird 02 collision a1", + "bird 02 collision a2", + "bird 02 collision a3", + "bird 02 collision a4", + "bird 02 collision a5" + }, + bird_03_collision = { + "bird 03 collision a1", + "bird 03 collision a2", + "bird 03 collision a3", + "bird 03 collision a4", + "bird 03 collision a5" + }, + bird_04_collision = { + "bird 04 collision a1", + "bird 04 collision a2", + "bird 04 collision a3", + "bird 04 collision a4" + }, + bird_05_collision = { + "bird 05 collision a1", + "bird 05 collision a2", + "bird 05 collision a3", + "bird 05 collision a4", + "bird 05 collision a5" + }, + big_brother_collision = { + "bird 01 collision a1_low", + "bird 01 collision a2_low", + "bird 01 collision a3_low", + "bird 01 collision a4_low" + }, + bird_next = { + "bird next a1", + "bird next a2", + "bird next a3" + }, + bird_next_military = { + "bird next military a1", + "bird next military a2", + "bird next military a3" + }, + bird_shot = { + "bird shot a1", + "bird shot a2", + "bird shot a3" + }, + level_clear_military = { + "level clear military a1", + "level clear military a2" + }, + level_failed_piglets = { + "level failed piglets a1", + "level failed piglets a2" + }, + level_start_military = { + "level start military a1", + "level start military a2" + }, + light_collision = { + "light collision a1", + "light collision a2", + "light collision a3", + "light collision a4", + "light collision a5", + "light collision a6", + "light collision a7", + "light collision a8" + }, + light_damage = { + "light damage a1", + "light damage a2", + "light damage a3" + }, + light_destroyed = { + "light destroyed a1", + "light destroyed a2", + "light destroyed a3" + }, + piglette_collision = { + "piglette collision a1", + "piglette collision a2", + "piglette collision a3", + "piglette collision a4", + "piglette collision a5", + "piglette collision a6", + "piglette collision a7", + "piglette collision a8" + }, + piglette_damage = { + "piglette damage a1", + "piglette damage a2", + "piglette damage a3", + "piglette damage a4", + "piglette damage a5", + "piglette damage a6", + "piglette damage a7", + "piglette damage a8" + }, + rock_collision = { + "rock collision a1", + "rock collision a2", + "rock collision a3", + "rock collision a4", + "rock collision a5" + }, + rock_damage = { + "rock damage a1", + "rock damage a2", + "rock damage a3" + }, + rock_destroyed = { + "rock destroyed a1", + "rock destroyed a2", + "rock destroyed a3" + }, + wood_collision = { + "wood collision a1", + "wood collision a2", + "wood collision a3", + "wood collision a4", + "wood collision a5", + "wood collision a6" + }, + wood_damage = { + "wood damage a1", + "wood damage a2", + "wood damage a3" + }, + wood_destroyed = { + "wood destroyed a1", + "wood destroyed a2", + "wood destroyed a3" + }, + bird_misc = { + "bird_misc_a1", + "bird_misc_a2", + "bird_misc_a3", + "bird_misc_a4", + "bird_misc_a5", + "bird_misc_a6", + "bird_misc_a7", + "bird_misc_a8", + "bird_misc_a9", + "bird_misc_a10", + "bird_misc_a11", + "bird_misc_a12" + }, + piglette = { + "piglette_a1", + "piglette_a2", + "piglette_a3", + "piglette_a4", + "piglette_a5", + "piglette_a8", + "piglette_a9", + "piglette_a10", + "piglette_a11", + "piglette_a12" + }, + red_special = { + "red_special_1", + "red_special_2", + "red_special_3" + }, + big_brother_special = { + "big_brother_special_1" + }, + pig_accordion = { + "pig_singing_1", + "pig_singing_2", + "pig_singing_3", + "pig_singing_4", + "pig_singing_5", + "pig_singing_6", + "pig_singing_7", + "pig_singing_8" + }, + stalaktite_break = { + "stalaktite_break_1", + "stalaktite_break_2", + "stalaktite_break_3" + }, + jewel_break = { + "jewel_break_1", + "jewel_break_2", + "jewel_break_3" + }, + globe_hit = { + "Globe_Bird_Hit_1", + "Globe_Bird_Hit_2", + "Globe_Bird_Hit_3", + "Globe_Bird_Hit_4" + }, + globe_special = { + "Globe_Bird_Special_Activation_1", + "Globe_Bird_Special_Activation_2", + "Globe_Bird_Special_Activation_3" + }, + birthday_cake = { + "birthday_cake1", + "birthday_cake2" + }, + lightning = { + "Lightning01", + "Lightning02", + "Lightning03", + "Lightning04" + } +} +filename = "audio.lua" diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level1.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..8c3e820ac10cd67941ffb6625c205b18a4af39af --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level1.temp.lua @@ -0,0 +1,312 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1243, + ["py"] = -192.631, + ["screenHeight"] = 648, + ["top"] = -576.631, + ["sy"] = 0.84375, + ["sx"] = 0.84375, + ["right"] = 1430.24, + ["left"] = -42.9486, + ["px"] = 693.644, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1443.31, + ["x"] = 1518.11, + ["firstFrame"] = true, + ["width"] = 4920.65, + +} +joints = { + +} +world = { + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock6_1"] = { + ["y"] = -12.7, + ["x"] = 26.5937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.3, + ["x"] = 46.8437, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.3, + ["x"] = 45.8437, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.05, + ["x"] = 41.2437, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock10_1"] = { + ["y"] = -3.55, + ["x"] = 33.7937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock1_1"] = { + ["y"] = -13.5844, + ["x"] = 24.8695, + ["name"] = "LightBlock1_1", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.1, + ["x"] = 37.1437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 22.2577, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3, + ["x"] = 41.2937, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock6_2"] = { + ["y"] = -8.1, + ["x"] = 26.4437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["SmallPiglette_3"] = { + ["y"] = -14.2007, + ["x"] = 26.5611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.399997, + ["x"] = 47.4437, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.35, + ["x"] = 46.3437, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock4_1"] = { + ["y"] = -2.48441, + ["x"] = 30.4695, + ["name"] = "WoodBlock4_1", + ["angle"] = 0, + ["definition"] = "WoodBlock4", + + }, + ["ExtraDiamond_2"] = { + ["y"] = -1.18441, + ["x"] = 33.6695, + ["name"] = "ExtraDiamond_2", + ["angle"] = 0, + ["definition"] = "ExtraDiamond", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.85, + ["x"] = 44.1937, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.1, + ["x"] = 46.3937, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.75, + ["x"] = 41.5437, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -5.75, + ["x"] = 36.3937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock4_4"] = { + ["y"] = -2.53441, + ["x"] = 37.1195, + ["name"] = "WoodBlock4_4", + ["angle"] = 0, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock1_2"] = { + ["y"] = -13.5844, + ["x"] = 28.1195, + ["name"] = "LightBlock1_2", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["RedPig"] = 1, + ["StoneBlock6"] = 2, + ["WoodBlock3"] = 1, + ["MediumPiglette"] = 1, + ["WoodBlock4"] = 4, + ["SmallPiglette"] = 3, + ["RedBird"] = 5, + ["Porkarappa"] = 1, + ["HatPiglette"] = 5, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 2, + ["StoneBlock5"] = 4, + ["StoneBlock1"] = 3, + ["LightBlock1"] = 2, + ["LightBlock10"] = 1, + ["StoneBlock11"] = 1, + ["WoodBlock6"] = 2, + ["WoodBlock5"] = 2, + ["ExtraBlockTNT"] = 3, + ["LightBlock4"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1243, + ["py"] = -112.558, + ["screenHeight"] = 648, + ["top"] = -496.558, + ["sy"] = 0.84375, + ["sx"] = 0.84375, + ["right"] = 1430.24, + ["left"] = -573.917, + ["px"] = 162.676, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level10.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level10.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..cf1e46bf35677fabbd7727bcd85e8b927032e84d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level10.temp.lua @@ -0,0 +1,1004 @@ +themeSprites = { + +} +castleCameraData = { + ["left"] = 658.237, + ["bottom"] = 49.3347, + ["px"] = 1142.39, + ["right"] = 1626.54, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -596.203, + ["iphone"] = { + ["bottom"] = 49.3347, + ["screenWidth"] = 480, + ["py"] = -273.434, + ["screenHeight"] = 320, + ["top"] = -596.203, + ["sy"] = 0.185892, + ["sx"] = 0.495711, + ["px"] = 1142.39, + ["left"] = 658.237, + ["right"] = 1626.54, + + }, + ["sy"] = 0.185892, + ["sx"] = 0.495711, + ["windows"] = { + ["bottom"] = 207.611, + ["screenWidth"] = 1243, + ["py"] = -331.979, + ["screenHeight"] = 648, + ["top"] = -871.569, + ["sy"] = 0.600456, + ["sx"] = 0.600456, + ["right"] = 1737.73, + ["left"] = -332.368, + ["px"] = 702.679, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = 192.019, + ["screenWidth"] = 1024, + ["py"] = -264.907, + ["screenHeight"] = 768, + ["top"] = -721.833, + ["sy"] = 0.840398, + ["sx"] = 0.840398, + ["right"] = 1761.11, + ["left"] = 542.635, + ["px"] = 1151.87, + + }, + ["py"] = -273.434, + +} +levelParticles = { + ["y"] = -2085.38, + ["x"] = 1793.14, + ["firstFrame"] = true, + ["width"] = 7006.51, + +} +joints = { + +} +world = { + ["LightBlock2_9"] = { + ["y"] = -4.57781, + ["x"] = 46.2278, + ["name"] = "LightBlock2_9", + ["angle"] = -0.00011665, + ["definition"] = "LightBlock2", + + }, + ["StoneBlock4_1"] = { + ["y"] = -5.65355, + ["x"] = 36.995, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.00284558, + ["definition"] = "StoneBlock4", + + }, + ["BlackBird_3"] = { + ["y"] = -2.42703, + ["x"] = -39.2704, + ["name"] = "BlackBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock6_7"] = { + ["y"] = -8.50186, + ["x"] = 27.2089, + ["name"] = "StoneBlock6_7", + ["angle"] = -3.13514, + ["definition"] = "StoneBlock6", + + }, + ["ExtraDonut01_7"] = { + ["y"] = -3.47996, + ["x"] = 27.1981, + ["name"] = "ExtraDonut01_7", + ["angle"] = 2.50329e-005, + ["definition"] = "ExtraDonut01", + + }, + ["ExtraDonut01_6"] = { + ["y"] = -3.55833, + ["x"] = 66.21, + ["name"] = "ExtraDonut01_6", + ["angle"] = 0.394487, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -3.26496, + ["x"] = 3.51198, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -29.961, + ["x"] = 54.2209, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = -2.3562, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -1.9, + ["x"] = 43.3528, + ["name"] = "MediumPiglette_2", + ["angle"] = -0.00103836, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock5_5"] = { + ["y"] = -3.13458, + ["x"] = 36.0783, + ["name"] = "LightBlock5_5", + ["angle"] = -1.56522, + ["definition"] = "LightBlock5", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -16.5418, + ["x"] = 40.7183, + ["name"] = "ExtraDonut01_1", + ["angle"] = -0.294272, + ["definition"] = "ExtraDonut01", + + }, + ["MISC_FB_BARREL_2"] = { + ["y"] = -19.935, + ["x"] = 23.4777, + ["name"] = "MISC_FB_BARREL_2", + ["angle"] = -0.0611199, + ["definition"] = "MISC_FB_BARREL", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -24.1304, + ["x"] = 55.0538, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock3_1"] = { + ["y"] = -11.3599, + ["x"] = 22.1477, + ["name"] = "WoodBlock3_1", + ["angle"] = 0.155053, + ["definition"] = "WoodBlock3", + + }, + ["LargePiglette_2"] = { + ["y"] = -13.4301, + ["x"] = 27.0767, + ["name"] = "LargePiglette_2", + ["angle"] = 0.282816, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -8.48864, + ["x"] = 14.1428, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.0550806, + ["definition"] = "ExtraBlockTNT", + + }, + ["SmallPiglette_8"] = { + ["y"] = -11.9866, + ["x"] = 17.7765, + ["name"] = "SmallPiglette_8", + ["angle"] = 1.59252, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock1_2"] = { + ["y"] = -16.63, + ["x"] = 31.1589, + ["name"] = "LightBlock1_2", + ["angle"] = -0.0187083, + ["definition"] = "LightBlock1", + + }, + ["LightBlock3_1"] = { + ["y"] = -7.60228, + ["x"] = 18.8715, + ["name"] = "LightBlock3_1", + ["angle"] = 0.0506939, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock2_3"] = { + ["y"] = -2.62601, + ["x"] = -2.62991, + ["name"] = "WoodBlock2_3", + ["angle"] = -0.000319925, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock2_5"] = { + ["y"] = -18.7316, + ["x"] = 30.2315, + ["name"] = "WoodBlock2_5", + ["angle"] = -0.0600999, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock11_2"] = { + ["y"] = -17.1031, + ["x"] = 45.2672, + ["name"] = "StoneBlock11_2", + ["angle"] = -1.58124, + ["definition"] = "StoneBlock11", + + }, + ["ExtraDonut01_4"] = { + ["y"] = -3.90062, + ["x"] = 31.7547, + ["name"] = "ExtraDonut01_4", + ["angle"] = 0.724912, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -1.87902, + ["x"] = 53.0309, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -2.07505, + ["x"] = 6.78424, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock3_3"] = { + ["y"] = -1.08513, + ["x"] = -2.62979, + ["name"] = "WoodBlock3_3", + ["angle"] = -5.12879e-005, + ["definition"] = "WoodBlock3", + + }, + ["BlackBird_2"] = { + ["y"] = -2.42703, + ["x"] = -33.6183, + ["name"] = "BlackBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock5_9"] = { + ["y"] = -12.1345, + ["x"] = 46.2209, + ["name"] = "StoneBlock5_9", + ["angle"] = -1.57105, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock10_3"] = { + ["y"] = -17.477, + ["x"] = 27.1895, + ["name"] = "WoodBlock10_3", + ["angle"] = -0.060097, + ["definition"] = "WoodBlock10", + + }, + ["ExtraTire03_1"] = { + ["y"] = -1.25968, + ["x"] = 20.9048, + ["name"] = "ExtraTire03_1", + ["angle"] = 0.0409042, + ["definition"] = "ExtraTire03", + + }, + ["WoodBlock10_2"] = { + ["y"] = -6.11167, + ["x"] = 17.5319, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.0294854, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -5.16882, + ["x"] = 4.76139, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LargePiglette_1"] = { + ["y"] = -10.5178, + ["x"] = 42.8066, + ["name"] = "LargePiglette_1", + ["angle"] = -0.0545948, + ["definition"] = "LargePiglette", + + }, + ["WoodBlock3_2"] = { + ["y"] = -12.4555, + ["x"] = 14.0133, + ["name"] = "WoodBlock3_2", + ["angle"] = 0.13232, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = 3.58203, + ["x"] = -38.6159, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_5"] = { + ["y"] = -7.57375, + ["x"] = 21.6375, + ["name"] = "SmallPiglette_5", + ["angle"] = 0.0401618, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -4.69286, + ["x"] = 11.3059, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock2_1"] = { + ["y"] = -0.621332, + ["x"] = 31.9534, + ["name"] = "WoodBlock2_1", + ["angle"] = 0.00413292, + ["definition"] = "WoodBlock2", + + }, + ["SmallPiglette_7"] = { + ["y"] = -11.7, + ["x"] = 19.8578, + ["name"] = "SmallPiglette_7", + ["angle"] = 0.154043, + ["definition"] = "SmallPiglette", + + }, + ["ExtraTire03_2"] = { + ["y"] = -1.26727, + ["x"] = 13.7976, + ["name"] = "ExtraTire03_2", + ["angle"] = 0.041876, + ["definition"] = "ExtraTire03", + + }, + ["BlackBird_4"] = { + ["y"] = -1.22041, + ["x"] = -46.01, + ["name"] = "BlackBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock10_3"] = { + ["y"] = -15.6044, + ["x"] = 34.5524, + ["name"] = "StoneBlock10_3", + ["angle"] = -0.0122731, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock8_1"] = { + ["y"] = -5.18824, + ["x"] = 33.7571, + ["name"] = "LightBlock8_1", + ["angle"] = -0.0926678, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = 2.09464, + ["x"] = -25.4079, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0.785578, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -6.29924, + ["x"] = 6.78424, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_4"] = { + ["y"] = -7.19992, + ["x"] = 43.2279, + ["name"] = "WoodBlock5_4", + ["angle"] = -0.000259701, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_9"] = { + ["y"] = -1.62804, + ["x"] = 66.1497, + ["name"] = "WoodBlock10_9", + ["angle"] = -0.00182208, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock5_10"] = { + ["y"] = -13.5175, + ["x"] = 21.5137, + ["name"] = "WoodBlock5_10", + ["angle"] = 0.162668, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock1_3"] = { + ["y"] = -18.6322, + ["x"] = 28.5902, + ["name"] = "LightBlock1_3", + ["angle"] = -0.0599891, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock6_4"] = { + ["y"] = -5.64702, + ["x"] = 43.2759, + ["name"] = "StoneBlock6_4", + ["angle"] = -0.000229184, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock10_7"] = { + ["y"] = -0.592303, + ["x"] = 66.2124, + ["name"] = "WoodBlock10_7", + ["angle"] = -0.000542007, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock4_1"] = { + ["y"] = -8.72528, + ["x"] = 32.8803, + ["name"] = "LightBlock4_1", + ["angle"] = 2.33617, + ["definition"] = "LightBlock4", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 22.007, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["LightBlock2_10"] = { + ["y"] = -14.7919, + ["x"] = 23.2981, + ["name"] = "LightBlock2_10", + ["angle"] = 0.160848, + ["definition"] = "LightBlock2", + + }, + ["WoodBlock4_7"] = { + ["y"] = -9.16271, + ["x"] = 19.1067, + ["name"] = "WoodBlock4_7", + ["angle"] = 0.123045, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_8"] = { + ["y"] = -0.595553, + ["x"] = 76.4452, + ["name"] = "WoodBlock10_8", + ["angle"] = 2.83658e-010, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -14.6881, + ["x"] = 4.82089, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBoomerangBird_1"] = { + ["y"] = -3.22325, + ["x"] = 63.7368, + ["name"] = "ExtraBoomerangBird_1", + ["angle"] = -0.00275037, + ["definition"] = "ExtraBoomerangBird", + + }, + ["StoneBlock10_4"] = { + ["y"] = -15.0882, + ["x"] = 18.5542, + ["name"] = "StoneBlock10_4", + ["angle"] = -0.234052, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock5_3"] = { + ["y"] = -4.48205, + ["x"] = 20.7004, + ["name"] = "LightBlock5_3", + ["angle"] = 0.0161692, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = 3.52253, + ["x"] = -30.2865, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_6"] = { + ["y"] = -10.0376, + ["x"] = 29.2694, + ["name"] = "WoodBlock5_6", + ["angle"] = 0.00742731, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -7.29312, + ["x"] = 52.9714, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = 2.15414, + ["x"] = -43.3756, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0.785578, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -15.0276, + ["x"] = 55.3513, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_2"] = { + ["y"] = -10.3844, + ["x"] = 17.8037, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.132797, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock5_8"] = { + ["y"] = -3.12793, + ["x"] = 40.2816, + ["name"] = "StoneBlock5_8", + ["angle"] = 1.57098, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -4.69286, + ["x"] = -0.712207, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock6_6"] = { + ["y"] = -4.01359, + ["x"] = 29.7843, + ["name"] = "StoneBlock6_6", + ["angle"] = 1.57201, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock11_1"] = { + ["y"] = -3.09643, + ["x"] = 33.0499, + ["name"] = "StoneBlock11_1", + ["angle"] = -1.55172, + ["definition"] = "StoneBlock11", + + }, + ["ExtraDonut01_5"] = { + ["y"] = -7.45431, + ["x"] = 34.3672, + ["name"] = "ExtraDonut01_5", + ["angle"] = -1.21327, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock5_7"] = { + ["y"] = -10.1048, + ["x"] = 25.1588, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.00324267, + ["definition"] = "WoodBlock5", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -17.3171, + ["x"] = 43.4109, + ["name"] = "ExtraDonut01_2", + ["angle"] = -0.0268261, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -16.158, + ["x"] = 52.9714, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_5"] = { + ["y"] = -0.609528, + ["x"] = 39.1056, + ["name"] = "WoodBlock4_5", + ["angle"] = 8.57385e-005, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock5_10"] = { + ["y"] = -13.0293, + ["x"] = 30.4434, + ["name"] = "StoneBlock5_10", + ["angle"] = 1.57735, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock5_4"] = { + ["y"] = -4.55224, + ["x"] = 14.3176, + ["name"] = "LightBlock5_4", + ["angle"] = 0.00963801, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock4_6"] = { + ["y"] = -0.611284, + ["x"] = 34.9902, + ["name"] = "WoodBlock4_6", + ["angle"] = 0.000672992, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock5_2"] = { + ["y"] = -3.12864, + ["x"] = 38.1583, + ["name"] = "WoodBlock5_2", + ["angle"] = -1.57071, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -2.96987, + ["x"] = 17.4201, + ["name"] = "WoodBlock10_1", + ["angle"] = 0.00491017, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -20.6972, + ["x"] = 5.29685, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -14.623, + ["x"] = 42.3838, + ["name"] = "StoneBlock10_1", + ["angle"] = -0.0104583, + ["definition"] = "StoneBlock10", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -15.8986, + ["x"] = 13.6069, + ["name"] = "ExtraDonut01_3", + ["angle"] = -1.08266, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.6455, + ["x"] = -4.66755, + ["name"] = "WoodBlock2_2", + ["angle"] = 0.00590416, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -14.0161, + ["x"] = 60.2299, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BlackBird_1"] = { + ["y"] = -2.42235, + ["x"] = -27.5204, + ["name"] = "BlackBird_1", + ["startNumber"] = 1, + ["angle"] = 9.04807e-005, + ["definition"] = "BlackBird", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -15.2831, + ["x"] = 6.72475, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -17.0528, + ["x"] = 16.6243, + ["name"] = "MediumPiglette_3", + ["angle"] = -0.560904, + ["definition"] = "MediumPiglette", + + }, + ["SmallPiglette_3"] = { + ["y"] = -4.54177, + ["x"] = 17.3623, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.0362551, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock4_8"] = { + ["y"] = -0.59594, + ["x"] = -5.6436, + ["name"] = "WoodBlock4_8", + ["angle"] = 0.00211676, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock5_1"] = { + ["y"] = -2.05896, + ["x"] = 46.2288, + ["name"] = "WoodBlock5_1", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -25.1418, + ["x"] = 52.2575, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock8_2"] = { + ["y"] = -6.19383, + ["x"] = 31.2778, + ["name"] = "LightBlock8_2", + ["angle"] = -0.0539507, + ["definition"] = "LightBlock8", + + }, + ["LightBlock6_2"] = { + ["y"] = -10.1201, + ["x"] = 39.9196, + ["name"] = "LightBlock6_2", + ["angle"] = 1.56849, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -12.6477, + ["x"] = 48.1523, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock11_3"] = { + ["y"] = -8.11975, + ["x"] = 37.4081, + ["name"] = "StoneBlock11_3", + ["angle"] = -1.56594, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock5_3"] = { + ["y"] = -8.16657, + ["x"] = 46.2297, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.57057, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -1.70053, + ["x"] = 55.2323, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_1"] = { + ["y"] = -11.6703, + ["x"] = 23.8875, + ["name"] = "LightBlock1_1", + ["angle"] = 0.0187931, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock6_5"] = { + ["y"] = -4.04131, + ["x"] = 24.5439, + ["name"] = "StoneBlock6_5", + ["angle"] = 1.56842, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -7.76908, + ["x"] = 55.8867, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_5"] = { + ["y"] = -1.07304, + ["x"] = 27.1893, + ["name"] = "WoodBlock5_5", + ["angle"] = 3.34303e-005, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["RedPig"] = 2, + ["StoneBlock6"] = 7, + ["BigBork"] = 2, + ["ExtraDonut01"] = 7, + ["MediumPiglette"] = 3, + ["WoodBlock4"] = 8, + ["ImmovableWall01"] = 1, + ["LightBlock3"] = 1, + ["MISC_FB_BARREL"] = 2, + ["StoneBlock3"] = 1, + ["StaticBlockTheme01_02"] = 1, + ["StaticBlockTheme01_03"] = 2, + ["StoneBlock2"] = 6, + ["StaticBlockTheme02_04"] = 3, + ["HatPiglette"] = 2, + ["ExtraBoomerangBird"] = 1, + ["WoodBlock2"] = 6, + ["WoodBlock10"] = 9, + ["BalloonPig"] = 2, + ["StoneBlock1"] = 2, + ["SmallPig"] = 2, + ["BowlingBallPig"] = 2, + ["StaticBlockTheme01_04"] = 1, + ["StaticBlockTheme01_05"] = 5, + ["LargePiglette"] = 2, + ["RedBird"] = 2, + ["StoneBlock11"] = 3, + ["LightBlock2"] = 10, + ["LightBlock9"] = 2, + ["ExtraPoleRed"] = 1, + ["WoodBlock5"] = 10, + ["WoodBlock3"] = 3, + ["HandsomePiglette"] = 1, + ["SmallBlueBird"] = 2, + ["ExtraBlockTNT"] = 1, + ["BlackBird"] = 4, + ["StoneBlock10"] = 4, + ["Estrade04"] = 3, + ["SmallPiglette"] = 9, + ["LightBlock6"] = 2, + ["StoneBlock4"] = 1, + ["ExtraTire03"] = 2, + ["ImmovableWall03"] = 2, + ["StaticBlockTheme02_05"] = 19, + ["StaticBlockTheme02_03"] = 4, + ["GlobeBirdBig"] = 1, + ["LightBlock8"] = 2, + ["BalloonPigBig"] = 2, + ["LightBlock5"] = 5, + ["WoodBlock11"] = 1, + ["StoneBlock5"] = 10, + ["ImmovableWall02"] = 1, + ["LightBlock1"] = 3, + ["LightBlock10"] = 1, + ["BombPig"] = 2, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["JetpackPig"] = 2, + ["LightBlock4"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["left"] = -664.001, + ["bottom"] = 49.3347, + ["px"] = -179.848, + ["py"] = -201.623, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -524.392, + ["iphone"] = { + ["bottom"] = 49.3347, + ["screenWidth"] = 480, + ["py"] = -201.623, + ["screenHeight"] = 320, + ["top"] = -524.392, + ["sy"] = 0.495711, + ["sx"] = 0.495711, + ["px"] = -179.848, + ["left"] = -664.001, + ["right"] = 1626.54, + + }, + ["sy"] = 0.495711, + ["sx"] = 0.495711, + ["windows"] = { + ["bottom"] = 42.2834, + ["screenWidth"] = 1243, + ["py"] = -269.261, + ["screenHeight"] = 648, + ["top"] = -726.187, + ["sy"] = 0.709086, + ["sx"] = 0.709086, + ["right"] = 1420.59, + ["left"] = -1271.88, + ["px"] = -395.395, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["sy"] = 0.790398, + ["sx"] = 0.790398, + ["px"] = 34.0104, + ["py"] = -251.675, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["right"] = 1626.54, + +} +filename = "Level10.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level11.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level11.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..1326ecdfab66187c75a17a7638ba5af6d07259a6 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level11.temp.lua @@ -0,0 +1,1045 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 232.058, + ["screenWidth"] = 1243, + ["py"] = -492.897, + ["screenHeight"] = 648, + ["top"] = -1217.85, + ["sy"] = 0.446924, + ["sx"] = 0.446924, + ["px"] = 628.086, + ["left"] = -762.53, + ["right"] = 2018.7, + + }, + +} +levelParticles = { + ["y"] = -2132.11, + ["x"] = 2389.45, + ["firstFrame"] = true, + ["width"] = 7694.58, + +} +joints = { + ["ExtraRopeThick01_3StaticBlockTheme02_01_24"] = { + ["type"] = 2, + ["end2"] = "StaticBlockTheme02_01_24", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_3StaticBlockTheme02_01_24", + ["end1"] = "ExtraRopeThick01_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_3StoneBlock7_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock7_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_3StoneBlock7_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraRopeThick01_3", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StoneBlock7_1ExtraRopeThick01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock7_1ExtraRopeThick01_3", + ["end1"] = "StoneBlock7_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} +world = { + ["StaticBlockTheme02_01_20"] = { + ["y"] = -27.9308, + ["x"] = -7.70655, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BUSH_3_1"] = { + ["y"] = -21.5529, + ["x"] = -1.86496, + ["name"] = "BUSH_3_1", + ["angle"] = 5.24521e-006, + ["definition"] = "BUSH_3", + + }, + ["BoomerangBird_2"] = { + ["y"] = -33.2808, + ["x"] = -6.78702, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -23.2496, + ["x"] = -5.44954, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -23.3332, + ["x"] = -1.35349, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -23.7512, + ["x"] = -10.2979, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock6_2"] = { + ["y"] = -4.56075, + ["x"] = 59.0639, + ["name"] = "WoodBlock6_2", + ["angle"] = -0.0868027, + ["definition"] = "WoodBlock6", + + }, + ["BoomerangBird_5"] = { + ["y"] = -21.0762, + ["x"] = -18.9916, + ["name"] = "BoomerangBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -17.7325, + ["x"] = -19.1588, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 0.392702, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -3.6053, + ["x"] = -10.5487, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -2.60219, + ["x"] = -15.815, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -24.839, + ["x"] = 55.3818, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.000129305, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -23.8348, + ["x"] = -15.9822, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = -5.07036e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -6.35523, + ["x"] = 47.5271, + ["name"] = "ExtraDonut01_1", + ["angle"] = -0.0120123, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -25.1722, + ["x"] = -9.462, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_2"] = { + ["y"] = -6.48105, + ["x"] = 52.1801, + ["name"] = "SmallPiglette_2", + ["angle"] = -0.00327826, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -22.748, + ["x"] = -14.6447, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = 0.657935, + ["x"] = -17.4033, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -48.9112, + ["x"] = 46.8633, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LargePiglette_2"] = { + ["y"] = -11.3647, + ["x"] = 51.9567, + ["name"] = "LargePiglette_2", + ["angle"] = -0.0118398, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -30.7853, + ["x"] = 43.0589, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.014192, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -21.4106, + ["x"] = -14.6447, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -26.0082, + ["x"] = -8.45888, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -42.9761, + ["x"] = 40.8446, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["RIOCRATE_1"] = { + ["y"] = -3.0934, + ["x"] = 4.32966, + ["name"] = "RIOCRATE_1", + ["angle"] = 6.70155e-006, + ["definition"] = "RIOCRATE", + + }, + ["BoomerangBird_3"] = { + ["y"] = -31.0237, + ["x"] = -12.3041, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock6_1"] = { + ["y"] = -8.52957, + ["x"] = 52.0735, + ["name"] = "LightBlock6_1", + ["angle"] = 0.00133862, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock6_3"] = { + ["y"] = -4.56607, + ["x"] = 44.9169, + ["name"] = "WoodBlock6_3", + ["angle"] = 0.0562604, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock12_2"] = { + ["y"] = -7.10558, + ["x"] = 59.6052, + ["name"] = "LightBlock12_2", + ["angle"] = -0.0860636, + ["definition"] = "LightBlock12", + + }, + ["StoneBlock6_2"] = { + ["y"] = -4.0349, + ["x"] = 54.5336, + ["name"] = "StoneBlock6_2", + ["angle"] = 1.56541, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -18.8192, + ["x"] = -19.2424, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -26.8441, + ["x"] = -1.85505, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_3"] = { + ["y"] = -4.04319, + ["x"] = 49.4473, + ["name"] = "StoneBlock6_3", + ["angle"] = -1.56353, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -9.3732, + ["x"] = -13.0565, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -26.7605, + ["x"] = -6.28547, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -11.881, + ["x"] = -1.68787, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock6_1"] = { + ["y"] = -22.5031, + ["x"] = 35.0679, + ["name"] = "WoodBlock6_1", + ["angle"] = 0.00135763, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -25.2544, + ["x"] = 40.0087, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -5.61152, + ["x"] = -14.8955, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -18.1504, + ["x"] = -15.5643, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = -3.14159, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock1_1"] = { + ["y"] = -32.6274, + ["x"] = 50.8242, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.0155128, + ["definition"] = "WoodBlock1", + + }, + ["LargePiglette_1"] = { + ["y"] = -25.34, + ["x"] = 46.1029, + ["name"] = "LargePiglette_1", + ["angle"] = -0.052254, + ["definition"] = "LargePiglette", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -2.12149, + ["x"] = 9.52193, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 2.96425e-009, + ["definition"] = "RIOCRATESMALL", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -21.0748, + ["x"] = 48.7859, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -21.5777, + ["x"] = -7.95732, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_1"] = { + ["y"] = -30.1265, + ["x"] = 46.2982, + ["name"] = "SmallPiglette_1", + ["angle"] = 0.199591, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -14.7217, + ["x"] = 40.0087, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock5_1"] = { + ["y"] = -30.0397, + ["x"] = 49.3795, + ["name"] = "LightBlock5_1", + ["angle"] = 0.0152297, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -21.9121, + ["x"] = -10.8831, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock12_1"] = { + ["y"] = -7.09542, + ["x"] = 44.3028, + ["name"] = "LightBlock12_1", + ["angle"] = 0.0558885, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -28.8503, + ["x"] = -12.0534, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = -5.07036e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_2"] = { + ["y"] = -2.05615, + ["x"] = 44.0416, + ["name"] = "LightBlock5_2", + ["angle"] = 1.57399, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -31.0237, + ["x"] = -5.9511, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = -5.07036e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -17.2309, + ["x"] = -13.2237, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["MediumPiglette_4"] = { + ["y"] = -1.9, + ["x"] = 47.0537, + ["name"] = "MediumPiglette_4", + ["angle"] = -0.0116841, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock5_4"] = { + ["y"] = -1.09227, + ["x"] = 51.9831, + ["name"] = "WoodBlock5_4", + ["angle"] = 0.000607478, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -4.10685, + ["x"] = -3.6105, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BoomerangBird_4"] = { + ["y"] = -25.9246, + ["x"] = -17.4033, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -28.1816, + ["x"] = -10.1307, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock8_1"] = { + ["y"] = -23.9329, + ["x"] = 34.1761, + ["name"] = "WoodBlock8_1", + ["angle"] = 0.0313673, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -17.8997, + ["x"] = -9.87996, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -27.8472, + ["x"] = -11.8026, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 13.7269, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -18.4012, + ["x"] = -7.95732, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock11_1"] = { + ["y"] = -1.98213, + ["x"] = 37.1618, + ["name"] = "WoodBlock11_1", + ["angle"] = -1.5716, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -7.70134, + ["x"] = -13.8924, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraGoldenEgg_1"] = { + ["y"] = -15.7662, + ["x"] = -3.52691, + ["name"] = "ExtraGoldenEgg_1", + ["angle"] = -1.17461e-005, + ["definition"] = "ExtraGoldenEgg", + + }, + ["StoneBlock7_1"] = { + ["y"] = -37.5603, + ["x"] = 43.4581, + ["name"] = "StoneBlock7_1", + ["angle"] = 0.00498836, + ["definition"] = "StoneBlock7", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -25.5066, + ["x"] = -4.36283, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -20.3224, + ["x"] = 48.7859, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -20.4074, + ["x"] = -11.301, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_3"] = { + ["y"] = -2.05469, + ["x"] = 59.9563, + ["name"] = "LightBlock5_3", + ["angle"] = -1.5754, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_1"] = { + ["y"] = -22.9855, + ["x"] = 51.1566, + ["name"] = "WoodBlock5_1", + ["angle"] = -0.000417058, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -22.5046, + ["x"] = 45.0063, + ["name"] = "StoneBlock6_1", + ["angle"] = -0.000445191, + ["definition"] = "StoneBlock6", + + }, + ["BoomerangBird_1"] = { + ["y"] = -36.5824, + ["x"] = -1.35349, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 1, + ["angle"] = 3.26362e-007, + ["definition"] = "BoomerangBird", + + }, + ["MediumPiglette_1"] = { + ["y"] = -33.9496, + ["x"] = 48.5719, + ["name"] = "MediumPiglette_1", + ["angle"] = 0.0929851, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -29.6862, + ["x"] = 0.318362, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -30.0206, + ["x"] = -5.53313, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -12.2154, + ["x"] = -12.137, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -3.76995, + ["x"] = 52.0851, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 0.00107614, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_2"] = { + ["y"] = -22.4919, + ["x"] = 55.2864, + ["name"] = "LightBlock4_2", + ["angle"] = 0.000225443, + ["definition"] = "LightBlock4", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -6.27559, + ["x"] = 56.4957, + ["name"] = "ExtraDonut01_2", + ["angle"] = -0.0180753, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -28.9339, + ["x"] = -2.18942, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = 0.657935, + ["x"] = -18.1556, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -30.8566, + ["x"] = -3.6105, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_3"] = { + ["y"] = -25.0186, + ["x"] = 42.52, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.57382, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock2_1"] = { + ["y"] = -27.5312, + ["x"] = 42.6033, + ["name"] = "WoodBlock2_1", + ["angle"] = -3.13373, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -18.7356, + ["x"] = -14.8119, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = -3.14159, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_2"] = { + ["y"] = -25.9817, + ["x"] = 50.0633, + ["name"] = "WoodBlock5_2", + ["angle"] = 1.57494, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -19.7387, + ["x"] = -12.137, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -9.20603, + ["x"] = -3.69409, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -28.5419, + ["x"] = 46.3627, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.0143391, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock4_1"] = { + ["y"] = -23.5565, + ["x"] = 37.1022, + ["name"] = "WoodBlock4_1", + ["angle"] = 0.00487356, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock3_1"] = { + ["y"] = -25.0981, + ["x"] = 38.0509, + ["name"] = "StoneBlock3_1", + ["angle"] = 0.0072381, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock3_1"] = { + ["y"] = -25.021, + ["x"] = 52.2169, + ["name"] = "LightBlock3_1", + ["angle"] = -0.000596176, + ["definition"] = "LightBlock3", + + }, + ["ExtraRopeThick01_3"] = { + ["y"] = -42.4855, + ["x"] = 43.2037, + ["name"] = "ExtraRopeThick01_3", + ["angle"] = 5.24512e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -25.423, + ["x"] = -12.8893, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["MediumPiglette_3"] = { + ["y"] = -1.9, + ["x"] = 56.9076, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.00603029, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock4_1"] = { + ["y"] = -31.5809, + ["x"] = 49.3525, + ["name"] = "LightBlock4_1", + ["angle"] = 0.0149296, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -32.612, + ["x"] = -1.2699, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -25.0051, + ["x"] = 0.318362, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -0.595959, + ["x"] = -16.3166, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -25.9246, + ["x"] = -1.85505, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -49.6635, + ["x"] = 55.3897, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -28.098, + ["x"] = -4.6972, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -20.9926, + ["x"] = -10.6323, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -4.60841, + ["x"] = -15.1463, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -23.7512, + ["x"] = -18.3228, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = -5.07036e-006, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -5.36075, + ["x"] = -21.3322, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -49.6635, + ["x"] = 51.1265, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock6_2"] = { + ["y"] = -3.08831, + ["x"] = 35.8693, + ["name"] = "LightBlock6_2", + ["angle"] = -0.73859, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -46.4762, + ["x"] = 43.1744, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 1, + ["StoneBlock6"] = 3, + ["ExtraDonut01"] = 2, + ["MediumPiglette"] = 4, + ["WoodBlock4"] = 1, + ["StaticBlockTheme02_04"] = 16, + ["WoodBlock1"] = 1, + ["StoneBlock3"] = 1, + ["HatPiglette"] = 1, + ["WoodBlock2"] = 1, + ["HardTNT"] = 2, + ["WoodBlock6"] = 3, + ["LargePiglette"] = 2, + ["ExtraGoldenEgg"] = 1, + ["StaticBlockTheme02_01"] = 26, + ["PIZZABOX"] = 1, + ["PIZZABOX_STACK"] = 1, + ["LightBlock12"] = 2, + ["WoodBlock5"] = 4, + ["ExtraBlockTNT"] = 2, + ["ExtraRopeThick01"] = 3, + ["ExtraHelmetBig2"] = 1, + ["PRINGLES"] = 1, + ["StoneBlock10"] = 1, + ["WoodBlock11"] = 1, + ["BoomerangBird"] = 5, + ["LightBlock6"] = 3, + ["BUSH_3"] = 1, + ["StoneBlock7"] = 1, + ["GOLD_DONUT"] = 1, + ["FRIES"] = 1, + ["StaticBlockTheme02_03"] = 5, + ["StaticBlockTheme02_05"] = 12, + ["StaticBlockTheme02_02"] = 4, + ["RIOCRATESMALL"] = 1, + ["LightBlock5"] = 3, + ["LightBlock3"] = 1, + ["SmallPiglette"] = 2, + ["KETCHUP"] = 1, + ["CHIPS"] = 1, + ["MUSTARD"] = 1, + ["BowlingBallPig"] = 2, + ["LUNCHBOX"] = 1, + ["Log"] = 4, + ["RIOCRATE"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 232.058, + ["screenWidth"] = 1243, + ["py"] = -492.897, + ["screenHeight"] = 648, + ["top"] = -1217.85, + ["sy"] = 0.446924, + ["sx"] = 0.446924, + ["px"] = 628.086, + ["left"] = -762.53, + ["right"] = 2018.7, + + }, + +} +filename = "Level11.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level12.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level12.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..f684e210f3d2f77c9fef12f9030114ec3c67da19 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level12.temp.lua @@ -0,0 +1,1498 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 318.888, + ["screenWidth"] = 1243, + ["py"] = -446.287, + ["screenHeight"] = 648, + ["top"] = -1211.46, + ["sy"] = 0.423433, + ["sx"] = 0.423433, + ["px"] = 1064.81, + ["left"] = -402.956, + ["right"] = 2532.58, + + }, + +} +levelParticles = { + ["y"] = -3048, + ["x"] = 2437.35, + ["firstFrame"] = true, + ["width"] = 10689.7, + +} +joints = { + ["StoneBlock3_1StoneBlock9_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_1StoneBlock9_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_1", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StoneBlock3_2StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_2StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -6.8821, + ["x"] = -16.8249, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_4"] = { + ["y"] = -33.6137, + ["x"] = 56.3722, + ["name"] = "LightBlock5_4", + ["angle"] = 1.57561, + ["definition"] = "LightBlock5", + + }, + ["BoomerangBird_2"] = { + ["y"] = -31.6387, + ["x"] = -32.5565, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -5.28843, + ["x"] = -9.03278, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -33.6881, + ["x"] = -40.3304, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -28.4718, + ["x"] = -37.0185, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = -1.1781, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_9"] = { + ["y"] = -3.48724, + ["x"] = 30.7829, + ["name"] = "StaticBlockTheme01_02_9", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["SmallPiglette_4"] = { + ["y"] = -27.7957, + ["x"] = 60.8763, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.196132, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -6.30251, + ["x"] = -61.5358, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -4.39802, + ["x"] = 45.4381, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -4.06697, + ["x"] = -34.7092, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = -3.14153, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = 2.66017, + ["x"] = -8.2048, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_2"] = { + ["y"] = -26.417, + ["x"] = 69.0854, + ["name"] = "SmallPiglette_2", + ["angle"] = 0.465882, + ["definition"] = "SmallPiglette", + + }, + ["PartyHat_2_1"] = { + ["y"] = -27.4211, + ["x"] = 38.1117, + ["name"] = "PartyHat_2_1", + ["angle"] = 0.466493, + ["definition"] = "PartyHat_2", + + }, + ["LightBlock11_2"] = { + ["y"] = -39.5333, + ["x"] = 64.2317, + ["name"] = "LightBlock11_2", + ["angle"] = 0.0162642, + ["definition"] = "LightBlock11", + + }, + ["WoodBlock6_4"] = { + ["y"] = -1.22089, + ["x"] = -87.9607, + ["name"] = "WoodBlock6_4", + ["angle"] = -0.157915, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -24.9943, + ["x"] = -26.172, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = -0.785415, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -14.0026, + ["x"] = 45.5209, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -18.3705, + ["x"] = -23.6052, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_31"] = { + ["y"] = -12.264, + ["x"] = -67.8284, + ["name"] = "StaticBlockTheme02_04_31", + ["angle"] = -0.392645, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_5"] = { + ["y"] = -13.5113, + ["x"] = 29.6436, + ["name"] = "StoneBlock5_5", + ["angle"] = 0.172159, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_3"] = { + ["y"] = -9.71996, + ["x"] = 27.6935, + ["name"] = "StoneBlock5_3", + ["angle"] = 0.172962, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -13.5886, + ["x"] = 62.0805, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -27.7267, + ["x"] = -32.8786, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -22.0136, + ["x"] = -24.2676, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = -1.96352, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_1"] = { + ["y"] = -28.5842, + ["x"] = 56.612, + ["name"] = "StoneBlock5_1", + ["angle"] = 0.0013408, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock6_1"] = { + ["y"] = -4.01253, + ["x"] = 78.4988, + ["name"] = "WoodBlock6_1", + ["angle"] = 1.57083, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -30.4795, + ["x"] = -41.4159, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = -2.74887, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LargePiglette_1"] = { + ["y"] = -11.2987, + ["x"] = 81.7083, + ["name"] = "LargePiglette_1", + ["angle"] = 0.000259616, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock1_2"] = { + ["y"] = -17.4403, + ["x"] = 18.5919, + ["name"] = "StoneBlock1_2", + ["angle"] = 0.0160625, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock10_6"] = { + ["y"] = -21.6193, + ["x"] = 32.5686, + ["name"] = "StoneBlock10_6", + ["angle"] = 0.00323937, + ["definition"] = "StoneBlock10", + + }, + ["GlobeBird_3"] = { + ["y"] = -16.0727, + ["x"] = -63.8541, + ["name"] = "GlobeBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["StoneBlock3_1"] = { + ["y"] = -5.73207, + ["x"] = 16.7069, + ["name"] = "StoneBlock3_1", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -20.6266, + ["x"] = -48.3709, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -21.2061, + ["x"] = -31.8941, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_23"] = { + ["y"] = -25.0976, + ["x"] = -53.8356, + ["name"] = "StaticBlockTheme02_04_23", + ["angle"] = 0.785441, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = 0.507428, + ["x"] = -10.1092, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 11.3317, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock9_5"] = { + ["y"] = -28.3328, + ["x"] = 45.8441, + ["name"] = "StoneBlock9_5", + ["angle"] = 1.17829, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock10_4"] = { + ["y"] = -37.114, + ["x"] = 62.3963, + ["name"] = "StoneBlock10_4", + ["angle"] = 0.0162111, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -4.14976, + ["x"] = -28.0854, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_1"] = { + ["y"] = -26.1167, + ["x"] = 63.5152, + ["name"] = "WoodBlock4_1", + ["angle"] = 0.392707, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock9_6"] = { + ["y"] = -25.8088, + ["x"] = 24.4963, + ["name"] = "StoneBlock9_6", + ["angle"] = 1.58436, + ["definition"] = "StoneBlock9", + + }, + ["BoomerangBird_1"] = { + ["y"] = -31.5559, + ["x"] = -48.8677, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -29.8079, + ["x"] = 70.7523, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.0176842, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = 0.189038, + ["x"] = 108.591, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = 0.78549, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -14.9962, + ["x"] = 67.4624, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = -2.35621, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -17.2334, + ["x"] = 34.7043, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 0.393002, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_27"] = { + ["y"] = -15.4103, + ["x"] = -57.3131, + ["name"] = "StaticBlockTheme02_04_27", + ["angle"] = -2.35615, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -21.2888, + ["x"] = 53.9663, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["GlobeBird_2"] = { + ["y"] = -17.8114, + ["x"] = -17.7357, + ["name"] = "GlobeBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["StaticBlockTheme02_04_28"] = { + ["y"] = -13.8371, + ["x"] = -58.6378, + ["name"] = "StaticBlockTheme02_04_28", + ["angle"] = -1.96345, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_3"] = { + ["y"] = -26.3088, + ["x"] = 73.5811, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.548679, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_26"] = { + ["y"] = -16.2383, + ["x"] = -57.0647, + ["name"] = "StaticBlockTheme02_04_26", + ["angle"] = -2.74885, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock11_3"] = { + ["y"] = -29.5027, + ["x"] = 43.3481, + ["name"] = "StoneBlock11_3", + ["angle"] = 1.96416, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = -27.7472, + ["x"] = -47.2117, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = -1.57076, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -15.2447, + ["x"] = -52.3452, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -28.7407, + ["x"] = -43.4858, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = -1.96346, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -3.98417, + ["x"] = -50.5236, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -16.0727, + ["x"] = -39.7599, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_3"] = { + ["y"] = -19.7984, + ["x"] = 70.3603, + ["name"] = "StaticBlockTheme01_02_3", + ["angle"] = -2.3562, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock1_1"] = { + ["y"] = -30.8826, + ["x"] = 72.9454, + ["name"] = "StoneBlock1_1", + ["angle"] = 0.00583591, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock10_4"] = { + ["y"] = -5.21405, + ["x"] = 24.3964, + ["name"] = "WoodBlock10_4", + ["angle"] = -0.344714, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_2"] = { + ["y"] = -4.00899, + ["x"] = 85.0868, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.57003, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -26.6707, + ["x"] = 53.9663, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_25"] = { + ["y"] = -18.4738, + ["x"] = -56.6507, + ["name"] = "StaticBlockTheme02_04_25", + ["angle"] = -3.14155, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_5"] = { + ["y"] = -3.40444, + ["x"] = 77.0669, + ["name"] = "StaticBlockTheme01_02_5", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -4.72921, + ["x"] = 61.9977, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -34.4247, + ["x"] = 63.2561, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.469806, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock5_1"] = { + ["y"] = -22.1146, + ["x"] = 75.096, + ["name"] = "WoodBlock5_1", + ["angle"] = 1.57753, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -16.9629, + ["x"] = -23.1912, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -1.00344, + ["x"] = -19.4744, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_4"] = { + ["y"] = -12.2638, + ["x"] = 75.3282, + ["name"] = "StaticBlockTheme01_02_4", + ["angle"] = -1.9635, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -8.70365, + ["x"] = -55.3259, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_34"] = { + ["y"] = -2.99059, + ["x"] = -74.535, + ["name"] = "StaticBlockTheme02_04_34", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -0.982935, + ["x"] = -10.7715, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = 0.652655, + ["x"] = 29.9549, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 0.785381, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BoomerangBird_3"] = { + ["y"] = -1.66583, + ["x"] = -1.25888, + ["name"] = "BoomerangBird_3", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock9_1"] = { + ["y"] = -2.05957, + ["x"] = 15.6942, + ["name"] = "StoneBlock9_1", + ["angle"] = 0.0132791, + ["definition"] = "StoneBlock9", + + }, + ["WoodBlock10_6"] = { + ["y"] = -2.18589, + ["x"] = 22.3064, + ["name"] = "WoodBlock10_6", + ["angle"] = -0.347062, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_3"] = { + ["y"] = -2.16143, + ["x"] = -80.8836, + ["name"] = "WoodBlock6_3", + ["angle"] = -0.426662, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock5_2"] = { + ["y"] = -30.6113, + ["x"] = 56.5175, + ["name"] = "StoneBlock5_2", + ["angle"] = 0.00452353, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = 1.97742, + ["x"] = 28.0506, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 1.17808, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -6.6337, + ["x"] = -39.3459, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_7"] = { + ["y"] = -8.38154, + ["x"] = 22.0734, + ["name"] = "StoneBlock10_7", + ["angle"] = 0.0153101, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -14.479, + ["x"] = -18.2233, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock4_2"] = { + ["y"] = -27.2849, + ["x"] = 70.7212, + ["name"] = "WoodBlock4_2", + ["angle"] = 1.57924, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock11_1"] = { + ["y"] = -2.03509, + ["x"] = 87.6019, + ["name"] = "LightBlock11_1", + ["angle"] = 0.000107282, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -2.07968, + ["x"] = 32.6873, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 0.392683, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_3"] = { + ["y"] = -14.9165, + ["x"] = 18.8834, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.58686, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_22"] = { + ["y"] = -27.0848, + ["x"] = -50.8548, + ["name"] = "StaticBlockTheme02_04_22", + ["angle"] = -0.392655, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -8.76594, + ["x"] = -9.69517, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = -1.96352, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock10_5"] = { + ["y"] = -20.5602, + ["x"] = 31.5077, + ["name"] = "StoneBlock10_5", + ["angle"] = 0.001515, + ["definition"] = "StoneBlock10", + + }, + ["StaticBalloon05_1"] = { + ["y"] = -33.4734, + ["x"] = 33.0105, + ["name"] = "StaticBalloon05_1", + ["angle"] = 0.000389576, + ["definition"] = "StaticBalloon05", + + }, + ["LightBlock5_1"] = { + ["y"] = -1.07609, + ["x"] = 81.7023, + ["name"] = "LightBlock5_1", + ["angle"] = -0.000922922, + ["definition"] = "LightBlock5", + + }, + ["SmallPiglette_5"] = { + ["y"] = -31.4077, + ["x"] = 71.3151, + ["name"] = "SmallPiglette_5", + ["angle"] = 0.105881, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock10_3"] = { + ["y"] = -32.0979, + ["x"] = 37.3503, + ["name"] = "LightBlock10_3", + ["angle"] = 0.946473, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -31.5354, + ["x"] = -40.082, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = -0.392675, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -26.0084, + ["x"] = -40.4223, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock4_1"] = { + ["y"] = -27.1664, + ["x"] = 75.2322, + ["name"] = "LightBlock4_1", + ["angle"] = 1.59052, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = 3.1366, + ["x"] = 24.5731, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 1.17808, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -29.8171, + ["x"] = -42.1611, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = -2.35617, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_7"] = { + ["y"] = -19.8812, + ["x"] = 37.5723, + ["name"] = "StaticBlockTheme01_02_7", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_35"] = { + ["y"] = 0.155725, + ["x"] = -75.8598, + ["name"] = "StaticBlockTheme02_04_35", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_1"] = { + ["y"] = -10.039, + ["x"] = 85.4071, + ["name"] = "SmallPiglette_1", + ["angle"] = 0.000100037, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock4_6"] = { + ["y"] = -34.6532, + ["x"] = 58.9098, + ["name"] = "WoodBlock4_6", + ["angle"] = 1.58668, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -11.1048, + ["x"] = -33.1361, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_7"] = { + ["y"] = -31.6332, + ["x"] = 45.9464, + ["name"] = "SmallPiglette_7", + ["angle"] = -0.00339529, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_33"] = { + ["y"] = -7.21329, + ["x"] = -72.7963, + ["name"] = "StaticBlockTheme02_04_33", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -15.6587, + ["x"] = -26.3466, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock11_3"] = { + ["y"] = -39.5986, + ["x"] = 60.2207, + ["name"] = "LightBlock11_3", + ["angle"] = -1.55473, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -1.25184, + ["x"] = -58.8034, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock11_4"] = { + ["y"] = -20.0359, + ["x"] = 74.1007, + ["name"] = "LightBlock11_4", + ["angle"] = -0.78637, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -19.7156, + ["x"] = 61.5009, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = -2.74891, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -4.64641, + ["x"] = 35.9164, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_32"] = { + ["y"] = -10.2768, + ["x"] = -70.8091, + ["name"] = "StaticBlockTheme02_04_32", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -4.14976, + ["x"] = -42.8234, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = -3.14153, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -8.47267, + ["x"] = 82.0199, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.00169901, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -4.23242, + ["x"] = 71.6851, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock10_2"] = { + ["y"] = -31.9328, + ["x"] = 28.5932, + ["name"] = "LightBlock10_2", + ["angle"] = -0.953784, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock3_2"] = { + ["y"] = -1.92034, + ["x"] = 15.6904, + ["name"] = "StoneBlock3_2", + ["angle"] = 0.000319004, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock10_5"] = { + ["y"] = -3.90723, + ["x"] = 23.9163, + ["name"] = "WoodBlock10_5", + ["angle"] = -0.345028, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -19.1264, + ["x"] = 34.8039, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 0.000301361, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -6.13691, + ["x"] = -65.5101, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_2"] = { + ["y"] = -6.52865, + ["x"] = 24.8981, + ["name"] = "StoneBlock6_2", + ["angle"] = -0.344407, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -4.31536, + ["x"] = -50.0269, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_30"] = { + ["y"] = -12.9263, + ["x"] = -64.1853, + ["name"] = "StaticBlockTheme02_04_30", + ["angle"] = -1.57075, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -24.8491, + ["x"] = 62.8257, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = -2.7489, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["GlobeBird_1"] = { + ["y"] = -37.0205, + ["x"] = -40.3395, + ["name"] = "GlobeBird_1", + ["startNumber"] = 1, + ["angle"] = 1.38056e-005, + ["definition"] = "GlobeBird", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -11.5188, + ["x"] = -45.887, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -27.8878, + ["x"] = 64.2987, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.113981, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -11.5186, + ["x"] = 38.3175, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = -1.17811, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -14.6446, + ["x"] = -20.1277, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.96347, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -15.7413, + ["x"] = 41.0498, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = -2.35621, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_1"] = { + ["y"] = -21.9294, + ["x"] = 72.1557, + ["name"] = "MediumPiglette_1", + ["angle"] = 0.00269629, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock4_5"] = { + ["y"] = -34.5425, + ["x"] = 65.6619, + ["name"] = "WoodBlock4_5", + ["angle"] = 1.58701, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -3.73633, + ["x"] = 81.4706, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = -0.00279522, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme01_02_8"] = { + ["y"] = -12.3466, + ["x"] = 32.5217, + ["name"] = "StaticBlockTheme01_02_8", + ["angle"] = -1.1781, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock4_3"] = { + ["y"] = -27.3703, + ["x"] = 66.2389, + ["name"] = "WoodBlock4_3", + ["angle"] = 1.57408, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -13.7338, + ["x"] = -14.663, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 0.39267, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -15.5554, + ["x"] = -21.9493, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -27.0643, + ["x"] = -29.2355, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 0.392688, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -16.9345, + ["x"] = 37.5936, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 0.393002, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -30.1278, + ["x"] = -39.3368, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 2.35621, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock3_3"] = { + ["y"] = -28.7946, + ["x"] = 24.0004, + ["name"] = "StoneBlock3_3", + ["angle"] = 0.0135429, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock9_3"] = { + ["y"] = -19.8545, + ["x"] = 24.3583, + ["name"] = "StoneBlock9_3", + ["angle"] = 0.0134004, + ["definition"] = "StoneBlock9", + + }, + ["LargePiglette_4"] = { + ["y"] = -11.1941, + ["x"] = 23.5516, + ["name"] = "LargePiglette_4", + ["angle"] = 0.334915, + ["definition"] = "LargePiglette", + + }, + ["WoodBlock5_2"] = { + ["y"] = -10.9504, + ["x"] = 18.7764, + ["name"] = "WoodBlock5_2", + ["angle"] = 1.58646, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -11.6639, + ["x"] = -11.6823, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = -0.785425, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_1"] = { + ["y"] = -17.3609, + ["x"] = 24.2455, + ["name"] = "LightBlock10_1", + ["angle"] = 0.0133287, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -12.448, + ["x"] = 54.9614, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = 0.000195503, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock9_4"] = { + ["y"] = -26.6619, + ["x"] = 41.8101, + ["name"] = "StoneBlock9_4", + ["angle"] = 1.17782, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_04_29"] = { + ["y"] = -12.9263, + ["x"] = -62.0326, + ["name"] = "StaticBlockTheme02_04_29", + ["angle"] = -1.57075, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_24"] = { + ["y"] = -22.1169, + ["x"] = -55.8227, + ["name"] = "StaticBlockTheme02_04_24", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_4"] = { + ["y"] = -11.5858, + ["x"] = 28.8395, + ["name"] = "StoneBlock5_4", + ["angle"] = 0.172619, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -4.39802, + ["x"] = 53.9663, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -9.86282, + ["x"] = -22.3724, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock9_2"] = { + ["y"] = -5.97052, + ["x"] = 16.6881, + ["name"] = "StoneBlock9_2", + ["angle"] = 0.0166831, + ["definition"] = "StoneBlock9", + + }, + ["LargePiglette_3"] = { + ["y"] = -24.4318, + ["x"] = 36.8664, + ["name"] = "LargePiglette_3", + ["angle"] = 0.408032, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock5_6"] = { + ["y"] = -15.5637, + ["x"] = 30.4952, + ["name"] = "StoneBlock5_6", + ["angle"] = 0.100678, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -19.964, + ["x"] = 46.5973, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_4"] = { + ["y"] = -22.8321, + ["x"] = 24.3861, + ["name"] = "WoodBlock5_4", + ["angle"] = 0.0134932, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -1.08624, + ["x"] = -68.822, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 2.35626, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BirthdayCake_1_1"] = { + ["y"] = -23.6824, + ["x"] = 31.4546, + ["name"] = "BirthdayCake_1_1", + ["angle"] = 0.00377694, + ["definition"] = "BirthdayCake_1", + + }, + ["StoneBlock10_3"] = { + ["y"] = -32.0726, + ["x"] = 62.8, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.0167143, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_1"] = { + ["y"] = -24.7445, + ["x"] = 71.166, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.0245354, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_02_6"] = { + ["y"] = -24.9319, + ["x"] = 45.1069, + ["name"] = "StaticBlockTheme01_02_6", + ["angle"] = -0.392695, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock1_1"] = { + ["y"] = -18.5065, + ["x"] = 19.5577, + ["name"] = "LightBlock1_1", + ["angle"] = 0.0412073, + ["definition"] = "LightBlock1", + + }, + ["LightBlock4_2"] = { + ["y"] = -30.9267, + ["x"] = 67.6418, + ["name"] = "LightBlock4_2", + ["angle"] = 0.0155436, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -9.53149, + ["x"] = 70.8571, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -9.76095, + ["x"] = 45.8631, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = 0.393002, + ["definition"] = "StaticBlockTheme02_05", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["KETCHUP"] = 1, + ["BirthdayCake_1"] = 1, + ["ExtraDonut01"] = 1, + ["MediumPiglette"] = 2, + ["WoodBlock4"] = 6, + ["StaticBlockTheme02_04"] = 35, + ["ExtraBlockTNT"] = 1, + ["LightBlock11"] = 4, + ["StoneBlock3"] = 3, + ["StaticBlockTheme01_02"] = 9, + ["GlobeBird"] = 3, + ["WoodBlock10"] = 6, + ["StoneBlock1"] = 2, + ["WoodBlock6"] = 4, + ["LargePiglette"] = 5, + ["WoodBlock5"] = 4, + ["HandsomePiglette"] = 2, + ["PartyHat_4"] = 1, + ["StoneBlock10"] = 7, + ["SmallPiglette"] = 7, + ["LightBlock4"] = 2, + ["StaticBalloon05"] = 1, + ["StaticBlockTheme02_02"] = 3, + ["StaticBlockTheme02_05"] = 47, + ["WoodBlock7"] = 1, + ["StaticBalloon03"] = 1, + ["StoneBlock9"] = 6, + ["StoneBlock6"] = 2, + ["StoneBlock5"] = 6, + ["LightBlock10"] = 3, + ["LightBlock1"] = 1, + ["PartyHat_2"] = 1, + ["BoomerangBird"] = 3, + ["LightBlock5"] = 4, + ["StoneBlock11"] = 3, + ["StaticBlockTheme01_01"] = 6, + ["WoodBlock12"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 318.888, + ["screenWidth"] = 1243, + ["py"] = -370.524, + ["screenHeight"] = 648, + ["top"] = -1135.7, + ["sy"] = 0.423433, + ["sx"] = 0.423433, + ["px"] = -705.873, + ["left"] = -2173.64, + ["right"] = 2532.58, + + }, + +} +filename = "Level12.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level13.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level13.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..412039e63176fce3ef8fb095c1525b6ca97eeaec --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level13.temp.lua @@ -0,0 +1,1448 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1580.51, + ["bottom"] = 63.0914, + ["screenWidth"] = 480, + ["right"] = 2005.31, + ["screenHeight"] = 320, + ["left"] = 1155.71, + ["top"] = -503.307, + ["iphone"] = { + ["bottom"] = 63.0914, + ["screenWidth"] = 480, + ["py"] = -220.108, + ["screenHeight"] = 320, + ["top"] = -503.307, + ["sy"] = 0.564973, + ["sx"] = 0.564973, + ["right"] = 2005.31, + ["left"] = 1155.71, + ["px"] = 1580.51, + + }, + ["version"] = "0.02", + ["sx"] = 0.564973, + ["windows"] = { + ["bottom"] = 104.957, + ["screenWidth"] = 1366, + ["py"] = -666.739, + ["screenHeight"] = 768, + ["top"] = -1438.44, + ["sy"] = 0.497605, + ["sx"] = 0.497605, + ["px"] = 1002.46, + ["left"] = -370.115, + ["right"] = 2375.03, + + }, + ["sy"] = 0.564973, + ["ipad"] = { + ["bottom"] = 156.781, + ["screenWidth"] = 1024, + ["py"] = -244.629, + ["screenHeight"] = 768, + ["top"] = -646.039, + ["sy"] = 0.956627, + ["sx"] = 0.956627, + ["right"] = 2108.88, + ["left"] = 1038.46, + ["px"] = 1573.67, + + }, + ["py"] = -220.108, + +} +levelParticles = { + ["y"] = -2794.11, + ["x"] = 2604.2, + ["firstFrame"] = true, + ["width"] = 9247.61, + +} +joints = { + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -9.76024, + ["x"] = 81.5108, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_4"] = { + ["y"] = -10.6245, + ["x"] = 45.525, + ["name"] = "LightBlock5_4", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -54.6701, + ["x"] = 101.869, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_9"] = { + ["y"] = -26.0073, + ["x"] = 93.5611, + ["name"] = "StaticBlockTheme02_03_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -14.6258, + ["x"] = 61.3471, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = 0.0700531, + ["x"] = -25.6742, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_53"] = { + ["y"] = -18.3687, + ["x"] = 91.7335, + ["name"] = "StaticBlockTheme02_05_53", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -53.2159, + ["x"] = 90.9249, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -14.8067, + ["x"] = 89.1389, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -47.067, + ["x"] = 95.06, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = -21.776, + ["x"] = 114.573, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_3"] = { + ["y"] = -29.4683, + ["x"] = 74.6327, + ["name"] = "WoodBlock11_3", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -3.17356, + ["x"] = 72.8372, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock11_2"] = { + ["y"] = -39.5769, + ["x"] = 69.7249, + ["name"] = "LightBlock11_2", + ["angle"] = 2.35641, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -19.8081, + ["x"] = 74.0157, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock11_4"] = { + ["y"] = -29.4683, + ["x"] = 64.5974, + ["name"] = "WoodBlock11_4", + ["angle"] = 4.71253, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -62.9731, + ["x"] = 99.3046, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 0.392683, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -62.2077, + ["x"] = 85.605, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock2_3"] = { + ["y"] = -14.452, + ["x"] = 44.7193, + ["name"] = "WoodBlock2_3", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -63.8149, + ["x"] = 92.7226, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -14.424, + ["x"] = 73.6791, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = 0.582803, + ["x"] = -26.9195, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -4.03196, + ["x"] = -26.0405, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 2.74891, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LargePiglette_1"] = { + ["y"] = -20.7516, + ["x"] = 37.2478, + ["name"] = "LargePiglette_1", + ["angle"] = 7.20024e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_05_48"] = { + ["y"] = -21.7352, + ["x"] = 98.6951, + ["name"] = "StaticBlockTheme02_05_48", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_6"] = { + ["y"] = -38.9176, + ["x"] = 69.6516, + ["name"] = "StoneBlock10_6", + ["angle"] = 0.000213146, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_5"] = { + ["y"] = -27.0783, + ["x"] = 64.4236, + ["name"] = "StoneBlock10_5", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock10", + + }, + ["HardTNT_2"] = { + ["y"] = -29.3951, + ["x"] = 69.5784, + ["name"] = "HardTNT_2", + ["angle"] = 0.000107288, + ["definition"] = "HardTNT", + + }, + ["StoneBlock3_1"] = { + ["y"] = -19.5063, + ["x"] = 40.9835, + ["name"] = "StoneBlock3_1", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -9.2245, + ["x"] = 90.1591, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -9.60717, + ["x"] = 107.15, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_11"] = { + ["y"] = -15.2754, + ["x"] = 27.7252, + ["name"] = "LightBlock5_11", + ["angle"] = 4.71247, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -10.6021, + ["x"] = 63.5254, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_7"] = { + ["y"] = -24.6153, + ["x"] = 70.5034, + ["name"] = "LightBlock5_7", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 58.0255, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -15.4043, + ["x"] = 32.047, + ["name"] = "WoodBlock11_1", + ["angle"] = 4.71246, + ["definition"] = "WoodBlock11", + + }, + ["StoneBlock10_4"] = { + ["y"] = -27.0783, + ["x"] = 74.6054, + ["name"] = "StoneBlock10_4", + ["angle"] = 0.000107288, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_2"] = { + ["y"] = -28.4428, + ["x"] = 77.1964, + ["name"] = "WoodBlock2_2", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_56"] = { + ["y"] = -2.34721, + ["x"] = -20.1072, + ["name"] = "StaticBlockTheme02_05_56", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_2"] = { + ["y"] = -13.0875, + ["x"] = 31.8272, + ["name"] = "StoneBlock10_2", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_52"] = { + ["y"] = -5.12832, + ["x"] = 56.9872, + ["name"] = "StaticBlockTheme02_05_52", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = -39.6433, + ["x"] = 98.7336, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_2"] = { + ["y"] = -15.5508, + ["x"] = 42.2288, + ["name"] = "WoodBlock11_2", + ["angle"] = 7.20024e-005, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_55"] = { + ["y"] = -2.34721, + ["x"] = -14.6867, + ["name"] = "StaticBlockTheme02_05_55", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -3.32663, + ["x"] = 81.562, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -40.013, + ["x"] = 91.8008, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_8"] = { + ["y"] = -19.8081, + ["x"] = 81.8514, + ["name"] = "StaticBlockTheme02_03_8", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -45.4468, + ["x"] = 87.8976, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -13.0875, + ["x"] = 42.0823, + ["name"] = "StoneBlock10_1", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_4"] = { + ["y"] = -14.452, + ["x"] = 29.3367, + ["name"] = "WoodBlock2_4", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -14.7495, + ["x"] = 61.1075, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 0.000248432, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["RedBigBird_3"] = { + ["y"] = -8.75963, + ["x"] = -17.3299, + ["name"] = "RedBigBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -18.1024, + ["x"] = 107.609, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -15.3583, + ["x"] = 61.7866, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -10.9848, + ["x"] = 96.9706, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = -19.1958, + ["x"] = 75.0872, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["MediumPiglette_4"] = { + ["y"] = -22.3903, + ["x"] = 73.9462, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.000142574, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock3_3"] = { + ["y"] = -33.4239, + ["x"] = 65.8426, + ["name"] = "StoneBlock3_3", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock12_1"] = { + ["y"] = -19.2032, + ["x"] = 27.7252, + ["name"] = "StoneBlock12_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -38.7884, + ["x"] = 92.5661, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -14.6536, + ["x"] = 82.7866, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -8.4207, + ["x"] = 41.1543, + ["name"] = "MediumPiglette_2", + ["angle"] = 5.24521e-006, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -56.2381, + ["x"] = 76.7236, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_03_11"] = { + ["y"] = -10.7006, + ["x"] = 119.969, + ["name"] = "StaticBlockTheme02_03_11", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -58.8794, + ["x"] = 94.2158, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LargePiglette_2"] = { + ["y"] = -34.6691, + ["x"] = 69.6516, + ["name"] = "LargePiglette_2", + ["angle"] = 0.000142574, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -52.1444, + ["x"] = 83.0419, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -10.1429, + ["x"] = 73.8575, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_2"] = { + ["y"] = -19.433, + ["x"] = 33.512, + ["name"] = "StoneBlock3_2", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock3", + + }, + ["BUSH_3_1"] = { + ["y"] = -6.35754, + ["x"] = 24.2977, + ["name"] = "BUSH_3_1", + ["angle"] = 2.74889, + ["definition"] = "BUSH_3", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -5.24475, + ["x"] = 112.048, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -48.0882, + ["x"] = 105.543, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_50"] = { + ["y"] = -25.715, + ["x"] = 106.578, + ["name"] = "StaticBlockTheme02_05_50", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["HardTNT_1"] = { + ["y"] = -15.4775, + ["x"] = 37.1013, + ["name"] = "HardTNT_1", + ["angle"] = 4.05312e-005, + ["definition"] = "HardTNT", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -4.47941, + ["x"] = 114.88, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_51"] = { + ["y"] = -33.2918, + ["x"] = 106.425, + ["name"] = "StaticBlockTheme02_05_51", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -52.488, + ["x"] = 76.0348, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -3.40794, + ["x"] = 108.604, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_3"] = { + ["y"] = -7.52368, + ["x"] = 36.8486, + ["name"] = "WoodBlock5_3", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -58.9168, + ["x"] = 104.585, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 0.785381, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["BUSH_2_2"] = { + ["y"] = -2.23123, + ["x"] = 12.7261, + ["name"] = "BUSH_2_2", + ["angle"] = 5.24521e-006, + ["definition"] = "BUSH_2", + + }, + ["LightBlock11_1"] = { + ["y"] = -25.6593, + ["x"] = 37.4675, + ["name"] = "LightBlock11_1", + ["angle"] = 2.35629, + ["definition"] = "LightBlock11", + + }, + ["WoodBlock2_1"] = { + ["y"] = -28.5161, + ["x"] = 62.1801, + ["name"] = "WoodBlock2_1", + ["angle"] = 1.57103, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -61.5189, + ["x"] = 81.9279, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock4_7"] = { + ["y"] = -29.5416, + ["x"] = 72.1421, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_2"] = { + ["y"] = -31.9588, + ["x"] = 69.6516, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.00017786, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -0.95408, + ["x"] = 47.3515, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -10.1429, + ["x"] = 72.3268, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BUSH_4_1"] = { + ["y"] = -1.07451, + ["x"] = 24.7953, + ["name"] = "BUSH_4_1", + ["angle"] = 3.14184, + ["definition"] = "BUSH_4", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -12.9747, + ["x"] = 114.65, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock12_2"] = { + ["y"] = -19.4507, + ["x"] = 46.4041, + ["name"] = "StoneBlock12_2", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -7.71575, + ["x"] = 52.5097, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock5_4"] = { + ["y"] = -21.5173, + ["x"] = 60.9351, + ["name"] = "WoodBlock5_4", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -58.2671, + ["x"] = 90.9249, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -59.7978, + ["x"] = 89.3942, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -39.5667, + ["x"] = 108.913, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_4"] = { + ["y"] = -33.4239, + ["x"] = 73.3874, + ["name"] = "StoneBlock3_4", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock3", + + }, + ["BlackBird_1"] = { + ["y"] = -8.1584, + ["x"] = -22.6807, + ["name"] = "BlackBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -31.148, + ["x"] = 112.663, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -52.488, + ["x"] = 76.0348, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 4.71238, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -28.5459, + ["x"] = 113.352, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -45.753, + ["x"] = 78.79, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_49"] = { + ["y"] = -15.9186, + ["x"] = 98.9247, + ["name"] = "StaticBlockTheme02_05_49", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_6"] = { + ["y"] = -21.6638, + ["x"] = 78.1463, + ["name"] = "WoodBlock5_6", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock12_3"] = { + ["y"] = -33.3405, + ["x"] = 60.5686, + ["name"] = "StoneBlock12_3", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock12", + + }, + ["LightBlock5_8"] = { + ["y"] = -24.6885, + ["x"] = 77.9017, + ["name"] = "LightBlock5_8", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -4.50133, + ["x"] = 58.709, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock4_5"] = { + ["y"] = -15.5508, + ["x"] = 39.7383, + ["name"] = "StoneBlock4_5", + ["angle"] = 4.71244, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock5_12"] = { + ["y"] = -24.5146, + ["x"] = 68.4524, + ["name"] = "LightBlock5_12", + ["angle"] = 4.71249, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -48.8143, + ["x"] = 76.7236, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 4.31968, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -1.26022, + ["x"] = 39.0858, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_3"] = { + ["y"] = -10.6245, + ["x"] = 37.9802, + ["name"] = "LightBlock5_3", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -50.3076, + ["x"] = 83.348, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_5"] = { + ["y"] = -10.6245, + ["x"] = 28.531, + ["name"] = "LightBlock5_5", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock4_18"] = { + ["y"] = -36.3539, + ["x"] = 65.9159, + ["name"] = "WoodBlock4_18", + ["angle"] = 1.57098, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock4_17"] = { + ["y"] = -36.4271, + ["x"] = 73.4607, + ["name"] = "WoodBlock4_17", + ["angle"] = 1.57098, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock4_16"] = { + ["y"] = -22.4363, + ["x"] = 33.6585, + ["name"] = "WoodBlock4_16", + ["angle"] = 1.57087, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -59.376, + ["x"] = 78.7901, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 5.49777, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -58.1141, + ["x"] = 96.971, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -30.9958, + ["x"] = 98.9247, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -3.17834, + ["x"] = 100.874, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_15"] = { + ["y"] = -22.5096, + ["x"] = 41.0568, + ["name"] = "WoodBlock4_15", + ["angle"] = 1.57087, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -3.25487, + ["x"] = 91.0775, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_1"] = { + ["y"] = -8.4207, + ["x"] = 32.812, + ["name"] = "MediumPiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_6"] = { + ["y"] = -15.5508, + ["x"] = 34.5375, + ["name"] = "StoneBlock4_6", + ["angle"] = 1.57086, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock5_6"] = { + ["y"] = -24.6153, + ["x"] = 61.3471, + ["name"] = "LightBlock5_6", + ["angle"] = 1.57081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -43.6866, + ["x"] = 81.8513, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 3.53428, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_13"] = { + ["y"] = -29.2662, + ["x"] = 60.4953, + ["name"] = "LightBlock5_13", + ["angle"] = 4.71254, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock4_8"] = { + ["y"] = -29.4683, + ["x"] = 67.0879, + ["name"] = "StoneBlock4_8", + ["angle"] = 4.71251, + ["definition"] = "StoneBlock4", + + }, + ["BUSH_2_1"] = { + ["y"] = -11.8294, + ["x"] = 55.6039, + ["name"] = "BUSH_2_1", + ["angle"] = 4.71237, + ["definition"] = "BUSH_2", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = 1.02231, + ["x"] = -31.168, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -40.6252, + ["x"] = 91.6477, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_10"] = { + ["y"] = -41.0079, + ["x"] = 113.922, + ["name"] = "StaticBlockTheme02_03_10", + ["angle"] = 1.17808, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -41.4671, + ["x"] = 90.6528, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock5_9"] = { + ["y"] = -10.5238, + ["x"] = 35.856, + ["name"] = "LightBlock5_9", + ["angle"] = 4.71244, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_1"] = { + ["y"] = -7.61338, + ["x"] = 28.596, + ["name"] = "WoodBlock5_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_2"] = { + ["y"] = -7.52368, + ["x"] = 45.2806, + ["name"] = "WoodBlock5_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + ["BUSH_1_1"] = { + ["y"] = -39.8166, + ["x"] = 85.7439, + ["name"] = "BUSH_1_1", + ["angle"] = 1.17811, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -49.5926, + ["x"] = 95.9784, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_10"] = { + ["y"] = -15.4498, + ["x"] = 46.4041, + ["name"] = "LightBlock5_10", + ["angle"] = 1.57087, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -1.98095, + ["x"] = -29.117, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 3.92701, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["RedBigBird_2"] = { + ["y"] = -8.75963, + ["x"] = -11.4979, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -14.3475, + ["x"] = 64.342, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock12_4"] = { + ["y"] = -33.4415, + ["x"] = 78.7347, + ["name"] = "StoneBlock12_4", + ["angle"] = 0.00017786, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -0.877548, + ["x"] = 54.5456, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -22.3171, + ["x"] = 65.1561, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.000142574, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_1"] = { + ["y"] = -18.0413, + ["x"] = 37.2478, + ["name"] = "WoodBlock10_1", + ["angle"] = 7.20024e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -11.9888, + ["x"] = 61.7134, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 0.392723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_14"] = { + ["y"] = -29.4406, + ["x"] = 78.7347, + ["name"] = "LightBlock5_14", + ["angle"] = 1.57096, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -3.02049, + ["x"] = 64.2654, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_54"] = { + ["y"] = -2.34721, + ["x"] = -5.8234, + ["name"] = "StaticBlockTheme02_05_54", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -11.597, + ["x"] = 101.103, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -5.87894, + ["x"] = 43.0195, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StoneBlock10_3"] = { + ["y"] = -25.0001, + ["x"] = 37.321, + ["name"] = "StoneBlock10_3", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -0.801013, + ["x"] = 31.8917, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["RedBigBird_1"] = { + ["y"] = -8.81975, + ["x"] = -5.66594, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -42.2462, + ["x"] = 100.838, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -55.5885, + ["x"] = 83.8838, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -3.56101, + ["x"] = 98.7309, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_5"] = { + ["y"] = -21.5173, + ["x"] = 69.4181, + ["name"] = "WoodBlock5_5", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["MediumPiglette"] = 4, + ["LightBlock5"] = 14, + ["StaticBlockTheme02_04"] = 17, + ["LightBlock3"] = 3, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 4, + ["RedBird"] = 1, + ["StaticBlockTheme01_03"] = 5, + ["StaticBlockTheme01_04"] = 2, + ["WoodBlock2"] = 4, + ["HardTNT"] = 2, + ["COOLHAT"] = 1, + ["StaticBlockTheme01_05"] = 2, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock5"] = 6, + ["SmallBlueBird"] = 3, + ["BlackBird"] = 1, + ["StoneBlock10"] = 6, + ["SmallPiglette"] = 3, + ["StaticBlockTheme02_01"] = 2, + ["BUSH_4"] = 1, + ["BUSH_2"] = 2, + ["StaticBlockTheme02_03"] = 11, + ["StaticBlockTheme02_05"] = 56, + ["StaticBlockTheme02_02"] = 6, + ["WoodBlock6"] = 1, + ["ShootingPlatform01"] = 1, + ["WoodBlock10"] = 2, + ["WoodBlock11"] = 4, + ["BUSH_1"] = 1, + ["WoodBlock4"] = 18, + ["StoneBlock4"] = 8, + ["BUSH_3"] = 1, + ["ExtraPoleYellow"] = 1, + ["RedBigBird"] = 3, + ["StoneBlock12"] = 4, + ["LightBlock4"] = 23, + +} +theme = "theme2" +birdCameraData = { + ["px"] = 60.3374, + ["py"] = -198.925, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 39.0903, + ["screenWidth"] = 480, + ["py"] = -198.925, + ["screenHeight"] = 320, + ["top"] = -470.124, + ["sy"] = 0.589973, + ["sx"] = 0.589973, + ["right"] = 1969.31, + ["left"] = -346.461, + ["px"] = 60.3374, + + }, + ["version"] = "0.02", + ["sx"] = 0.589973, + ["windows"] = { + ["bottom"] = 104.957, + ["screenWidth"] = 1366, + ["py"] = -492.223, + ["screenHeight"] = 768, + ["top"] = -1263.92, + ["sy"] = 0.497605, + ["sx"] = 0.497605, + ["px"] = 39.2594, + ["left"] = -1333.32, + ["right"] = 2375.03, + + }, + ["sy"] = 0.589973, + ["ipad"] = { + ["bottom"] = 306.074, + ["screenWidth"] = 1024, + ["py"] = -262.981, + ["screenHeight"] = 768, + ["top"] = -739.037, + ["sy"] = 0.806627, + ["sx"] = 0.806627, + ["px"] = 205.07, + ["left"] = -429.672, + ["right"] = 2307.94, + + }, + ["screenWidth"] = 480, + +} +filename = "Level13.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level14.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level14.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..d59512db5534e320ab135aa535029957c8a90877 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level14.temp.lua @@ -0,0 +1,1023 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -261.071, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 29.0721, + ["screenWidth"] = 480, + ["py"] = -261.071, + ["screenHeight"] = 320, + ["top"] = -551.214, + ["sy"] = 0.551452, + ["sx"] = 0.551452, + ["px"] = -346.116, + ["left"] = -781.331, + ["right"] = 89.0987, + + }, + ["version"] = "0.02", + ["sx"] = 0.551452, + ["windows"] = { + ["bottom"] = 148.404, + ["screenWidth"] = 1243, + ["py"] = -400.162, + ["screenHeight"] = 648, + ["top"] = -948.728, + ["sy"] = 0.590631, + ["sx"] = 0.590631, + ["px"] = -498.488, + ["left"] = -1550.75, + ["right"] = 553.776, + + }, + ["sy"] = 0.551452, + ["ipad"] = { + ["bottom"] = 180.527, + ["screenWidth"] = 1024, + ["py"] = -242.502, + ["screenHeight"] = 768, + ["top"] = -665.531, + ["sy"] = 0.90774, + ["sx"] = 0.90774, + ["right"] = 193.306, + ["left"] = -934.77, + ["px"] = -370.732, + + }, + ["px"] = -346.116, + +} +levelParticles = { + ["y"] = -2254.64, + ["x"] = 601.352, + ["firstFrame"] = true, + ["width"] = 7570.92, + +} +joints = { + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -4.5584, + ["x"] = 12.6016, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock4_3"] = { + ["y"] = -8.78234, + ["x"] = -44.9267, + ["name"] = "StoneBlock4_3", + ["angle"] = 0.0003009, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock1_3"] = { + ["y"] = -0.60192, + ["x"] = -16.6329, + ["name"] = "WoodBlock1_3", + ["angle"] = -3.14159, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock4_4"] = { + ["y"] = -11.057, + ["x"] = -22.3682, + ["name"] = "StoneBlock4_4", + ["angle"] = 0.0109917, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock4_1"] = { + ["y"] = -9.91327, + ["x"] = -14.4774, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.00323458, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock5_6"] = { + ["y"] = -18.2085, + ["x"] = -31.5059, + ["name"] = "LightBlock5_6", + ["angle"] = -0.0250289, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_22"] = { + ["y"] = -2.05337, + ["x"] = -13.2434, + ["name"] = "WoodBlock5_22", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -2.93215, + ["x"] = -52.6187, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock6_2"] = { + ["y"] = -4.02388, + ["x"] = -11.4569, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.59451, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock12_3"] = { + ["y"] = -27.3162, + ["x"] = -35.4937, + ["name"] = "LightBlock12_3", + ["angle"] = 0.0122756, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -20.1819, + ["x"] = 22.2147, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = -2.74891, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -28.8979, + ["x"] = 25.9501, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = -1.17811, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_27"] = { + ["y"] = -18.3634, + ["x"] = -41.6498, + ["name"] = "WoodBlock5_27", + ["angle"] = 0.0171943, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_5"] = { + ["y"] = -11.2429, + ["x"] = -31.6533, + ["name"] = "LightBlock5_5", + ["angle"] = 1.5453, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -5.00277, + ["x"] = -49.5259, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = 0.180685, + ["x"] = -54.6939, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = -2.7489, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -46.4666, + ["x"] = 33.2768, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = -1.17811, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_4"] = { + ["y"] = -4.05944, + ["x"] = -30.1086, + ["name"] = "WoodBlock6_4", + ["angle"] = 1.56558, + ["definition"] = "WoodBlock6", + + }, + ["LargePiglette_2"] = { + ["y"] = -20.7976, + ["x"] = 1.1893, + ["name"] = "LargePiglette_2", + ["angle"] = 0.391223, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -10.9623, + ["x"] = -5.13296, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = -0.0342083, + ["definition"] = "ExtraBlockTNT", + + }, + ["SmallPiglette_8"] = { + ["y"] = -11.498, + ["x"] = -14.3934, + ["name"] = "SmallPiglette_8", + ["angle"] = 0.144441, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = 0.595727, + ["x"] = 3.61977, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -3.58997, + ["x"] = 30.8635, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["RIOCRATE_1"] = { + ["y"] = -3.05837, + ["x"] = -60.3407, + ["name"] = "RIOCRATE_1", + ["angle"] = 9.23475e-006, + ["definition"] = "RIOCRATE", + + }, + ["WoodBlock6_3"] = { + ["y"] = -4.04509, + ["x"] = -15.3878, + ["name"] = "WoodBlock6_3", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock12_2"] = { + ["y"] = -27.4099, + ["x"] = -27.0684, + ["name"] = "LightBlock12_2", + ["angle"] = -0.0337217, + ["definition"] = "LightBlock12", + + }, + ["GlobeBird_1"] = { + ["y"] = -0.882388, + ["x"] = -99.402, + ["name"] = "GlobeBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["WoodBlock9_1"] = { + ["y"] = -22.283, + ["x"] = -31.4891, + ["name"] = "WoodBlock9_1", + ["angle"] = -0.0157472, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -29.3227, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -12.642, + ["x"] = 17.0958, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -0.600338, + ["x"] = -31.6671, + ["name"] = "WoodBlock2_1", + ["angle"] = -3.1398, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -8.85318, + ["x"] = -17.5411, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.00323699, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_2"] = { + ["y"] = -8.78308, + ["x"] = -37.8667, + ["name"] = "WoodBlock10_2", + ["angle"] = -0.000460784, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -3.20425, + ["x"] = -1.72663, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LargePiglette_1"] = { + ["y"] = -11.4211, + ["x"] = -10.3844, + ["name"] = "LargePiglette_1", + ["angle"] = -0.136463, + ["definition"] = "LargePiglette", + + }, + ["WoodBlock9_2"] = { + ["y"] = -22.5401, + ["x"] = -23.4205, + ["name"] = "WoodBlock9_2", + ["angle"] = -0.0349652, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock9_3"] = { + ["y"] = -22.3719, + ["x"] = -39.692, + ["name"] = "WoodBlock9_3", + ["angle"] = 0.0174842, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock1_4"] = { + ["y"] = -4.55313, + ["x"] = -28.1834, + ["name"] = "WoodBlock1_4", + ["angle"] = -3.13736, + ["definition"] = "WoodBlock1", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -0.674868, + ["x"] = -92.0696, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -6.80934, + ["x"] = -55.2234, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 0.778792, + ["definition"] = "RIOCRATESMALL", + + }, + ["StoneBlock10_6"] = { + ["y"] = -17.9624, + ["x"] = 0.198699, + ["name"] = "StoneBlock10_6", + ["angle"] = -0.0034359, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_5"] = { + ["y"] = -24.9436, + ["x"] = -26.182, + ["name"] = "StoneBlock10_5", + ["angle"] = -0.0336679, + ["definition"] = "StoneBlock10", + + }, + ["SmallPiglette_7"] = { + ["y"] = -12.6353, + ["x"] = -21.7845, + ["name"] = "SmallPiglette_7", + ["angle"] = 0.641349, + ["definition"] = "SmallPiglette", + + }, + ["RedBigBird_1"] = { + ["y"] = -1.50496, + ["x"] = -95.3207, + ["name"] = "RedBigBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StoneBlock3_1"] = { + ["y"] = -19.5004, + ["x"] = -3.33588, + ["name"] = "StoneBlock3_1", + ["angle"] = -0.00455791, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -4.5584, + ["x"] = 25.5371, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -11.4758, + ["x"] = 23.5311, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock1_1"] = { + ["y"] = -1.65761, + ["x"] = -31.4418, + ["name"] = "WoodBlock1_1", + ["angle"] = -3.13577, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -28.1467, + ["x"] = 32.0395, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -3.27342, + ["x"] = -43.5077, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.254455, + ["x"] = 9.61792, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock6_5"] = { + ["y"] = -4.01335, + ["x"] = -34.549, + ["name"] = "WoodBlock6_5", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -1.58392, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = -6.01106, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -16.9793, + ["x"] = -24.6993, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.164081, + ["definition"] = "ExtraDonut01", + + }, + ["LightBlock5_2"] = { + ["y"] = -12.5352, + ["x"] = -25.3732, + ["name"] = "LightBlock5_2", + ["angle"] = 1.58152, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -29.2215, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock5_25"] = { + ["y"] = -12.3595, + ["x"] = -41.8611, + ["name"] = "WoodBlock5_25", + ["angle"] = 0.00324496, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock11_1"] = { + ["y"] = -17.4382, + ["x"] = -19.2443, + ["name"] = "WoodBlock11_1", + ["angle"] = 0.0102781, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -21.6444, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock12_1"] = { + ["y"] = -27.3095, + ["x"] = -31.2323, + ["name"] = "LightBlock12_1", + ["angle"] = -0.0121224, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -2.85838, + ["x"] = 7.47352, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock10_4"] = { + ["y"] = -24.8315, + ["x"] = -36.3041, + ["name"] = "StoneBlock10_4", + ["angle"] = 0.0121155, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock5_3"] = { + ["y"] = -15.2101, + ["x"] = -31.5363, + ["name"] = "LightBlock5_3", + ["angle"] = 1.54604, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock4_1"] = { + ["y"] = -1.84283, + ["x"] = -8.38356, + ["name"] = "WoodBlock4_1", + ["angle"] = 2.33868, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock1_1"] = { + ["y"] = -19.0525, + ["x"] = 4.05853, + ["name"] = "StoneBlock1_1", + ["angle"] = -0.000543618, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -43.6996, + ["x"] = 38.534, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_26"] = { + ["y"] = -15.3579, + ["x"] = -41.7379, + ["name"] = "WoodBlock5_26", + ["angle"] = 1.57727, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock6_6"] = { + ["y"] = -9.98827, + ["x"] = -22.419, + ["name"] = "WoodBlock6_6", + ["angle"] = 0.0106664, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock10_2"] = { + ["y"] = -19.9337, + ["x"] = -26.4983, + ["name"] = "StoneBlock10_2", + ["angle"] = -0.0361199, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -30.0144, + ["x"] = 32.4545, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_4"] = { + ["y"] = -17.535, + ["x"] = -22.229, + ["name"] = "LightBlock5_4", + ["angle"] = 1.57823, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock1_2"] = { + ["y"] = -4.55275, + ["x"] = -13.2434, + ["name"] = "WoodBlock1_2", + ["angle"] = -3.14159, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -9.52915, + ["x"] = 10.4551, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock4_2"] = { + ["y"] = -11.3018, + ["x"] = -39.2601, + ["name"] = "LightBlock4_2", + ["angle"] = 1.56805, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock5_24"] = { + ["y"] = -10.331, + ["x"] = -41.8831, + ["name"] = "WoodBlock5_24", + ["angle"] = 0.00151945, + ["definition"] = "WoodBlock5", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -21.8128, + ["x"] = -28.0801, + ["name"] = "ExtraDonut01_2", + ["angle"] = -0.421081, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -55.2517, + ["x"] = 36.943, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = -1.17811, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -4.07419, + ["x"] = 20.6258, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -23.0279, + ["x"] = 31.4169, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -12.0292, + ["x"] = 29.8259, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -4.9336, + ["x"] = 4.36069, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 0.392699, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -3.3426, + ["x"] = -22.2713, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_1"] = { + ["y"] = -8.82672, + ["x"] = -27.8613, + ["name"] = "WoodBlock10_1", + ["angle"] = -0.0256153, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock6_1"] = { + ["y"] = -15.0188, + ["x"] = -22.2638, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.0101559, + ["definition"] = "StoneBlock6", + + }, + ["GlobeBird_2"] = { + ["y"] = -0.813214, + ["x"] = -105.835, + ["name"] = "GlobeBird_2", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -21.7257, + ["x"] = -34.8893, + ["name"] = "ExtraDonut01_3", + ["angle"] = 0.474835, + ["definition"] = "ExtraDonut01", + + }, + ["MediumPiglette_1"] = { + ["y"] = -11.1627, + ["x"] = -28.7575, + ["name"] = "MediumPiglette_1", + ["angle"] = -0.0883992, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -52.9689, + ["x"] = 38.4649, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BlackBird_1"] = { + ["y"] = -1.22826, + ["x"] = -102.722, + ["name"] = "BlackBird_1", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = 0.0423366, + ["x"] = -48.1916, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraPillar_1"] = { + ["y"] = -12.8249, + ["x"] = 0.0592752, + ["name"] = "ExtraPillar_1", + ["angle"] = -0.00199825, + ["definition"] = "ExtraPillar", + + }, + ["LightBlock4_1"] = { + ["y"] = -2.08054, + ["x"] = -33.2822, + ["name"] = "LightBlock4_1", + ["angle"] = 1.60252, + ["definition"] = "LightBlock4", + + }, + ["LargePiglette_3"] = { + ["y"] = -11.6228, + ["x"] = -36.376, + ["name"] = "LargePiglette_3", + ["angle"] = -0.0122886, + ["definition"] = "LargePiglette", + + }, + ["YellowBird_7"] = { + ["y"] = -0.844882, + ["x"] = -89.6359, + ["name"] = "YellowBird_7", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -37.6815, + ["x"] = 29.6106, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = -1.17811, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_4"] = { + ["y"] = -8.68754, + ["x"] = -7.3678, + ["name"] = "WoodBlock10_4", + ["angle"] = -0.0342083, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -18.5316, + ["x"] = 29.6184, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -6.62384, + ["x"] = 6.16631, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock10_3"] = { + ["y"] = -19.8254, + ["x"] = -36.8246, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.0183124, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -13.4819, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -21.5752, + ["x"] = 38.5419, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_21"] = { + ["y"] = -2.05152, + ["x"] = -28.3939, + ["name"] = "WoodBlock5_21", + ["angle"] = 1.57322, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_1"] = { + ["y"] = -12.4709, + ["x"] = -19.2461, + ["name"] = "LightBlock5_1", + ["angle"] = 1.58151, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -35.3295, + ["x"] = 38.534, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_6"] = { + ["y"] = -2.5475, + ["x"] = -9.90644, + ["name"] = "SmallPiglette_6", + ["angle"] = -0.000757338, + ["definition"] = "SmallPiglette", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["ExtraDonut01"] = 3, + ["MediumPiglette"] = 1, + ["WoodBlock9"] = 3, + ["StaticBlockTheme02_04"] = 10, + ["WoodBlock1"] = 4, + ["YellowBird"] = 7, + ["StoneBlock3"] = 1, + ["RedBird"] = 1, + ["GlobeBird"] = 2, + ["WoodBlock2"] = 1, + ["WoodBlock10"] = 4, + ["StoneBlock1"] = 1, + ["WoodBlock6"] = 6, + ["LargePiglette"] = 3, + ["BasicBird2"] = 1, + ["Log"] = 1, + ["ExtraPillar"] = 1, + ["BLOCK_GREEN_BAG"] = 1, + ["WoodBlock5"] = 27, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig"] = 1, + ["BlackBird"] = 1, + ["StoneBlock10"] = 6, + ["SmallPiglette"] = 8, + ["StoneBlock4"] = 4, + ["LightBlock5"] = 6, + ["StaticBlockTheme01_05"] = 4, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme02_03"] = 4, + ["StaticBlockTheme02_05"] = 31, + ["ExtraRopeThin02"] = 2, + ["RIOCRATESMALL"] = 1, + ["LightBlock12"] = 3, + ["WoodBlock11"] = 1, + ["ExtraBlockTNT"] = 2, + ["ImmovableWall03"] = 3, + ["SpecialBlockSwing"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock4"] = 1, + ["ExtraPoleYellow"] = 1, + ["RedBigBird"] = 1, + ["RIOCRATE"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["screenHeight"] = 320, + ["bottom"] = 118.353, + ["px"] = -1506.05, + ["right"] = 279.356, + ["left"] = -2037.67, + ["version"] = "0.02", + ["top"] = -580.573, + ["iphone"] = { + ["bottom"] = 157.61, + ["screenWidth"] = 480, + ["py"] = -226.161, + ["screenHeight"] = 320, + ["top"] = -580.573, + ["sy"] = 0.451452, + ["sx"] = 0.451452, + ["px"] = -1506.05, + ["left"] = -2037.67, + ["right"] = 281.905, + + }, + ["sy"] = 0.451452, + ["sx"] = 0.451452, + ["windows"] = { + ["bottom"] = 148.404, + ["screenWidth"] = 1243, + ["py"] = -267.34, + ["screenHeight"] = 648, + ["top"] = -815.906, + ["sy"] = 0.590631, + ["sx"] = 0.590631, + ["px"] = -1605.71, + ["left"] = -2657.97, + ["right"] = 553.776, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = 229.846, + ["screenWidth"] = 1024, + ["py"] = -251.511, + ["screenHeight"] = 768, + ["top"] = -699.199, + ["sy"] = 0.85774, + ["sx"] = 0.85774, + ["right"] = 259.065, + ["left"] = -1997.77, + ["px"] = -1400.85, + + }, + ["py"] = -226.161, + +} +filename = "Level14.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level15.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level15.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..ee4081099691c7e0de9646446e95de5bacf79308 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level15.temp.lua @@ -0,0 +1,2603 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -190.377, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 86.2047, + ["screenWidth"] = 480, + ["py"] = -190.377, + ["screenHeight"] = 320, + ["top"] = -466.959, + ["sy"] = 0.578491, + ["sx"] = 0.578491, + ["px"] = 781.345, + ["left"] = 366.472, + ["right"] = 1196.22, + + }, + ["version"] = "0.02", + ["sx"] = 0.578491, + ["windows"] = { + ["bottom"] = 25.7906, + ["screenWidth"] = 1243, + ["py"] = -1064.53, + ["screenHeight"] = 648, + ["top"] = -2154.85, + ["sy"] = 0.29716, + ["sx"] = 0.29716, + ["px"] = 644.996, + ["left"] = -1446.47, + ["right"] = 2736.46, + + }, + ["sy"] = 0.578491, + ["ipad"] = { + ["bottom"] = 216.668, + ["screenWidth"] = 1024, + ["py"] = -223.379, + ["screenHeight"] = 768, + ["top"] = -663.426, + ["sy"] = 0.872634, + ["sx"] = 0.872634, + ["px"] = 786.517, + ["left"] = 199.788, + ["right"] = 1373.25, + + }, + ["px"] = 781.345, + +} +levelParticles = { + ["y"] = -4137.13, + ["x"] = 3026.76, + ["firstFrame"] = true, + ["width"] = 13968.1, + +} +joints = { + ["BLOCK_GREEN_SPANNER_2_1MediumPiglette_6"] = { + ["type"] = 1, + ["end2"] = "MediumPiglette_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BLOCK_GREEN_SPANNER_2_1MediumPiglette_6", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "BLOCK_GREEN_SPANNER_2_1", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock3_1StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_1StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_1", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StaticBlockTheme02_05_6StaticBlockTheme02_05_5"] = { + ["type"] = 1, + ["end2"] = "StaticBlockTheme02_05_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme02_05_6StaticBlockTheme02_05_5", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticBlockTheme02_05_6", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -17.9874, + ["x"] = 26.0689, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -12.7485, + ["x"] = -4.49477, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = 1.17807, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -10.7982, + ["x"] = 72.6723, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -58.8321, + ["x"] = 96.85, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = -2.74888, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_4"] = { + ["y"] = -49.3238, + ["x"] = 20.9719, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.257543, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_53"] = { + ["y"] = -17.1179, + ["x"] = 9.58265, + ["name"] = "StaticBlockTheme02_05_53", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_12"] = { + ["y"] = -73.4097, + ["x"] = 13.7399, + ["name"] = "WoodBlock5_12", + ["angle"] = -1.5657, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -40.7258, + ["x"] = 73.202, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 0.392702, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -4.15163, + ["x"] = 92.6119, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock3_8"] = { + ["y"] = -64.6828, + ["x"] = 73.0381, + ["name"] = "StoneBlock3_8", + ["angle"] = 0.0438549, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = -24.0238, + ["x"] = 64.4367, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = -2.74891, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -30.3396, + ["x"] = 83.5854, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock11_2"] = { + ["y"] = -59.1304, + ["x"] = 1.52816, + ["name"] = "LightBlock11_2", + ["angle"] = -1.56962, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_115"] = { + ["y"] = -27.4223, + ["x"] = -72.6826, + ["name"] = "StaticBlockTheme02_05_115", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -20.4546, + ["x"] = 103.814, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 1.17812, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["ExtraStrawberry_1"] = { + ["y"] = -57.8472, + ["x"] = 82.2005, + ["name"] = "ExtraStrawberry_1", + ["angle"] = 0.216983, + ["definition"] = "ExtraStrawberry", + + }, + ["Estrade02_5"] = { + ["y"] = -36.6162, + ["x"] = -81.8818, + ["name"] = "Estrade02_5", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -53.7326, + ["x"] = 101.949, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = -1.96348, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock6_8"] = { + ["y"] = -57.7303, + ["x"] = 17.7544, + ["name"] = "StoneBlock6_8", + ["angle"] = -0.0118809, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_84"] = { + ["y"] = -9.10293, + ["x"] = 110.173, + ["name"] = "StaticBlockTheme02_05_84", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_7"] = { + ["y"] = -55.1759, + ["x"] = 13.6401, + ["name"] = "StoneBlock5_7", + ["angle"] = 1.57128, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_5"] = { + ["y"] = -59.236, + ["x"] = 13.5354, + ["name"] = "StoneBlock5_5", + ["angle"] = 0.00194392, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_120"] = { + ["y"] = -20.9997, + ["x"] = -42.857, + ["name"] = "StaticBlockTheme02_05_120", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_82"] = { + ["y"] = -13.2857, + ["x"] = 100.489, + ["name"] = "StaticBlockTheme02_05_82", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockSmiley_1"] = { + ["y"] = -56.004, + ["x"] = 72.1665, + ["name"] = "ExtraBlockSmiley_1", + ["angle"] = -2.08199, + ["definition"] = "ExtraBlockSmiley", + + }, + ["StaticBlockTheme02_05_118"] = { + ["y"] = -33.405, + ["x"] = -56.1422, + ["name"] = "StaticBlockTheme02_05_118", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -50.0083, + ["x"] = 102.694, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = -1.57078, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_60"] = { + ["y"] = -3.88208, + ["x"] = -1.18934, + ["name"] = "StaticBlockTheme02_05_60", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_90"] = { + ["y"] = -45.0624, + ["x"] = -44.3149, + ["name"] = "StaticBlockTheme02_05_90", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_123"] = { + ["y"] = -3.57945, + ["x"] = -59.8374, + ["name"] = "StaticBlockTheme02_05_123", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["Estrade02_3"] = { + ["y"] = -45.4143, + ["x"] = -62.8779, + ["name"] = "Estrade02_3", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_48"] = { + ["y"] = -10.7982, + ["x"] = 79.3188, + ["name"] = "StaticBlockTheme02_05_48", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_6"] = { + ["y"] = -74.5532, + ["x"] = 76.0949, + ["name"] = "StoneBlock10_6", + ["angle"] = 0.0131211, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_5"] = { + ["y"] = -74.653, + ["x"] = 89.9325, + ["name"] = "StoneBlock10_5", + ["angle"] = -0.0432726, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock3_1"] = { + ["y"] = -61.6941, + ["x"] = 70.0109, + ["name"] = "StoneBlock3_1", + ["angle"] = 7.20024e-005, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -28.2778, + ["x"] = 69.7654, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_80"] = { + ["y"] = -12.8273, + ["x"] = 97.109, + ["name"] = "StaticBlockTheme02_05_80", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -16.8616, + ["x"] = 63.1188, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 10.191, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme02_05_83"] = { + ["y"] = -9.38942, + ["x"] = 104.615, + ["name"] = "StaticBlockTheme02_05_83", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_122"] = { + ["y"] = -4.2833, + ["x"] = -66.4359, + ["name"] = "StaticBlockTheme02_05_122", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_134"] = { + ["y"] = -12.5535, + ["x"] = -70.835, + ["name"] = "StaticBlockTheme02_05_134", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -36.3261, + ["x"] = 104.273, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = -1.57078, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["BLOCK_GREEN_BAG_1"] = { + ["y"] = -58.9309, + ["x"] = 79.9532, + ["name"] = "BLOCK_GREEN_BAG_1", + ["angle"] = -0.153856, + ["definition"] = "BLOCK_GREEN_BAG", + + }, + ["WoodBlock4_21"] = { + ["y"] = -43.4191, + ["x"] = 54.1127, + ["name"] = "WoodBlock4_21", + ["angle"] = 6.88906e-007, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_56"] = { + ["y"] = -4.97074, + ["x"] = 20.1254, + ["name"] = "StaticBlockTheme02_05_56", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_86"] = { + ["y"] = -6.00885, + ["x"] = 110.803, + ["name"] = "StaticBlockTheme02_05_86", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -53.1732, + ["x"] = 77.4542, + ["name"] = "ExtraDiamond_1", + ["angle"] = 0.298198, + ["definition"] = "ExtraDiamond", + + }, + ["StoneBlock6_6"] = { + ["y"] = -52.2057, + ["x"] = 26.8114, + ["name"] = "StoneBlock6_6", + ["angle"] = 1.571, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_52"] = { + ["y"] = -14.4249, + ["x"] = 18.12, + ["name"] = "StaticBlockTheme02_05_52", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = -4.03703, + ["x"] = 74.8496, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -49.6741, + ["x"] = 2.09515, + ["name"] = "ExtraDonut01_2", + ["angle"] = 0.00315886, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBalloon04_2"] = { + ["y"] = -65.9681, + ["x"] = 87.7011, + ["name"] = "StaticBalloon04_2", + ["angle"] = 0, + ["definition"] = "StaticBalloon04", + + }, + ["StaticBlockTheme02_05_127"] = { + ["y"] = -26.8064, + ["x"] = -54.0306, + ["name"] = "StaticBlockTheme02_05_127", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_78"] = { + ["y"] = -20.9477, + ["x"] = 98.128, + ["name"] = "StaticBlockTheme02_05_78", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -59.3393, + ["x"] = 69.0275, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.0434269, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_68"] = { + ["y"] = -44.1604, + ["x"] = 98.772, + ["name"] = "StaticBlockTheme02_05_68", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_97"] = { + ["y"] = -37.672, + ["x"] = -43.3461, + ["name"] = "StaticBlockTheme02_05_97", + ["angle"] = 1.17849, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_132"] = { + ["y"] = -12.5535, + ["x"] = -62.2128, + ["name"] = "StaticBlockTheme02_05_132", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDiamond_2"] = { + ["y"] = -76.1877, + ["x"] = 76.2718, + ["name"] = "ExtraDiamond_2", + ["angle"] = 0.169022, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_05_50"] = { + ["y"] = -24.6239, + ["x"] = 12.5048, + ["name"] = "StaticBlockTheme02_05_50", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock2_11"] = { + ["y"] = -67.3003, + ["x"] = 73.085, + ["name"] = "StoneBlock2_11", + ["angle"] = 0.0431916, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -24.0644, + ["x"] = 102.554, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_10"] = { + ["y"] = -69.3233, + ["x"] = 11.4095, + ["name"] = "SmallPiglette_10", + ["angle"] = 0.00897347, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock12_1"] = { + ["y"] = -65.2521, + ["x"] = 17.8959, + ["name"] = "WoodBlock12_1", + ["angle"] = 0.00222246, + ["definition"] = "WoodBlock12", + + }, + ["StaticBlockTheme02_05_111"] = { + ["y"] = -3.84339, + ["x"] = -75.498, + ["name"] = "StaticBlockTheme02_05_111", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock3_5"] = { + ["y"] = -69.3035, + ["x"] = 9.22778, + ["name"] = "StoneBlock3_5", + ["angle"] = 0.00290376, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_121"] = { + ["y"] = -4.19532, + ["x"] = -40.0416, + ["name"] = "StaticBlockTheme02_05_121", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDiamond_6"] = { + ["y"] = -59.3803, + ["x"] = 8.26472, + ["name"] = "ExtraDiamond_6", + ["angle"] = -0.58162, + ["definition"] = "ExtraDiamond", + + }, + ["WoodBlock4_17"] = { + ["y"] = -41.8596, + ["x"] = 38.6381, + ["name"] = "WoodBlock4_17", + ["angle"] = 0.000108726, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -42.1583, + ["x"] = 66.0397, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -49.8328, + ["x"] = 81.9062, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 2.35621, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -56.884, + ["x"] = 99.829, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = -2.35618, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_93"] = { + ["y"] = -35.6484, + ["x"] = -72.6438, + ["name"] = "StaticBlockTheme02_05_93", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_125"] = { + ["y"] = -4.37128, + ["x"] = -43.9128, + ["name"] = "StaticBlockTheme02_05_125", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -18.4542, + ["x"] = 110.926, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.465507, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme02_05_88"] = { + ["y"] = -1.48232, + ["x"] = 121.002, + ["name"] = "StaticBlockTheme02_05_88", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -50.8377, + ["x"] = 64.8005, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = -6.62353e-005, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock5_8"] = { + ["y"] = -48.1669, + ["x"] = 68.6787, + ["name"] = "WoodBlock5_8", + ["angle"] = -0.0102044, + ["definition"] = "WoodBlock5", + + }, + ["ExtraMelon_1"] = { + ["y"] = -55.3374, + ["x"] = 80.5368, + ["name"] = "ExtraMelon_1", + ["angle"] = -0.145734, + ["definition"] = "ExtraMelon", + + }, + ["StaticBlockTheme02_05_77"] = { + ["y"] = -27.1932, + ["x"] = 91.5962, + ["name"] = "StaticBlockTheme02_05_77", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_99"] = { + ["y"] = -25.6186, + ["x"] = -35.5158, + ["name"] = "StaticBlockTheme02_05_99", + ["angle"] = 2.74929, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_7"] = { + ["y"] = -56.6747, + ["x"] = 22.793, + ["name"] = "StoneBlock10_7", + ["angle"] = -0.000276184, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_59"] = { + ["y"] = -4.34047, + ["x"] = 5.39991, + ["name"] = "StaticBlockTheme02_05_59", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_6"] = { + ["y"] = -61.2467, + ["x"] = 13.5589, + ["name"] = "StoneBlock5_6", + ["angle"] = 0.00240987, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -5.11312, + ["x"] = 96.85, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHolyGrail_4"] = { + ["y"] = -51.1766, + ["x"] = 10.8998, + ["name"] = "ExtraHolyGrail_4", + ["angle"] = 0.00181337, + ["definition"] = "ExtraHolyGrail", + + }, + ["StoneBlock2_10"] = { + ["y"] = -66.2312, + ["x"] = 73.0913, + ["name"] = "StoneBlock2_10", + ["angle"] = 0.0435138, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock4_7"] = { + ["y"] = -72.0066, + ["x"] = 87.3805, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.57084, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_2"] = { + ["y"] = -5.80819, + ["x"] = -18.9341, + ["name"] = "WoodBlock10_2", + ["angle"] = -0.403026, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -25.4934, + ["x"] = 24.5218, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon05_6"] = { + ["y"] = -40.8751, + ["x"] = 33.8115, + ["name"] = "StaticBalloon05_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock12_2"] = { + ["y"] = -77.086, + ["x"] = 73.2469, + ["name"] = "StoneBlock12_2", + ["angle"] = 0.0130669, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -1.57545, + ["x"] = -9.65157, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["YellowBird_6"] = { + ["y"] = -47.7018, + ["x"] = -63.3177, + ["name"] = "YellowBird_6", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = 1.4185, + ["x"] = 57.8566, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = -2.74892, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -56.7625, + ["x"] = 86.4381, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0.785406, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_49"] = { + ["y"] = -33.104, + ["x"] = 13.5362, + ["name"] = "StaticBlockTheme02_05_49", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_10"] = { + ["y"] = -49.2926, + ["x"] = 5.58444, + ["name"] = "WoodBlock5_10", + ["angle"] = -0.000435038, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock11_4"] = { + ["y"] = -73.3552, + ["x"] = 10.6968, + ["name"] = "StoneBlock11_4", + ["angle"] = -1.56632, + ["definition"] = "StoneBlock11", + + }, + ["Estrade02_4"] = { + ["y"] = -41.7191, + ["x"] = -72.6438, + ["name"] = "Estrade02_4", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -33.3134, + ["x"] = 4.2145, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_16"] = { + ["y"] = -41.011, + ["x"] = 44.1386, + ["name"] = "WoodBlock4_16", + ["angle"] = 1.7341e-005, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -59.6274, + ["x"] = 93.1992, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -15.7132, + ["x"] = 86.5363, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_19"] = { + ["y"] = -46.1212, + ["x"] = 29.38, + ["name"] = "WoodBlock4_19", + ["angle"] = -6.92845e-005, + ["definition"] = "WoodBlock4", + + }, + ["ExtraBlockSmiley_2"] = { + ["y"] = -70.7657, + ["x"] = 89.6525, + ["name"] = "ExtraBlockSmiley_2", + ["angle"] = -0.417258, + ["definition"] = "ExtraBlockSmiley", + + }, + ["StaticBalloon05_3"] = { + ["y"] = -41.017, + ["x"] = 54.113, + ["name"] = "StaticBalloon05_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -61.9142, + ["x"] = 66.1406, + ["name"] = "StoneBlock11_1", + ["angle"] = -1.52787, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock4_8"] = { + ["y"] = -71.0072, + ["x"] = 72.9088, + ["name"] = "StoneBlock4_8", + ["angle"] = 1.58408, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_70"] = { + ["y"] = -47.0826, + ["x"] = 85.4788, + ["name"] = "StaticBlockTheme02_05_70", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["MediumPiglette_7"] = { + ["y"] = -65.1083, + ["x"] = 13.6296, + ["name"] = "MediumPiglette_7", + ["angle"] = 0.0503696, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_66"] = { + ["y"] = -29.7942, + ["x"] = 99.173, + ["name"] = "StaticBlockTheme02_05_66", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -47.7375, + ["x"] = 23.165, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.000578828, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -4.43812, + ["x"] = 83.3297, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock12_4"] = { + ["y"] = -77.0103, + ["x"] = 79.032, + ["name"] = "StoneBlock12_4", + ["angle"] = 0.0132515, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_61"] = { + ["y"] = -5.25723, + ["x"] = -0.960147, + ["name"] = "StaticBlockTheme02_05_61", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -7.10215, + ["x"] = 28.2005, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["YellowBird_7"] = { + ["y"] = -38.8488, + ["x"] = -81.8529, + ["name"] = "YellowBird_7", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -36.6004, + ["x"] = 79.3901, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = -2.3562, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_54"] = { + ["y"] = -9.26808, + ["x"] = 3.91017, + ["name"] = "StaticBlockTheme02_05_54", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_81"] = { + ["y"] = -12.8273, + ["x"] = 97.166, + ["name"] = "StaticBlockTheme02_05_81", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_11"] = { + ["y"] = -62.7853, + ["x"] = 8.49917, + ["name"] = "StoneBlock10_11", + ["angle"] = -0.00224283, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock2_7"] = { + ["y"] = -55.6133, + ["x"] = 8.24661, + ["name"] = "StoneBlock2_7", + ["angle"] = -0.000691249, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme02_05_89"] = { + ["y"] = -1.76881, + ["x"] = 113.553, + ["name"] = "StaticBlockTheme02_05_89", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHolyGrail_5"] = { + ["y"] = -51.1762, + ["x"] = 16.1407, + ["name"] = "ExtraHolyGrail_5", + ["angle"] = -0.00166491, + ["definition"] = "ExtraHolyGrail", + + }, + ["DecorationSpotsTheme02_01_4"] = { + ["y"] = 36.6766, + ["x"] = -17.2243, + ["name"] = "DecorationSpotsTheme02_01_4", + ["angle"] = 0, + ["definition"] = "DecorationSpotsTheme03_01", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -13.5789, + ["x"] = 113.841, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = -1.57076, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_94"] = { + ["y"] = -30.5455, + ["x"] = -81.8818, + ["name"] = "StaticBlockTheme02_05_94", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_100"] = { + ["y"] = -18.2282, + ["x"] = -34.0201, + ["name"] = "StaticBlockTheme02_05_100", + ["angle"] = -3.1412, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -23.7497, + ["x"] = 4.2145, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_57"] = { + ["y"] = -1.53287, + ["x"] = 24.3655, + ["name"] = "StaticBlockTheme02_05_57", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_13"] = { + ["y"] = -70.8925, + ["x"] = 13.7683, + ["name"] = "StoneBlock10_13", + ["angle"] = 0.00459117, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -42.2308, + ["x"] = 13.3618, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock3_1"] = { + ["y"] = -59.3264, + ["x"] = 21.7169, + ["name"] = "LightBlock3_1", + ["angle"] = 0.0265856, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_05_110"] = { + ["y"] = -3.75541, + ["x"] = -83.6802, + ["name"] = "StaticBlockTheme02_05_110", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_51"] = { + ["y"] = -23.7644, + ["x"] = 18.0627, + ["name"] = "StaticBlockTheme02_05_51", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock4_9"] = { + ["y"] = -71.2189, + ["x"] = 93.4002, + ["name"] = "StoneBlock4_9", + ["angle"] = 1.52994, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_79"] = { + ["y"] = -19.0569, + ["x"] = 91.7108, + ["name"] = "StaticBlockTheme02_05_79", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -42.2308, + ["x"] = 4.19415, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -14.4956, + ["x"] = 109.315, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = -2.74887, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock3_7"] = { + ["y"] = -69.273, + ["x"] = 18.1752, + ["name"] = "StoneBlock3_7", + ["angle"] = 0.00553268, + ["definition"] = "StoneBlock3", + + }, + ["RedBigBird_2"] = { + ["y"] = -29.3469, + ["x"] = -91.4429, + ["name"] = "RedBigBird_2", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StoneBlock5_1"] = { + ["y"] = -48.2197, + ["x"] = 15.5592, + ["name"] = "StoneBlock5_1", + ["angle"] = -0.00120274, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_74"] = { + ["y"] = -40.0675, + ["x"] = 85.7125, + ["name"] = "StaticBlockTheme02_05_74", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -3.89555, + ["x"] = 124.327, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = -0.392655, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_113"] = { + ["y"] = -12.9054, + ["x"] = -77.4336, + ["name"] = "StaticBlockTheme02_05_113", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_130"] = { + ["y"] = -20.8237, + ["x"] = -59.3095, + ["name"] = "StaticBlockTheme02_05_130", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_109"] = { + ["y"] = -3.84339, + ["x"] = -92.6543, + ["name"] = "StaticBlockTheme02_05_109", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_119"] = { + ["y"] = -29.2699, + ["x"] = -45.2325, + ["name"] = "StaticBlockTheme02_05_119", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock12_2"] = { + ["y"] = -65.2717, + ["x"] = 9.20401, + ["name"] = "WoodBlock12_2", + ["angle"] = -0.00164716, + ["definition"] = "WoodBlock12", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -32.8043, + ["x"] = 71.9427, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_91"] = { + ["y"] = -42.5109, + ["x"] = -53.553, + ["name"] = "StaticBlockTheme02_05_91", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_103"] = { + ["y"] = -13.7852, + ["x"] = -93.5341, + ["name"] = "StaticBlockTheme02_05_103", + ["angle"] = -2.74848, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -4.55271, + ["x"] = 66.3122, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_4"] = { + ["y"] = -69.4872, + ["x"] = 82.8057, + ["name"] = "StoneBlock10_4", + ["angle"] = -0.00090284, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_2"] = { + ["y"] = -61.7016, + ["x"] = 23.0461, + ["name"] = "WoodBlock2_2", + ["angle"] = 3.13795, + ["definition"] = "WoodBlock2", + + }, + ["ExtraBlockFlag02_1"] = { + ["y"] = -78.2737, + ["x"] = 13.7424, + ["name"] = "ExtraBlockFlag02_1", + ["angle"] = 0.00537785, + ["definition"] = "ExtraBlockFlag02", + + }, + ["ExtraHolyGrail_1"] = { + ["y"] = -73.0277, + ["x"] = 82.947, + ["name"] = "ExtraHolyGrail_1", + ["angle"] = -0.00023616, + ["definition"] = "ExtraHolyGrail", + + }, + ["StaticBlockTheme02_05_72"] = { + ["y"] = -52.1, + ["x"] = 96.255, + ["name"] = "StaticBlockTheme02_05_72", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_71"] = { + ["y"] = -52.6157, + ["x"] = 90.8693, + ["name"] = "StaticBlockTheme02_05_71", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_2"] = { + ["y"] = -48.22, + ["x"] = 11.4824, + ["name"] = "StoneBlock5_2", + ["angle"] = 0.00130988, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_55"] = { + ["y"] = -9.66916, + ["x"] = 12.0465, + ["name"] = "StaticBlockTheme02_05_55", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_117"] = { + ["y"] = -35.6045, + ["x"] = -51.9191, + ["name"] = "StaticBlockTheme02_05_117", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_1"] = { + ["y"] = -20.1884, + ["x"] = -5.36531, + ["name"] = "WoodBlock10_1", + ["angle"] = -0.783265, + ["definition"] = "WoodBlock10", + + }, + ["SmallPiglette_3"] = { + ["y"] = -57.0743, + ["x"] = 78.5143, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.73805, + ["definition"] = "SmallPiglette", + + }, + ["SmallPiglette_9"] = { + ["y"] = -69.3039, + ["x"] = 16.1029, + ["name"] = "SmallPiglette_9", + ["angle"] = 0.00822884, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_98"] = { + ["y"] = -31.9532, + ["x"] = -39.7388, + ["name"] = "StaticBlockTheme02_05_98", + ["angle"] = 2.35659, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock11_3"] = { + ["y"] = -73.3262, + ["x"] = 16.8869, + ["name"] = "StoneBlock11_3", + ["angle"] = 0.00485571, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock1_1"] = { + ["y"] = -57.7449, + ["x"] = 22.254, + ["name"] = "WoodBlock1_1", + ["angle"] = -0.000626919, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_05_128"] = { + ["y"] = -19.9439, + ["x"] = -50.7753, + ["name"] = "StaticBlockTheme02_05_128", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["SmallPiglette_6"] = { + ["y"] = -59.3028, + ["x"] = 10.4641, + ["name"] = "SmallPiglette_6", + ["angle"] = 0.262678, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -27.6475, + ["x"] = 75.8389, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall2_1"] = { + ["y"] = -52.1884, + ["x"] = 79.6693, + ["name"] = "ExtraHelmetSmall2_1", + ["angle"] = -0.124379, + ["definition"] = "ExtraHelmetSmall2", + + }, + ["ExtraDiamond_3"] = { + ["y"] = -76.283, + ["x"] = 89.7695, + ["name"] = "ExtraDiamond_3", + ["angle"] = -0.0145624, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_05_131"] = { + ["y"] = -11.8497, + ["x"] = -52.8869, + ["name"] = "StaticBlockTheme02_05_131", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["BlackBird_3"] = { + ["y"] = -53.5784, + ["x"] = -43.4712, + ["name"] = "BlackBird_3", + ["startNumber"] = 1, + ["angle"] = 0.000198304, + ["definition"] = "BlackBird", + + }, + ["WoodBlock10_4"] = { + ["y"] = -21.0176, + ["x"] = 111.706, + ["name"] = "WoodBlock10_4", + ["angle"] = -2.98641, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_129"] = { + ["y"] = -21.6156, + ["x"] = -64.6763, + ["name"] = "StaticBlockTheme02_05_129", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["BLOCK_GREEN_SPANNER_2_1"] = { + ["y"] = -49.2376, + ["x"] = 62.3182, + ["name"] = "BLOCK_GREEN_SPANNER_2_1", + ["angle"] = -0.42254, + ["definition"] = "BLOCK_GREEN_SPANNER_2", + + }, + ["StoneBlock12_1"] = { + ["y"] = -77.2714, + ["x"] = 92.7679, + ["name"] = "StoneBlock12_1", + ["angle"] = -0.0429842, + ["definition"] = "StoneBlock12", + + }, + ["ExtraRubberBall_1"] = { + ["y"] = -53.7458, + ["x"] = 74.7082, + ["name"] = "ExtraRubberBall_1", + ["angle"] = 0.0692307, + ["definition"] = "ExtraRubberBall", + + }, + ["WoodBlock1_2"] = { + ["y"] = -57.7466, + ["x"] = 5.07022, + ["name"] = "WoodBlock1_2", + ["angle"] = 0.00129006, + ["definition"] = "WoodBlock1", + + }, + ["ExtraBlockSmiley_3"] = { + ["y"] = -70.6822, + ["x"] = 76.0853, + ["name"] = "ExtraBlockSmiley_3", + ["angle"] = 0.223241, + ["definition"] = "ExtraBlockSmiley", + + }, + ["WoodBlock5_11"] = { + ["y"] = -49.2896, + ["x"] = 24.2396, + ["name"] = "WoodBlock5_11", + ["angle"] = 0.00069767, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock3_2"] = { + ["y"] = -59.3237, + ["x"] = 5.67301, + ["name"] = "LightBlock3_2", + ["angle"] = 0.00161502, + ["definition"] = "LightBlock3", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -50.8918, + ["x"] = 76.3247, + ["name"] = "ExtraDonut01_1", + ["angle"] = -0.547982, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -0.930381, + ["x"] = 103.267, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_135"] = { + ["y"] = -28.1262, + ["x"] = -47.784, + ["name"] = "StaticBlockTheme02_05_135", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraApple_1"] = { + ["y"] = -55.8828, + ["x"] = 76.6273, + ["name"] = "ExtraApple_1", + ["angle"] = -0.188291, + ["definition"] = "ExtraApple", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = 1.37837, + ["x"] = 31.753, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_101"] = { + ["y"] = -8.28635, + ["x"] = -32.2605, + ["name"] = "StaticBlockTheme02_05_101", + ["angle"] = 1.17851, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock4_13"] = { + ["y"] = -59.1946, + ["x"] = 4.00218, + ["name"] = "StoneBlock4_13", + ["angle"] = 1.57219, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock2_1"] = { + ["y"] = -70.5555, + ["x"] = 82.8547, + ["name"] = "LightBlock2_1", + ["angle"] = -0.000500816, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -9.02416, + ["x"] = -8.21912, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = 1.96347, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_5"] = { + ["y"] = -51.144, + ["x"] = 18.6221, + ["name"] = "StoneBlock6_5", + ["angle"] = 1.57181, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -19.4524, + ["x"] = 2.15178, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = 0.39267, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_96"] = { + ["y"] = -22.2753, + ["x"] = -81.8818, + ["name"] = "StaticBlockTheme02_05_96", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -18.4798, + ["x"] = 78.5319, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock9_1"] = { + ["y"] = -61.7914, + ["x"] = 70.015, + ["name"] = "StoneBlock9_1", + ["angle"] = -1.52764, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock3_6"] = { + ["y"] = -69.2893, + ["x"] = 13.6403, + ["name"] = "StoneBlock3_6", + ["angle"] = 0.00333367, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_133"] = { + ["y"] = -13.6973, + ["x"] = -70.3071, + ["name"] = "StaticBlockTheme02_05_133", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -61.7113, + ["x"] = 4.04537, + ["name"] = "WoodBlock2_1", + ["angle"] = -3.14001, + ["definition"] = "WoodBlock2", + + }, + ["MediumPiglette_4"] = { + ["y"] = -52.1325, + ["x"] = 24.4021, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.0415164, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -42.2308, + ["x"] = 22.4721, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["DecorationSpotsTheme02_01_3"] = { + ["y"] = -39.8443, + ["x"] = -19.6379, + ["name"] = "DecorationSpotsTheme02_01_3", + ["angle"] = 0, + ["definition"] = "DecorationSpotsTheme03_01", + + }, + ["StoneBlock11_2"] = { + ["y"] = -65.6652, + ["x"] = 70.0811, + ["name"] = "StoneBlock11_2", + ["angle"] = -1.52861, + ["definition"] = "StoneBlock11", + + }, + ["Estrade02_2"] = { + ["y"] = -48.5816, + ["x"] = -53.465, + ["name"] = "Estrade02_2", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -23.0628, + ["x"] = 85.0752, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["GlobeBird_1"] = { + ["y"] = -44.0066, + ["x"] = -72.8198, + ["name"] = "GlobeBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "GlobeBird", + + }, + ["StaticBlockTheme02_05_95"] = { + ["y"] = -20.4277, + ["x"] = -91.4717, + ["name"] = "StaticBlockTheme02_05_95", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["HelmetPiglette_3"] = { + ["y"] = -43.4754, + ["x"] = 44.175, + ["name"] = "HelmetPiglette_3", + ["angle"] = 1.7122e-005, + ["definition"] = "HelmetPiglette", + + }, + ["StoneBlock10_2"] = { + ["y"] = -68.5473, + ["x"] = 90.0252, + ["name"] = "StoneBlock10_2", + ["angle"] = -0.0464005, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock6_2"] = { + ["y"] = -47.739, + ["x"] = 3.64059, + ["name"] = "StoneBlock6_2", + ["angle"] = -0.000303028, + ["definition"] = "StoneBlock6", + + }, + ["StaticBalloon05_2"] = { + ["y"] = -39.4554, + ["x"] = 49.8539, + ["name"] = "StaticBalloon05_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock10_10"] = { + ["y"] = -62.7732, + ["x"] = 18.7278, + ["name"] = "StoneBlock10_10", + ["angle"] = 0.0028372, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_112"] = { + ["y"] = -12.8175, + ["x"] = -86.4076, + ["name"] = "StaticBlockTheme02_05_112", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -12.5187, + ["x"] = 25.4942, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon05_1"] = { + ["y"] = -38.6036, + ["x"] = 44.1752, + ["name"] = "StaticBalloon05_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["WoodBlock10_3"] = { + ["y"] = -8.75074, + ["x"] = -23.0696, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.404853, + ["definition"] = "WoodBlock10", + + }, + ["SmallPiglette_5"] = { + ["y"] = -59.3021, + ["x"] = 16.6142, + ["name"] = "SmallPiglette_5", + ["angle"] = -0.567938, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -0.285791, + ["x"] = 125.874, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = -0.392655, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = 5.42727, + ["x"] = 111.84, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_22"] = { + ["y"] = -45.5488, + ["x"] = 59.0817, + ["name"] = "WoodBlock4_22", + ["angle"] = 0.000440267, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -13.5188, + ["x"] = 63.5905, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock10_8"] = { + ["y"] = -56.6778, + ["x"] = 4.46806, + ["name"] = "StoneBlock10_8", + ["angle"] = 0.000945121, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock10_12"] = { + ["y"] = -67.7365, + ["x"] = 13.6807, + ["name"] = "StoneBlock10_12", + ["angle"] = 0.00342741, + ["definition"] = "StoneBlock10", + + }, + ["RedBigBird_1"] = { + ["y"] = -51.749, + ["x"] = -53.8158, + ["name"] = "RedBigBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["LargePiglette_1"] = { + ["y"] = -50.3308, + ["x"] = 72.6255, + ["name"] = "LargePiglette_1", + ["angle"] = -0.0209002, + ["definition"] = "LargePiglette", + + }, + ["Estrade02_1"] = { + ["y"] = -51.133, + ["x"] = -44.227, + ["name"] = "Estrade02_1", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme02_05_116"] = { + ["y"] = -29.9738, + ["x"] = -63.5326, + ["name"] = "StaticBlockTheme02_05_116", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock4_6"] = { + ["y"] = -72.0019, + ["x"] = 78.3673, + ["name"] = "StoneBlock4_6", + ["angle"] = 1.57461, + ["definition"] = "StoneBlock4", + + }, + ["MediumPiglette_5"] = { + ["y"] = -52.1356, + ["x"] = 5.47544, + ["name"] = "MediumPiglette_5", + ["angle"] = -0.0582483, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock2_6"] = { + ["y"] = -55.6128, + ["x"] = 18.6292, + ["name"] = "StoneBlock2_6", + ["angle"] = 0.00138592, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme02_05_75"] = { + ["y"] = -35.5409, + ["x"] = 91.786, + ["name"] = "StaticBlockTheme02_05_75", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraDiamond_5"] = { + ["y"] = -59.3802, + ["x"] = 18.8039, + ["name"] = "ExtraDiamond_5", + ["angle"] = 0.156897, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_05_85"] = { + ["y"] = -6.75372, + ["x"] = 113.496, + ["name"] = "StaticBlockTheme02_05_85", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_73"] = { + ["y"] = -44.4221, + ["x"] = 92.7601, + ["name"] = "StaticBlockTheme02_05_73", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_104"] = { + ["y"] = -7.18667, + ["x"] = -97.3173, + ["name"] = "StaticBlockTheme02_05_104", + ["angle"] = -2.35578, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon05_5"] = { + ["y"] = -43.7144, + ["x"] = 29.1265, + ["name"] = "StaticBalloon05_5", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock12_3"] = { + ["y"] = -77.0225, + ["x"] = 86.9919, + ["name"] = "StoneBlock12_3", + ["angle"] = -0.043378, + ["definition"] = "StoneBlock12", + + }, + ["StoneBlock2_8"] = { + ["y"] = -73.5251, + ["x"] = 72.9669, + ["name"] = "StoneBlock2_8", + ["angle"] = 0.013318, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme02_05_114"] = { + ["y"] = -21.8795, + ["x"] = -72.8586, + ["name"] = "StaticBlockTheme02_05_114", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_92"] = { + ["y"] = -39.3437, + ["x"] = -63.0538, + ["name"] = "StaticBlockTheme02_05_92", + ["angle"] = 0.000389576, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock10_2"] = { + ["y"] = -53.9711, + ["x"] = 68.0598, + ["name"] = "LightBlock10_2", + ["angle"] = 1.56885, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_05_76"] = { + ["y"] = -35.6555, + ["x"] = 91.2131, + ["name"] = "StaticBlockTheme02_05_76", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock4_10"] = { + ["y"] = -61.5591, + ["x"] = 88.0884, + ["name"] = "StoneBlock4_10", + ["angle"] = -0.392686, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -53.6684, + ["x"] = 84.3181, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = -1.1781, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -6.12809, + ["x"] = 60.8985, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 0.392683, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_108"] = { + ["y"] = -1.20396, + ["x"] = -32.1233, + ["name"] = "StaticBlockTheme02_05_108", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_18"] = { + ["y"] = -43.2793, + ["x"] = 33.6692, + ["name"] = "WoodBlock4_18", + ["angle"] = 0.000108729, + ["definition"] = "WoodBlock4", + + }, + ["StaticBalloon05_7"] = { + ["y"] = -39.4554, + ["x"] = 38.7804, + ["name"] = "StaticBalloon05_7", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["StoneBlock4_14"] = { + ["y"] = -18.0896, + ["x"] = 114.192, + ["name"] = "StoneBlock4_14", + ["angle"] = 1.16601, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -7.67721, + ["x"] = 122.665, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = -0.392655, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -16.1291, + ["x"] = -0.312027, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = 0.78537, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock2_9"] = { + ["y"] = -73.7481, + ["x"] = 93.6585, + ["name"] = "StoneBlock2_9", + ["angle"] = -0.0414387, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme02_05_124"] = { + ["y"] = -3.93137, + ["x"] = -50.9513, + ["name"] = "StaticBlockTheme02_05_124", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon04_1"] = { + ["y"] = -66.0285, + ["x"] = 75.5116, + ["name"] = "StaticBalloon04_1", + ["angle"] = 0, + ["definition"] = "StaticBalloon04", + + }, + ["StoneBlock6_7"] = { + ["y"] = -52.2101, + ["x"] = 0.160036, + ["name"] = "StoneBlock6_7", + ["angle"] = 1.57114, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock5_9"] = { + ["y"] = -63.1354, + ["x"] = 93.1865, + ["name"] = "WoodBlock5_9", + ["angle"] = -0.00342923, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_8"] = { + ["y"] = -51.2156, + ["x"] = 13.6312, + ["name"] = "StoneBlock5_8", + ["angle"] = 1.5712, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_67"] = { + ["y"] = -44.1604, + ["x"] = 98.772, + ["name"] = "StaticBlockTheme02_05_67", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock11_1"] = { + ["y"] = -59.1274, + ["x"] = 25.8081, + ["name"] = "LightBlock11_1", + ["angle"] = -0.000836688, + ["definition"] = "LightBlock11", + + }, + ["StoneBlock5_9"] = { + ["y"] = -61.6828, + ["x"] = 73.0112, + ["name"] = "StoneBlock5_9", + ["angle"] = 1.6151, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_9"] = { + ["y"] = -57.7284, + ["x"] = 9.54885, + ["name"] = "StoneBlock6_9", + ["angle"] = 0.0113561, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock6_10"] = { + ["y"] = -51.1442, + ["x"] = 8.27031, + ["name"] = "StoneBlock6_10", + ["angle"] = 1.56996, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -16.7303, + ["x"] = 106.163, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 2.35622, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["ExtraHam_1"] = { + ["y"] = -60.0493, + ["x"] = 83.9343, + ["name"] = "ExtraHam_1", + ["angle"] = -0.117735, + ["definition"] = "ExtraHam", + + }, + ["StoneBlock10_3"] = { + ["y"] = -68.4422, + ["x"] = 76.4327, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.0132006, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_126"] = { + ["y"] = -12.9054, + ["x"] = -43.9128, + ["name"] = "StaticBlockTheme02_05_126", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_62"] = { + ["y"] = -44.2143, + ["x"] = 76.8693, + ["name"] = "StaticBlockTheme02_05_62", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_107"] = { + ["y"] = -12.3776, + ["x"] = -36.6104, + ["name"] = "StaticBlockTheme02_05_107", + ["angle"] = 0.000424862, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -33.7071, + ["x"] = 66.0983, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -58.8825, + ["x"] = 89.5322, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.17811, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_102"] = { + ["y"] = -0.0161316, + ["x"] = -26.6297, + ["name"] = "StaticBlockTheme02_05_102", + ["angle"] = 2.35661, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_105"] = { + ["y"] = -2.78762, + ["x"] = -102.508, + ["name"] = "StaticBlockTheme02_05_105", + ["angle"] = -1.96308, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -12.834, + ["x"] = 117.451, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = -1.17806, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock4_3"] = { + ["y"] = -66.1437, + ["x"] = 94.4385, + ["name"] = "StoneBlock4_3", + ["angle"] = 1.56189, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_65"] = { + ["y"] = -29.7942, + ["x"] = 99.173, + ["name"] = "StaticBlockTheme02_05_65", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock4_12"] = { + ["y"] = -59.1894, + ["x"] = 23.3439, + ["name"] = "StoneBlock4_12", + ["angle"] = 1.56713, + ["definition"] = "StoneBlock4", + + }, + ["StaticBalloon05_4"] = { + ["y"] = -43.1466, + ["x"] = 59.3659, + ["name"] = "StaticBalloon05_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBalloon05", + + }, + ["MediumPiglette_6"] = { + ["y"] = -48.9507, + ["x"] = 64.8035, + ["name"] = "MediumPiglette_6", + ["angle"] = -0.00191833, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock4_20"] = { + ["y"] = -41.8576, + ["x"] = 49.7117, + ["name"] = "WoodBlock4_20", + ["angle"] = 0.000197911, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -10.7713, + ["x"] = 120.545, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = -0.785355, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme02_05_58"] = { + ["y"] = -3.65289, + ["x"] = 11.3589, + ["name"] = "StaticBlockTheme02_05_58", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_12"] = { + ["y"] = -63.2314, + ["x"] = 66.5756, + ["name"] = "WoodBlock6_12", + ["angle"] = 2.38153, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_106"] = { + ["y"] = 0.907587, + ["x"] = -106.291, + ["name"] = "StaticBlockTheme02_05_106", + ["angle"] = -1.17768, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -19.282, + ["x"] = 72.2865, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -32.8848, + ["x"] = 22.4591, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -49.8328, + ["x"] = 81.9062, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 2.35621, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock10_3"] = { + ["y"] = -53.9808, + ["x"] = 69.8287, + ["name"] = "LightBlock10_3", + ["angle"] = 1.5993, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock4_2"] = { + ["y"] = -66.1216, + ["x"] = 91.9671, + ["name"] = "StoneBlock4_2", + ["angle"] = 1.54053, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_69"] = { + ["y"] = -37.5139, + ["x"] = 98.886, + ["name"] = "StaticBlockTheme02_05_69", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_87"] = { + ["y"] = -5.20668, + ["x"] = 117.679, + ["name"] = "StaticBlockTheme02_05_87", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -9.35316, + ["x"] = 90.6618, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = -0.785395, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["Estrade02_6"] = { + ["y"] = -26.2345, + ["x"] = -91.5597, + ["name"] = "Estrade02_6", + ["angle"] = 0.000389576, + ["definition"] = "Estrade02", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 12, + ["ExtraDonut01"] = 2, + ["ExtraBlockFlag02"] = 1, + ["ExtraBlockSmiley"] = 3, + ["KingPiglette"] = 1, + ["LightBlock3"] = 2, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 8, + ["StoneBlock2"] = 11, + ["HatPiglette"] = 1, + ["ExtraDiamond"] = 6, + ["StoneBlock12"] = 4, + ["LargePiglette"] = 2, + ["ExtraHam"] = 1, + ["ExtraPoleRed"] = 1, + ["BLOCK_GREEN_BAG"] = 1, + ["WoodBlock5"] = 12, + ["BlackBird"] = 3, + ["StoneBlock9"] = 1, + ["ExtraMelon"] = 1, + ["StoneBlock5"] = 9, + ["LightBlock1"] = 2, + ["ExtraHelmetBoss"] = 3, + ["BombPig"] = 3, + ["ExtraPoleYellow"] = 1, + ["StaticBalloon01"] = 6, + ["MediumPiglette"] = 7, + ["WoodBlock4"] = 22, + ["StaticBlockTheme02_04"] = 20, + ["ExtraStrawberry"] = 1, + ["ExtraBlockTNT"] = 1, + ["YellowBird"] = 8, + ["StaticBalloon04"] = 2, + ["GlobeBird"] = 1, + ["WoodBlock2"] = 5, + ["BLOCK_GREEN_SPANNER_2"] = 1, + ["HelmetPiglette"] = 3, + ["ExtraRubberBall"] = 1, + ["ExtraCowboyHelmet_1"] = 1, + ["WoodBlock3"] = 9, + ["LightBlock10"] = 3, + ["ExtraHolyGrail"] = 5, + ["ShootingPlatform01"] = 1, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 13, + ["StaticBlockTheme01_02"] = 1, + ["StoneBlock4"] = 15, + ["ExtraHelmetSmall"] = 1, + ["DecorationSpotsTheme02_01"] = 4, + ["ExtraHelmetSmall2"] = 1, + ["StaticBalloon05"] = 7, + ["StaticBlockTheme01_01"] = 1, + ["StaticBlockTheme02_03"] = 4, + ["StaticBlockTheme02_05"] = 135, + ["ExtraBlockStairs"] = 1, + ["StaticBlockTheme01_04"] = 1, + ["Estrade02"] = 6, + ["ExtraApple"] = 1, + ["LightBlock2"] = 1, + ["WoodBlock10"] = 4, + ["WoodBlock1"] = 2, + ["WoodBlock6"] = 12, + ["StoneBlock11"] = 4, + ["StaticBlockTheme02_06"] = 4, + ["RedBigBird"] = 2, + ["SmallPiglette"] = 10, + ["WoodBlock12"] = 2, + +} +theme = "theme2boss" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -177.52, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 86.2047, + ["screenWidth"] = 480, + ["py"] = -177.52, + ["screenHeight"] = 320, + ["top"] = -454.102, + ["sy"] = 0.578491, + ["sx"] = 0.578491, + ["px"] = -813.992, + ["left"] = -1228.86, + ["right"] = 1196.22, + + }, + ["version"] = "0.02", + ["sx"] = 0.578491, + ["windows"] = { + ["bottom"] = 25.7908, + ["screenWidth"] = 1243, + ["py"] = -902.659, + ["screenHeight"] = 648, + ["top"] = -1992.98, + ["sy"] = 0.29716, + ["sx"] = 0.29716, + ["px"] = -820.078, + ["left"] = -2911.54, + ["right"] = 2736.46, + + }, + ["sy"] = 0.578491, + ["ipad"] = { + ["sy"] = 0.772634, + ["sx"] = 0.772634, + ["px"] = -571.409, + ["py"] = -239.239, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["px"] = -813.992, + +} +filename = "Level15.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level2.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level2.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..1eab6e930bac643a5e78864bad22300bb9b55c92 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level2.temp.lua @@ -0,0 +1,608 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1192.88, + ["bottom"] = 54.4621, + ["screenWidth"] = 480, + ["py"] = -213.395, + ["left"] = 791.094, + ["screenHeight"] = 320, + ["top"] = -481.252, + ["iphone"] = { + ["bottom"] = 54.4623, + ["screenWidth"] = 480, + ["py"] = -213.395, + ["screenHeight"] = 320, + ["top"] = -481.252, + ["sy"] = 0.170667, + ["sx"] = 0.597333, + ["right"] = 1594.67, + ["left"] = 791.094, + ["px"] = 1192.88, + + }, + ["sy"] = 0.170667, + ["sx"] = 0.597333, + ["windows"] = { + ["bottom"] = 131.488, + ["screenWidth"] = 1366, + ["py"] = -294.507, + ["screenHeight"] = 768, + ["top"] = -720.502, + ["sy"] = 0.90142, + ["sx"] = 0.90142, + ["px"] = 1005.16, + ["left"] = 247.466, + ["right"] = 1762.85, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["bottom"] = 205.5, + ["screenWidth"] = 1024, + ["py"] = -220.495, + ["screenHeight"] = 768, + ["top"] = -646.49, + ["sy"] = 0.90142, + ["sx"] = 0.90142, + ["px"] = 1150.35, + ["left"] = 582.357, + ["right"] = 1718.34, + + }, + ["right"] = 1594.67, + +} +levelParticles = { + ["y"] = -1679.68, + ["x"] = 1869.57, + ["firstFrame"] = true, + ["width"] = 5419.01, + +} +joints = { + +} +world = { + ["ExtraBlueBird_3"] = { + ["y"] = -0.671673, + ["x"] = 74.879, + ["name"] = "ExtraBlueBird_3", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlueBird", + + }, + ["RedBird_3"] = { + ["y"] = -3.72149, + ["x"] = 5.20437, + ["name"] = "RedBird_3", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock4_1"] = { + ["y"] = -2.16931, + ["x"] = 76.2657, + ["name"] = "StoneBlock4_1", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_4"] = { + ["y"] = -11.9819, + ["x"] = 79.0481, + ["name"] = "WoodBlock5_4", + ["angle"] = 3.14161, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock8_2"] = { + ["y"] = -2.0029, + ["x"] = 70.4415, + ["name"] = "WoodBlock8_2", + ["angle"] = 3.92699, + ["definition"] = "WoodBlock8", + + }, + ["RedBird_4"] = { + ["y"] = -2.93012, + ["x"] = -2.99359, + ["name"] = "RedBird_4", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme01_04_2"] = { + ["y"] = -13.8175, + ["x"] = 71.6064, + ["name"] = "StaticBlockTheme01_04_2", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = 0.825961, + ["x"] = 69.7759, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock6_4"] = { + ["y"] = -14.6143, + ["x"] = 64.4978, + ["name"] = "StoneBlock6_4", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock6", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 36.8125, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = 0.32675, + ["x"] = 54.356, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlueBird_2"] = { + ["y"] = -0.671673, + ["x"] = 73.4923, + ["name"] = "ExtraBlueBird_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlueBird", + + }, + ["WoodBlock4_1"] = { + ["y"] = -14.3167, + ["x"] = 76.3766, + ["name"] = "WoodBlock4_1", + ["angle"] = 1.57079, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock6_8"] = { + ["y"] = -1.19115, + ["x"] = 28.7366, + ["name"] = "WoodBlock6_8", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_1"] = { + ["y"] = -7.43877, + ["x"] = 56.7411, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock11_2"] = { + ["y"] = -11.1349, + ["x"] = 83.023, + ["name"] = "LightBlock11_2", + ["angle"] = 0, + ["definition"] = "LightBlock11", + + }, + ["MediumPiglette_2"] = { + ["y"] = -4.55442, + ["x"] = 49.8076, + ["name"] = "MediumPiglette_2", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = 0.271283, + ["x"] = 45.0374, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_5"] = { + ["y"] = -2.85518, + ["x"] = 40.7178, + ["name"] = "WoodBlock6_5", + ["angle"] = 2.35619, + ["definition"] = "WoodBlock6", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -19.6971, + ["x"] = 77.9852, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -2.80068, + ["x"] = -7.33141, + ["name"] = "RedBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock6_6"] = { + ["y"] = -19.1119, + ["x"] = 61.9479, + ["name"] = "StoneBlock6_6", + ["angle"] = 0, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock6_4"] = { + ["y"] = -3.93909, + ["x"] = 84.8723, + ["name"] = "LightBlock6_4", + ["angle"] = 1.57082, + ["definition"] = "LightBlock6", + + }, + ["StoneBlock4_2"] = { + ["y"] = -6.32941, + ["x"] = 76.2657, + ["name"] = "StoneBlock4_2", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock1_1"] = { + ["y"] = -6.21847, + ["x"] = 43.928, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = 0.215814, + ["x"] = 70.3861, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_3"] = { + ["y"] = -10.2677, + ["x"] = 76.2102, + ["name"] = "StoneBlock4_3", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock4", + + }, + ["Estrade02_1"] = { + ["y"] = -0.83338, + ["x"] = -4.76833, + ["name"] = "Estrade02_1", + ["angle"] = 7.20024e-005, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -1.55917, + ["x"] = 59.2372, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["RedBird_1"] = { + ["y"] = -2.21704, + ["x"] = -13.7817, + ["name"] = "RedBird_1", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["Estrade03_1"] = { + ["y"] = -1.499, + ["x"] = 4.93858, + ["name"] = "Estrade03_1", + ["angle"] = 7.20024e-005, + ["definition"] = "Estrade03", + + }, + ["WoodBlock5_2"] = { + ["y"] = -9.43562, + ["x"] = 56.7411, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["ExtraStrongBall_2"] = { + ["y"] = -18.9206, + ["x"] = 75.5446, + ["name"] = "ExtraStrongBall_2", + ["angle"] = 6.28316, + ["definition"] = "ExtraStrongBall", + + }, + ["StoneBlock7_1"] = { + ["y"] = -21.3613, + ["x"] = 60.7903, + ["name"] = "StoneBlock7_1", + ["angle"] = 3.14159, + ["definition"] = "StoneBlock7", + + }, + ["StoneBlock10_1"] = { + ["y"] = -17.6448, + ["x"] = 74.8235, + ["name"] = "StoneBlock10_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["SmallPiglette_5"] = { + ["y"] = -11.6543, + ["x"] = 61.8441, + ["name"] = "SmallPiglette_5", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + ["ExtraBlueBird_1"] = { + ["y"] = -2.94586, + ["x"] = 69.1658, + ["name"] = "ExtraBlueBird_1", + ["angle"] = 5.89048, + ["definition"] = "ExtraBlueBird", + + }, + ["WoodBlock5_3"] = { + ["y"] = -15.1436, + ["x"] = 78.8817, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.57081, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_03_4"] = { + ["y"] = -2.11384, + ["x"] = 64.0628, + ["name"] = "StaticBlockTheme01_03_4", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock2_1"] = { + ["y"] = -16.7019, + ["x"] = 76.4321, + ["name"] = "WoodBlock2_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock2", + + }, + ["MediumPiglette_3"] = { + ["y"] = -21.3916, + ["x"] = 64.6306, + ["name"] = "MediumPiglette_3", + ["angle"] = 0, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock8_1"] = { + ["y"] = -0.949015, + ["x"] = 71.8837, + ["name"] = "WoodBlock8_1", + ["angle"] = 3.92699, + ["definition"] = "WoodBlock8", + + }, + ["LightBlock6_3"] = { + ["y"] = -3.88362, + ["x"] = 77.7169, + ["name"] = "LightBlock6_3", + ["angle"] = 1.57082, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -5.60833, + ["x"] = 63.6191, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -10.545, + ["x"] = 68.3337, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 0.785399, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["ExtraApple_1"] = { + ["y"] = -1.05476, + ["x"] = 79.4364, + ["name"] = "ExtraApple_1", + ["angle"] = 4.05312e-005, + ["definition"] = "ExtraApple", + + }, + ["WoodBlock6_1"] = { + ["y"] = -8.54294, + ["x"] = 81.2114, + ["name"] = "WoodBlock6_1", + ["angle"] = 3.14161, + ["definition"] = "WoodBlock6", + + }, + ["Estrade02_2"] = { + ["y"] = -0.167764, + ["x"] = -13.5878, + ["name"] = "Estrade02_2", + ["angle"] = 7.20024e-005, + ["definition"] = "Estrade02", + + }, + ["ExtraHolyGrail_2"] = { + ["y"] = -1.88677, + ["x"] = 81.6551, + ["name"] = "ExtraHolyGrail_2", + ["angle"] = 7.20024e-005, + ["definition"] = "ExtraHolyGrail", + + }, + ["WoodBlock6_7"] = { + ["y"] = -1.74583, + ["x"] = 36.3358, + ["name"] = "WoodBlock6_7", + ["angle"] = 2.74889, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock1_1"] = { + ["y"] = -13.5403, + ["x"] = 80.4259, + ["name"] = "WoodBlock1_1", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock1", + + }, + ["LightBlock1_1"] = { + ["y"] = -20.0278, + ["x"] = 58.4688, + ["name"] = "LightBlock1_1", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock6_5"] = { + ["y"] = -14.5589, + ["x"] = 59.3947, + ["name"] = "StoneBlock6_5", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -1.39276, + ["x"] = 63.6191, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_5"] = { + ["y"] = -9.98506, + ["x"] = 79.0481, + ["name"] = "WoodBlock5_5", + ["angle"] = 3.14161, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 2, + ["StoneBlock6"] = 6, + ["Estrade03"] = 1, + ["MediumPiglette"] = 3, + ["LightBlock5"] = 4, + ["ImmovableWall01"] = 1, + ["ExtraBlockTNT"] = 1, + ["LightBlock11"] = 2, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 4, + ["StaticBlockTheme01_04"] = 3, + ["WoodBlock2"] = 1, + ["StoneBlock1"] = 3, + ["StaticBlockTheme01_05"] = 9, + ["ExtraPoleRed"] = 1, + ["WoodBlock5"] = 5, + ["StoneBlock10"] = 3, + ["WoodBlock3"] = 6, + ["SmallPiglette"] = 5, + ["LightBlock6"] = 5, + ["StoneBlock4"] = 3, + ["StoneBlock7"] = 1, + ["ExtraHolyGrail"] = 2, + ["StaticBlockTheme01_01"] = 1, + ["StaticBlockTheme01_02"] = 2, + ["StoneBlock11"] = 1, + ["WoodBlock4"] = 1, + ["LightBlock1"] = 1, + ["Estrade02"] = 2, + ["ExtraApple"] = 1, + ["StoneBlock5"] = 4, + ["ImmovableWall03"] = 2, + ["ExtraBlueBird"] = 3, + ["LightBlock10"] = 2, + ["WoodBlock1"] = 1, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["WoodBlock6"] = 8, + ["ExtraStrongBall"] = 2, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -50.5523, + ["bottom"] = 10.5511, + ["screenWidth"] = 480, + ["py"] = -156.296, + ["left"] = -419.405, + ["screenHeight"] = 320, + ["top"] = -402.198, + ["iphone"] = { + ["bottom"] = 10.5507, + ["screenWidth"] = 480, + ["py"] = -156.296, + ["screenHeight"] = 320, + ["top"] = -402.198, + ["sy"] = 0.650667, + ["sx"] = 0.650667, + ["right"] = 1528.8, + ["left"] = -419.405, + ["px"] = -50.5523, + + }, + ["sy"] = 0.650667, + ["sx"] = 0.650667, + ["windows"] = { + ["bottom"] = 131.488, + ["screenWidth"] = 1366, + ["py"] = -184.529, + ["screenHeight"] = 768, + ["top"] = -610.524, + ["sy"] = 0.90142, + ["sx"] = 0.90142, + ["px"] = 296.604, + ["left"] = -461.089, + ["right"] = 1762.85, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["sy"] = 0.75142, + ["sx"] = 0.75142, + ["px"] = 219.767, + ["py"] = -233.033, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["right"] = 1528.8, + +} +filename = "Level2.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level3.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level3.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ef0382ab2ddf3f7323d8786fa564c4671aae4dc --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level3.temp.lua @@ -0,0 +1,1636 @@ +themeSprites = { + +} +castleCameraData = { + ["screenHeight"] = 320, + ["bottom"] = 77.9304, + ["px"] = 1293.29, + ["right"] = 1650.03, + ["left"] = 936.547, + ["screenWidth"] = 480, + ["top"] = -397.726, + ["iphone"] = { + ["bottom"] = 77.9304, + ["screenWidth"] = 480, + ["py"] = -159.898, + ["screenHeight"] = 320, + ["top"] = -397.726, + ["sy"] = 0.252282, + ["sx"] = 0.672754, + ["right"] = 1650.03, + ["left"] = 936.547, + ["px"] = 1293.29, + + }, + ["sy"] = 0.252282, + ["sx"] = 0.672754, + ["windows"] = { + ["sy"] = 0.899558, + ["sx"] = 0.899558, + ["px"] = 988.303, + ["py"] = -574.214, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["bottom"] = 227.743, + ["screenWidth"] = 1024, + ["py"] = -199.133, + ["screenHeight"] = 768, + ["top"] = -626.009, + ["sy"] = 0.899558, + ["sx"] = 0.899558, + ["right"] = 1867.05, + ["left"] = 728.712, + ["px"] = 1297.88, + + }, + ["py"] = -159.898, + +} +levelParticles = { + ["y"] = -1986.38, + ["x"] = 2016.31, + ["firstFrame"] = true, + ["width"] = 6071.79, + +} +joints = { + ["WoodBlock9_1WoodBlock3_1"] = { + ["type"] = 1, + ["end2"] = "WoodBlock3_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock9_1WoodBlock3_1", + ["collideConnected"] = 1, + ["x1"] = 0, + ["end1"] = "WoodBlock9_1", + ["dampingRatio"] = 0.5, + ["frequency"] = 5.1, + + }, + ["WoodBlock9_2WoodBlock3_2"] = { + ["type"] = 1, + ["end2"] = "WoodBlock3_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock9_2WoodBlock3_2", + ["collideConnected"] = 1, + ["x1"] = 0, + ["end1"] = "WoodBlock9_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 75.1994, + + }, + +} +world = { + ["LightBlock5_4"] = { + ["y"] = -2.30266, + ["x"] = 39.678, + ["name"] = "LightBlock5_4", + ["angle"] = 1.57114, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_11"] = { + ["y"] = -30.723, + ["x"] = 47.1664, + ["name"] = "LightBlock1_11", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -45.4683, + ["x"] = 41.4719, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -15.1947, + ["x"] = 40.2334, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_7"] = { + ["y"] = -31.6124, + ["x"] = 52.4468, + ["name"] = "LightBlock1_7", + ["angle"] = 0.785525, + ["definition"] = "LightBlock1", + + }, + ["SmallPiglette_4"] = { + ["y"] = -19.422, + ["x"] = 59.2432, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.00035429, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -8.52794, + ["x"] = 69.4704, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_3"] = { + ["y"] = -17.3336, + ["x"] = 39.4454, + ["name"] = "LightBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["SmallBlueBird_3"] = { + ["y"] = -20.2994, + ["x"] = -15.4583, + ["name"] = "SmallBlueBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -13.3801, + ["x"] = 75.1646, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = 3.5345, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -6.0823, + ["x"] = 74.3617, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock2_4"] = { + ["y"] = -19.0011, + ["x"] = 38.5561, + ["name"] = "LightBlock2_4", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_03_7"] = { + ["y"] = -14.1026, + ["x"] = 68.5503, + ["name"] = "StaticBlockTheme02_03_7", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -16.9089, + ["x"] = 2.10592, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -4.63714, + ["x"] = 76.0292, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock3_1"] = { + ["y"] = -19.8904, + ["x"] = 41.1129, + ["name"] = "LightBlock3_1", + ["angle"] = 6.28317, + ["definition"] = "LightBlock3", + + }, + ["LightBlock2_5"] = { + ["y"] = -19.8904, + ["x"] = 39.501, + ["name"] = "LightBlock2_5", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["LightBlock4_4"] = { + ["y"] = -29.8371, + ["x"] = 39.3957, + ["name"] = "LightBlock4_4", + ["angle"] = 1.57082, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_33"] = { + ["y"] = -16.0401, + ["x"] = 69.7892, + ["name"] = "StaticBlockTheme02_04_33", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock9_1"] = { + ["y"] = -2.06844, + ["x"] = -11.206, + ["name"] = "WoodBlock9_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -4.69272, + ["x"] = 63.2451, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -16.9089, + ["x"] = 3.10641, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_29"] = { + ["y"] = -35.8822, + ["x"] = 65.2873, + ["name"] = "StaticBlockTheme02_02_29", + ["angle"] = 4.31992, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -36.3485, + ["x"] = 62.3255, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 3.92707, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -48.7477, + ["x"] = 44.6957, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock9_2"] = { + ["y"] = -2.01285, + ["x"] = -1.92364, + ["name"] = "WoodBlock9_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock9", + + }, + ["LightBlock2_7"] = { + ["y"] = -35.7255, + ["x"] = 45.5545, + ["name"] = "LightBlock2_7", + ["angle"] = 1.57091, + ["definition"] = "LightBlock2", + + }, + ["SmallBlueBird_4"] = { + ["y"] = -12.2955, + ["x"] = -21.2389, + ["name"] = "SmallBlueBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["LightBlock6_5"] = { + ["y"] = -37.2262, + ["x"] = 43.0533, + ["name"] = "LightBlock6_5", + ["angle"] = 0.000124931, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -0.0117004, + ["x"] = -6.62059, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock1_5"] = { + ["y"] = -22.3361, + ["x"] = 42.6692, + ["name"] = "LightBlock1_5", + ["angle"] = 4.71241, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock3_1"] = { + ["y"] = -4.08131, + ["x"] = 53.4625, + ["name"] = "StoneBlock3_1", + ["angle"] = 3.9273, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_04_23"] = { + ["y"] = -48.3883, + ["x"] = 63.1195, + ["name"] = "StaticBlockTheme02_04_23", + ["angle"] = 0.785631, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_36"] = { + ["y"] = -2.80291, + ["x"] = 79.6421, + ["name"] = "StaticBlockTheme02_04_36", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -9.29404, + ["x"] = -21.1277, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_1"] = { + ["y"] = -22.8919, + ["x"] = 41.224, + ["name"] = "LightBlock8_1", + ["angle"] = 4.71241, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -41.2009, + ["x"] = 55.2723, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 3.53437, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 23.7391, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -2.13591, + ["x"] = 54.1295, + ["name"] = "WoodBlock11_1", + ["angle"] = 0.000248432, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_02_32"] = { + ["y"] = -16.6986, + ["x"] = 60.4104, + ["name"] = "StaticBlockTheme02_02_32", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -4.34716, + ["x"] = 2.60617, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["BLOCK_GREEN_BAG_1"] = { + ["y"] = -3.8034, + ["x"] = 47.6819, + ["name"] = "BLOCK_GREEN_BAG_1", + ["angle"] = 1.17837, + ["definition"] = "BLOCK_GREEN_BAG", + + }, + ["LightBlock1_14"] = { + ["y"] = -16.1427, + ["x"] = 45.1807, + ["name"] = "LightBlock1_14", + ["angle"] = 3.14194, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock8_1"] = { + ["y"] = -38.6538, + ["x"] = 42.5683, + ["name"] = "StoneBlock8_1", + ["angle"] = 1.96386, + ["definition"] = "StoneBlock8", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -3.58107, + ["x"] = 41.5122, + ["name"] = "ExtraDiamond_1", + ["angle"] = 2.35654, + ["definition"] = "ExtraDiamond", + + }, + ["StaticBlockTheme02_02_22"] = { + ["y"] = -34.9798, + ["x"] = 69.2261, + ["name"] = "StaticBlockTheme02_02_22", + ["angle"] = 1.57098, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock4_2"] = { + ["y"] = -18.3341, + ["x"] = 41.1129, + ["name"] = "LightBlock4_2", + ["angle"] = 6.28316, + ["definition"] = "LightBlock4", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -7.47187, + ["x"] = 46.8482, + ["name"] = "ExtraDonut01_2", + ["angle"] = 0.393019, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -6.74929, + ["x"] = 73.0833, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -12.629, + ["x"] = -17.8483, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_38"] = { + ["y"] = -13.9751, + ["x"] = 59.0764, + ["name"] = "StaticBlockTheme02_04_38", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_27"] = { + ["y"] = -40.0509, + ["x"] = 65.5096, + ["name"] = "StaticBlockTheme02_04_27", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallBlueBird_5"] = { + ["y"] = -3.34667, + ["x"] = -25.352, + ["name"] = "SmallBlueBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme02_04_28"] = { + ["y"] = -43.2747, + ["x"] = 58.1171, + ["name"] = "StaticBlockTheme02_04_28", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_18"] = { + ["y"] = -14.4488, + ["x"] = 50.0973, + ["name"] = "StaticBlockTheme02_02_18", + ["angle"] = 3.14169, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -16.1863, + ["x"] = -6.67617, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_3"] = { + ["y"] = -33.8515, + ["x"] = 48.0862, + ["name"] = "SmallPiglette_3", + ["angle"] = 7.20024e-005, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock7_1"] = { + ["y"] = -29.5558, + ["x"] = 53.5029, + ["name"] = "LightBlock7_1", + ["angle"] = 0.000107288, + ["definition"] = "LightBlock7", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -15.1947, + ["x"] = 42.1232, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_26"] = { + ["y"] = -42.0519, + ["x"] = 64.8982, + ["name"] = "StaticBlockTheme02_04_26", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = -37.6608, + ["x"] = 65.3428, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = 5.49802, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_39"] = { + ["y"] = -13.1969, + ["x"] = 58.7985, + ["name"] = "StaticBlockTheme02_04_39", + ["angle"] = 3.92723, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -36.3824, + ["x"] = 66.8992, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 4.31992, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_29"] = { + ["y"] = -7.15477, + ["x"] = 57.7672, + ["name"] = "StaticBlockTheme02_01_29", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -52.2105, + ["x"] = 60.3884, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = 0.392878, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -12.6379, + ["x"] = 44.4021, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 5.49777, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock2_3"] = { + ["y"] = -18.8899, + ["x"] = 43.892, + ["name"] = "LightBlock2_3", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_03_6"] = { + ["y"] = 2.50946, + ["x"] = 37.8891, + ["name"] = "StaticBlockTheme02_03_6", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_27"] = { + ["y"] = -34.048, + ["x"] = 68.0108, + ["name"] = "StaticBlockTheme02_02_27", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_20"] = { + ["y"] = -53.0998, + ["x"] = 53.8297, + ["name"] = "StaticBlockTheme02_02_20", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_23"] = { + ["y"] = -28.1431, + ["x"] = 69.2817, + ["name"] = "StaticBlockTheme02_02_23", + ["angle"] = 1.57098, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_25"] = { + ["y"] = -42.9412, + ["x"] = 59.5066, + ["name"] = "StaticBlockTheme02_04_25", + ["angle"] = 0.785631, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -5.06974, + ["x"] = -22.4061, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -10.0843, + ["x"] = 62.5225, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -40.9536, + ["x"] = 37.0612, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockFlag01_2"] = { + ["y"] = -7.03172, + ["x"] = -10.9732, + ["name"] = "ExtraBlockFlag01_2", + ["angle"] = 0, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = 0.710876, + ["x"] = -24.7406, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -13.7135, + ["x"] = 48.596, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 5.8907, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -7.43268, + ["x"] = 81.0564, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = 4.3199, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock3_1"] = { + ["y"] = -2.06844, + ["x"] = -11.2616, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -27.0023, + ["x"] = 45.3986, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_34"] = { + ["y"] = 0.865561, + ["x"] = 81.643, + ["name"] = "StaticBlockTheme02_04_34", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock1_2"] = { + ["y"] = -17.3336, + ["x"] = 44.0032, + ["name"] = "LightBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -28.5669, + ["x"] = 67.3838, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 4.31977, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -10.9344, + ["x"] = 78.7219, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = 3.9272, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_8"] = { + ["y"] = -32.2794, + ["x"] = 51.7242, + ["name"] = "LightBlock1_8", + ["angle"] = 0.785525, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_02_31"] = { + ["y"] = -17.0321, + ["x"] = 62.3558, + ["name"] = "StaticBlockTheme02_02_31", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock2_1"] = { + ["y"] = -16.4443, + ["x"] = 38.8896, + ["name"] = "LightBlock2_1", + ["angle"] = 6.28316, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -43.0658, + ["x"] = 48.6224, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 5.81741e-005, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock4_3"] = { + ["y"] = -2.02475, + ["x"] = 50.6834, + ["name"] = "StoneBlock4_3", + ["angle"] = 4.31999, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -13.7135, + ["x"] = 53.932, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = 0.392913, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_2"] = { + ["y"] = -1.07984, + ["x"] = 46.4035, + ["name"] = "LightBlock8_2", + ["angle"] = 0.000248432, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_02_24"] = { + ["y"] = -18.8272, + ["x"] = 71.0515, + ["name"] = "StaticBlockTheme02_02_24", + ["angle"] = 1.1783, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_35"] = { + ["y"] = -0.746341, + ["x"] = 80.587, + ["name"] = "StaticBlockTheme02_04_35", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_22"] = { + ["y"] = -40.3844, + ["x"] = 62.7304, + ["name"] = "StaticBlockTheme02_04_22", + ["angle"] = 5.49802, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -8.41678, + ["x"] = 71.6381, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_19"] = { + ["y"] = -14.9931, + ["x"] = 51.891, + ["name"] = "StaticBlockTheme02_02_19", + ["angle"] = 0.000107288, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -25.8989, + ["x"] = 66.7168, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 5.10517, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -17.2424, + ["x"] = -15.3471, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_25"] = { + ["y"] = -3.09722, + ["x"] = 82.8351, + ["name"] = "StaticBlockTheme02_02_25", + ["angle"] = 4.3199, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -27.0023, + ["x"] = 41.2299, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -13.3049, + ["x"] = 41.345, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_37"] = { + ["y"] = -3.52549, + ["x"] = 79.3086, + ["name"] = "StaticBlockTheme02_04_37", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_2"] = { + ["y"] = -17.0001, + ["x"] = 41.1129, + ["name"] = "SmallPiglette_2", + ["angle"] = 6.28316, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -1.06777, + ["x"] = -15.3471, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = 7.49199, + ["x"] = -21.0721, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock1_10"] = { + ["y"] = -36.2257, + ["x"] = 46.4995, + ["name"] = "LightBlock1_10", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -46.5541, + ["x"] = 58.2282, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -8.34913, + ["x"] = -20.5163, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -14.5744, + ["x"] = -1.45138, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 3.1416, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -27.0023, + ["x"] = 50.4011, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = 1.95363, + ["x"] = 44.5034, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = 1.57078, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -16.2419, + ["x"] = -15.7918, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -12.6379, + ["x"] = 37.8433, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 0.785394, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_30"] = { + ["y"] = -15.4202, + ["x"] = 59.0764, + ["name"] = "StaticBlockTheme02_02_30", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock5_1"] = { + ["y"] = -28.6698, + ["x"] = 49.7341, + ["name"] = "LightBlock5_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_24"] = { + ["y"] = -45.498, + ["x"] = 63.6754, + ["name"] = "StaticBlockTheme02_04_24", + ["angle"] = 0.785631, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -16.9089, + ["x"] = 2.10592, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock2_2"] = { + ["y"] = -16.4999, + ["x"] = 43.5029, + ["name"] = "LightBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "LightBlock2", + + }, + ["LightBlock1_4"] = { + ["y"] = -17.3336, + ["x"] = 38.3893, + ["name"] = "LightBlock1_4", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_28"] = { + ["y"] = -9.54483, + ["x"] = 57.7116, + ["name"] = "StaticBlockTheme02_01_28", + ["angle"] = 1.17831, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -15.1302, + ["x"] = -5.95359, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -0.289615, + ["x"] = -25.2964, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -48.1104, + ["x"] = 51.8918, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_32"] = { + ["y"] = -20.32, + ["x"] = 67.7327, + ["name"] = "StaticBlockTheme02_04_32", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock2_6"] = { + ["y"] = -19.946, + ["x"] = 42.8915, + ["name"] = "LightBlock2_6", + ["angle"] = 1.57077, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_02_17"] = { + ["y"] = -16.5054, + ["x"] = 57.4342, + ["name"] = "StaticBlockTheme02_02_17", + ["angle"] = 2.74899, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_30"] = { + ["y"] = -46.165, + ["x"] = 44.3881, + ["name"] = "StaticBlockTheme02_04_30", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_2"] = { + ["y"] = -5.52647, + ["x"] = 50.7946, + ["name"] = "LightBlock10_2", + ["angle"] = 3.1419, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -49.7649, + ["x"] = 64.0013, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = 0.785578, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_2"] = { + ["y"] = -32.6162, + ["x"] = 50.1232, + ["name"] = "LightBlock3_2", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -27.0023, + ["x"] = 50.0676, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 4.05312e-005, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_15"] = { + ["y"] = -21.897, + ["x"] = 65.5495, + ["name"] = "StaticBlockTheme02_02_15", + ["angle"] = 5.49787, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock1_9"] = { + ["y"] = -35.2253, + ["x"] = 46.555, + ["name"] = "LightBlock1_9", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["ExtraTire02_1"] = { + ["y"] = -1.63567, + ["x"] = 48.8492, + ["name"] = "ExtraTire02_1", + ["angle"] = 0.000248432, + ["definition"] = "ExtraTire02", + + }, + ["LightBlock7_2"] = { + ["y"] = -34.5583, + ["x"] = 43.0533, + ["name"] = "LightBlock7_2", + ["angle"] = 0.000107288, + ["definition"] = "LightBlock7", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -7.0873, + ["x"] = -1.63532, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticBlockTheme02_02_21"] = { + ["y"] = -43.8731, + ["x"] = 67.4475, + ["name"] = "StaticBlockTheme02_02_21", + ["angle"] = 1.17828, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -16.2419, + ["x"] = -14.8468, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = 0.710876, + ["x"] = -25.6299, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -4.74831, + ["x"] = 70.9156, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock3_3"] = { + ["y"] = -33.7403, + ["x"] = 45.9185, + ["name"] = "LightBlock3_3", + ["angle"] = 7.20024e-005, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -7.74978, + ["x"] = 72.3051, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 3.14183, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_1"] = { + ["y"] = -29.6174, + ["x"] = 41.7799, + ["name"] = "MediumPiglette_1", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock4_5"] = { + ["y"] = -1.74683, + ["x"] = 55.2968, + ["name"] = "WoodBlock4_5", + ["angle"] = 3.92723, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_02_26"] = { + ["y"] = -2.37465, + ["x"] = 57.8228, + ["name"] = "StaticBlockTheme02_02_26", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -15.1302, + ["x"] = -7.39875, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -27.5108, + ["x"] = 67.2726, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 4.71247, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -19.1878, + ["x"] = -6.73175, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -39.1161, + ["x"] = 44.7764, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.000142574, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_02_16"] = { + ["y"] = -19.5069, + ["x"] = 64.5489, + ["name"] = "StaticBlockTheme02_02_16", + ["angle"] = 5.89057, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -15.3526, + ["x"] = -9.84439, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 0.3927, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock5_2"] = { + ["y"] = -30.6708, + ["x"] = 49.7341, + ["name"] = "LightBlock5_2", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_12"] = { + ["y"] = -38.06, + ["x"] = 41.1635, + ["name"] = "LightBlock1_12", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["LightBlock4_3"] = { + ["y"] = -21.3912, + ["x"] = 41.1685, + ["name"] = "LightBlock4_3", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -13.9163, + ["x"] = 41.345, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -47.6658, + ["x"] = 55.7826, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -52.2661, + ["x"] = 47.2153, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 2.74906, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_1"] = { + ["y"] = -32.2827, + ["x"] = 44.0091, + ["name"] = "LightBlock10_1", + ["angle"] = 4.05312e-005, + ["definition"] = "LightBlock10", + + }, + ["LightBlock12_1"] = { + ["y"] = -29.7815, + ["x"] = 45.621, + ["name"] = "LightBlock12_1", + ["angle"] = 2.28882e-005, + ["definition"] = "LightBlock12", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -1.24659, + ["x"] = 42.2348, + ["name"] = "ExtraDonut01_3", + ["angle"] = 5.89082, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_29"] = { + ["y"] = -49.5556, + ["x"] = 47.0561, + ["name"] = "StaticBlockTheme02_04_29", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_31"] = { + ["y"] = -46.6653, + ["x"] = 46.2779, + ["name"] = "StaticBlockTheme02_04_31", + ["angle"] = 1.17833, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock11_1"] = { + ["y"] = -17.2543, + ["x"] = 56.7975, + ["name"] = "LightBlock11_1", + ["angle"] = 1.96386, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -12.6967, + ["x"] = 63.8009, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -12.4907, + ["x"] = 70.7736, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -43.2018, + ["x"] = 43.5999, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 2.74897, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -42.1889, + ["x"] = 38.1925, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_28"] = { + ["y"] = -36.5492, + ["x"] = 67.7329, + ["name"] = "StaticBlockTheme02_02_28", + ["angle"] = 1.57101, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -40.3422, + ["x"] = 40.1183, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 2.74894, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -42.0097, + ["x"] = 44.1758, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 5.89054, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallBlueBird_6"] = { + ["y"] = -20.9664, + ["x"] = 2.55059, + ["name"] = "SmallBlueBird_6", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme02_01_27"] = { + ["y"] = -11.9349, + ["x"] = 56.3221, + ["name"] = "StaticBlockTheme02_01_27", + ["angle"] = 0.785614, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -8.34913, + ["x"] = -21.6835, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_3"] = { + ["y"] = -34.8362, + ["x"] = 40.2186, + ["name"] = "LightBlock5_3", + ["angle"] = 1.57091, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -14.9931, + ["x"] = 46.8885, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 0.000107288, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_1"] = { + ["y"] = -17.3892, + ["x"] = 42.9471, + ["name"] = "LightBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "LightBlock1", + + }, + ["LightBlock1_13"] = { + ["y"] = -38.2267, + ["x"] = 46.7774, + ["name"] = "LightBlock1_13", + ["angle"] = 1.57093, + ["definition"] = "LightBlock1", + + }, + ["LightBlock1_6"] = { + ["y"] = -22.2805, + ["x"] = 39.7789, + ["name"] = "LightBlock1_6", + ["angle"] = 4.71241, + ["definition"] = "LightBlock1", + + }, + ["WoodBlock3_2"] = { + ["y"] = -2.06844, + ["x"] = -1.92364, + ["name"] = "WoodBlock3_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock3", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraBlockFlag01"] = 2, + ["StoneBlock6"] = 1, + ["ExtraDonut01"] = 3, + ["MediumPiglette"] = 1, + ["WoodBlock11"] = 1, + ["StaticBlockTheme02_04"] = 39, + ["ExtraRopeThin01"] = 2, + ["LightBlock3"] = 3, + ["LightBlock11"] = 1, + ["StoneBlock3"] = 1, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 4, + ["StaticBlockTheme01_04"] = 3, + ["ExtraDiamond"] = 1, + ["LightBlock7"] = 2, + ["StaticBlockTheme01_05"] = 3, + ["ExtraPoleRed"] = 1, + ["DecorationEstrade02"] = 1, + ["WoodBlock3"] = 2, + ["SmallBlueBird"] = 6, + ["ExtraTire02"] = 1, + ["BLOCK_GREEN_BAG"] = 1, + ["LightBlock8"] = 2, + ["SmallPiglette"] = 5, + ["LightBlock6"] = 7, + ["StoneBlock4"] = 3, + ["WoodBlock9"] = 2, + ["StoneBlock8"] = 1, + ["ExtraBlockTNT"] = 1, + ["StaticBlockTheme02_03"] = 7, + ["StaticBlockTheme02_05"] = 14, + ["StaticBlockTheme02_02"] = 32, + ["LightBlock5"] = 4, + ["WoodBlock5"] = 1, + ["StaticBlockTheme02_01"] = 29, + ["LightBlock2"] = 8, + ["WoodBlock4"] = 5, + ["LightBlock1"] = 16, + ["LightBlock10"] = 2, + ["LightBlock12"] = 1, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme01_02"] = 2, + ["LightBlock4"] = 4, + +} +theme = "theme2" +birdCameraData = { + ["screenHeight"] = 320, + ["bottom"] = 150.001, + ["px"] = 218.236, + ["right"] = 1758.14, + ["left"] = -192.56, + ["screenWidth"] = 480, + ["top"] = -430.948, + ["iphone"] = { + ["bottom"] = 150.001, + ["screenWidth"] = 480, + ["py"] = -157.084, + ["screenHeight"] = 320, + ["top"] = -430.948, + ["sy"] = 0.584232, + ["sx"] = 0.584232, + ["right"] = 1758.14, + ["left"] = -192.56, + ["px"] = 218.236, + + }, + ["sy"] = 0.584232, + ["sx"] = 0.584232, + ["windows"] = { + ["sy"] = 0.899558, + ["sx"] = 0.899558, + ["px"] = -38.2648, + ["py"] = -312.941, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["sy"] = 0.749558, + ["sx"] = 0.749558, + ["px"] = 427.335, + ["py"] = -236.738, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["py"] = -157.084, + +} +filename = "Level3.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level4.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level4.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..302551bf431e8e0ded07042aa11c16bf8966ffbb --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level4.temp.lua @@ -0,0 +1,651 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1157.33, + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -251.154, + ["left"] = 719.991, + ["right"] = 1594.67, + ["top"] = -542.713, + ["iphone"] = { + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -251.154, + ["screenHeight"] = 320, + ["top"] = -542.713, + ["sy"] = 0.548774, + ["sx"] = 0.548774, + ["px"] = 1157.33, + ["left"] = 719.991, + ["right"] = 1594.67, + + }, + ["version"] = "0.02", + ["sx"] = 0.548774, + ["windows"] = { + ["bottom"] = 211.875, + ["screenWidth"] = 1243, + ["py"] = -222.083, + ["screenHeight"] = 648, + ["top"] = -656.041, + ["sy"] = 0.746616, + ["sx"] = 0.746616, + ["right"] = 2040.55, + ["left"] = 375.707, + ["px"] = 1208.13, + + }, + ["sy"] = 0.548774, + ["ipad"] = { + ["bottom"] = 175.724, + ["screenWidth"] = 1024, + ["py"] = -258.234, + ["screenHeight"] = 768, + ["top"] = -692.192, + ["sy"] = 0.884878, + ["sx"] = 0.884878, + ["right"] = 1736.38, + ["left"] = 579.159, + ["px"] = 1157.77, + + }, + ["screenHeight"] = 320, + +} +levelParticles = { + ["y"] = -1915.63, + ["x"] = 1969.63, + ["firstFrame"] = true, + ["width"] = 6470.37, + +} +joints = { + +} +world = { + ["StoneBlock4_3"] = { + ["y"] = -1.76191, + ["x"] = 85.582, + ["name"] = "StoneBlock4_3", + ["angle"] = -2.4133, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock4_4"] = { + ["y"] = -9.97504, + ["x"] = 83.6781, + ["name"] = "StoneBlock4_4", + ["angle"] = 7.73225e-005, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -4.14904, + ["x"] = 77.0349, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 2.35627, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock11_1"] = { + ["y"] = -8.9118, + ["x"] = 56.7278, + ["name"] = "LightBlock11_1", + ["angle"] = -1.5766, + ["definition"] = "LightBlock11", + + }, + ["RedBird_7"] = { + ["y"] = -0.66178, + ["x"] = -24.1437, + ["name"] = "RedBird_7", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -0.965167, + ["x"] = 92.2587, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = -1.96342, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock11_4"] = { + ["y"] = -2.75087, + ["x"] = 53.9886, + ["name"] = "StoneBlock11_4", + ["angle"] = -0.788468, + ["definition"] = "StoneBlock11", + + }, + ["SmallPiglette_4"] = { + ["y"] = -12.2282, + ["x"] = 50.1334, + ["name"] = "SmallPiglette_4", + ["angle"] = -0.0108231, + ["definition"] = "SmallPiglette", + + }, + ["ExtraTire02_1"] = { + ["y"] = -1.54573, + ["x"] = 82.8853, + ["name"] = "ExtraTire02_1", + ["angle"] = -0.777077, + ["definition"] = "ExtraTire02", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 36.0575, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock1_7"] = { + ["y"] = -4.43269, + ["x"] = 59.7871, + ["name"] = "WoodBlock1_7", + ["angle"] = -0.000384156, + ["definition"] = "WoodBlock1", + + }, + ["MediumPiglette_2"] = { + ["y"] = -8.80346, + ["x"] = 53.8772, + ["name"] = "MediumPiglette_2", + ["angle"] = -0.0488768, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock8_4"] = { + ["y"] = -3.7659, + ["x"] = 53.7117, + ["name"] = "LightBlock8_4", + ["angle"] = -0.229646, + ["definition"] = "LightBlock8", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -10.7381, + ["x"] = 56.4581, + ["name"] = "ExtraDonut01_1", + ["angle"] = -0.125174, + ["definition"] = "ExtraDonut01", + + }, + ["ExtraAmethyst_1"] = { + ["y"] = -17.9664, + ["x"] = 37.4564, + ["name"] = "ExtraAmethyst_1", + ["angle"] = 0.00419085, + ["definition"] = "ExtraAmethyst", + + }, + ["StoneBlock11_5"] = { + ["y"] = -0.150237, + ["x"] = 56.8571, + ["name"] = "StoneBlock11_5", + ["angle"] = 2.35624, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock4_9"] = { + ["y"] = -6.05642, + ["x"] = 38.7716, + ["name"] = "LightBlock4_9", + ["angle"] = 1.5706, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -6.95469, + ["x"] = 83.5005, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = -3.14152, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock1_8"] = { + ["y"] = -3.36364, + ["x"] = 60.8581, + ["name"] = "WoodBlock1_8", + ["angle"] = -0.00117571, + ["definition"] = "WoodBlock1", + + }, + ["LightBlock11_2"] = { + ["y"] = -8.9607, + ["x"] = 50.5512, + ["name"] = "LightBlock11_2", + ["angle"] = -0.0699461, + ["definition"] = "LightBlock11", + + }, + ["StoneBlock1_2"] = { + ["y"] = -17.638, + ["x"] = 34.9144, + ["name"] = "StoneBlock1_2", + ["angle"] = 0.00339863, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock6_6"] = { + ["y"] = -3.96469, + ["x"] = 71.7226, + ["name"] = "WoodBlock6_6", + ["angle"] = -1.17891, + ["definition"] = "WoodBlock6", + + }, + ["MediumPiglette_1"] = { + ["y"] = -1.9, + ["x"] = 66.0531, + ["name"] = "MediumPiglette_1", + ["angle"] = 0.00247258, + ["definition"] = "MediumPiglette", + + }, + ["SmallBlueBird_3"] = { + ["y"] = -0.54877, + ["x"] = -22.2791, + ["name"] = "SmallBlueBird_3", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["WoodBlock5_4"] = { + ["y"] = -9.05315, + ["x"] = 37.2154, + ["name"] = "WoodBlock5_4", + ["angle"] = 0.00375215, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -6.16362, + ["x"] = 87.1168, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = -2.74882, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock11_1"] = { + ["y"] = -2.75044, + ["x"] = 48.2409, + ["name"] = "StoneBlock11_1", + ["angle"] = -0.750453, + ["definition"] = "StoneBlock11", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -0.603507, + ["x"] = -18.2058, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["LightBlock5_18"] = { + ["y"] = -6.06338, + ["x"] = 37.2017, + ["name"] = "LightBlock5_18", + ["angle"] = 1.57463, + ["definition"] = "LightBlock5", + + }, + ["LightBlock4_2"] = { + ["y"] = -6.06534, + ["x"] = 35.6465, + ["name"] = "LightBlock4_2", + ["angle"] = 1.57339, + ["definition"] = "LightBlock4", + + }, + ["RedBird_6"] = { + ["y"] = -0.66001, + ["x"] = -20.0705, + ["name"] = "RedBird_6", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["WoodBlock1_6"] = { + ["y"] = -3.3626, + ["x"] = 59.7561, + ["name"] = "WoodBlock1_6", + ["angle"] = -0.000474755, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock5_7"] = { + ["y"] = -1.07018, + ["x"] = 39.2151, + ["name"] = "StoneBlock5_7", + ["angle"] = -0.00384943, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock11_2"] = { + ["y"] = -0.151252, + ["x"] = 45.3431, + ["name"] = "StoneBlock11_2", + ["angle"] = 2.35674, + ["definition"] = "StoneBlock11", + + }, + ["SmallPiglette_5"] = { + ["y"] = -3.89628, + ["x"] = 47.6627, + ["name"] = "SmallPiglette_5", + ["angle"] = 0.299236, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock5_2"] = { + ["y"] = -11.3086, + ["x"] = 52.5176, + ["name"] = "WoodBlock5_2", + ["angle"] = -0.574447, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -6.44594, + ["x"] = 53.9156, + ["name"] = "WoodBlock10_1", + ["angle"] = -0.00595934, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock11_7"] = { + ["y"] = -2.75238, + ["x"] = 59.6725, + ["name"] = "StoneBlock11_7", + ["angle"] = -0.785737, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock5_6"] = { + ["y"] = -1.07214, + ["x"] = 35.0799, + ["name"] = "StoneBlock5_6", + ["angle"] = 0.00414769, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock10_3"] = { + ["y"] = -4.72288, + ["x"] = 73.1858, + ["name"] = "WoodBlock10_3", + ["angle"] = -1.17873, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_1"] = { + ["y"] = -5.3906, + ["x"] = 53.9566, + ["name"] = "LightBlock10_1", + ["angle"] = -0.00452866, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock5_3"] = { + ["y"] = -3.07392, + ["x"] = 37.1643, + ["name"] = "WoodBlock5_3", + ["angle"] = 0.00262332, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_06_1"] = { + ["y"] = -0.00458069, + ["x"] = 81.2403, + ["name"] = "StaticBlockTheme02_06_1", + ["angle"] = 0.000107288, + ["definition"] = "StaticBlockTheme02_06", + + }, + ["StoneBlock1_3"] = { + ["y"] = -17.6176, + ["x"] = 39.6669, + ["name"] = "StoneBlock1_3", + ["angle"] = 0.00506201, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock10_1"] = { + ["y"] = -16.5612, + ["x"] = 37.4427, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.00419121, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock4_1"] = { + ["y"] = -11.0488, + ["x"] = 49.0751, + ["name"] = "LightBlock4_1", + ["angle"] = -2.4272, + ["definition"] = "LightBlock4", + + }, + ["StoneBlock11_6"] = { + ["y"] = -0.150964, + ["x"] = 62.4884, + ["name"] = "StoneBlock11_6", + ["angle"] = 2.35582, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock5_14"] = { + ["y"] = -3.85248, + ["x"] = 57.2115, + ["name"] = "LightBlock5_14", + ["angle"] = -0.00349361, + ["definition"] = "LightBlock5", + + }, + ["LightBlock4_7"] = { + ["y"] = -12.0362, + ["x"] = 38.8604, + ["name"] = "LightBlock4_7", + ["angle"] = 1.57647, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -6.27663, + ["x"] = 80.1102, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.74897, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.09777, + ["x"] = 75.0007, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0.392772, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["RedBird_5"] = { + ["y"] = -0.773022, + ["x"] = -16.2282, + ["name"] = "RedBird_5", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock11_3"] = { + ["y"] = -0.142057, + ["x"] = 51.1381, + ["name"] = "StoneBlock11_3", + ["angle"] = 2.35621, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock5_15"] = { + ["y"] = -3.83095, + ["x"] = 50.7367, + ["name"] = "LightBlock5_15", + ["angle"] = -0.00435764, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -4.01643, + ["x"] = 90.2245, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = -2.35612, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -0.644506, + ["x"] = -14.081, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["LightBlock4_8"] = { + ["y"] = -12.0488, + ["x"] = 35.7444, + ["name"] = "LightBlock4_8", + ["angle"] = 1.57134, + ["definition"] = "LightBlock4", + + }, + ["LightBlock5_16"] = { + ["y"] = -12.0419, + ["x"] = 37.3059, + ["name"] = "LightBlock5_16", + ["angle"] = 1.5756, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_5"] = { + ["y"] = -15.0377, + ["x"] = 37.3069, + ["name"] = "WoodBlock5_5", + ["angle"] = 0.00403923, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraDonut01"] = 1, + ["MediumPiglette"] = 3, + ["LightBlock5"] = 18, + ["StaticBlockTheme02_04"] = 7, + ["WoodBlock1"] = 8, + ["LightBlock11"] = 2, + ["LightBlock8"] = 4, + ["StaticBlockTheme01_03"] = 5, + ["StaticBlockTheme01_04"] = 2, + ["WoodBlock2"] = 4, + ["ExtraDiamond"] = 1, + ["StoneBlock1"] = 3, + ["WoodBlock6"] = 6, + ["LargePiglette"] = 1, + ["HelmetPiglette"] = 1, + ["WoodBlock10"] = 3, + ["ExtraCowboyHelmet_1"] = 1, + ["StaticBlockTheme01_05"] = 4, + ["ExtraPoleRed"] = 1, + ["SpecialBlockStart"] = 2, + ["WoodBlock5"] = 5, + ["RedBird"] = 7, + ["SmallBlueBird"] = 3, + ["KingPiglette"] = 2, + ["GrandpaPiglette"] = 2, + ["StaticBlockTheme02_06"] = 1, + ["LightBlock6"] = 1, + ["SmallPiglette"] = 6, + ["ExtraHelmetSmall"] = 1, + ["StoneBlock4"] = 5, + ["ExtraAmethyst"] = 1, + ["ExtraBlockSmiley"] = 2, + ["StaticBlockTheme01_01"] = 1, + ["LightBlock1"] = 9, + ["StoneBlock11"] = 10, + ["LightBlock2"] = 2, + ["HatPiglette"] = 2, + ["LightBlock3"] = 5, + ["WoodBlock3"] = 1, + ["StoneBlock5"] = 7, + ["WoodBlock4"] = 6, + ["SpecialBlockSwing"] = 2, + ["LightBlock10"] = 1, + ["ExtraTire02"] = 1, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 2, + ["StoneBlock10"] = 1, + ["LightBlock4"] = 9, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -202.083, + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -166.643, + ["left"] = -639.422, + ["right"] = 1594.67, + ["top"] = -458.202, + ["iphone"] = { + ["bottom"] = 40.405, + ["screenWidth"] = 480, + ["py"] = -166.643, + ["screenHeight"] = 320, + ["top"] = -458.202, + ["sy"] = 0.548774, + ["sx"] = 0.548774, + ["px"] = -202.083, + ["left"] = -639.422, + ["right"] = 1594.67, + + }, + ["version"] = "0.02", + ["sx"] = 0.548774, + ["windows"] = { + ["bottom"] = 211.875, + ["screenWidth"] = 1243, + ["py"] = -170.137, + ["screenHeight"] = 648, + ["top"] = -604.095, + ["sy"] = 0.746616, + ["sx"] = 0.746616, + ["right"] = 2040.55, + ["left"] = -849.344, + ["px"] = -16.9217, + + }, + ["sy"] = 0.548774, + ["ipad"] = { + ["sy"] = 0.734878, + ["sx"] = 0.734878, + ["px"] = 24.4597, + ["py"] = -252.213, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["screenHeight"] = 320, + +} +filename = "Level4.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level5.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level5.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfa25ce6d4fe177205e53378b0326793ae3db320 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level5.temp.lua @@ -0,0 +1,1868 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -278.867, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 86.4874, + ["screenWidth"] = 480, + ["py"] = -278.867, + ["screenHeight"] = 320, + ["top"] = -644.221, + ["sy"] = 0.437931, + ["sx"] = 0.437931, + ["right"] = 1454.52, + ["left"] = 358.457, + ["px"] = 906.489, + + }, + ["version"] = "0.02", + ["sx"] = 0.437931, + ["windows"] = { + ["bottom"] = 135.315, + ["screenWidth"] = 1243, + ["py"] = -481.871, + ["screenHeight"] = 648, + ["top"] = -1099.06, + ["sy"] = 0.524963, + ["sx"] = 0.524963, + ["px"] = 856.571, + ["left"] = -327.321, + ["right"] = 2040.46, + + }, + ["px"] = 906.489, + ["ipad"] = { + ["sy"] = 0.751727, + ["sx"] = 0.751727, + ["px"] = 879.733, + ["py"] = -283.154, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["sy"] = 0.437931, + +} +levelParticles = { + ["y"] = -2652.88, + ["x"] = 2036.44, + ["firstFrame"] = true, + ["width"] = 8865.47, + +} +joints = { + ["RIO_TNT_1SmallPiglette_8"] = { + ["type"] = 2, + ["end2"] = "SmallPiglette_8", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "RIO_TNT_1SmallPiglette_8", + ["end1"] = "RIO_TNT_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["StoneBlock3_5StoneBlock9_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_5StoneBlock9_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_5", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock3_3LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_3LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_3", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock9_2StoneBlock3_5"] = { + ["type"] = 2, + ["end2"] = "StoneBlock3_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock9_2StoneBlock3_5", + ["end1"] = "StoneBlock9_2", + ["collideConnected"] = true, + ["x1"] = 0, + + }, + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -36.6684, + ["x"] = 95.9681, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = -2.74873, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_4"] = { + ["y"] = -6.99218, + ["x"] = 75.8994, + ["name"] = "LightBlock5_4", + ["angle"] = 0.00557368, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock4_1"] = { + ["y"] = -2.05766, + ["x"] = 53.8294, + ["name"] = "StoneBlock4_1", + ["angle"] = 1.56948, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = 0.582272, + ["x"] = 94.9595, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -23.2326, + ["x"] = 45.1518, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -32.1628, + ["x"] = 49.9026, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 2.35634, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -24.0308, + ["x"] = 125.725, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 0.000160217, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ExtraBlockStairs_2"] = { + ["y"] = -3.13621, + ["x"] = 91.235, + ["name"] = "ExtraBlockStairs_2", + ["angle"] = 0.00296363, + ["definition"] = "ExtraBlockStairs", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -25.978, + ["x"] = 125.334, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_12"] = { + ["y"] = -8.20603, + ["x"] = 106.426, + ["name"] = "WoodBlock5_12", + ["angle"] = 0.000552062, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock2_1"] = { + ["y"] = -13.1719, + ["x"] = 74.4177, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57401, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock5_5"] = { + ["y"] = -4.9971, + ["x"] = 71.8181, + ["name"] = "LightBlock5_5", + ["angle"] = 0.00328163, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_20"] = { + ["y"] = 2.03364, + ["x"] = 27.7034, + ["name"] = "StaticBlockTheme02_05_20", + ["angle"] = -1.17805, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_7"] = { + ["y"] = -24.9214, + ["x"] = -74.8374, + ["name"] = "StaticBlockTheme01_04_7", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock11_3"] = { + ["y"] = -37.1457, + ["x"] = 53.5325, + ["name"] = "WoodBlock11_3", + ["angle"] = 1.57094, + ["definition"] = "WoodBlock11", + + }, + ["SmallPiglette_12"] = { + ["y"] = -8.71964, + ["x"] = 17.4833, + ["name"] = "SmallPiglette_12", + ["angle"] = -0.00175188, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock6_4"] = { + ["y"] = -30.0243, + ["x"] = 41.9661, + ["name"] = "WoodBlock6_4", + ["angle"] = 0.0281927, + ["definition"] = "WoodBlock6", + + }, + ["ExtraTire03_5"] = { + ["y"] = -5.43449, + ["x"] = 17.3785, + ["name"] = "ExtraTire03_5", + ["angle"] = 0.00469973, + ["definition"] = "ExtraTire03", + + }, + ["WoodBlock11_4"] = { + ["y"] = -9.58972, + ["x"] = 20.624, + ["name"] = "WoodBlock11_4", + ["angle"] = 0.00144281, + ["definition"] = "WoodBlock11", + + }, + ["WoodBlock4_4"] = { + ["y"] = -3.38577, + ["x"] = 58.4049, + ["name"] = "WoodBlock4_4", + ["angle"] = 1.55936, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -6.51713, + ["x"] = -73.6747, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -26.6431, + ["x"] = 123.738, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock2_3"] = { + ["y"] = -0.635583, + ["x"] = -121.006, + ["name"] = "WoodBlock2_3", + ["angle"] = -0.0305055, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock1_6"] = { + ["y"] = -4.46951, + ["x"] = 78.5269, + ["name"] = "WoodBlock1_6", + ["angle"] = -1.52628, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -49.9613, + ["x"] = 68.3453, + ["name"] = "StoneBlock5_3", + ["angle"] = -1.56955, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -6.45061, + ["x"] = -83.1196, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -29.5697, + ["x"] = 118.683, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -19.7001, + ["x"] = -99.4389, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -29.2372, + ["x"] = 121.277, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock5_1"] = { + ["y"] = -45.9896, + ["x"] = 66.2795, + ["name"] = "StoneBlock5_1", + ["angle"] = -1.55257, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock9_5"] = { + ["y"] = -8.86841, + ["x"] = -51.0361, + ["name"] = "WoodBlock9_5", + ["angle"] = -0.0136719, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock6_1"] = { + ["y"] = -7.65009, + ["x"] = 52.3957, + ["name"] = "WoodBlock6_1", + ["angle"] = 0.00244279, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -19.6547, + ["x"] = 125.252, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 1.57107, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LargePiglette_1"] = { + ["y"] = -37.8794, + ["x"] = 48.0471, + ["name"] = "LargePiglette_1", + ["angle"] = -0.32517, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -20.9971, + ["x"] = -77.1653, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -32.7441, + ["x"] = 52.0027, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_22"] = { + ["y"] = -12.0511, + ["x"] = -80.283, + ["name"] = "StaticBlockTheme01_05_22", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = -37.6661, + ["x"] = 89.2502, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = -1.57063, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = -37.533, + ["x"] = 80.0049, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = -1.57063, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockStairs_4"] = { + ["y"] = -6.69911, + ["x"] = 99.2523, + ["name"] = "ExtraBlockStairs_4", + ["angle"] = 0.00577562, + ["definition"] = "ExtraBlockStairs", + + }, + ["RIO_TNT_1"] = { + ["y"] = -2.13168, + ["x"] = 36.6122, + ["name"] = "RIO_TNT_1", + ["angle"] = -0.00872842, + ["definition"] = "RIO_TNT", + + }, + ["WoodBlock6_5"] = { + ["y"] = -1.57265, + ["x"] = -21.6264, + ["name"] = "WoodBlock6_5", + ["angle"] = -0.00946849, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = 6.30573, + ["x"] = 34.0222, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = -0.785345, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -29.1523, + ["x"] = 99.6264, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = 0.39286, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 8.9615, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -23.6558, + ["x"] = 39.9029, + ["name"] = "WoodBlock11_1", + ["angle"] = 1.60115, + ["definition"] = "WoodBlock11", + + }, + ["StoneBlock10_4"] = { + ["y"] = -7.15062, + ["x"] = 17.463, + ["name"] = "StoneBlock10_4", + ["angle"] = 0.000323533, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_2"] = { + ["y"] = -0.600869, + ["x"] = -118.912, + ["name"] = "WoodBlock2_2", + ["angle"] = 0.00143882, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock4_1"] = { + ["y"] = -7.02516, + ["x"] = 69.2619, + ["name"] = "WoodBlock4_1", + ["angle"] = 1.57289, + ["definition"] = "WoodBlock4", + + }, + ["BLOCK_GREEN_OILCANISTER_1"] = { + ["y"] = -10.5473, + ["x"] = 118.363, + ["name"] = "BLOCK_GREEN_OILCANISTER_1", + ["angle"] = 0.00160675, + ["definition"] = "BLOCK_GREEN_OILCANISTER", + + }, + ["YellowBird_5"] = { + ["y"] = -7.68778, + ["x"] = -36.4177, + ["name"] = "YellowBird_5", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StoneBlock10_2"] = { + ["y"] = -53.5353, + ["x"] = 67.4914, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.00152418, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock1_2"] = { + ["y"] = -1.66788, + ["x"] = -119.476, + ["name"] = "WoodBlock1_2", + ["angle"] = -0.00183196, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock5_2"] = { + ["y"] = -45.9705, + ["x"] = 68.3427, + ["name"] = "StoneBlock5_2", + ["angle"] = -1.56866, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock11_2"] = { + ["y"] = -32.5871, + ["x"] = 48.9496, + ["name"] = "WoodBlock11_2", + ["angle"] = 1.57071, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_04_10"] = { + ["y"] = -33.3686, + ["x"] = -80.5575, + ["name"] = "StaticBlockTheme01_04_10", + ["angle"] = -1.1781, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -4.92849, + ["x"] = -61.0485, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 0.785406, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockStairs_3"] = { + ["y"] = -4.97286, + ["x"] = 95.3091, + ["name"] = "ExtraBlockStairs_3", + ["angle"] = 0.00503321, + ["definition"] = "ExtraBlockStairs", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -28.8371, + ["x"] = 55.1572, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.35634, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_23"] = { + ["y"] = -11.7185, + ["x"] = -86.8013, + ["name"] = "StaticBlockTheme01_05_23", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_1"] = { + ["y"] = -11.3102, + ["x"] = -53.9644, + ["name"] = "WoodBlock10_1", + ["angle"] = -0.0164854, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 0.728133, + ["x"] = 11.0396, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -52.4794, + ["x"] = 67.4906, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.00164665, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_4"] = { + ["y"] = -9.65388, + ["x"] = -57.9851, + ["name"] = "WoodBlock2_4", + ["angle"] = 0.784598, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -20.922, + ["x"] = 40.3912, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -23.2326, + ["x"] = 43.0233, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_21"] = { + ["y"] = -17.2391, + ["x"] = -82.8105, + ["name"] = "StaticBlockTheme01_05_21", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_5"] = { + ["y"] = -6.10707, + ["x"] = 52.3796, + ["name"] = "WoodBlock5_5", + ["angle"] = 0.00186563, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -30.2092, + ["x"] = -88.9963, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = 1.10331, + ["x"] = 59.6152, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = 1.32719, + ["x"] = 101.291, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_04_12"] = { + ["y"] = -34.067, + ["x"] = -84.0743, + ["name"] = "StaticBlockTheme01_04_12", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = 1.10331, + ["x"] = 61.3028, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock1_4"] = { + ["y"] = -9.53582, + ["x"] = 69.3164, + ["name"] = "WoodBlock1_4", + ["angle"] = -1.56424, + ["definition"] = "WoodBlock1", + + }, + ["ExtraTire03_6"] = { + ["y"] = -5.43634, + ["x"] = 21.3964, + ["name"] = "ExtraTire03_6", + ["angle"] = 0.00465806, + ["definition"] = "ExtraTire03", + + }, + ["SmallPiglette_10"] = { + ["y"] = -31.5139, + ["x"] = 45.9857, + ["name"] = "SmallPiglette_10", + ["angle"] = -0.00820961, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -26.5101, + ["x"] = 116.023, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["ExtraTire03_4"] = { + ["y"] = -5.43729, + ["x"] = 13.5215, + ["name"] = "ExtraTire03_4", + ["angle"] = 0.00496323, + ["definition"] = "ExtraTire03", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -1.40327, + ["x"] = -92.6424, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock4_4"] = { + ["y"] = -11.6232, + ["x"] = 74.1631, + ["name"] = "StoneBlock4_4", + ["angle"] = 0.00281974, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_04_13"] = { + ["y"] = -10.9869, + ["x"] = -67.3794, + ["name"] = "StaticBlockTheme01_04_13", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_6"] = { + ["y"] = -4.97688, + ["x"] = 75.8865, + ["name"] = "LightBlock5_6", + ["angle"] = 0.00628793, + ["definition"] = "LightBlock5", + + }, + ["ExtraBlockStairs_5"] = { + ["y"] = -8.44819, + ["x"] = 103.285, + ["name"] = "ExtraBlockStairs_5", + ["angle"] = 0.00284779, + ["definition"] = "ExtraBlockStairs", + + }, + ["StoneBlock3_5"] = { + ["y"] = -9.55879, + ["x"] = 14.2345, + ["name"] = "StoneBlock3_5", + ["angle"] = -0.000286639, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock3_4"] = { + ["y"] = -10.7781, + ["x"] = 17.4737, + ["name"] = "LightBlock3_4", + ["angle"] = -0.00863141, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme01_05_26"] = { + ["y"] = -17.5717, + ["x"] = -90.26, + ["name"] = "StaticBlockTheme01_05_26", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock9_1"] = { + ["y"] = -32.4953, + ["x"] = 43.0032, + ["name"] = "LightBlock9_1", + ["angle"] = 0.0299903, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme01_04_11"] = { + ["y"] = -34.067, + ["x"] = -84.0743, + ["name"] = "StaticBlockTheme01_04_11", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -24.1146, + ["x"] = 50.2352, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 2.35634, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -5.51942, + ["x"] = -91.2343, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_4"] = { + ["y"] = -32.0789, + ["x"] = 78.8076, + ["name"] = "StaticBlockTheme02_03_4", + ["angle"] = -3.14143, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -16.8733, + ["x"] = -75.303, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_18"] = { + ["y"] = -11.2529, + ["x"] = -102.964, + ["name"] = "StaticBlockTheme01_05_18", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock1_5"] = { + ["y"] = -4.52044, + ["x"] = 69.292, + ["name"] = "WoodBlock1_5", + ["angle"] = -1.5744, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -25.0285, + ["x"] = 46.8811, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = -0.785225, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -43.1512, + ["x"] = 62.9054, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = -3.14145, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -4.12264, + ["x"] = -107.064, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = -2.3562, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -4.13552, + ["x"] = 113.334, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_3"] = { + ["y"] = -2.59016, + ["x"] = -23.721, + ["name"] = "WoodBlock4_3", + ["angle"] = -0.0133367, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -43.0847, + ["x"] = 78.3365, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = -3.14145, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock2_1"] = { + ["y"] = -9.63164, + ["x"] = 112.465, + ["name"] = "LightBlock2_1", + ["angle"] = 0.000266107, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -25.8266, + ["x"] = 107.808, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = 0.39286, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -22.8205, + ["x"] = 125.252, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = 1.57107, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_8"] = { + ["y"] = -4.80911, + ["x"] = 35.7435, + ["name"] = "SmallPiglette_8", + ["angle"] = -0.00849763, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -13.1485, + ["x"] = -71.6447, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_2"] = { + ["y"] = -36.0932, + ["x"] = 45.5369, + ["name"] = "LightBlock1_2", + ["angle"] = -0.00753299, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_02_12"] = { + ["y"] = -21.8894, + ["x"] = 121.155, + ["name"] = "StaticBlockTheme02_02_12", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_8"] = { + ["y"] = -2.92672, + ["x"] = 94.3816, + ["name"] = "WoodBlock5_8", + ["angle"] = 0.00181978, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_4"] = { + ["y"] = -49.9659, + ["x"] = 66.2883, + ["name"] = "StoneBlock5_4", + ["angle"] = -1.56721, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -30.2831, + ["x"] = 111.333, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = -2.74873, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_5"] = { + ["y"] = -8.71628, + ["x"] = 52.4065, + ["name"] = "WoodBlock2_5", + ["angle"] = 0.00261093, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -24.0308, + ["x"] = 116.587, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 0.000160217, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock6_3"] = { + ["y"] = -13.0746, + ["x"] = 125.252, + ["name"] = "WoodBlock6_3", + ["angle"] = 1.57107, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock2_6"] = { + ["y"] = -35.0262, + ["x"] = 41.8758, + ["name"] = "WoodBlock2_6", + ["angle"] = 0.0299822, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -1.07071, + ["x"] = -83.264, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock4_2"] = { + ["y"] = -4.5715, + ["x"] = 52.3636, + ["name"] = "StoneBlock4_2", + ["angle"] = 0.00076413, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_04_9"] = { + ["y"] = -31.3732, + ["x"] = -77.5644, + ["name"] = "StaticBlockTheme01_04_9", + ["angle"] = -2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_1"] = { + ["y"] = -35.0353, + ["x"] = 47.0289, + ["name"] = "StoneBlock6_1", + ["angle"] = -0.00906678, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock4_2"] = { + ["y"] = -6.98004, + ["x"] = 78.4596, + ["name"] = "WoodBlock4_2", + ["angle"] = -1.54243, + ["definition"] = "WoodBlock4", + + }, + ["YellowBird_1"] = { + ["y"] = -4.40459, + ["x"] = -28.4943, + ["name"] = "YellowBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_02_14"] = { + ["y"] = -23.1309, + ["x"] = 122.893, + ["name"] = "StaticBlockTheme02_02_14", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = 1.31557, + ["x"] = -30.6893, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock3_3"] = { + ["y"] = -3.09741, + ["x"] = -115.051, + ["name"] = "WoodBlock3_3", + ["angle"] = 0.0047179, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -20.922, + ["x"] = 45.0471, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 0.000142574, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = -37.533, + ["x"] = 72.6884, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = -1.57063, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -2.68014, + ["x"] = -117.1, + ["name"] = "WoodBlock2_1", + ["angle"] = 0.0439733, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -3.45547, + ["x"] = 73.6809, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.00485176, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock4_7"] = { + ["y"] = -27.5877, + ["x"] = 38.9515, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.60093, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -37.0985, + ["x"] = 108.6, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = -2.74875, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme01_05_25"] = { + ["y"] = -18.2368, + ["x"] = -93.5857, + ["name"] = "StaticBlockTheme01_05_25", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -9.17766, + ["x"] = -67.2229, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.07755, + ["x"] = -115.909, + ["name"] = "WoodBlock5_1", + ["angle"] = 0.00251356, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = 0.658643, + ["x"] = -108.954, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -30.2349, + ["x"] = 116.754, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -31.4138, + ["x"] = 94.1722, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = -2.74873, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock5_7"] = { + ["y"] = -1.08526, + ["x"] = 90.4096, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.00133773, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_2"] = { + ["y"] = -10.5731, + ["x"] = 73.8922, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.00475357, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -33.9413, + ["x"] = 102.553, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = -2.74873, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_1"] = { + ["y"] = -9.01593, + ["x"] = 75.8257, + ["name"] = "LightBlock5_1", + ["angle"] = 0.00513062, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -6.05153, + ["x"] = -96.8879, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock7_3"] = { + ["y"] = -37.2589, + ["x"] = 43.2303, + ["name"] = "StoneBlock7_3", + ["angle"] = -0.141072, + ["definition"] = "StoneBlock7", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -24.7808, + ["x"] = 126.066, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_9"] = { + ["y"] = -4.65296, + ["x"] = 98.4496, + ["name"] = "WoodBlock5_9", + ["angle"] = 0.00265166, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -4.19768, + ["x"] = 122.893, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 1.57108, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock3_3"] = { + ["y"] = -32.4314, + ["x"] = 43.0144, + ["name"] = "LightBlock3_3", + ["angle"] = 0.000301361, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -22.8335, + ["x"] = 46.8146, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 2.35638, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_10"] = { + ["y"] = -6.39713, + ["x"] = 102.444, + ["name"] = "WoodBlock5_10", + ["angle"] = 0.00150747, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock7_2"] = { + ["y"] = -8.59549, + ["x"] = -54.9594, + ["name"] = "StoneBlock7_2", + ["angle"] = 3.07191e-005, + ["definition"] = "StoneBlock7", + + }, + ["ExtraBlockStairs_1"] = { + ["y"] = -1.11643, + ["x"] = 87.2688, + ["name"] = "ExtraBlockStairs_1", + ["angle"] = 0.00048388, + ["definition"] = "ExtraBlockStairs", + + }, + ["StoneBlock4_3"] = { + ["y"] = -2.05777, + ["x"] = 50.8353, + ["name"] = "StoneBlock4_3", + ["angle"] = -1.56846, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_6"] = { + ["y"] = -1.99559, + ["x"] = 73.8301, + ["name"] = "WoodBlock5_6", + ["angle"] = 0.00171304, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock10_2"] = { + ["y"] = -14.5391, + ["x"] = 43.5838, + ["name"] = "LightBlock10_2", + ["angle"] = 1.57093, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_2"] = { + ["y"] = -9.03571, + ["x"] = 71.8372, + ["name"] = "LightBlock5_2", + ["angle"] = 0.00461962, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_5"] = { + ["y"] = -0.568792, + ["x"] = -20.7419, + ["name"] = "WoodBlock10_5", + ["angle"] = -0.00343758, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -27.6535, + ["x"] = 126.492, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = -2.35605, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -0.410947, + ["x"] = 105.388, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -27.6408, + ["x"] = 121.809, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -27.8886, + ["x"] = 50.0073, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = -0.785225, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -4.92849, + ["x"] = -61.0485, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 0.785406, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_13"] = { + ["y"] = -22.6343, + ["x"] = 122.024, + ["name"] = "StaticBlockTheme02_02_13", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock1_7"] = { + ["y"] = -9.48903, + ["x"] = 78.4986, + ["name"] = "WoodBlock1_7", + ["angle"] = -1.55011, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -34.4069, + ["x"] = 56.4591, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = -0.785225, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_3"] = { + ["y"] = -7.013, + ["x"] = 71.7952, + ["name"] = "LightBlock5_3", + ["angle"] = 0.00394532, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -1.13722, + ["x"] = -65.1059, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockSmiley_1"] = { + ["y"] = -1.82113, + ["x"] = 40.6347, + ["name"] = "ExtraBlockSmiley_1", + ["angle"] = -0.392575, + ["definition"] = "ExtraBlockSmiley", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -1.93538, + ["x"] = -54.9293, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_1"] = { + ["y"] = -32.4642, + ["x"] = 39.1695, + ["name"] = "MediumPiglette_1", + ["angle"] = 0.0765835, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_6"] = { + ["y"] = -14.1427, + ["x"] = 72.7483, + ["name"] = "StoneBlock4_6", + ["angle"] = 1.57011, + ["definition"] = "StoneBlock4", + + }, + ["ExtraTire01_3"] = { + ["y"] = -10.8723, + ["x"] = 115.32, + ["name"] = "ExtraTire01_3", + ["angle"] = 0.000378523, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -1.94359, + ["x"] = -40.2007, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.98421, + ["x"] = 4.20828, + ["name"] = "StoneBlock11_1", + ["angle"] = -1.57063, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock4_8"] = { + ["y"] = -27.5219, + ["x"] = 41.2094, + ["name"] = "StoneBlock4_8", + ["angle"] = 1.59445, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_05_19"] = { + ["y"] = -26.4845, + ["x"] = -81.9458, + ["name"] = "StaticBlockTheme01_05_19", + ["angle"] = 0.392696, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -21.7693, + ["x"] = 42.6243, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 0.00017786, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -32.063, + ["x"] = 62.806, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = -3.14145, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock6_2"] = { + ["y"] = -0.53771, + ["x"] = 73.8523, + ["name"] = "WoodBlock6_2", + ["angle"] = -3.1414, + ["definition"] = "WoodBlock6", + + }, + ["MediumPiglette_2"] = { + ["y"] = -5.23459, + ["x"] = 60.9917, + ["name"] = "MediumPiglette_2", + ["angle"] = -1.92292e-005, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -31.1477, + ["x"] = 53.3995, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = -0.785225, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -26.9757, + ["x"] = 124.736, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_2"] = { + ["y"] = -2.40806, + ["x"] = 60.995, + ["name"] = "WoodBlock5_2", + ["angle"] = -0.000106747, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -37.533, + ["x"] = 59.4522, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = -0.785225, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_1"] = { + ["y"] = -4.9097, + ["x"] = 43.5838, + ["name"] = "LightBlock10_1", + ["angle"] = 1.57093, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -29.2372, + ["x"] = 121.277, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = 0.728355, + ["x"] = 20.3515, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_02_11"] = { + ["y"] = -21.2066, + ["x"] = 120.162, + ["name"] = "StaticBlockTheme02_02_11", + ["angle"] = 0.785684, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["YellowBird_2"] = { + ["y"] = -4.47372, + ["x"] = -33.2246, + ["name"] = "YellowBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme01_04_8"] = { + ["y"] = -28.3136, + ["x"] = -75.5025, + ["name"] = "StaticBlockTheme01_04_8", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -1.92769, + ["x"] = -46.9363, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -2.21116, + ["x"] = 109.361, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 0.000266075, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock9_2"] = { + ["y"] = -9.63919, + ["x"] = 14.3148, + ["name"] = "StoneBlock9_2", + ["angle"] = -0.000287116, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -26.3771, + ["x"] = 119.282, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = -3.14141, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["YellowBird_3"] = { + ["y"] = -7.66637, + ["x"] = -39.8758, + ["name"] = "YellowBird_3", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme01_05_24"] = { + ["y"] = -13.1153, + ["x"] = -94.783, + ["name"] = "StaticBlockTheme01_05_24", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -21.762, + ["x"] = -87.3999, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -37.5995, + ["x"] = 64.4407, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = -1.57063, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -1.33676, + ["x"] = -101.821, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -35.072, + ["x"] = 59.4522, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = -0.785225, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["YellowBird_4"] = { + ["y"] = -7.75806, + ["x"] = -45.9361, + ["name"] = "YellowBird_4", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["LightBlock12_1"] = { + ["y"] = -13.7432, + ["x"] = -56.8382, + ["name"] = "LightBlock12_1", + ["angle"] = -0.0186305, + ["definition"] = "LightBlock12", + + }, + ["LightBlock1_1"] = { + ["y"] = -1.49446, + ["x"] = 33.9622, + ["name"] = "LightBlock1_1", + ["angle"] = 1.5902, + ["definition"] = "LightBlock1", + + }, + ["WoodBlock1_1"] = { + ["y"] = -1.65973, + ["x"] = -118.415, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.00527316, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -1.80236, + ["x"] = -74.3512, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -25.9524, + ["x"] = -95.182, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = -0.785395, + ["definition"] = "StaticBlockTheme02_05", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["ExtraBlockSmiley"] = 1, + ["WoodBlock9"] = 5, + ["ExtraBlockStairs"] = 5, + ["WOODEN_TIRE"] = 8, + ["LightBlock11"] = 1, + ["StoneBlock3"] = 5, + ["RedBird"] = 5, + ["StoneBlock2"] = 1, + ["HatPiglette"] = 4, + ["ExtraDiamond"] = 2, + ["SIGN_2"] = 2, + ["WoodBlock6"] = 7, + ["LargePiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["LightBlock12"] = 2, + ["LightBlock9"] = 1, + ["SmallPiglette"] = 12, + ["LightBlock6"] = 1, + ["StaticBlockTheme02_01"] = 11, + ["ExtraTreasureChest"] = 1, + ["StoneBlock8"] = 2, + ["RIO_TNT"] = 2, + ["StoneBlock5"] = 5, + ["LightBlock1"] = 2, + ["ExtraHelmetBoss"] = 1, + ["ExtraPoleYellow"] = 1, + ["LightBlock4"] = 1, + ["MediumPiglette"] = 5, + ["WoodBlock11"] = 4, + ["StaticBlockTheme02_04"] = 21, + ["WoodBlock1"] = 7, + ["YellowBird"] = 5, + ["StaticBlockTheme01_02"] = 1, + ["StaticBlockTheme01_03"] = 5, + ["ExtraTire03"] = 6, + ["WoodBlock2"] = 8, + ["BP_METAL"] = 3, + ["StaticBlockTheme01_05"] = 26, + ["WoodBlock3"] = 3, + ["StaticBlockTheme02_06"] = 1, + ["StoneBlock10"] = 4, + ["ShootingPlatform01"] = 1, + ["StoneBlock7"] = 3, + ["BLOCK_GREEN_OILCANISTER"] = 1, + ["StoneBlock11"] = 1, + ["ExtraTire01"] = 3, + ["StoneBlock4"] = 8, + ["BP_WOOD"] = 5, + ["ENGINE"] = 2, + ["StaticBlockTheme01_01"] = 1, + ["StaticBlockTheme02_03"] = 5, + ["StaticBlockTheme02_05"] = 33, + ["StaticBlockTheme02_02"] = 14, + ["WoodBlock4"] = 4, + ["LightBlock5"] = 6, + ["LightBlock3"] = 4, + ["LightBlock2"] = 2, + ["StaticBlockTheme01_04"] = 13, + ["WoodBlock10"] = 6, + ["StoneBlock9"] = 2, + ["WoodBlock5"] = 12, + ["LightBlock10"] = 8, + ["ExtraHolyGrail"] = 1, + ["ExtraBlockTNT"] = 1, + ["WoodBlock12"] = 4, + +} +theme = "theme2" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -229.198, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 11.6091, + ["screenWidth"] = 480, + ["py"] = -229.198, + ["screenHeight"] = 320, + ["top"] = -557.113, + ["sy"] = 0.487931, + ["sx"] = 0.487931, + ["right"] = 1342.2, + ["left"] = -715.377, + ["px"] = -223.504, + + }, + ["version"] = "0.02", + ["sx"] = 0.487931, + ["windows"] = { + ["bottom"] = 135.315, + ["screenWidth"] = 1243, + ["py"] = -528.489, + ["screenHeight"] = 648, + ["top"] = -1145.67, + ["sy"] = 0.524963, + ["sx"] = 0.524963, + ["px"] = -620.454, + ["left"] = -1804.35, + ["right"] = 2040.46, + + }, + ["px"] = -223.504, + ["ipad"] = { + ["bottom"] = 243.27, + ["screenWidth"] = 1024, + ["py"] = -312.145, + ["screenHeight"] = 768, + ["top"] = -859.366, + ["sy"] = 0.701727, + ["sx"] = 0.701727, + ["px"] = -34.102, + ["left"] = -763.73, + ["right"] = 1543.62, + + }, + ["sy"] = 0.487931, + +} +filename = "Level5.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level6.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level6.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..8c4a720ecfb01f44436a01bdbbfa8710f92e4188 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level6.temp.lua @@ -0,0 +1,1686 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 946.699, + ["bottom"] = 61.3817, + ["screenWidth"] = 480, + ["right"] = 1421.54, + ["screenHeight"] = 320, + ["left"] = 471.855, + ["top"] = -571.744, + ["iphone"] = { + ["bottom"] = 61.3817, + ["screenWidth"] = 480, + ["py"] = -255.181, + ["screenHeight"] = 320, + ["top"] = -571.744, + ["sy"] = 0.505429, + ["sx"] = 0.505429, + ["px"] = 946.699, + ["left"] = 471.855, + ["right"] = 1421.54, + + }, + ["version"] = "0.02", + ["sx"] = 0.505429, + ["windows"] = { + ["bottom"] = 33.6918, + ["screenWidth"] = 1366, + ["py"] = -752.674, + ["screenHeight"] = 768, + ["top"] = -1539.04, + ["sy"] = 0.488322, + ["sx"] = 0.488322, + ["px"] = 814.377, + ["left"] = -584.289, + ["right"] = 2213.04, + + }, + ["sy"] = 0.505429, + ["ipad"] = { + ["bottom"] = 234.564, + ["screenWidth"] = 1024, + ["py"] = -247.071, + ["screenHeight"] = 768, + ["top"] = -728.706, + ["sy"] = 0.797285, + ["sx"] = 0.797285, + ["right"] = 1545.13, + ["left"] = 260.776, + ["px"] = 902.955, + + }, + ["py"] = -255.181, + +} +levelParticles = { + ["y"] = -2944.27, + ["x"] = 2466.11, + ["firstFrame"] = true, + ["width"] = 9688.14, + +} +joints = { + +} +world = { + ["StaticBlockTheme02_05_24"] = { + ["y"] = -55.5049, + ["x"] = 105.155, + ["name"] = "StaticBlockTheme02_05_24", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_104"] = { + ["y"] = -10.8433, + ["x"] = -47.2481, + ["name"] = "StaticBlockTheme02_05_104", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_38"] = { + ["y"] = -31.9031, + ["x"] = 122.705, + ["name"] = "StaticBlockTheme02_05_38", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_47"] = { + ["y"] = -27.8075, + ["x"] = 106.732, + ["name"] = "StaticBlockTheme02_05_47", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -3.46396, + ["x"] = -5.49119, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_94"] = { + ["y"] = -29.581, + ["x"] = -38.9544, + ["name"] = "StaticBlockTheme02_05_94", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_100"] = { + ["y"] = -12.584, + ["x"] = -29.7392, + ["name"] = "StaticBlockTheme02_05_100", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_53"] = { + ["y"] = -17.1651, + ["x"] = 40.7957, + ["name"] = "StaticBlockTheme02_05_53", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_35"] = { + ["y"] = -3.84818, + ["x"] = 122.29, + ["name"] = "StaticBlockTheme02_05_35", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -23.2257, + ["x"] = 63.7253, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = -1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_3"] = { + ["y"] = -29.6604, + ["x"] = 87.7127, + ["name"] = "LightBlock1_3", + ["angle"] = 0.0126098, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_43"] = { + ["y"] = -46.0332, + ["x"] = 108.268, + ["name"] = "StaticBlockTheme02_05_43", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_3"] = { + ["y"] = -31.3573, + ["x"] = 73.1584, + ["name"] = "WoodBlock11_3", + ["angle"] = -1.52501, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -17.5945, + ["x"] = 77.548, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = -0.785395, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_57"] = { + ["y"] = -2.3184, + ["x"] = 71.6155, + ["name"] = "StaticBlockTheme02_05_57", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_4"] = { + ["y"] = -7.40029, + ["x"] = -11.3842, + ["name"] = "WoodBlock4_4", + ["angle"] = 1.57219, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -42.8663, + ["x"] = -32.1968, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_1"] = { + ["y"] = -37.4131, + ["x"] = 31.0248, + ["name"] = "LightBlock3_1", + ["angle"] = -0.00318462, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_05_110"] = { + ["y"] = -14.8111, + ["x"] = -22.06, + ["name"] = "StaticBlockTheme02_05_110", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_3"] = { + ["y"] = -46.366, + ["x"] = 32.7126, + ["name"] = "WoodBlock2_3", + ["angle"] = 1.56505, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_84"] = { + ["y"] = -30.9121, + ["x"] = -30.4559, + ["name"] = "StaticBlockTheme02_05_84", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_79"] = { + ["y"] = -4.36622, + ["x"] = 35.5737, + ["name"] = "StaticBlockTheme02_05_79", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_10"] = { + ["y"] = -21.5818, + ["x"] = 91.8996, + ["name"] = "WoodBlock6_10", + ["angle"] = 2.38831, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock5_5"] = { + ["y"] = -38.5129, + ["x"] = 38.0908, + ["name"] = "StoneBlock5_5", + ["angle"] = -0.000690762, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock9_1"] = { + ["y"] = -38.3737, + ["x"] = 34.0312, + ["name"] = "WoodBlock9_1", + ["angle"] = -0.0150769, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = -31.5194, + ["x"] = 40.0729, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_8"] = { + ["y"] = -5.21705, + ["x"] = -4.19066, + ["name"] = "YellowBird_8", + ["startNumber"] = 6, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_90"] = { + ["y"] = -18.4203, + ["x"] = -52.9821, + ["name"] = "StaticBlockTheme02_05_90", + ["angle"] = -1.17813, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_74"] = { + ["y"] = -2.42079, + ["x"] = 89.4316, + ["name"] = "StaticBlockTheme02_05_74", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_2"] = { + ["y"] = -46.1429, + ["x"] = -32.1968, + ["name"] = "YellowBird_2", + ["startNumber"] = 1, + ["angle"] = -1.84648e-005, + ["definition"] = "YellowBird", + + }, + ["LargePiglette_1"] = { + ["y"] = -31.4348, + ["x"] = 85.172, + ["name"] = "LargePiglette_1", + ["angle"] = 0.130965, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_05_48"] = { + ["y"] = -23.8142, + ["x"] = 113.899, + ["name"] = "StaticBlockTheme02_05_48", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock6_5"] = { + ["y"] = -33.1654, + ["x"] = 80.1543, + ["name"] = "LightBlock6_5", + ["angle"] = -1.55889, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock4_6"] = { + ["y"] = -40.0606, + ["x"] = 38.0878, + ["name"] = "WoodBlock4_6", + ["angle"] = -0.000838105, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock6_9"] = { + ["y"] = -36.9664, + ["x"] = 40.2156, + ["name"] = "StoneBlock6_9", + ["angle"] = 0.000615157, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_25"] = { + ["y"] = 2.00569, + ["x"] = -13.1882, + ["name"] = "StaticBlockTheme02_05_25", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_80"] = { + ["y"] = -9.89536, + ["x"] = 43.8674, + ["name"] = "StaticBlockTheme02_05_80", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_91"] = { + ["y"] = -12.072, + ["x"] = -55.5418, + ["name"] = "StaticBlockTheme02_05_91", + ["angle"] = -1.17813, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_103"] = { + ["y"] = -15.0414, + ["x"] = -45.7123, + ["name"] = "StaticBlockTheme02_05_103", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_21"] = { + ["y"] = -49.8734, + ["x"] = 101.469, + ["name"] = "StaticBlockTheme02_05_21", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_14"] = { + ["y"] = -47.9158, + ["x"] = 34.0533, + ["name"] = "WoodBlock4_14", + ["angle"] = -3.13424, + ["definition"] = "WoodBlock4", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 46.3657, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_1"] = { + ["y"] = -6.28594, + ["x"] = -7.87835, + ["name"] = "WoodBlock11_1", + ["angle"] = 0.00460617, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_83"] = { + ["y"] = -22.2088, + ["x"] = -26.8722, + ["name"] = "StaticBlockTheme02_05_83", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_2"] = { + ["y"] = -46.3665, + ["x"] = 35.3794, + ["name"] = "WoodBlock2_2", + ["angle"] = 1.57346, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_56"] = { + ["y"] = -5.90209, + ["x"] = 62.1955, + ["name"] = "StaticBlockTheme02_05_56", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_5"] = { + ["y"] = -20.545, + ["x"] = -18.9883, + ["name"] = "YellowBird_5", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_86"] = { + ["y"] = -36.7484, + ["x"] = -41.5142, + ["name"] = "StaticBlockTheme02_05_86", + ["angle"] = -1.50839e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_72"] = { + ["y"] = -3.4447, + ["x"] = 99.6707, + ["name"] = "StaticBlockTheme02_05_72", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_71"] = { + ["y"] = -3.64948, + ["x"] = 106.941, + ["name"] = "StaticBlockTheme02_05_71", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock6_4"] = { + ["y"] = -33.1339, + ["x"] = 82.0568, + ["name"] = "LightBlock6_4", + ["angle"] = 1.58249, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_05_45"] = { + ["y"] = -37.3299, + ["x"] = 107.448, + ["name"] = "StaticBlockTheme02_05_45", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock11_2"] = { + ["y"] = -22.2055, + ["x"] = 79.997, + ["name"] = "WoodBlock11_2", + ["angle"] = 3.14088, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_05_55"] = { + ["y"] = -11.9432, + ["x"] = 52.9803, + ["name"] = "StaticBlockTheme02_05_55", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -14.4203, + ["x"] = 81.1317, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 0.392702, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_78"] = { + ["y"] = -4.16144, + ["x"] = 40.079, + ["name"] = "StaticBlockTheme02_05_78", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 0.631689, + ["x"] = -19.5188, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -28.6349, + ["x"] = 83.2438, + ["name"] = "StoneBlock10_1", + ["angle"] = -3.12329, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock2_4"] = { + ["y"] = -46.3685, + ["x"] = 34.0443, + ["name"] = "WoodBlock2_4", + ["angle"] = 1.57257, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_97"] = { + ["y"] = -4.2903, + ["x"] = -37.8281, + ["name"] = "StaticBlockTheme02_05_97", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -42.7639, + ["x"] = -31.992, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock2_13"] = { + ["y"] = -6.4298, + ["x"] = -10.324, + ["name"] = "LightBlock2_13", + ["angle"] = 1.57537, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_05_98"] = { + ["y"] = -4.18791, + ["x"] = -47.6577, + ["name"] = "StaticBlockTheme02_05_98", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_3"] = { + ["y"] = -41.0623, + ["x"] = 79.2291, + ["name"] = "StoneBlock11_3", + ["angle"] = -1.56169, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_05_17"] = { + ["y"] = -26.5025, + ["x"] = 100.176, + ["name"] = "StaticBlockTheme02_05_17", + ["angle"] = -5.07036e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_6"] = { + ["y"] = -34.2305, + ["x"] = 78.532, + ["name"] = "SmallPiglette_6", + ["angle"] = 0.77313, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_39"] = { + ["y"] = -23.7118, + ["x"] = 122.705, + ["name"] = "StaticBlockTheme02_05_39", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_27"] = { + ["y"] = 1.08417, + ["x"] = 5.3446, + ["name"] = "StaticBlockTheme02_05_27", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_58"] = { + ["y"] = -2.11361, + ["x"] = 80.8307, + ["name"] = "StaticBlockTheme02_05_58", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_101"] = { + ["y"] = -22.4136, + ["x"] = -34.654, + ["name"] = "StaticBlockTheme02_05_101", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock1_1"] = { + ["y"] = -36.3136, + ["x"] = 49.55, + ["name"] = "StoneBlock1_1", + ["angle"] = 0.133664, + ["definition"] = "StoneBlock1", + + }, + ["LightBlock3_4"] = { + ["y"] = -39.0341, + ["x"] = 48.8028, + ["name"] = "LightBlock3_4", + ["angle"] = 0.114681, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock10_4"] = { + ["y"] = -28.9148, + ["x"] = 72.9661, + ["name"] = "WoodBlock10_4", + ["angle"] = 0.0457556, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock12_1"] = { + ["y"] = -55.4415, + ["x"] = 34.1142, + ["name"] = "StoneBlock12_1", + ["angle"] = 0.0138323, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_05_96"] = { + ["y"] = -4.18791, + ["x"] = -28.3057, + ["name"] = "StaticBlockTheme02_05_96", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_8"] = { + ["y"] = -42.294, + ["x"] = 32.4548, + ["name"] = "WoodBlock4_8", + ["angle"] = 1.56006, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_32"] = { + ["y"] = -26.1519, + ["x"] = 47.5298, + ["name"] = "StaticBlockTheme02_05_32", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_95"] = { + ["y"] = -20.7753, + ["x"] = -38.7496, + ["name"] = "StaticBlockTheme02_05_95", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_52"] = { + ["y"] = -12.5575, + ["x"] = 36.4953, + ["name"] = "StaticBlockTheme02_05_52", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -19.8244, + ["x"] = 85.5066, + ["name"] = "ExtraDonut01_1", + ["angle"] = 0.433766, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -62.4419, + ["x"] = 107.344, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_3"] = { + ["y"] = -27.1505, + ["x"] = 77.8349, + ["name"] = "LightBlock5_3", + ["angle"] = -0.00393421, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_93"] = { + ["y"] = 0.112531, + ["x"] = -56.9753, + ["name"] = "StaticBlockTheme02_05_93", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_3"] = { + ["y"] = -42.258, + ["x"] = -42.0454, + ["name"] = "WoodBlock4_3", + ["angle"] = -1.55608e-005, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock4_12"] = { + ["y"] = -50.4465, + ["x"] = 32.8901, + ["name"] = "WoodBlock4_12", + ["angle"] = 1.59162, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_81"] = { + ["y"] = -4.49509, + ["x"] = -19.5001, + ["name"] = "StaticBlockTheme02_05_81", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_18"] = { + ["y"] = -59.9114, + ["x"] = 114.055, + ["name"] = "StaticBlockTheme02_05_18", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraRuby_1"] = { + ["y"] = -35.4401, + ["x"] = 52.5073, + ["name"] = "ExtraRuby_1", + ["angle"] = -1.23427, + ["definition"] = "ExtraRuby", + + }, + ["StaticBlockTheme02_05_54"] = { + ["y"] = -16.7556, + ["x"] = 46.5296, + ["name"] = "StaticBlockTheme02_05_54", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_36"] = { + ["y"] = -51.0503, + ["x"] = 122.5, + ["name"] = "StaticBlockTheme02_05_36", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_88"] = { + ["y"] = -32.5503, + ["x"] = -45.6099, + ["name"] = "StaticBlockTheme02_05_88", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_2"] = { + ["y"] = -33.7839, + ["x"] = 75.9602, + ["name"] = "LightBlock1_2", + ["angle"] = 0.0264435, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_22"] = { + ["y"] = -41.0678, + ["x"] = 101.777, + ["name"] = "StaticBlockTheme02_05_22", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_109"] = { + ["y"] = -24.5383, + ["x"] = -25.5413, + ["name"] = "StaticBlockTheme02_05_109", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_63"] = { + ["y"] = -15.1173, + ["x"] = 61.3764, + ["name"] = "StaticBlockTheme02_05_63", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -21.5613, + ["x"] = 83.3098, + ["name"] = "ExtraDonut01_2", + ["angle"] = -0.0548146, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_05_46"] = { + ["y"] = -33.439, + ["x"] = 114.206, + ["name"] = "StaticBlockTheme02_05_46", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_26"] = { + ["y"] = 1.28896, + ["x"] = -4.07541, + ["name"] = "StaticBlockTheme02_05_26", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraRuby_2"] = { + ["y"] = -31.4101, + ["x"] = 59.9788, + ["name"] = "ExtraRuby_2", + ["angle"] = 1.96122, + ["definition"] = "ExtraRuby", + + }, + ["StaticBlockTheme02_05_77"] = { + ["y"] = -3.75187, + ["x"] = 48.0655, + ["name"] = "StaticBlockTheme02_05_77", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_99"] = { + ["y"] = -4.59747, + ["x"] = -44.2788, + ["name"] = "StaticBlockTheme02_05_99", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_61"] = { + ["y"] = -9.79296, + ["x"] = 102.845, + ["name"] = "StaticBlockTheme02_05_61", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_60"] = { + ["y"] = -11.1241, + ["x"] = 112.674, + ["name"] = "StaticBlockTheme02_05_60", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_59"] = { + ["y"] = -3.4447, + ["x"] = 115.029, + ["name"] = "StaticBlockTheme02_05_59", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock5_6"] = { + ["y"] = -38.1125, + ["x"] = 81.0696, + ["name"] = "StoneBlock5_6", + ["angle"] = 0.00987581, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock2_1"] = { + ["y"] = -4.88443, + ["x"] = -10.8905, + ["name"] = "WoodBlock2_1", + ["angle"] = 0.00086002, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_05_16"] = { + ["y"] = -20.1542, + ["x"] = 98.9478, + ["name"] = "StaticBlockTheme02_05_16", + ["angle"] = -1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_51"] = { + ["y"] = -3.85427, + ["x"] = 27.5872, + ["name"] = "StaticBlockTheme02_05_51", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_2"] = { + ["y"] = -41.0311, + ["x"] = 83.1216, + ["name"] = "StoneBlock11_2", + ["angle"] = 0.00665428, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -56.5032, + ["x"] = 98.5382, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_44"] = { + ["y"] = -42.9614, + ["x"] = 115.025, + ["name"] = "StaticBlockTheme02_05_44", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_11"] = { + ["y"] = -50.4191, + ["x"] = 35.3274, + ["name"] = "WoodBlock4_11", + ["angle"] = 1.58688, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_3"] = { + ["y"] = -30.4451, + ["x"] = 59.0126, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.390327, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_05_69"] = { + ["y"] = -8.46188, + ["x"] = 97.7253, + ["name"] = "StaticBlockTheme02_05_69", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_03_3"] = { + ["y"] = -40.1702, + ["x"] = 127.409, + ["name"] = "StaticBlockTheme02_03_3", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["WoodBlock4_9"] = { + ["y"] = -42.3262, + ["x"] = 35.4249, + ["name"] = "WoodBlock4_9", + ["angle"] = 1.56047, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = -16.7748, + ["x"] = 28.5028, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = -2.7489, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -59.5749, + ["x"] = 100.586, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_19"] = { + ["y"] = -59.9114, + ["x"] = 123.475, + ["name"] = "StaticBlockTheme02_05_19", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_13"] = { + ["y"] = -50.4334, + ["x"] = 34.1112, + ["name"] = "WoodBlock4_13", + ["angle"] = 1.58312, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_03_5"] = { + ["y"] = -9.99166, + ["x"] = 127.409, + ["name"] = "StaticBlockTheme02_03_5", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_66"] = { + ["y"] = -9.48579, + ["x"] = 78.2709, + ["name"] = "StaticBlockTheme02_05_66", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock6_9"] = { + ["y"] = -43.7798, + ["x"] = -39.7955, + ["name"] = "WoodBlock6_9", + ["angle"] = -0.11743, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_111"] = { + ["y"] = -6.51739, + ["x"] = -16.8381, + ["name"] = "StaticBlockTheme02_05_111", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_40"] = { + ["y"] = -15.6229, + ["x"] = 123.012, + ["name"] = "StaticBlockTheme02_05_40", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_7"] = { + ["y"] = -39.5407, + ["x"] = 44.6596, + ["name"] = "SmallPiglette_7", + ["angle"] = 0.0449674, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_05_64"] = { + ["y"] = -14.9125, + ["x"] = 68.2366, + ["name"] = "StaticBlockTheme02_05_64", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_73"] = { + ["y"] = -2.42079, + ["x"] = 90.7627, + ["name"] = "StaticBlockTheme02_05_73", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_6"] = { + ["y"] = -12.1489, + ["x"] = -14.4831, + ["name"] = "YellowBird_6", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_85"] = { + ["y"] = -38.8986, + ["x"] = -33.8349, + ["name"] = "StaticBlockTheme02_05_85", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -31.417, + ["x"] = 50.312, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_49"] = { + ["y"] = -19.0018, + ["x"] = 106.527, + ["name"] = "StaticBlockTheme02_05_49", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -1.72331, + ["x"] = 13.3488, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_105"] = { + ["y"] = -12.7888, + ["x"] = -37.6233, + ["name"] = "StaticBlockTheme02_05_105", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_23"] = { + ["y"] = -35.0267, + ["x"] = 101.469, + ["name"] = "StaticBlockTheme02_05_23", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -33.1577, + ["x"] = 46.2164, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock11_1"] = { + ["y"] = -38.307, + ["x"] = 27.9599, + ["name"] = "StoneBlock11_1", + ["angle"] = 1.475e-007, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock5_2"] = { + ["y"] = -25.1289, + ["x"] = 79.9414, + ["name"] = "LightBlock5_2", + ["angle"] = -0.00416643, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_05_76"] = { + ["y"] = -3.23992, + ["x"] = 56.052, + ["name"] = "StaticBlockTheme02_05_76", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -61.6227, + ["x"] = 103.658, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_30"] = { + ["y"] = -19.8037, + ["x"] = 32.0687, + ["name"] = "StaticBlockTheme02_05_30", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_34"] = { + ["y"] = -17.5432, + ["x"] = 103.452, + ["name"] = "StaticBlockTheme02_05_34", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_65"] = { + ["y"] = -11.1241, + ["x"] = 70.4892, + ["name"] = "StaticBlockTheme02_05_65", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = -13.4988, + ["x"] = 87.3776, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_75"] = { + ["y"] = -2.62557, + ["x"] = 64.5505, + ["name"] = "StaticBlockTheme02_05_75", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_16"] = { + ["y"] = -52.9522, + ["x"] = 34.0766, + ["name"] = "WoodBlock4_16", + ["angle"] = -3.12846, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -26.8094, + ["x"] = 56.5579, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = -2.7489, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_37"] = { + ["y"] = -41.4255, + ["x"] = 122.705, + ["name"] = "StaticBlockTheme02_05_37", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = -31.417, + ["x"] = 30.7553, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -15.4442, + ["x"] = 94.9545, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_15"] = { + ["y"] = -44.8233, + ["x"] = 34.0123, + ["name"] = "WoodBlock4_15", + ["angle"] = 3.13549, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock2_5"] = { + ["y"] = -29.4075, + ["x"] = 58.2014, + ["name"] = "StoneBlock2_5", + ["angle"] = 0.392693, + ["definition"] = "StoneBlock2", + + }, + ["WoodBlock7_1"] = { + ["y"] = -39.8062, + ["x"] = 29.0358, + ["name"] = "WoodBlock7_1", + ["angle"] = 2.27823, + ["definition"] = "WoodBlock7", + + }, + ["LightBlock2_14"] = { + ["y"] = -38.7884, + ["x"] = 46.7015, + ["name"] = "LightBlock2_14", + ["angle"] = 0.114566, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme02_05_67"] = { + ["y"] = -7.64275, + ["x"] = 82.7762, + ["name"] = "StaticBlockTheme02_05_67", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock2_6"] = { + ["y"] = -27.6239, + ["x"] = 71.4858, + ["name"] = "StoneBlock2_6", + ["angle"] = 0.391344, + ["definition"] = "StoneBlock2", + + }, + ["WoodBlock4_10"] = { + ["y"] = -42.308, + ["x"] = 33.875, + ["name"] = "WoodBlock4_10", + ["angle"] = 1.562, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_92"] = { + ["y"] = -4.80226, + ["x"] = -57.0777, + ["name"] = "StaticBlockTheme02_05_92", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_10"] = { + ["y"] = -34.1808, + ["x"] = 52.2768, + ["name"] = "StoneBlock6_10", + ["angle"] = 0.330255, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_70"] = { + ["y"] = -8.05231, + ["x"] = 106.838, + ["name"] = "StaticBlockTheme02_05_70", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_33"] = { + ["y"] = -23.8993, + ["x"] = 38.5194, + ["name"] = "StaticBlockTheme02_05_33", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_89"] = { + ["y"] = -26.4068, + ["x"] = -49.7055, + ["name"] = "StaticBlockTheme02_05_89", + ["angle"] = -2.74892, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_42"] = { + ["y"] = -52.279, + ["x"] = 114.513, + ["name"] = "StaticBlockTheme02_05_42", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_62"] = { + ["y"] = -16.0388, + ["x"] = 54.1066, + ["name"] = "StaticBlockTheme02_05_62", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_107"] = { + ["y"] = -33.4463, + ["x"] = -29.4322, + ["name"] = "StaticBlockTheme02_05_107", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = -7.66201, + ["x"] = 22.4617, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -29.3692, + ["x"] = 53.2814, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 2.3562, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_102"] = { + ["y"] = -24.0518, + ["x"] = -45.8147, + ["name"] = "StaticBlockTheme02_05_102", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_82"] = { + ["y"] = -13.3007, + ["x"] = -23.1862, + ["name"] = "StaticBlockTheme02_05_82", + ["angle"] = -0.392715, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDonut01_3"] = { + ["y"] = -30.9656, + ["x"] = 70.469, + ["name"] = "ExtraDonut01_3", + ["angle"] = 0.0776472, + ["definition"] = "ExtraDonut01", + + }, + ["WoodBlock10_2"] = { + ["y"] = -23.2205, + ["x"] = 87.3881, + ["name"] = "WoodBlock10_2", + ["angle"] = -1.58676, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock9_2"] = { + ["y"] = -31.2581, + ["x"] = 77.0798, + ["name"] = "WoodBlock9_2", + ["angle"] = 0.0268152, + ["definition"] = "WoodBlock9", + + }, + ["StoneBlock6_11"] = { + ["y"] = -37.6769, + ["x"] = 47.0347, + ["name"] = "StoneBlock6_11", + ["angle"] = 0.11442, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = -27.3214, + ["x"] = 30.7553, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -29.9958, + ["x"] = 65.3331, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.392824, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_03_2"] = { + ["y"] = -39.4038, + ["x"] = 96.2856, + ["name"] = "StaticBlockTheme02_03_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["StaticBlockTheme02_05_31"] = { + ["y"] = -22.2611, + ["x"] = 55.2092, + ["name"] = "StaticBlockTheme02_05_31", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_3"] = { + ["y"] = -39.0779, + ["x"] = -26.5652, + ["name"] = "YellowBird_3", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -21.7923, + ["x"] = 71.3023, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = -1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_106"] = { + ["y"] = -14.0175, + ["x"] = -32.7086, + ["name"] = "StaticBlockTheme02_05_106", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_28"] = { + ["y"] = -2.29474, + ["x"] = 20.7033, + ["name"] = "StaticBlockTheme02_05_28", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_29"] = { + ["y"] = -9.15496, + ["x"] = 27.8707, + ["name"] = "StaticBlockTheme02_05_29", + ["angle"] = 3.14158, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_87"] = { + ["y"] = -35.3149, + ["x"] = -43.6644, + ["name"] = "StaticBlockTheme02_05_87", + ["angle"] = 1.96348, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["YellowBird_4"] = { + ["y"] = -30.0674, + ["x"] = -22.7768, + ["name"] = "YellowBird_4", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme02_05_41"] = { + ["y"] = -9.58182, + ["x"] = 122.193, + ["name"] = "StaticBlockTheme02_05_41", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock1_1"] = { + ["y"] = -42.685, + ["x"] = -39.1057, + ["name"] = "LightBlock1_1", + ["angle"] = -0.370799, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_68"] = { + ["y"] = -6.72122, + ["x"] = 91.377, + ["name"] = "StaticBlockTheme02_05_68", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_15"] = { + ["y"] = -17.6968, + ["x"] = 96.7976, + ["name"] = "StaticBlockTheme02_05_15", + ["angle"] = -2.3562, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_50"] = { + ["y"] = -14.8038, + ["x"] = 114.718, + ["name"] = "StaticBlockTheme02_05_50", + ["angle"] = -1.57081, + ["definition"] = "StaticBlockTheme02_05", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 11, + ["ExtraDonut01"] = 3, + ["MediumPiglette"] = 3, + ["WoodBlock11"] = 3, + ["StaticBlockTheme02_04"] = 8, + ["StoneBlock11"] = 3, + ["YellowBird"] = 8, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 4, + ["StoneBlock2"] = 6, + ["WoodBlock2"] = 4, + ["WoodBlock10"] = 4, + ["StoneBlock1"] = 1, + ["WoodBlock6"] = 11, + ["LargePiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock3"] = 4, + ["StoneBlock7"] = 1, + ["SmallPiglette"] = 7, + ["LightBlock6"] = 5, + ["StaticBlockTheme02_01"] = 2, + ["StoneBlock12"] = 1, + ["WoodBlock5"] = 2, + ["StoneBlock10"] = 2, + ["StaticBlockTheme02_03"] = 6, + ["StaticBlockTheme02_05"] = 111, + ["WoodBlock7"] = 2, + ["StaticBlockTheme01_05"] = 2, + ["LightBlock5"] = 3, + ["WoodBlock4"] = 16, + ["StoneBlock5"] = 6, + ["WoodBlock9"] = 4, + ["LightBlock1"] = 3, + ["ExtraRuby"] = 2, + ["LightBlock2"] = 14, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["LightBlock3"] = 4, + ["LightBlock4"] = 4, + +} +theme = "theme2" +birdCameraData = { + ["px"] = -302.496, + ["bottom"] = 4.38751, + ["screenWidth"] = 480, + ["right"] = 1336.05, + ["screenHeight"] = 320, + ["left"] = -734.594, + ["top"] = -459.99, + ["iphone"] = { + ["bottom"] = 4.38751, + ["screenWidth"] = 480, + ["py"] = -171.924, + ["screenHeight"] = 320, + ["top"] = -459.99, + ["sy"] = 0.555429, + ["sx"] = 0.555429, + ["px"] = -302.496, + ["left"] = -734.594, + ["right"] = 1336.05, + + }, + ["version"] = "0.02", + ["sx"] = 0.555429, + ["windows"] = { + ["bottom"] = 157.099, + ["screenWidth"] = 1366, + ["py"] = -693.286, + ["screenHeight"] = 768, + ["top"] = -1541.36, + ["sy"] = 0.452793, + ["sx"] = 0.452793, + ["px"] = -115.335, + ["left"] = -1623.75, + ["right"] = 2432.54, + + }, + ["sy"] = 0.555429, + ["ipad"] = { + ["bottom"] = 372.709, + ["screenWidth"] = 1024, + ["py"] = -263.955, + ["screenHeight"] = 768, + ["top"] = -814.662, + ["sy"] = 0.697285, + ["sx"] = 0.697285, + ["right"] = 1729.33, + ["left"] = -798.262, + ["px"] = -63.9853, + + }, + ["py"] = -171.924, + +} +filename = "Level6.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level7.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level7.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..d60fa0bc02e65986b37642c4ca1ce5433b41adde --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level7.temp.lua @@ -0,0 +1,1294 @@ +themeSprites = { + +} +castleCameraData = { + ["screenHeight"] = 320, + ["bottom"] = 124.18, + ["px"] = -126.133, + ["py"] = -316.675, + ["left"] = -787.415, + ["sy"] = 0.1361, + ["top"] = -757.53, + ["iphone"] = { + ["bottom"] = 124.18, + ["screenWidth"] = 480, + ["py"] = -316.675, + ["screenHeight"] = 320, + ["top"] = -757.53, + ["sy"] = 0.1361, + ["sx"] = 0.362931, + ["px"] = -126.133, + ["left"] = -787.416, + ["right"] = 535.15, + + }, + ["version"] = "0.02", + ["sx"] = 0.362931, + ["windows"] = { + ["bottom"] = 249.849, + ["screenWidth"] = 1366, + ["py"] = -405.368, + ["screenHeight"] = 768, + ["top"] = -1060.59, + ["sy"] = 0.586065, + ["sx"] = 0.586065, + ["right"] = 1492.87, + ["left"] = -837.927, + ["px"] = 327.473, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["sy"] = 0.671034, + ["sx"] = 0.671034, + ["px"] = 80.0175, + ["py"] = -319.045, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["right"] = 535.149, + +} +levelParticles = { + ["y"] = -2653.31, + ["x"] = 1427.49, + ["firstFrame"] = true, + ["width"] = 8933.59, + +} +joints = { + ["StoneBlock3_4StoneBlock9_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_4StoneBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_4", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock9_3LightBlock3_22"] = { + ["type"] = 1, + ["end2"] = "LightBlock3_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock9_3LightBlock3_22", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock9_3", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["ExtraBlockTNT_1LargePiglette_1"] = { + ["type"] = 1, + ["end2"] = "LargePiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_1LargePiglette_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraBlockTNT_1", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["StoneBlock3_2StoneBlock9_3"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_2StoneBlock9_3", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock3_21LightBlock9_4"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_4", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_21LightBlock9_4", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_21", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock9_2LightBlock3_23"] = { + ["type"] = 1, + ["end2"] = "LightBlock3_23", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock9_2LightBlock3_23", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock9_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock3_3StoneBlock9_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock9_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock3_3StoneBlock9_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock3_3", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LargePiglette_1StaticBalloon04_1"] = { + ["type"] = 1, + ["end2"] = "StaticBalloon04_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_1StaticBalloon04_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LargePiglette_1", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + ["LightBlock3_24LightBlock9_1"] = { + ["type"] = 1, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock3_24LightBlock9_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock3_24", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock9_4StoneBlock3_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock3_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock9_4StoneBlock3_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock9_4", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["LightBlock9_2"] = { + ["y"] = -5.90609, + ["x"] = -23.289, + ["name"] = "LightBlock9_2", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.83756, + ["x"] = -71.6585, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -8.36498, + ["x"] = -14.422, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -1.8098, + ["x"] = 40.4904, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -10.3787, + ["x"] = 46.7494, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 5.10513, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_3"] = { + ["y"] = -11.1094, + ["x"] = 43.1751, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -0.468585, + ["x"] = 30.5058, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_05_8"] = { + ["y"] = -2.50817, + ["x"] = -67.0387, + ["name"] = "StaticBlockTheme02_05_8", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_05_9"] = { + ["y"] = -2.50817, + ["x"] = -64.7289, + ["name"] = "StaticBlockTheme02_05_9", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["MediumPiglette_2"] = { + ["y"] = -22.5097, + ["x"] = 47.6458, + ["name"] = "MediumPiglette_2", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_6"] = { + ["y"] = -14.6114, + ["x"] = 43.026, + ["name"] = "WoodBlock10_6", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock10", + + }, + ["ExtraDonut01_1"] = { + ["y"] = -21.9881, + ["x"] = 51.1478, + ["name"] = "ExtraDonut01_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -0.692123, + ["x"] = 44.1415, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -3.0765, + ["x"] = 46.0043, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 1.57086, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock3_21"] = { + ["y"] = -13.8043, + ["x"] = -23.2144, + ["name"] = "LightBlock3_21", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock4_3"] = { + ["y"] = -0.394076, + ["x"] = 50.326, + ["name"] = "WoodBlock4_3", + ["angle"] = 3.14166, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_05_11"] = { + ["y"] = -5.33961, + ["x"] = -53.5522, + ["name"] = "StaticBlockTheme02_05_11", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock2_1"] = { + ["y"] = -5.3845, + ["x"] = -16.5084, + ["name"] = "WoodBlock2_1", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock3_1"] = { + ["y"] = -17.6568, + ["x"] = 45.9777, + ["name"] = "WoodBlock3_1", + ["angle"] = 0.392699, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock3_2"] = { + ["y"] = -9.78257, + ["x"] = 56.2869, + ["name"] = "StoneBlock3_2", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock10_3"] = { + ["y"] = -5.83158, + ["x"] = -6.0022, + ["name"] = "StoneBlock10_3", + ["angle"] = 0.392702, + ["definition"] = "StoneBlock10", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -34.595, + ["x"] = -3.32258, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 0.39279, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock4_4"] = { + ["y"] = -5.81904, + ["x"] = 4.87595, + ["name"] = "WoodBlock4_4", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock1_2"] = { + ["y"] = -18.1528, + ["x"] = -15.5241, + ["name"] = "LightBlock1_2", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -2.55492, + ["x"] = 42.5767, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock3_23"] = { + ["y"] = -5.83158, + ["x"] = -23.289, + ["name"] = "LightBlock3_23", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["StoneBlock6_12"] = { + ["y"] = -2.03334, + ["x"] = 30.6548, + ["name"] = "StoneBlock6_12", + ["angle"] = 5.89046, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock2_3"] = { + ["y"] = -18.0834, + ["x"] = 49.0491, + ["name"] = "WoodBlock2_3", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock5_1"] = { + ["y"] = -2.92561, + ["x"] = -16.6574, + ["name"] = "WoodBlock5_1", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -4.7139, + ["x"] = -12.0377, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_10"] = { + ["y"] = -5.33961, + ["x"] = -54.9679, + ["name"] = "StaticBlockTheme02_05_10", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_2"] = { + ["y"] = -0.156656, + ["x"] = -28.1592, + ["name"] = "StoneBlock11_2", + ["angle"] = 2.35629, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -12.1669, + ["x"] = 48.4632, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -0.394073, + ["x"] = 37.8825, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock10_7"] = { + ["y"] = -12.0179, + ["x"] = 46.1533, + ["name"] = "StoneBlock10_7", + ["angle"] = 1.96352, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock12_1"] = { + ["y"] = -8.20342, + ["x"] = 41.9083, + ["name"] = "LightBlock12_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock12", + + }, + ["StoneBlock10_9"] = { + ["y"] = -8.27793, + ["x"] = 4.65241, + ["name"] = "StoneBlock10_9", + ["angle"] = 4.05312e-005, + ["definition"] = "StoneBlock10", + + }, + ["LightBlock3_22"] = { + ["y"] = -9.85522, + ["x"] = -23.289, + ["name"] = "LightBlock3_22", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["BasicBird2_2"] = { + ["y"] = -12.2692, + ["x"] = -66.0701, + ["name"] = "BasicBird2_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBlockTheme02_05_7"] = { + ["y"] = 0.621335, + ["x"] = -76.7998, + ["name"] = "StaticBlockTheme02_05_7", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_13"] = { + ["y"] = -20.1253, + ["x"] = 48.2419, + ["name"] = "StoneBlock6_13", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock7_1"] = { + ["y"] = -19.3575, + ["x"] = -18.0003, + ["name"] = "StoneBlock7_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock7", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -6.05511, + ["x"] = -10.8455, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BasicBird2_6"] = { + ["y"] = -14.834, + ["x"] = -53.6203, + ["name"] = "BasicBird2_6", + ["startNumber"] = 1, + ["angle"] = 4.76837e-007, + ["definition"] = "BasicBird2", + + }, + ["WoodBlock10_3"] = { + ["y"] = -10.8257, + ["x"] = 50.326, + ["name"] = "WoodBlock10_3", + ["angle"] = 1.57087, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock3_3"] = { + ["y"] = -5.83344, + ["x"] = 56.2869, + ["name"] = "StoneBlock3_3", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock10_2"] = { + ["y"] = -10.8239, + ["x"] = -16.6574, + ["name"] = "WoodBlock10_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_4"] = { + ["y"] = -16.2651, + ["x"] = 53.4555, + ["name"] = "WoodBlock10_4", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -10.5258, + ["x"] = -13.975, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 4.31968, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_24"] = { + ["y"] = -1.88245, + ["x"] = -23.438, + ["name"] = "LightBlock3_24", + ["angle"] = 0, + ["definition"] = "LightBlock3", + + }, + ["LargePiglette_1"] = { + ["y"] = -36.5323, + ["x"] = -6.07952, + ["name"] = "LargePiglette_1", + ["angle"] = 8.96454e-005, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock3_4"] = { + ["y"] = -1.66078, + ["x"] = 56.4359, + ["name"] = "StoneBlock3_4", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -1.95696, + ["x"] = -12.8573, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -3.37455, + ["x"] = 44.2905, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock10_5"] = { + ["y"] = -0.394073, + ["x"] = 21.6389, + ["name"] = "StoneBlock10_5", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -5.08646, + ["x"] = -12.8573, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_1"] = { + ["y"] = -1.7954, + ["x"] = 10.3153, + ["name"] = "LightBlock5_1", + ["angle"] = 6.28316, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock3_1"] = { + ["y"] = -13.5827, + ["x"] = 56.3614, + ["name"] = "StoneBlock3_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock10_8"] = { + ["y"] = -17.2338, + ["x"] = 53.53, + ["name"] = "StoneBlock10_8", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -8.14331, + ["x"] = 46.9729, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 1.96356, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock9_4"] = { + ["y"] = -13.7317, + ["x"] = 56.2869, + ["name"] = "StoneBlock9_4", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock6_11"] = { + ["y"] = -2.18049, + ["x"] = 2.56666, + ["name"] = "StoneBlock6_11", + ["angle"] = 0.392702, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = 1.21743, + ["x"] = -82.1647, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -5.01381, + ["x"] = 41.5336, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_4"] = { + ["y"] = -14.7605, + ["x"] = 44.8143, + ["name"] = "WoodBlock5_4", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock5", + + }, + ["Estrade03_2"] = { + ["y"] = -5.78669, + ["x"] = -77.4704, + ["name"] = "Estrade03_2", + ["angle"] = 0, + ["definition"] = "Estrade03", + + }, + ["ExtraDonut01_2"] = { + ["y"] = -19.2312, + ["x"] = 53.9793, + ["name"] = "ExtraDonut01_2", + ["angle"] = 0.39279, + ["definition"] = "ExtraDonut01", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -8.66302, + ["x"] = -12.7828, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -8.0688, + ["x"] = 47.7181, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 1.96354, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_7"] = { + ["y"] = -3.28564, + ["x"] = 7.33484, + ["name"] = "WoodBlock10_7", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_2"] = { + ["y"] = -6.04258, + ["x"] = -2.87329, + ["name"] = "LightBlock5_2", + ["angle"] = 0.392705, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = -16.8972, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["LightBlock3_25"] = { + ["y"] = -18.6351, + ["x"] = 51.4459, + ["name"] = "LightBlock3_25", + ["angle"] = 6.28317, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock4_7"] = { + ["y"] = -19.1925, + ["x"] = 47.8546, + ["name"] = "WoodBlock4_7", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock9_3"] = { + ["y"] = -9.85708, + ["x"] = 56.2869, + ["name"] = "StoneBlock9_3", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock11_1"] = { + ["y"] = -19.6037, + ["x"] = 56.5872, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71247, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_05_13"] = { + ["y"] = 2.43924, + ["x"] = -0.115765, + ["name"] = "StaticBlockTheme02_05_13", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_5"] = { + ["y"] = -2.01945, + ["x"] = -33.0025, + ["name"] = "StoneBlock11_5", + ["angle"] = 4.71253, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock2_2"] = { + ["y"] = -5.38637, + ["x"] = 50.2514, + ["name"] = "WoodBlock2_2", + ["angle"] = 7.20024e-005, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = 1.39421, + ["x"] = 32.9647, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock4_1"] = { + ["y"] = -0.317697, + ["x"] = -16.6574, + ["name"] = "WoodBlock4_1", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock9_4"] = { + ["y"] = -13.8043, + ["x"] = -23.2144, + ["name"] = "LightBlock9_4", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["StaticBalloon04_1"] = { + ["y"] = -41.9266, + ["x"] = 15.017, + ["name"] = "StaticBalloon04_1", + ["angle"] = 0.000107288, + ["definition"] = "StaticBalloon04", + + }, + ["Estrade03_3"] = { + ["y"] = -8.9907, + ["x"] = -65.9956, + ["name"] = "Estrade03_3", + ["angle"] = 0, + ["definition"] = "Estrade03", + + }, + ["StoneBlock10_2"] = { + ["y"] = -12.7612, + ["x"] = -12.7828, + ["name"] = "StoneBlock10_2", + ["angle"] = 4.31969, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_05_14"] = { + ["y"] = -0.913791, + ["x"] = -8.23756, + ["name"] = "StaticBlockTheme02_05_14", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -5.14895, + ["x"] = -29.3514, + ["name"] = "ExtraDiamond_1", + ["angle"] = 0.000142574, + ["definition"] = "ExtraDiamond", + + }, + ["LightBlock5_3"] = { + ["y"] = -7.53281, + ["x"] = -1.97915, + ["name"] = "LightBlock5_3", + ["angle"] = 0.392705, + ["definition"] = "LightBlock5", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -5.44648, + ["x"] = 1.67194, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock10_4"] = { + ["y"] = -0.466721, + ["x"] = 11.5081, + ["name"] = "StoneBlock10_4", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock11_1"] = { + ["y"] = -6.86221, + ["x"] = -7.49302, + ["name"] = "WoodBlock11_1", + ["angle"] = 2.74894, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -12.9102, + ["x"] = -14.422, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_05_12"] = { + ["y"] = -2.43365, + ["x"] = -60.0347, + ["name"] = "StaticBlockTheme02_05_12", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_5"] = { + ["y"] = -13.1957, + ["x"] = 45.6339, + ["name"] = "WoodBlock10_5", + ["angle"] = 1.9635, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -4.11967, + ["x"] = 39.2982, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock11_4"] = { + ["y"] = -2.01945, + ["x"] = -29.1279, + ["name"] = "StoneBlock11_4", + ["angle"] = 1.57093, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -5.68255, + ["x"] = -11.069, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = 3.92698, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_2"] = { + ["y"] = -2.85297, + ["x"] = 50.1769, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.71246, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -16.2632, + ["x"] = -20.1595, + ["name"] = "WoodBlock10_1", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_1"] = { + ["y"] = -9.99171, + ["x"] = -2.87329, + ["name"] = "LightBlock10_1", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock10_1"] = { + ["y"] = -17.0829, + ["x"] = -20.234, + ["name"] = "StoneBlock10_1", + ["angle"] = 0, + ["definition"] = "StoneBlock10", + + }, + ["MediumPiglette_4"] = { + ["y"] = -12.3016, + ["x"] = -4.2145, + ["name"] = "MediumPiglette_4", + ["angle"] = 8.96454e-005, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -0.570859, + ["x"] = -64.6544, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["Estrade03_4"] = { + ["y"] = -11.8222, + ["x"] = -54.2973, + ["name"] = "Estrade03_4", + ["angle"] = 0, + ["definition"] = "Estrade03", + + }, + ["LightBlock3_26"] = { + ["y"] = -1.72089, + ["x"] = 7.40935, + ["name"] = "LightBlock3_26", + ["angle"] = 6.28316, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme02_01_2"] = { + ["y"] = -10.8984, + ["x"] = -13.6024, + ["name"] = "StaticBlockTheme02_01_2", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["MediumPiglette_3"] = { + ["y"] = -5.5955, + ["x"] = 7.63289, + ["name"] = "MediumPiglette_3", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock9_2"] = { + ["y"] = -5.83344, + ["x"] = 56.2869, + ["name"] = "StoneBlock9_2", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StoneBlock10_6"] = { + ["y"] = -5.46088, + ["x"] = 39.1492, + ["name"] = "StoneBlock10_6", + ["angle"] = 5.89047, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -12.4631, + ["x"] = -15.2417, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -4.71576, + ["x"] = 45.4827, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 5.49784, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock9_3"] = { + ["y"] = -9.85522, + ["x"] = -23.289, + ["name"] = "LightBlock9_3", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme02_05_6"] = { + ["y"] = 0.54682, + ["x"] = -77.9919, + ["name"] = "StaticBlockTheme02_05_6", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["BasicBird2_3"] = { + ["y"] = -8.84167, + ["x"] = -77.2469, + ["name"] = "BasicBird2_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StoneBlock11_3"] = { + ["y"] = -2.9136, + ["x"] = -25.4023, + ["name"] = "StoneBlock11_3", + ["angle"] = 0.785508, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock9_1"] = { + ["y"] = -1.88245, + ["x"] = -23.289, + ["name"] = "LightBlock9_1", + ["angle"] = 0, + ["definition"] = "LightBlock9", + + }, + ["WoodBlock1_1"] = { + ["y"] = -21.0195, + ["x"] = 45.4104, + ["name"] = "WoodBlock1_1", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock1", + + }, + ["LightBlock1_1"] = { + ["y"] = -10.8858, + ["x"] = -1.83012, + ["name"] = "LightBlock1_1", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -8.514, + ["x"] = -13.1553, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock9_1"] = { + ["y"] = -1.73529, + ["x"] = 56.3614, + ["name"] = "StoneBlock9_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = 0.500067, + ["x"] = 36.1687, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 3.14166, + ["definition"] = "StaticBlockTheme02_04", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ImmovableWall03"] = 3, + ["ExtraDonut01"] = 3, + ["Estrade03"] = 4, + ["MediumPiglette"] = 4, + ["WoodBlock4"] = 7, + ["StaticBlockTheme02_04"] = 9, + ["StoneBlock11"] = 5, + ["StoneBlock3"] = 4, + ["StaticBalloon04"] = 1, + ["StaticBlockTheme01_03"] = 1, + ["StaticBlockTheme01_04"] = 2, + ["WoodBlock2"] = 3, + ["WoodBlock10"] = 7, + ["StaticBlockTheme01_05"] = 9, + ["LargePiglette"] = 1, + ["HelmetPiglette"] = 1, + ["BasicBird2"] = 6, + ["WoodBlock12"] = 1, + ["ExtraPoleRed"] = 1, + ["LightBlock12"] = 1, + ["LightBlock9"] = 4, + ["StoneBlock6"] = 13, + ["SmallBlueBird"] = 5, + ["StoneBlock10"] = 9, + ["StoneBlock9"] = 4, + ["StoneBlock7"] = 1, + ["ExtraBlockTNT"] = 2, + ["SmallPiglette"] = 2, + ["LightBlock6"] = 2, + ["StaticBlockTheme02_01"] = 16, + ["LightBlock3"] = 26, + ["WoodBlock5"] = 5, + ["StaticBlockTheme02_05"] = 14, + ["StaticBlockTheme02_03"] = 1, + ["Harvey"] = 1, + ["StaticBlockTheme02_02"] = 5, + ["WoodBlock11"] = 1, + ["Estrade02"] = 1, + ["LightBlock5"] = 3, + ["WoodBlock1"] = 1, + ["ExtraDiamond"] = 1, + ["LightBlock1"] = 2, + ["LightBlock10"] = 1, + ["BowlingBallPig"] = 1, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["WoodBlock3"] = 1, + ["LightBlock4"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["screenHeight"] = 320, + ["bottom"] = -48.7064, + ["px"] = -1131.97, + ["py"] = -238.129, + ["left"] = -1663.59, + ["sy"] = 0.451452, + ["top"] = -592.541, + ["iphone"] = { + ["bottom"] = -48.7061, + ["screenWidth"] = 480, + ["py"] = -238.129, + ["screenHeight"] = 320, + ["top"] = -592.541, + ["sy"] = 0.451452, + ["sx"] = 0.451452, + ["px"] = -1131.97, + ["left"] = -1663.59, + ["right"] = 275.82, + + }, + ["version"] = "0.02", + ["sx"] = 0.451452, + ["windows"] = { + ["bottom"] = 249.849, + ["screenWidth"] = 1366, + ["py"] = -282.846, + ["screenHeight"] = 768, + ["top"] = -938.063, + ["sy"] = 0.586065, + ["sx"] = 0.586065, + ["right"] = 1492.87, + ["left"] = -2456.61, + ["px"] = -1291.21, + + }, + ["screenWidth"] = 480, + ["ipad"] = { + ["bottom"] = 173.841, + ["screenWidth"] = 1024, + ["py"] = -274.825, + ["screenHeight"] = 768, + ["top"] = -807.394, + ["sy"] = 0.721034, + ["sx"] = 0.721034, + ["right"] = 783.396, + ["left"] = -1709.55, + ["px"] = -999.459, + + }, + ["right"] = 275.82, + +} +filename = "Level7.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level8.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level8.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..4441a53a00bfe39b372e2aa91d6c06090189719b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level8.temp.lua @@ -0,0 +1,3702 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["py"] = -213, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 83.3111, + ["screenWidth"] = 480, + ["py"] = -213, + ["screenHeight"] = 320, + ["top"] = -509.311, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["right"] = 1978.26, + ["left"] = 1089.32, + ["px"] = 1533.79, + + }, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["windows"] = { + ["bottom"] = 462.624, + ["screenWidth"] = 1243, + ["py"] = -681.391, + ["screenHeight"] = 648, + ["top"] = -1825.41, + ["sy"] = 0.283213, + ["sx"] = 0.283213, + ["right"] = 3143.89, + ["left"] = -1245.03, + ["px"] = 949.43, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["bottom"] = 202.025, + ["screenWidth"] = 1024, + ["py"] = -234.244, + ["screenHeight"] = 768, + ["top"] = -670.513, + ["sy"] = 0.880191, + ["sx"] = 0.880191, + ["px"] = 1518.8, + ["left"] = 937.108, + ["right"] = 2100.49, + + }, + ["px"] = 1533.79, + +} +levelParticles = { + ["y"] = -3124.45, + ["x"] = 3608.89, + ["firstFrame"] = true, + ["width"] = 11902.3, + +} +joints = { + ["LightBlock8_25WoodBlock10_21"] = { + ["type"] = 1, + ["end2"] = "WoodBlock10_21", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock8_25WoodBlock10_21", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "LightBlock8_25", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + +} +world = { + ["StaticBlockTheme02_01_75"] = { + ["y"] = -19.4855, + ["x"] = 27.0879, + ["name"] = "StaticBlockTheme02_01_75", + ["angle"] = 0.000230789, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_78"] = { + ["y"] = -4.05446, + ["x"] = 130.337, + ["name"] = "LightBlock5_78", + ["angle"] = -0.0244658, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.22045, + ["x"] = -30.1899, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_17"] = { + ["y"] = -46.4379, + ["x"] = -17.0256, + ["name"] = "StaticBlockTheme02_04_17", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_66"] = { + ["y"] = -4.19923, + ["x"] = 84.2617, + ["name"] = "LightBlock5_66", + ["angle"] = 0.000662659, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_7"] = { + ["y"] = -5.68321, + ["x"] = 14.1679, + ["name"] = "LightBlock1_7", + ["angle"] = 0.00886889, + ["definition"] = "LightBlock1", + + }, + ["LightBlock10_45"] = { + ["y"] = -5.53023, + ["x"] = 128.734, + ["name"] = "LightBlock10_45", + ["angle"] = -0.0323515, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock10_8"] = { + ["y"] = -11.4045, + ["x"] = 69.0654, + ["name"] = "WoodBlock10_8", + ["angle"] = 0.761647, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock5_12"] = { + ["y"] = -12.6676, + ["x"] = 75.4218, + ["name"] = "WoodBlock5_12", + ["angle"] = 0.0291192, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock2_1"] = { + ["y"] = -17.8694, + ["x"] = 107.381, + ["name"] = "StoneBlock2_1", + ["angle"] = 0.0123102, + ["definition"] = "StoneBlock2", + + }, + ["WoodBlock10_11"] = { + ["y"] = -20.6335, + ["x"] = 128.777, + ["name"] = "WoodBlock10_11", + ["angle"] = 1.94615, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_5"] = { + ["y"] = -2.14905, + ["x"] = -24.1247, + ["name"] = "LightBlock5_5", + ["angle"] = 0.0058851, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_13"] = { + ["y"] = -0.598954, + ["x"] = 137.138, + ["name"] = "LightBlock10_13", + ["angle"] = -0.00208606, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_22"] = { + ["y"] = -39.4627, + ["x"] = -32.7852, + ["name"] = "StaticBlockTheme02_01_22", + ["angle"] = -1.96352, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_125"] = { + ["y"] = -4.11147, + ["x"] = -102.916, + ["name"] = "LightBlock5_125", + ["angle"] = -0.00340964, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -52.1717, + ["x"] = -21.752, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_78"] = { + ["y"] = -20.1984, + ["x"] = 33.2667, + ["name"] = "StaticBlockTheme02_01_78", + ["angle"] = 1.96375, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_114"] = { + ["y"] = -4.16245, + ["x"] = -56.8835, + ["name"] = "LightBlock5_114", + ["angle"] = -0.00139765, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_13"] = { + ["y"] = -9.89224, + ["x"] = -1.32841, + ["name"] = "LightBlock8_13", + ["angle"] = 0.0265042, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -54.0313, + ["x"] = -27.2533, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_37"] = { + ["y"] = -5.80493, + ["x"] = 45.4276, + ["name"] = "LightBlock10_37", + ["angle"] = -0.00802523, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_39"] = { + ["y"] = -5.54627, + ["x"] = 65.3873, + ["name"] = "LightBlock10_39", + ["angle"] = 0.0926512, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_8"] = { + ["y"] = -18.1509, + ["x"] = 98.2566, + ["name"] = "StoneBlock6_8", + ["angle"] = 0.0214906, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock10_23"] = { + ["y"] = -0.573287, + ["x"] = -79.9523, + ["name"] = "LightBlock10_23", + ["angle"] = 0.000478182, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_84"] = { + ["y"] = -4.19908, + ["x"] = 154.51, + ["name"] = "LightBlock5_84", + ["angle"] = -8.39759e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_110"] = { + ["y"] = -2.11538, + ["x"] = -90.542, + ["name"] = "LightBlock5_110", + ["angle"] = -0.000816677, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_45"] = { + ["y"] = -25.7051, + ["x"] = -40.8826, + ["name"] = "StaticBlockTheme02_01_45", + ["angle"] = -1.96338, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_21"] = { + ["y"] = -12.5856, + ["x"] = 80.5749, + ["name"] = "WoodBlock5_21", + ["angle"] = 0.0346021, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_9"] = { + ["y"] = -48.3732, + ["x"] = -37.9765, + ["name"] = "StaticBlockTheme02_01_9", + ["angle"] = -0.785425, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_92"] = { + ["y"] = -2.11519, + ["x"] = -36.1028, + ["name"] = "LightBlock5_92", + ["angle"] = 0.00208564, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_17"] = { + ["y"] = -0.609994, + ["x"] = 178.044, + ["name"] = "LightBlock10_17", + ["angle"] = -2.01487e-007, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_129"] = { + ["y"] = -10.4552, + ["x"] = 115.639, + ["name"] = "LightBlock5_129", + ["angle"] = 1.57971, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_46"] = { + ["y"] = -2.16299, + ["x"] = 146.328, + ["name"] = "LightBlock5_46", + ["angle"] = -3.27705e-007, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_21"] = { + ["y"] = -2.1626, + ["x"] = 42.5059, + ["name"] = "LightBlock5_21", + ["angle"] = 0.0001285, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_25"] = { + ["y"] = -0.567903, + ["x"] = -100.236, + ["name"] = "LightBlock10_25", + ["angle"] = -0.000473302, + ["definition"] = "LightBlock10", + + }, + ["StaticBalloon03_2"] = { + ["y"] = -23.1174, + ["x"] = 132.376, + ["name"] = "StaticBalloon03_2", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock5_30"] = { + ["y"] = -2.16796, + ["x"] = 80.2112, + ["name"] = "LightBlock5_30", + ["angle"] = 0.000215264, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_72"] = { + ["y"] = -29.1795, + ["x"] = -42.3056, + ["name"] = "StaticBlockTheme02_01_72", + ["angle"] = 1.1783, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_24"] = { + ["y"] = -0.57679, + ["x"] = -90.0486, + ["name"] = "LightBlock10_24", + ["angle"] = -0.000861672, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_112"] = { + ["y"] = -2.1061, + ["x"] = -98.9093, + ["name"] = "LightBlock5_112", + ["angle"] = -0.00106155, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_63"] = { + ["y"] = -3.88556, + ["x"] = 71.1006, + ["name"] = "LightBlock5_63", + ["angle"] = -0.362202, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock3_6"] = { + ["y"] = -8.34022, + ["x"] = 94.5623, + ["name"] = "WoodBlock3_6", + ["angle"] = 0.00237052, + ["definition"] = "WoodBlock3", + + }, + ["LightBlock5_51"] = { + ["y"] = -2.16302, + ["x"] = 167.122, + ["name"] = "LightBlock5_51", + ["angle"] = -3.3128e-006, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_23"] = { + ["y"] = -37.8416, + ["x"] = -16.606, + ["name"] = "StaticBlockTheme02_04_23", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_11"] = { + ["y"] = -2.163, + ["x"] = 21.8998, + ["name"] = "LightBlock5_11", + ["angle"] = -5.86454e-007, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_60"] = { + ["y"] = -21.5637, + ["x"] = -33.4855, + ["name"] = "StaticBlockTheme02_01_60", + ["angle"] = -2.74873, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_30"] = { + ["y"] = -5.68117, + ["x"] = -69.8883, + ["name"] = "LightBlock10_30", + ["angle"] = -0.00159726, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_58"] = { + ["y"] = -4.24041, + ["x"] = 50.4768, + ["name"] = "LightBlock5_58", + ["angle"] = 0.0194172, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_02_10"] = { + ["y"] = -38.5268, + ["x"] = -42.3056, + ["name"] = "StaticBlockTheme02_02_10", + ["angle"] = -1.57057, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 39.458, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["LightBlock4_5"] = { + ["y"] = -0.581871, + ["x"] = 12.8544, + ["name"] = "LightBlock4_5", + ["angle"] = 0.00421465, + ["definition"] = "LightBlock4", + + }, + ["LightBlock5_50"] = { + ["y"] = -2.16308, + ["x"] = 162.98, + ["name"] = "LightBlock5_50", + ["angle"] = 2.41285e-005, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_19"] = { + ["y"] = -15.08, + ["x"] = 119.458, + ["name"] = "WoodBlock10_19", + ["angle"] = 0.00896192, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_59"] = { + ["y"] = -4.2705, + ["x"] = 54.4456, + ["name"] = "LightBlock5_59", + ["angle"] = 0.0196853, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_70"] = { + ["y"] = -33.8899, + ["x"] = -20.945, + ["name"] = "StaticBlockTheme02_01_70", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_57"] = { + ["y"] = -4.22158, + ["x"] = 46.5017, + ["name"] = "LightBlock5_57", + ["angle"] = 0.0125705, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_52"] = { + ["y"] = -2.16301, + ["x"] = 171.22, + ["name"] = "LightBlock5_52", + ["angle"] = 7.8841e-007, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_27"] = { + ["y"] = -5.69388, + ["x"] = -39.1453, + ["name"] = "LightBlock10_27", + ["angle"] = 0.00197857, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_02_2"] = { + ["y"] = -10.4052, + ["x"] = -27.1225, + ["name"] = "StaticBlockTheme02_02_2", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock10_50"] = { + ["y"] = -5.75199, + ["x"] = 178.983, + ["name"] = "LightBlock10_50", + ["angle"] = -2.26454e-006, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_67"] = { + ["y"] = -34.8197, + ["x"] = -27.4536, + ["name"] = "StaticBlockTheme02_01_67", + ["angle"] = 0.392878, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_109"] = { + ["y"] = -2.1216, + ["x"] = -86.3581, + ["name"] = "LightBlock5_109", + ["angle"] = -0.00101547, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_4"] = { + ["y"] = -10.4112, + ["x"] = 87.8358, + ["name"] = "WoodBlock2_4", + ["angle"] = 1.57579, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_68"] = { + ["y"] = -34.6648, + ["x"] = -23.347, + ["name"] = "StaticBlockTheme02_01_68", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_9"] = { + ["y"] = -20.2564, + ["x"] = 99.801, + ["name"] = "LightBlock1_9", + ["angle"] = 0.0211765, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_77"] = { + ["y"] = -20.9113, + ["x"] = 32.6329, + ["name"] = "StaticBlockTheme02_01_77", + ["angle"] = -0.785155, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock1_8"] = { + ["y"] = -15.3533, + ["x"] = 74.5564, + ["name"] = "LightBlock1_8", + ["angle"] = -0.00744853, + ["definition"] = "LightBlock1", + + }, + ["LightBlock10_47"] = { + ["y"] = -5.75696, + ["x"] = 148.151, + ["name"] = "LightBlock10_47", + ["angle"] = 0.00107349, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_26"] = { + ["y"] = -8.39543, + ["x"] = 17.4237, + ["name"] = "StaticBlockTheme02_04_26", + ["angle"] = -1.57057, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_67"] = { + ["y"] = -4.19391, + ["x"] = 88.5413, + ["name"] = "LightBlock5_67", + ["angle"] = 0.0016232, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock6_5"] = { + ["y"] = -15.9974, + ["x"] = 98.9757, + ["name"] = "StoneBlock6_5", + ["angle"] = 0.0212605, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock5_27"] = { + ["y"] = -2.01723, + ["x"] = 66.338, + ["name"] = "LightBlock5_27", + ["angle"] = 0.0363081, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_15"] = { + ["y"] = -47.5227, + ["x"] = -16.4057, + ["name"] = "StaticBlockTheme02_04_15", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_33"] = { + ["y"] = -53.5646, + ["x"] = -19.0707, + ["name"] = "StaticBlockTheme02_01_33", + ["angle"] = -2.74883, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_7"] = { + ["y"] = -0.60749, + ["x"] = 86.7931, + ["name"] = "LightBlock10_7", + ["angle"] = 0.000461781, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_31"] = { + ["y"] = -47.6759, + ["x"] = -13.1819, + ["name"] = "StaticBlockTheme02_01_31", + ["angle"] = -1.96345, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock1_1"] = { + ["y"] = -18.933, + ["x"] = 107.875, + ["name"] = "StoneBlock1_1", + ["angle"] = 0.0125587, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_4"] = { + ["y"] = -16.5062, + ["x"] = 82.0083, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.547983, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock3_4"] = { + ["y"] = -10.4196, + ["x"] = 86.2586, + ["name"] = "LightBlock3_4", + ["angle"] = 0.00545867, + ["definition"] = "LightBlock3", + + }, + ["LightBlock8_19"] = { + ["y"] = -14.089, + ["x"] = -1.31969, + ["name"] = "LightBlock8_19", + ["angle"] = -0.24641, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_25"] = { + ["y"] = -3.95941, + ["x"] = 17.3445, + ["name"] = "StaticBlockTheme02_04_25", + ["angle"] = -1.57057, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_1"] = { + ["y"] = -3.50925, + ["x"] = -27.1225, + ["name"] = "StaticBlockTheme02_02_1", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_01_84"] = { + ["y"] = -17.822, + ["x"] = 28.8306, + ["name"] = "StaticBlockTheme02_01_84", + ["angle"] = -0.392435, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["ExtraBlockTNT_5"] = { + ["y"] = -27.9763, + ["x"] = 123.319, + ["name"] = "ExtraBlockTNT_5", + ["angle"] = 4.90353e-005, + ["definition"] = "ExtraBlockTNT", + + }, + ["MediumPiglette_2"] = { + ["y"] = -28.1435, + ["x"] = 128.705, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.015688, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme02_01_17"] = { + ["y"] = -37.8355, + ["x"] = -20.9303, + ["name"] = "StaticBlockTheme02_01_17", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -42.7962, + ["x"] = -16.3282, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_04_8"] = { + ["y"] = -54.1087, + ["x"] = -31.3599, + ["name"] = "StaticBlockTheme02_04_8", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_43"] = { + ["y"] = -5.77582, + ["x"] = 107.076, + ["name"] = "LightBlock10_43", + ["angle"] = -0.00635243, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_33"] = { + ["y"] = -2.15617, + ["x"] = 92.5765, + ["name"] = "LightBlock5_33", + ["angle"] = 0.000205989, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_9"] = { + ["y"] = -14.0472, + ["x"] = 115.312, + ["name"] = "WoodBlock2_9", + ["angle"] = 0.0089522, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock8_15"] = { + ["y"] = -11.0643, + ["x"] = -2.79182, + ["name"] = "LightBlock8_15", + ["angle"] = 0.22756, + ["definition"] = "LightBlock8", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -9.08282, + ["x"] = 110.53, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = -0.00933859, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock5_48"] = { + ["y"] = -2.1631, + ["x"] = 154.605, + ["name"] = "LightBlock5_48", + ["angle"] = -7.86174e-005, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock5_19"] = { + ["y"] = -12.4517, + ["x"] = 88.5527, + ["name"] = "WoodBlock5_19", + ["angle"] = 0.0076895, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_13"] = { + ["y"] = -14.1325, + ["x"] = 82.5589, + ["name"] = "WoodBlock10_13", + ["angle"] = 0.0214052, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -35.8335, + ["x"] = -43.2561, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = -1.57057, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock2_7"] = { + ["y"] = -12.6739, + ["x"] = 78.0199, + ["name"] = "WoodBlock2_7", + ["angle"] = 1.60129, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock8_7"] = { + ["y"] = -5.53608, + ["x"] = -1.40709, + ["name"] = "LightBlock8_7", + ["angle"] = -0.0692695, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -37.8938, + ["x"] = -2.93087, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock10_3"] = { + ["y"] = -0.609666, + ["x"] = 45.2201, + ["name"] = "LightBlock10_3", + ["angle"] = 1.28406e-005, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_12"] = { + ["y"] = -8.95383, + ["x"] = -2.95187, + ["name"] = "LightBlock8_12", + ["angle"] = -0.00514585, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_10"] = { + ["y"] = -4.14378, + ["x"] = 11.4391, + ["name"] = "LightBlock5_10", + ["angle"] = 0.00878144, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_22"] = { + ["y"] = -35.982, + ["x"] = -19.0854, + ["name"] = "StaticBlockTheme02_04_22", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBalloon03_9"] = { + ["y"] = -23.3862, + ["x"] = 116.388, + ["name"] = "StaticBalloon03_9", + ["angle"] = 0, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBalloon03_6"] = { + ["y"] = -16.5836, + ["x"] = 59.994, + ["name"] = "StaticBalloon03_6", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock10_8"] = { + ["y"] = -0.605646, + ["x"] = 96.3733, + ["name"] = "LightBlock10_8", + ["angle"] = -0.000141105, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock10_6"] = { + ["y"] = -6.86175, + ["x"] = 107.878, + ["name"] = "WoodBlock10_6", + ["angle"] = -0.00860242, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock5_11"] = { + ["y"] = -10.6435, + ["x"] = 74.9814, + ["name"] = "WoodBlock5_11", + ["angle"] = 0.0291785, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock4_9"] = { + ["y"] = -10.9008, + ["x"] = 71.1555, + ["name"] = "WoodBlock4_9", + ["angle"] = 0.758649, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock10_5"] = { + ["y"] = -0.545548, + ["x"] = 65.0344, + ["name"] = "LightBlock10_5", + ["angle"] = 0.00656526, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_41"] = { + ["y"] = -44.8865, + ["x"] = -41.7732, + ["name"] = "StaticBlockTheme02_01_41", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_28"] = { + ["y"] = -5.7096, + ["x"] = -49.3271, + ["name"] = "LightBlock10_28", + ["angle"] = 0.000286878, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_18"] = { + ["y"] = -13.1428, + ["x"] = -2.92745, + ["name"] = "LightBlock8_18", + ["angle"] = -0.0922201, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_48"] = { + ["y"] = -18.2667, + ["x"] = -33.5991, + ["name"] = "StaticBlockTheme02_01_48", + ["angle"] = 0.785543, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_6"] = { + ["y"] = -4.50504, + ["x"] = -2.97545, + ["name"] = "LightBlock8_6", + ["angle"] = 0.224195, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_18"] = { + ["y"] = -36.2859, + ["x"] = -22.6349, + ["name"] = "StaticBlockTheme02_01_18", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_20"] = { + ["y"] = -2.16297, + ["x"] = 38.4323, + ["name"] = "LightBlock5_20", + ["angle"] = 3.5237e-006, + ["definition"] = "LightBlock5", + + }, + ["BLOCK_GREEN_SPANNER_2_1"] = { + ["y"] = -9.46983, + ["x"] = 97.9368, + ["name"] = "BLOCK_GREEN_SPANNER_2_1", + ["angle"] = -0.182322, + ["definition"] = "BLOCK_GREEN_SPANNER_2", + + }, + ["StaticBlockTheme02_04_24"] = { + ["y"] = -1.42455, + ["x"] = 17.3445, + ["name"] = "StaticBlockTheme02_04_24", + ["angle"] = -1.57057, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_35"] = { + ["y"] = -5.75206, + ["x"] = 24.8952, + ["name"] = "LightBlock10_35", + ["angle"] = -1.2872e-005, + ["definition"] = "LightBlock10", + + }, + ["LightBlock2_2"] = { + ["y"] = -4.13567, + ["x"] = 14.1841, + ["name"] = "LightBlock2_2", + ["angle"] = 1.57973, + ["definition"] = "LightBlock2", + + }, + ["BasicBird2_3"] = { + ["y"] = -38.0515, + ["x"] = -25.9619, + ["name"] = "BasicBird2_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["LightBlock10_38"] = { + ["y"] = -5.85193, + ["x"] = 55.7442, + ["name"] = "LightBlock10_38", + ["angle"] = 0.00278027, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -4.62971, + ["x"] = -30.1124, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_14"] = { + ["y"] = -45.0414, + ["x"] = -19.4581, + ["name"] = "StaticBlockTheme02_01_14", + ["angle"] = 1.17807, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_10"] = { + ["y"] = -8.60918, + ["x"] = 74.8976, + ["name"] = "WoodBlock5_10", + ["angle"] = 0.0291996, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_53"] = { + ["y"] = -50.777, + ["x"] = -38.1784, + ["name"] = "StaticBlockTheme02_01_53", + ["angle"] = -1.17794, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_10"] = { + ["y"] = -8.00653, + ["x"] = -1.33475, + ["name"] = "LightBlock8_10", + ["angle"] = 0.00310915, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -36.361, + ["x"] = -0.65863, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_72"] = { + ["y"] = -4.19792, + ["x"] = 105.184, + ["name"] = "LightBlock5_72", + ["angle"] = -0.000174381, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_12"] = { + ["y"] = -4.19899, + ["x"] = 21.831, + ["name"] = "LightBlock5_12", + ["angle"] = -6.76954e-007, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_21"] = { + ["y"] = -37.758, + ["x"] = -31.9328, + ["name"] = "StaticBlockTheme02_01_21", + ["angle"] = -2.35622, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_5"] = { + ["y"] = -6.80242, + ["x"] = 97.805, + ["name"] = "WoodBlock10_5", + ["angle"] = -0.00260322, + ["definition"] = "WoodBlock10", + + }, + ["BasicBird2_4"] = { + ["y"] = -56.1825, + ["x"] = -19.8408, + ["name"] = "BasicBird2_4", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["LightBlock5_56"] = { + ["y"] = -4.19847, + ["x"] = 42.4444, + ["name"] = "LightBlock5_56", + ["angle"] = 0.000118021, + ["definition"] = "LightBlock5", + + }, + ["MediumPiglette_3"] = { + ["y"] = -16.6269, + ["x"] = 72.3548, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.357786, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_4"] = { + ["y"] = -18.4126, + ["x"] = 88.3415, + ["name"] = "ExtraBlockTNT_4", + ["angle"] = 0.0198036, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock10_42"] = { + ["y"] = -5.73977, + ["x"] = 96.8226, + ["name"] = "LightBlock10_42", + ["angle"] = -0.00152679, + ["definition"] = "LightBlock10", + + }, + ["ExtraBlockFlag01_1"] = { + ["y"] = -31.2565, + ["x"] = 132.242, + ["name"] = "ExtraBlockFlag01_1", + ["angle"] = 0.00144979, + ["definition"] = "ExtraBlockFlag01", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -10.5779, + ["x"] = 105.615, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0, + ["definition"] = "StaticFragileBlock06", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -11.5257, + ["x"] = -30.1899, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_102"] = { + ["y"] = -2.13348, + ["x"] = -56.8833, + ["name"] = "LightBlock5_102", + ["angle"] = -0.000766517, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock3_7"] = { + ["y"] = -12.3886, + ["x"] = 95.56, + ["name"] = "WoodBlock3_7", + ["angle"] = 0.0188912, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme02_01_65"] = { + ["y"] = -15.9849, + ["x"] = -30.7736, + ["name"] = "StaticBlockTheme02_01_65", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock3_3"] = { + ["y"] = -10.3702, + ["x"] = 94.4536, + ["name"] = "LightBlock3_3", + ["angle"] = 0.00789416, + ["definition"] = "LightBlock3", + + }, + ["LightBlock5_79"] = { + ["y"] = -4.14927, + ["x"] = 134.309, + ["name"] = "LightBlock5_79", + ["angle"] = -0.016224, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock4_1"] = { + ["y"] = -18.023, + ["x"] = 104.239, + ["name"] = "StoneBlock4_1", + ["angle"] = 0.0212917, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock5_71"] = { + ["y"] = -4.19337, + ["x"] = 101.098, + ["name"] = "LightBlock5_71", + ["angle"] = -0.000989385, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_54"] = { + ["y"] = -27.7623, + ["x"] = -40.5364, + ["name"] = "StaticBlockTheme02_01_54", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_47"] = { + ["y"] = -2.16304, + ["x"] = 150.424, + ["name"] = "LightBlock5_47", + ["angle"] = -2.285e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_13"] = { + ["y"] = -2.163, + ["x"] = 25.9732, + ["name"] = "LightBlock5_13", + ["angle"] = -1.53272e-007, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_16"] = { + ["y"] = -4.19904, + ["x"] = 29.9746, + ["name"] = "LightBlock5_16", + ["angle"] = 2.64823e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock3_2"] = { + ["y"] = -4.19557, + ["x"] = -16.6207, + ["name"] = "LightBlock3_2", + ["angle"] = 1.57407, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock5_20"] = { + ["y"] = -12.4857, + ["x"] = 84.5645, + ["name"] = "WoodBlock5_20", + ["angle"] = 0.0125362, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_01_47"] = { + ["y"] = -19.8164, + ["x"] = -35.0713, + ["name"] = "StaticBlockTheme02_01_47", + ["angle"] = 0.392843, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -27.6054, + ["x"] = 2.98307, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock3_5"] = { + ["y"] = -12.2623, + ["x"] = 72.0161, + ["name"] = "WoodBlock3_5", + ["angle"] = 0.775637, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme02_01_11"] = { + ["y"] = -51.705, + ["x"] = -29.9958, + ["name"] = "StaticBlockTheme02_01_11", + ["angle"] = -2.50975e-005, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_23"] = { + ["y"] = -2.18106, + ["x"] = 50.4482, + ["name"] = "LightBlock5_23", + ["angle"] = 0.00836458, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -15.1587, + ["x"] = 87.6114, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.0193039, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock10_1"] = { + ["y"] = -0.609998, + ["x"] = 24.8694, + ["name"] = "LightBlock10_1", + ["angle"] = -2.05629e-007, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_9"] = { + ["y"] = -6.81013, + ["x"] = -2.78604, + ["name"] = "LightBlock8_9", + ["angle"] = -0.11744, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_38"] = { + ["y"] = -2.18814, + ["x"] = 113.133, + ["name"] = "LightBlock5_38", + ["angle"] = 0.0133631, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_24"] = { + ["y"] = -35.8209, + ["x"] = -31.158, + ["name"] = "StaticBlockTheme02_01_24", + ["angle"] = -2.3562, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["BasicBird2_7"] = { + ["y"] = -57.2444, + ["x"] = -36.4782, + ["name"] = "BasicBird2_7", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["LightBlock8_16"] = { + ["y"] = -12.208, + ["x"] = -1.31748, + ["name"] = "LightBlock8_16", + ["angle"] = -0.027119, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_40"] = { + ["y"] = -2.15308, + ["x"] = 121.126, + ["name"] = "LightBlock5_40", + ["angle"] = 0.0167909, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_19"] = { + ["y"] = -51.3968, + ["x"] = -37.1712, + ["name"] = "StaticBlockTheme02_04_19", + ["angle"] = -2.35605, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_9"] = { + ["y"] = -35.9127, + ["x"] = -42.3056, + ["name"] = "StaticBlockTheme02_02_9", + ["angle"] = -1.57057, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock2_2"] = { + ["y"] = -15.8577, + ["x"] = 105.274, + ["name"] = "StoneBlock2_2", + ["angle"] = 0.0121183, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock8_20"] = { + ["y"] = -14.2688, + ["x"] = -4.4086, + ["name"] = "LightBlock8_20", + ["angle"] = 0.245193, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_15"] = { + ["y"] = -42.3295, + ["x"] = -19.2256, + ["name"] = "StaticBlockTheme02_01_15", + ["angle"] = 1.57077, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_108"] = { + ["y"] = -2.11095, + ["x"] = -82.0818, + ["name"] = "LightBlock5_108", + ["angle"] = -0.000308576, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_43"] = { + ["y"] = -42.209, + ["x"] = -32.7468, + ["name"] = "StaticBlockTheme02_01_43", + ["angle"] = 2.35631, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_27"] = { + ["y"] = -33.1865, + ["x"] = -19.1481, + ["name"] = "StaticBlockTheme02_01_27", + ["angle"] = -0.392675, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_26"] = { + ["y"] = -32.4892, + ["x"] = -23.3322, + ["name"] = "StaticBlockTheme02_01_26", + ["angle"] = -3.14158, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_122"] = { + ["y"] = -4.13936, + ["x"] = -90.453, + ["name"] = "LightBlock5_122", + ["angle"] = -0.000532078, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_4"] = { + ["y"] = -22.9575, + ["x"] = -33.941, + ["name"] = "StaticBlockTheme02_01_4", + ["angle"] = -2.74892, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_31"] = { + ["y"] = -5.68159, + ["x"] = -80.0821, + ["name"] = "LightBlock10_31", + ["angle"] = 0.00205815, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -36.361, + ["x"] = -5.23013, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 0.3927, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock3_5"] = { + ["y"] = -10.5551, + ["x"] = 78.0083, + ["name"] = "LightBlock3_5", + ["angle"] = 0.0292246, + ["definition"] = "LightBlock3", + + }, + ["LightBlock1_6"] = { + ["y"] = -0.608462, + ["x"] = -25.6633, + ["name"] = "LightBlock1_6", + ["angle"] = 0.00190294, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_80"] = { + ["y"] = -16.4753, + ["x"] = 26.375, + ["name"] = "StaticBlockTheme02_01_80", + ["angle"] = -3.14134, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_46"] = { + ["y"] = -22.2958, + ["x"] = -38.6355, + ["name"] = "StaticBlockTheme02_01_46", + ["angle"] = 0.785525, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_98"] = { + ["y"] = -2.13023, + ["x"] = -48.5104, + ["name"] = "LightBlock5_98", + ["angle"] = 0.000718917, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_16"] = { + ["y"] = -0.610003, + ["x"] = 167.74, + ["name"] = "LightBlock10_16", + ["angle"] = 2.09131e-007, + ["definition"] = "LightBlock10", + + }, + ["Estrade01_1"] = { + ["y"] = -43.7994, + ["x"] = -2.70226, + ["name"] = "Estrade01_1", + ["angle"] = 4.76837e-007, + ["definition"] = "Estrade01", + + }, + ["LightBlock1_11"] = { + ["y"] = -16.1227, + ["x"] = 122.501, + ["name"] = "LightBlock1_11", + ["angle"] = 0.00897747, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_01_51"] = { + ["y"] = -48.22, + ["x"] = -39.8831, + ["name"] = "StaticBlockTheme02_01_51", + ["angle"] = -1.17794, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_10"] = { + ["y"] = -9.92326, + ["x"] = 124.187, + ["name"] = "WoodBlock10_10", + ["angle"] = 1.82369, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock5_9"] = { + ["y"] = -8.35675, + ["x"] = 91.5547, + ["name"] = "WoodBlock5_9", + ["angle"] = 0.00769883, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_14"] = { + ["y"] = -48.2975, + ["x"] = -17.4905, + ["name"] = "StaticBlockTheme02_04_14", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock10_4"] = { + ["y"] = -0.609922, + ["x"] = 55.4443, + ["name"] = "LightBlock10_4", + ["angle"] = 2.09178e-005, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -38.606, + ["x"] = -43.3354, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = -1.57057, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_20"] = { + ["y"] = -38.7714, + ["x"] = -17.2258, + ["name"] = "StaticBlockTheme02_04_20", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_10"] = { + ["y"] = -50.9301, + ["x"] = -34.4123, + ["name"] = "StaticBlockTheme02_01_10", + ["angle"] = -0.392725, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_11"] = { + ["y"] = -7.7644, + ["x"] = -4.40228, + ["name"] = "LightBlock8_11", + ["angle"] = 0.0295984, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_64"] = { + ["y"] = -4.19934, + ["x"] = 75.9908, + ["name"] = "LightBlock5_64", + ["angle"] = 2.43763e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_25"] = { + ["y"] = -10.1487, + ["x"] = 119.389, + ["name"] = "LightBlock8_25", + ["angle"] = 1.5708, + ["definition"] = "LightBlock8", + + }, + ["LightBlock10_49"] = { + ["y"] = -5.75206, + ["x"] = 168.798, + ["name"] = "LightBlock10_49", + ["angle"] = 1.09804e-005, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_85"] = { + ["y"] = -17.6635, + ["x"] = 24.3154, + ["name"] = "StaticBlockTheme02_01_85", + ["angle"] = -0.392435, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_65"] = { + ["y"] = -4.20908, + ["x"] = 80.2159, + ["name"] = "LightBlock5_65", + ["angle"] = 0.0021332, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_40"] = { + ["y"] = -5.92561, + ["x"] = 76.2825, + ["name"] = "LightBlock10_40", + ["angle"] = 0.0343941, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_100"] = { + ["y"] = -2.13071, + ["x"] = -52.604, + ["name"] = "LightBlock5_100", + ["angle"] = -0.000531209, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -20.3995, + ["x"] = -10.2665, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_6"] = { + ["y"] = -17.1726, + ["x"] = 93.9757, + ["name"] = "StoneBlock6_6", + ["angle"] = 0.0211318, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock10_34"] = { + ["y"] = -5.75432, + ["x"] = -20.8377, + ["name"] = "LightBlock10_34", + ["angle"] = -0.00430361, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_32"] = { + ["y"] = -5.69081, + ["x"] = -90.2727, + ["name"] = "LightBlock10_32", + ["angle"] = -0.000271846, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_117"] = { + ["y"] = -4.13207, + ["x"] = -69.3435, + ["name"] = "LightBlock5_117", + ["angle"] = -0.00114492, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_19"] = { + ["y"] = -4.19896, + ["x"] = 38.3428, + ["name"] = "LightBlock5_19", + ["angle"] = 3.79254e-006, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_31"] = { + ["y"] = -2.16286, + ["x"] = 84.2188, + ["name"] = "LightBlock5_31", + ["angle"] = 0.000533696, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_96"] = { + ["y"] = -2.13071, + ["x"] = -44.4197, + ["name"] = "LightBlock5_96", + ["angle"] = 0.00143413, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_1"] = { + ["y"] = -16.9913, + ["x"] = -27.9748, + ["name"] = "StaticBlockTheme02_01_1", + ["angle"] = -1.96351, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_18"] = { + ["y"] = -12.421, + ["x"] = 92.529, + ["name"] = "WoodBlock5_18", + ["angle"] = 0.00778247, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock3_1"] = { + ["y"] = -2.12734, + ["x"] = -16.817, + ["name"] = "LightBlock3_1", + ["angle"] = 1.57596, + ["definition"] = "LightBlock3", + + }, + ["LightBlock8_1"] = { + ["y"] = -1.01507, + ["x"] = -1.40954, + ["name"] = "LightBlock8_1", + ["angle"] = 0.00270289, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_8"] = { + ["y"] = -4.15896, + ["x"] = -19.926, + ["name"] = "LightBlock5_8", + ["angle"] = 0.00253009, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock3_1"] = { + ["y"] = -27.337, + ["x"] = 132.186, + ["name"] = "StoneBlock3_1", + ["angle"] = 0.000985599, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock5_34"] = { + ["y"] = -2.15587, + ["x"] = 96.8169, + ["name"] = "LightBlock5_34", + ["angle"] = -0.000792608, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -2.73331, + ["x"] = 4.45525, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_119"] = { + ["y"] = -4.12515, + ["x"] = -77.7154, + ["name"] = "LightBlock5_119", + ["angle"] = 0.0022438, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock1_2"] = { + ["y"] = -15.8765, + ["x"] = 103.667, + ["name"] = "StoneBlock1_2", + ["angle"] = 0.0108649, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme02_01_30"] = { + ["y"] = -43.4143, + ["x"] = -12.2522, + ["name"] = "StaticBlockTheme02_01_30", + ["angle"] = 1.57084, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StoneBlock6_4"] = { + ["y"] = -14.8025, + ["x"] = 104.055, + ["name"] = "StoneBlock6_4", + ["angle"] = 0.0108648, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock5_41"] = { + ["y"] = -2.01644, + ["x"] = 126.025, + ["name"] = "LightBlock5_41", + ["angle"] = -0.00721508, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_10"] = { + ["y"] = -16.1724, + ["x"] = 116.957, + ["name"] = "LightBlock1_10", + ["angle"] = 0.00896236, + ["definition"] = "LightBlock1", + + }, + ["BasicBird2_1"] = { + ["y"] = -46.243, + ["x"] = -2.54729, + ["name"] = "BasicBird2_1", + ["startNumber"] = 1, + ["angle"] = 2.25083e-007, + ["definition"] = "BasicBird2", + + }, + ["LightBlock10_14"] = { + ["y"] = -0.609994, + ["x"] = 147.018, + ["name"] = "LightBlock10_14", + ["angle"] = -1.66938e-007, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_61"] = { + ["y"] = -4.14383, + ["x"] = 62.3788, + ["name"] = "LightBlock5_61", + ["angle"] = 0.0199619, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_13"] = { + ["y"] = -49.6147, + ["x"] = -18.4977, + ["name"] = "StaticBlockTheme02_04_13", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_80"] = { + ["y"] = -4.20142, + ["x"] = 138.285, + ["name"] = "LightBlock5_80", + ["angle"] = -0.0075015, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_12"] = { + ["y"] = -0.528189, + ["x"] = 126.935, + ["name"] = "LightBlock10_12", + ["angle"] = -0.000441596, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_3"] = { + ["y"] = -2.15505, + ["x"] = -2.9027, + ["name"] = "LightBlock8_3", + ["angle"] = -0.0110415, + ["definition"] = "LightBlock8", + + }, + ["WoodBlock10_21"] = { + ["y"] = -12.9436, + ["x"] = 119.072, + ["name"] = "WoodBlock10_21", + ["angle"] = 0.00893213, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_18"] = { + ["y"] = -25.7925, + ["x"] = 117.982, + ["name"] = "WoodBlock10_18", + ["angle"] = 0.0128852, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock2_6"] = { + ["y"] = -10.5405, + ["x"] = 79.6004, + ["name"] = "WoodBlock2_6", + ["angle"] = 1.59609, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock10_9"] = { + ["y"] = -0.609134, + ["x"] = 106.331, + ["name"] = "LightBlock10_9", + ["angle"] = -0.00017198, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_86"] = { + ["y"] = -18.218, + ["x"] = 26.8503, + ["name"] = "StaticBlockTheme02_01_86", + ["angle"] = -0.392435, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_64"] = { + ["y"] = -17.922, + ["x"] = -30.3861, + ["name"] = "StaticBlockTheme02_01_64", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -42.7962, + ["x"] = -15.2435, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock5_16"] = { + ["y"] = -10.4838, + ["x"] = 82.1452, + ["name"] = "WoodBlock5_16", + ["angle"] = 0.0207088, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_26"] = { + ["y"] = -2.1088, + ["x"] = 62.3481, + ["name"] = "LightBlock5_26", + ["angle"] = 0.00920233, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_71"] = { + ["y"] = -36.6018, + ["x"] = -19.0854, + ["name"] = "StaticBlockTheme02_01_71", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_21"] = { + ["y"] = -15.2459, + ["x"] = -2.77798, + ["name"] = "LightBlock8_21", + ["angle"] = 0.0456011, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_8"] = { + ["y"] = -44.5765, + ["x"] = -40.456, + ["name"] = "StaticBlockTheme02_01_8", + ["angle"] = -1.17813, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_12"] = { + ["y"] = -14.2663, + ["x"] = 72.2902, + ["name"] = "WoodBlock10_12", + ["angle"] = -0.00747263, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock1_5"] = { + ["y"] = -0.604468, + ["x"] = 9.98149, + ["name"] = "LightBlock1_5", + ["angle"] = 0.00324723, + ["definition"] = "LightBlock1", + + }, + ["ExtraTreasureChest_1"] = { + ["y"] = -24.9873, + ["x"] = 31.4123, + ["name"] = "ExtraTreasureChest_1", + ["angle"] = -0.393356, + ["definition"] = "ExtraTreasureChest", + + }, + ["StaticBlockTheme02_01_16"] = { + ["y"] = -40.3925, + ["x"] = -19.6905, + ["name"] = "StaticBlockTheme02_01_16", + ["angle"] = 1.96347, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_6"] = { + ["y"] = -29.0012, + ["x"] = -40.0622, + ["name"] = "StaticBlockTheme02_01_6", + ["angle"] = -1.96352, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_32"] = { + ["y"] = -51.2401, + ["x"] = -15.5839, + ["name"] = "StaticBlockTheme02_01_32", + ["angle"] = 0.785459, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_25"] = { + ["y"] = -2.17883, + ["x"] = 58.3822, + ["name"] = "LightBlock5_25", + ["angle"] = 0.00909173, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_53"] = { + ["y"] = -2.16299, + ["x"] = 175.341, + ["name"] = "LightBlock5_53", + ["angle"] = -9.21515e-007, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_73"] = { + ["y"] = -4.20387, + ["x"] = 109.181, + ["name"] = "LightBlock5_73", + ["angle"] = 0.00254568, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_39"] = { + ["y"] = -52.7897, + ["x"] = -38.5189, + ["name"] = "StaticBlockTheme02_01_39", + ["angle"] = 2.35629, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_15"] = { + ["y"] = -2.16304, + ["x"] = 30.1551, + ["name"] = "LightBlock5_15", + ["angle"] = 2.49786e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_36"] = { + ["y"] = -5.75201, + ["x"] = 35.1745, + ["name"] = "LightBlock10_36", + ["angle"] = 1.0763e-005, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_37"] = { + ["y"] = -56.1215, + ["x"] = -30.6156, + ["name"] = "StaticBlockTheme02_01_37", + ["angle"] = -3.14152, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_29"] = { + ["y"] = -5.70751, + ["x"] = -59.6124, + ["name"] = "LightBlock10_29", + ["angle"] = -0.00176552, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_7"] = { + ["y"] = -4.18079, + ["x"] = -24.2083, + ["name"] = "LightBlock5_7", + ["angle"] = 0.00554107, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_2"] = { + ["y"] = -1.01597, + ["x"] = -4.40055, + ["name"] = "LightBlock8_2", + ["angle"] = 0.00711077, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_113"] = { + ["y"] = -2.09539, + ["x"] = -103.004, + ["name"] = "LightBlock5_113", + ["angle"] = -0.0031757, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_82"] = { + ["y"] = -17.1882, + ["x"] = 22.8103, + ["name"] = "StaticBlockTheme02_01_82", + ["angle"] = -0.392435, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_49"] = { + ["y"] = -2.16313, + ["x"] = 158.786, + ["name"] = "LightBlock5_49", + ["angle"] = -4.22071e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_41"] = { + ["y"] = -5.75877, + ["x"] = 86.4906, + ["name"] = "LightBlock10_41", + ["angle"] = 0.00423114, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_118"] = { + ["y"] = -4.12565, + ["x"] = -73.4383, + ["name"] = "LightBlock5_118", + ["angle"] = -0.000697152, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_9"] = { + ["y"] = -18.4457, + ["x"] = 62.0548, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.842074, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock2_2"] = { + ["y"] = -10.2165, + ["x"] = 96.2473, + ["name"] = "WoodBlock2_2", + ["angle"] = 1.82771, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_22"] = { + ["y"] = -7.9145, + ["x"] = 118.075, + ["name"] = "WoodBlock10_22", + ["angle"] = 0.00889008, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock8_4"] = { + ["y"] = -3.33708, + ["x"] = -1.43834, + ["name"] = "LightBlock8_4", + ["angle"] = 0.0760276, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_73"] = { + ["y"] = -45.1808, + ["x"] = -42.5432, + ["name"] = "StaticBlockTheme02_01_73", + ["angle"] = 1.9637, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_55"] = { + ["y"] = -2.16301, + ["x"] = 183.715, + ["name"] = "LightBlock5_55", + ["angle"] = -3.37676e-006, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_107"] = { + ["y"] = -2.10416, + ["x"] = -77.8974, + ["name"] = "LightBlock5_107", + ["angle"] = 0.002397, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_36"] = { + ["y"] = -2.16191, + ["x"] = 105.105, + ["name"] = "LightBlock5_36", + ["angle"] = -0.000173411, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_15"] = { + ["y"] = -13.754, + ["x"] = 102.406, + ["name"] = "WoodBlock10_15", + ["angle"] = 0.00988652, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_74"] = { + ["y"] = -4.22394, + ["x"] = 113.161, + ["name"] = "LightBlock5_74", + ["angle"] = 0.013361, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_116"] = { + ["y"] = -4.14138, + ["x"] = -65.2525, + ["name"] = "LightBlock5_116", + ["angle"] = -0.00333794, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_17"] = { + ["y"] = -25.7846, + ["x"] = 128.197, + ["name"] = "WoodBlock10_17", + ["angle"] = -0.00119895, + ["definition"] = "WoodBlock10", + + }, + ["ExtraTire03_1"] = { + ["y"] = -27.4911, + ["x"] = 120.392, + ["name"] = "ExtraTire03_1", + ["angle"] = 0.0934996, + ["definition"] = "ExtraTire03", + + }, + ["WoodBlock10_3"] = { + ["y"] = -6.98524, + ["x"] = 77.3043, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.0292256, + ["definition"] = "WoodBlock10", + + }, + ["BasicBird2_5"] = { + ["y"] = -58.352, + ["x"] = -29.9136, + ["name"] = "BasicBird2_5", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBlockTheme02_04_27"] = { + ["y"] = -12.0393, + ["x"] = 18.1367, + ["name"] = "StaticBlockTheme02_04_27", + ["angle"] = -1.17787, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_54"] = { + ["y"] = -2.16299, + ["x"] = 179.525, + ["name"] = "LightBlock5_54", + ["angle"] = -3.57452e-008, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_104"] = { + ["y"] = -2.12152, + ["x"] = -65.1611, + ["name"] = "LightBlock5_104", + ["angle"] = -0.00403653, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_22"] = { + ["y"] = -16.1465, + ["x"] = -4.40556, + ["name"] = "LightBlock8_22", + ["angle"] = -0.0556534, + ["definition"] = "LightBlock8", + + }, + ["WoodBlock10_14"] = { + ["y"] = -13.9932, + ["x"] = 92.6191, + ["name"] = "WoodBlock10_14", + ["angle"] = 0.0191554, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock4_6"] = { + ["y"] = -0.61, + ["x"] = 185.077, + ["name"] = "LightBlock4_6", + ["angle"] = -7.4339e-008, + ["definition"] = "LightBlock4", + + }, + ["MISC_FB_BARREL_1"] = { + ["y"] = -16.9997, + ["x"] = 68.3744, + ["name"] = "MISC_FB_BARREL_1", + ["angle"] = 0.0332436, + ["definition"] = "MISC_FB_BARREL", + + }, + ["WoodBlock5_17"] = { + ["y"] = -10.4018, + ["x"] = 90.3583, + ["name"] = "WoodBlock5_17", + ["angle"] = 0.00769061, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock8_5"] = { + ["y"] = -3.2847, + ["x"] = -4.40302, + ["name"] = "LightBlock8_5", + ["angle"] = 0.0250508, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_123"] = { + ["y"] = -4.13878, + ["x"] = -94.5492, + ["name"] = "LightBlock5_123", + ["angle"] = -0.00118839, + ["definition"] = "LightBlock5", + + }, + ["StaticBalloon03_1"] = { + ["y"] = -14.1335, + ["x"] = 128.701, + ["name"] = "StaticBalloon03_1", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock5_95"] = { + ["y"] = -4.14339, + ["x"] = -40.2379, + ["name"] = "LightBlock5_95", + ["angle"] = 0.00078821, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_79"] = { + ["y"] = -17.4259, + ["x"] = 30.6526, + ["name"] = "StaticBlockTheme02_01_79", + ["angle"] = 2.74915, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_40"] = { + ["y"] = -49.0706, + ["x"] = -40.9209, + ["name"] = "StaticBlockTheme02_01_40", + ["angle"] = -1.178, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock2_10"] = { + ["y"] = -13.9753, + ["x"] = 123.339, + ["name"] = "WoodBlock2_10", + ["angle"] = 0.00897497, + ["definition"] = "WoodBlock2", + + }, + ["SmallPiglette_3"] = { + ["y"] = -8.39256, + ["x"] = 99.8386, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.338407, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock10_33"] = { + ["y"] = -5.66961, + ["x"] = -100.555, + ["name"] = "LightBlock10_33", + ["angle"] = -0.00425066, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_87"] = { + ["y"] = -4.19903, + ["x"] = 166.977, + ["name"] = "LightBlock5_87", + ["angle"] = -3.60516e-006, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_39"] = { + ["y"] = -2.18511, + ["x"] = 117.103, + ["name"] = "LightBlock5_39", + ["angle"] = 0.0120193, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_81"] = { + ["y"] = -4.20097, + ["x"] = 142.327, + ["name"] = "LightBlock5_81", + ["angle"] = -0.00380755, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_52"] = { + ["y"] = -0.609522, + ["x"] = 115.936, + ["name"] = "LightBlock10_52", + ["angle"] = 7.72916e-005, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_76"] = { + ["y"] = -20.1984, + ["x"] = 31.2071, + ["name"] = "StaticBlockTheme02_01_76", + ["angle"] = 2.74913, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBalloon03_5"] = { + ["y"] = -12.6239, + ["x"] = 63.8818, + ["name"] = "StaticBalloon03_5", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme02_04_21"] = { + ["y"] = -39.9336, + ["x"] = -16.1411, + ["name"] = "StaticBlockTheme02_04_21", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_111"] = { + ["y"] = -2.11635, + ["x"] = -94.8171, + ["name"] = "LightBlock5_111", + ["angle"] = -0.00191575, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_120"] = { + ["y"] = -4.13443, + ["x"] = -82.1735, + ["name"] = "LightBlock5_120", + ["angle"] = 0.000736812, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_29"] = { + ["y"] = -39.0753, + ["x"] = -13.1045, + ["name"] = "StaticBlockTheme02_01_29", + ["angle"] = -1.17806, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_105"] = { + ["y"] = -2.11009, + ["x"] = -69.3444, + ["name"] = "LightBlock5_105", + ["angle"] = -0.000544827, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_18"] = { + ["y"] = -0.581176, + ["x"] = -20.2791, + ["name"] = "LightBlock10_18", + ["angle"] = 0.00271072, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_24"] = { + ["y"] = -2.1905, + ["x"] = 54.4155, + ["name"] = "LightBlock5_24", + ["angle"] = 0.00872483, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_35"] = { + ["y"] = -55.2692, + ["x"] = -23.2547, + ["name"] = "StaticBlockTheme02_01_35", + ["angle"] = 0.392772, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_101"] = { + ["y"] = -4.15915, + ["x"] = -52.6933, + ["name"] = "LightBlock5_101", + ["angle"] = 3.84257e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_83"] = { + ["y"] = -4.19898, + ["x"] = 146.391, + ["name"] = "LightBlock5_83", + ["angle"] = -2.81654e-007, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_5"] = { + ["y"] = -10.4312, + ["x"] = 84.6746, + ["name"] = "WoodBlock2_5", + ["angle"] = 1.58381, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_38"] = { + ["y"] = -55.2692, + ["x"] = -34.9547, + ["name"] = "StaticBlockTheme02_01_38", + ["angle"] = -0.392615, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_6"] = { + ["y"] = -2.12851, + ["x"] = -20.0293, + ["name"] = "LightBlock5_6", + ["angle"] = 0.002279, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_44"] = { + ["y"] = -2.16232, + ["x"] = 138.304, + ["name"] = "LightBlock5_44", + ["angle"] = -0.00566932, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_81"] = { + ["y"] = -16.0792, + ["x"] = 23.9986, + ["name"] = "StaticBlockTheme02_01_81", + ["angle"] = -0.392435, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock10_4"] = { + ["y"] = -6.82505, + ["x"] = 87.3285, + ["name"] = "WoodBlock10_4", + ["angle"] = 0.00487336, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_02_4"] = { + ["y"] = -37.913, + ["x"] = -41.6957, + ["name"] = "StaticBlockTheme02_02_4", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -11.4889, + ["x"] = -10.2665, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_76"] = { + ["y"] = -4.17483, + ["x"] = 121.956, + ["name"] = "LightBlock5_76", + ["angle"] = 0.0165189, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_77"] = { + ["y"] = -3.97531, + ["x"] = 126.363, + ["name"] = "LightBlock5_77", + ["angle"] = -0.0132836, + ["definition"] = "LightBlock5", + + }, + ["LightBlock8_8"] = { + ["y"] = -5.79303, + ["x"] = -4.3746, + ["name"] = "LightBlock8_8", + ["angle"] = -0.20869, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_97"] = { + ["y"] = -4.15411, + ["x"] = -44.4178, + ["name"] = "LightBlock5_97", + ["angle"] = 0.00211949, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_74"] = { + ["y"] = -18.6141, + ["x"] = 22.7311, + ["name"] = "StaticBlockTheme02_01_74", + ["angle"] = -0.392465, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_19"] = { + ["y"] = -0.579614, + ["x"] = -39.1087, + ["name"] = "LightBlock10_19", + ["angle"] = 0.000406779, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock3_2"] = { + ["y"] = -16.3174, + ["x"] = 107.371, + ["name"] = "StoneBlock3_2", + ["angle"] = 0.0119898, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock5_103"] = { + ["y"] = -2.12632, + ["x"] = -61.0698, + ["name"] = "LightBlock5_103", + ["angle"] = -0.00188583, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_82"] = { + ["y"] = -4.19903, + ["x"] = 150.364, + ["name"] = "LightBlock5_82", + ["angle"] = -2.28154e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_29"] = { + ["y"] = -2.16334, + ["x"] = 76.2419, + ["name"] = "LightBlock5_29", + ["angle"] = 2.43323e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_89"] = { + ["y"] = -4.19899, + ["x"] = 175.191, + ["name"] = "LightBlock5_89", + ["angle"] = -1.35948e-006, + ["definition"] = "LightBlock5", + + }, + ["LightBlock2_1"] = { + ["y"] = -2.10859, + ["x"] = 14.2775, + ["name"] = "LightBlock2_1", + ["angle"] = 1.58292, + ["definition"] = "LightBlock2", + + }, + ["LightBlock5_88"] = { + ["y"] = -4.19903, + ["x"] = 171.103, + ["name"] = "LightBlock5_88", + ["angle"] = 9.30468e-006, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_25"] = { + ["y"] = -33.419, + ["x"] = -27.5938, + ["name"] = "StaticBlockTheme02_01_25", + ["angle"] = 0.392705, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_86"] = { + ["y"] = -4.19913, + ["x"] = 162.87, + ["name"] = "LightBlock5_86", + ["angle"] = 2.59869e-005, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_85"] = { + ["y"] = -4.19913, + ["x"] = 158.694, + ["name"] = "LightBlock5_85", + ["angle"] = -4.22601e-005, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_13"] = { + ["y"] = -48.5282, + ["x"] = -21.8601, + ["name"] = "StaticBlockTheme02_01_13", + ["angle"] = 0.78537, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -10.869, + ["x"] = 4.53273, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_01_52"] = { + ["y"] = -46.9028, + ["x"] = -40.348, + ["name"] = "StaticBlockTheme02_01_52", + ["angle"] = -1.17794, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock10_15"] = { + ["y"] = -0.610028, + ["x"] = 157.237, + ["name"] = "LightBlock10_15", + ["angle"] = -9.90717e-006, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_01_23"] = { + ["y"] = -39.1527, + ["x"] = -33.405, + ["name"] = "StaticBlockTheme02_01_23", + ["angle"] = -1.96352, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["WoodBlock5_15"] = { + ["y"] = -8.4887, + ["x"] = 79.0199, + ["name"] = "WoodBlock5_15", + ["angle"] = 0.0292279, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock10_21"] = { + ["y"] = -0.586061, + ["x"] = -59.5741, + ["name"] = "LightBlock10_21", + ["angle"] = -0.000901607, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_46"] = { + ["y"] = -5.76681, + ["x"] = 138.381, + ["name"] = "LightBlock10_46", + ["angle"] = -0.0130327, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_6"] = { + ["y"] = -0.609813, + ["x"] = 77.2129, + ["name"] = "LightBlock10_6", + ["angle"] = -3.74999e-005, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_7"] = { + ["y"] = -16.9968, + ["x"] = 102.24, + ["name"] = "StoneBlock6_7", + ["angle"] = 0.0211138, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_01_20"] = { + ["y"] = -36.0534, + ["x"] = -29.3759, + ["name"] = "StaticBlockTheme02_01_20", + ["angle"] = -2.74892, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_45"] = { + ["y"] = -2.16484, + ["x"] = 142.274, + ["name"] = "LightBlock5_45", + ["angle"] = -0.00383238, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_62"] = { + ["y"] = -19.4716, + ["x"] = -30.9285, + ["name"] = "StaticBlockTheme02_01_62", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_91"] = { + ["y"] = -4.199, + ["x"] = 183.518, + ["name"] = "LightBlock5_91", + ["angle"] = -3.32596e-006, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_94"] = { + ["y"] = -2.11833, + ["x"] = -40.2367, + ["name"] = "LightBlock5_94", + ["angle"] = 8.92029e-005, + ["definition"] = "LightBlock5", + + }, + ["StoneBlock6_3"] = { + ["y"] = -16.1682, + ["x"] = 90.7154, + ["name"] = "StoneBlock6_3", + ["angle"] = 0.0199308, + ["definition"] = "StoneBlock6", + + }, + ["LightBlock10_44"] = { + ["y"] = -5.7821, + ["x"] = 117.347, + ["name"] = "LightBlock10_44", + ["angle"] = 0.00874885, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_2"] = { + ["y"] = -14.9946, + ["x"] = 95.8813, + ["name"] = "StoneBlock6_2", + ["angle"] = 0.0206003, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_04_28"] = { + ["y"] = -15.1287, + ["x"] = 20.117, + ["name"] = "StaticBlockTheme02_04_28", + ["angle"] = -0.785165, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock10_1"] = { + ["y"] = -22.6686, + ["x"] = 30.9775, + ["name"] = "WoodBlock10_1", + ["angle"] = -0.39524, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock5_62"] = { + ["y"] = -3.96576, + ["x"] = 66.3836, + ["name"] = "LightBlock5_62", + ["angle"] = 0.0620477, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_32"] = { + ["y"] = -2.15894, + ["x"] = 88.3905, + ["name"] = "LightBlock5_32", + ["angle"] = 0.000895289, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_1"] = { + ["y"] = -13.152, + ["x"] = 69.7217, + ["name"] = "WoodBlock2_1", + ["angle"] = 3.12227, + ["definition"] = "WoodBlock2", + + }, + ["LightBlock5_68"] = { + ["y"] = -4.18673, + ["x"] = 92.9168, + ["name"] = "LightBlock5_68", + ["angle"] = -0.000283729, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -27.7603, + ["x"] = -8.71687, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_93"] = { + ["y"] = -4.13857, + ["x"] = -36.1017, + ["name"] = "LightBlock5_93", + ["angle"] = 0.00187095, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_56"] = { + ["y"] = -23.4233, + ["x"] = -37.4371, + ["name"] = "StaticBlockTheme02_01_56", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_12"] = { + ["y"] = -50.8527, + ["x"] = -25.4243, + ["name"] = "StaticBlockTheme02_01_12", + ["angle"] = 0.39267, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_7"] = { + ["y"] = -33.1078, + ["x"] = -41.0695, + ["name"] = "StaticBlockTheme02_01_7", + ["angle"] = -1.57083, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_83"] = { + ["y"] = -18.6933, + ["x"] = 30.7318, + ["name"] = "StaticBlockTheme02_01_83", + ["angle"] = -0.392435, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_69"] = { + ["y"] = -33.9674, + ["x"] = -22.2622, + ["name"] = "StaticBlockTheme02_01_69", + ["angle"] = 2.74908, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_3"] = { + ["y"] = -20.633, + ["x"] = -30.4543, + ["name"] = "StaticBlockTheme02_01_3", + ["angle"] = 0.785381, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_03_1"] = { + ["y"] = -2.77011, + ["x"] = -33.2117, + ["name"] = "StaticBlockTheme02_03_1", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_03", + + }, + ["LightBlock5_75"] = { + ["y"] = -4.22111, + ["x"] = 117.188, + ["name"] = "LightBlock5_75", + ["angle"] = 0.0125187, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_63"] = { + ["y"] = -18.0769, + ["x"] = -31.6259, + ["name"] = "StaticBlockTheme02_01_63", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_23"] = { + ["y"] = -16.4434, + ["x"] = -1.33045, + ["name"] = "LightBlock8_23", + ["angle"] = -0.160681, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_04_18"] = { + ["y"] = -53.4889, + ["x"] = -34.1493, + ["name"] = "StaticBlockTheme02_04_18", + ["angle"] = 2.74904, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock5_13"] = { + ["y"] = -8.37766, + ["x"] = 87.3506, + ["name"] = "WoodBlock5_13", + ["angle"] = 0.00494722, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_69"] = { + ["y"] = -4.18967, + ["x"] = 97.0847, + ["name"] = "LightBlock5_69", + ["angle"] = -0.00128591, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_61"] = { + ["y"] = -19.4716, + ["x"] = -30.9285, + ["name"] = "StaticBlockTheme02_01_61", + ["angle"] = -2.35603, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_28"] = { + ["y"] = -35.511, + ["x"] = -15.5064, + ["name"] = "StaticBlockTheme02_01_28", + ["angle"] = 2.35622, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["SmallPiglette_4"] = { + ["y"] = -20.7352, + ["x"] = 101.504, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.0247065, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_01_49"] = { + ["y"] = -16.9495, + ["x"] = -33.2892, + ["name"] = "StaticBlockTheme02_01_49", + ["angle"] = 1.17824, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_115"] = { + ["y"] = -4.15288, + ["x"] = -61.1726, + ["name"] = "LightBlock5_115", + ["angle"] = -0.00193055, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_130"] = { + ["y"] = -10.3986, + ["x"] = 121.985, + ["name"] = "LightBlock5_130", + ["angle"] = 1.57972, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_60"] = { + ["y"] = -4.258, + ["x"] = 58.4134, + ["name"] = "LightBlock5_60", + ["angle"] = 0.0202218, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_66"] = { + ["y"] = -34.8197, + ["x"] = -27.4536, + ["name"] = "StaticBlockTheme02_01_66", + ["angle"] = 0.392878, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_42"] = { + ["y"] = -2.05829, + ["x"] = 130.353, + ["name"] = "LightBlock5_42", + ["angle"] = -0.0110077, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock10_7"] = { + ["y"] = -6.84657, + ["x"] = 117.909, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.00882613, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme02_01_57"] = { + ["y"] = -21.5637, + ["x"] = -35.5775, + ["name"] = "StaticBlockTheme02_01_57", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBalloon03_7"] = { + ["y"] = -23.3216, + ["x"] = 123.29, + ["name"] = "StaticBalloon03_7", + ["angle"] = 0.000336647, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -53.3339, + ["x"] = -24.7739, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock6_9"] = { + ["y"] = -19.116, + ["x"] = 103.115, + ["name"] = "StoneBlock6_9", + ["angle"] = 0.0212832, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_02_5"] = { + ["y"] = -37.913, + ["x"] = -41.6957, + ["name"] = "StaticBlockTheme02_02_5", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["LightBlock10_2"] = { + ["y"] = -0.609987, + ["x"] = 35.0093, + ["name"] = "LightBlock10_2", + ["angle"] = 8.99193e-007, + ["definition"] = "LightBlock10", + + }, + ["LightBlock10_48"] = { + ["y"] = -5.75224, + ["x"] = 158.512, + ["name"] = "LightBlock10_48", + ["angle"] = 1.23176e-005, + ["definition"] = "LightBlock10", + + }, + ["LightBlock5_124"] = { + ["y"] = -4.13089, + ["x"] = -98.6412, + ["name"] = "LightBlock5_124", + ["angle"] = -0.00419132, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock2_3"] = { + ["y"] = -10.3823, + ["x"] = 92.8772, + ["name"] = "WoodBlock2_3", + ["angle"] = 1.57853, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_01_59"] = { + ["y"] = -20.4014, + ["x"] = -34.3378, + ["name"] = "StaticBlockTheme02_01_59", + ["angle"] = -2.74873, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock8_14"] = { + ["y"] = -10.1292, + ["x"] = -4.40978, + ["name"] = "LightBlock8_14", + ["angle"] = 0.00927561, + ["definition"] = "LightBlock8", + + }, + ["StaticBlockTheme02_01_5"] = { + ["y"] = -25.3595, + ["x"] = -37.5827, + ["name"] = "StaticBlockTheme02_01_5", + ["angle"] = -2.35622, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_44"] = { + ["y"] = -44.611, + ["x"] = -29.1826, + ["name"] = "StaticBlockTheme02_01_44", + ["angle"] = 2.74901, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["LightBlock5_90"] = { + ["y"] = -4.19899, + ["x"] = 179.346, + ["name"] = "LightBlock5_90", + ["angle"] = -8.07259e-008, + ["definition"] = "LightBlock5", + + }, + ["MediumPiglette_5"] = { + ["y"] = -19.5605, + ["x"] = 92.6575, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.357051, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock5_17"] = { + ["y"] = -2.16298, + ["x"] = 34.3391, + ["name"] = "LightBlock5_17", + ["angle"] = 1.70602e-006, + ["definition"] = "LightBlock5", + + }, + ["ExtraStrongBall_1"] = { + ["y"] = -8.11339, + ["x"] = 102.779, + ["name"] = "ExtraStrongBall_1", + ["angle"] = -0.029668, + ["definition"] = "ExtraStrongBall", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -20.167, + ["x"] = 4.53273, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock5_37"] = { + ["y"] = -2.16711, + ["x"] = 109.152, + ["name"] = "LightBlock5_37", + ["angle"] = 0.00210922, + ["definition"] = "LightBlock5", + + }, + ["StaticBalloon03_4"] = { + ["y"] = -7.70179, + ["x"] = 68.8759, + ["name"] = "StaticBalloon03_4", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["WoodBlock5_7"] = { + ["y"] = -12.1748, + ["x"] = 105.481, + ["name"] = "WoodBlock5_7", + ["angle"] = 0.00856604, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme02_04_12"] = { + ["y"] = -50.5445, + ["x"] = -19.7375, + ["name"] = "StaticBlockTheme02_04_12", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_02_3"] = { + ["y"] = -38.3004, + ["x"] = -41.0759, + ["name"] = "StaticBlockTheme02_02_3", + ["angle"] = -1.57083, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["WoodBlock5_14"] = { + ["y"] = -8.41318, + ["x"] = 83.1836, + ["name"] = "WoodBlock5_14", + ["angle"] = 0.0126772, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock1_12"] = { + ["y"] = -20.185, + ["x"] = 103.149, + ["name"] = "LightBlock1_12", + ["angle"] = 0.0213445, + ["definition"] = "LightBlock1", + + }, + ["LightBlock8_17"] = { + ["y"] = -12.0093, + ["x"] = -4.40875, + ["name"] = "LightBlock8_17", + ["angle"] = 0.000888046, + ["definition"] = "LightBlock8", + + }, + ["LightBlock10_20"] = { + ["y"] = -0.586104, + ["x"] = -49.3856, + ["name"] = "LightBlock10_20", + ["angle"] = 0.000264578, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -32.1792, + ["x"] = -41.6957, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 1.57091, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -7.80651, + ["x"] = -30.2674, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_01_50"] = { + ["y"] = -15.3999, + ["x"] = -33.2892, + ["name"] = "StaticBlockTheme02_01_50", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme02_01_36"] = { + ["y"] = -56.1215, + ["x"] = -27.5163, + ["name"] = "StaticBlockTheme02_01_36", + ["angle"] = -3.14152, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBalloon03_3"] = { + ["y"] = -7.8424, + ["x"] = 126.093, + ["name"] = "StaticBalloon03_3", + ["angle"] = 0.000319004, + ["definition"] = "StaticBalloon03", + + }, + ["LightBlock5_22"] = { + ["y"] = -2.17722, + ["x"] = 46.4807, + ["name"] = "LightBlock5_22", + ["angle"] = 0.00789551, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_35"] = { + ["y"] = -2.15924, + ["x"] = 100.934, + ["name"] = "LightBlock5_35", + ["angle"] = -0.00101828, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_43"] = { + ["y"] = -2.12974, + ["x"] = 134.334, + ["name"] = "LightBlock5_43", + ["angle"] = -0.0102604, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_106"] = { + ["y"] = -2.11026, + ["x"] = -73.6209, + ["name"] = "LightBlock5_106", + ["angle"] = 0.00108575, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_55"] = { + ["y"] = -24.3531, + ["x"] = -38.8318, + ["name"] = "StaticBlockTheme02_01_55", + ["angle"] = 1.17826, + ["definition"] = "StaticBlockTheme02_01", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -4.51542, + ["x"] = -10.2665, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme02_04_16"] = { + ["y"] = -46.283, + ["x"] = -15.3984, + ["name"] = "StaticBlockTheme02_04_16", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_14"] = { + ["y"] = -4.19901, + ["x"] = 25.8811, + ["name"] = "LightBlock5_14", + ["angle"] = -5.09384e-007, + ["definition"] = "LightBlock5", + + }, + ["LightBlock4_7"] = { + ["y"] = -5.68215, + ["x"] = 11.4395, + ["name"] = "LightBlock4_7", + ["angle"] = 0.00911587, + ["definition"] = "LightBlock4", + + }, + ["LargePiglette_3"] = { + ["y"] = -17.9103, + ["x"] = 119.993, + ["name"] = "LargePiglette_3", + ["angle"] = 0.190639, + ["definition"] = "LargePiglette", + + }, + ["LightBlock5_28"] = { + ["y"] = -2.07235, + ["x"] = 72.0605, + ["name"] = "LightBlock5_28", + ["angle"] = -0.36221, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_18"] = { + ["y"] = -4.19898, + ["x"] = 34.1563, + ["name"] = "LightBlock5_18", + ["angle"] = 3.76644e-006, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -14.3926, + ["x"] = -30.1899, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.57094, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["LightBlock5_121"] = { + ["y"] = -4.14199, + ["x"] = -86.3606, + ["name"] = "LightBlock5_121", + ["angle"] = -0.000331557, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_22"] = { + ["y"] = -0.571383, + ["x"] = -69.7643, + ["name"] = "LightBlock10_22", + ["angle"] = -0.000423266, + ["definition"] = "LightBlock10", + + }, + ["LightBlock8_24"] = { + ["y"] = -17.3507, + ["x"] = -2.97361, + ["name"] = "LightBlock8_24", + ["angle"] = -0.0898145, + ["definition"] = "LightBlock8", + + }, + ["LightBlock5_99"] = { + ["y"] = -4.15841, + ["x"] = -48.5087, + ["name"] = "LightBlock5_99", + ["angle"] = 0.000482021, + ["definition"] = "LightBlock5", + + }, + ["LightBlock5_9"] = { + ["y"] = -2.13215, + ["x"] = 11.5289, + ["name"] = "LightBlock5_9", + ["angle"] = 0.00847321, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme02_01_19"] = { + ["y"] = -35.511, + ["x"] = -25.5792, + ["name"] = "StaticBlockTheme02_01_19", + ["angle"] = 3.14157, + ["definition"] = "StaticBlockTheme02_01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraBlockFlag01"] = 1, + ["StoneBlock6"] = 9, + ["MediumPiglette"] = 5, + ["LightBlock5"] = 130, + ["StaticBlockTheme02_04"] = 28, + ["ExtraBlockTNT"] = 5, + ["BLOCK_GREEN_GOGGLES"] = 5, + ["StaticBlockTheme01_02"] = 2, + ["StaticBlockTheme01_03"] = 5, + ["StoneBlock2"] = 2, + ["ExtraTire03"] = 1, + ["WoodBlock2"] = 10, + ["WoodBlock10"] = 22, + ["StoneBlock1"] = 2, + ["StaticFragileBlock06"] = 2, + ["MISC_FB_BARREL"] = 1, + ["WoodBlock1"] = 1, + ["ExtraStrongBall"] = 2, + ["LargePiglette"] = 3, + ["StaticBlockTheme01_04"] = 2, + ["BasicBird2"] = 8, + ["BLOCK_GREEN_SPANNER_2"] = 1, + ["RedBird"] = 4, + ["ExtraPoleRed"] = 1, + ["SpecialBlockStart"] = 1, + ["Estrade01"] = 1, + ["LightBlock3"] = 5, + ["ExtraSheriffHat_2"] = 2, + ["SpecialBlockSwing"] = 1, + ["WoodBlock6"] = 5, + ["StaticBlockTheme02_06"] = 1, + ["LightBlock2"] = 3, + ["SmallPiglette"] = 4, + ["StaticBlockTheme02_01"] = 86, + ["StoneBlock4"] = 1, + ["ExtraTreasureChest"] = 1, + ["WoodBlock4"] = 9, + ["StaticBlockTheme01_01"] = 2, + ["StaticBlockTheme02_03"] = 1, + ["WoodBlock5"] = 21, + ["StaticBlockTheme02_02"] = 10, + ["StaticBalloon03"] = 9, + ["WoodBlock3"] = 7, + ["LightBlock8"] = 25, + ["StoneBlock5"] = 6, + ["StoneBlock3"] = 2, + ["LightBlock1"] = 12, + ["LightBlock10"] = 52, + ["BLOCK_GREEN_PILOTHELMET"] = 2, + ["ExtraPoleYellow"] = 1, + ["ShootingPlatform01"] = 1, + ["StaticBlockTheme01_05"] = 14, + ["LightBlock4"] = 9, + +} +theme = "theme2" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -216.242, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 83.3111, + ["screenWidth"] = 480, + ["py"] = -216.242, + ["screenHeight"] = 320, + ["top"] = -512.553, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["right"] = 1978.26, + ["left"] = -368.006, + ["px"] = 76.4603, + + }, + ["sy"] = 0.539973, + ["sx"] = 0.539973, + ["windows"] = { + ["bottom"] = 462.624, + ["screenWidth"] = 1243, + ["py"] = -681.391, + ["screenHeight"] = 648, + ["top"] = -1825.41, + ["sy"] = 0.283213, + ["sx"] = 0.283213, + ["right"] = 3143.89, + ["left"] = -1245.03, + ["px"] = 949.43, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["sy"] = 0.780191, + ["sx"] = 0.780191, + ["px"] = 228.013, + ["py"] = -239.863, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["px"] = 76.4603, + +} +filename = "Level8.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level9.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level9.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..a1a326b70fdd79450c535d5a0d3be4b40db36719 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack1/temp/Level9.temp.lua @@ -0,0 +1,649 @@ +themeSprites = { + +} +castleCameraData = { + ["px"] = 1253.44, + ["bottom"] = 114.695, + ["screenWidth"] = 480, + ["right"] = 1757.16, + ["screenHeight"] = 320, + ["left"] = 749.717, + ["top"] = -556.937, + ["iphone"] = { + ["bottom"] = 114.695, + ["screenWidth"] = 480, + ["py"] = -221.121, + ["screenHeight"] = 320, + ["top"] = -556.937, + ["sy"] = 0.476452, + ["sx"] = 0.476452, + ["px"] = 1253.44, + ["left"] = 749.717, + ["right"] = 1757.16, + + }, + ["version"] = "0.02", + ["sx"] = 0.476452, + ["windows"] = { + ["bottom"] = 224.674, + ["screenWidth"] = 1366, + ["py"] = -399.371, + ["screenHeight"] = 768, + ["top"] = -1023.42, + ["sy"] = 0.61534, + ["sx"] = 0.61534, + ["px"] = 1293.02, + ["left"] = 183.065, + ["right"] = 2402.98, + + }, + ["sy"] = 0.476452, + ["ipad"] = { + ["sy"] = 0.556194, + ["sx"] = 0.556194, + ["px"] = 1234.27, + ["py"] = -257.768, + ["screenHeight"] = 574, + ["screenWidth"] = 755, + + }, + ["py"] = -221.121, + +} +levelParticles = { + ["y"] = -2001.96, + ["x"] = 2629.54, + ["firstFrame"] = true, + ["width"] = 6880.66, + +} +joints = { + ["StoneBlock10_2StoneBlock8_2"] = { + ["type"] = 1, + ["end2"] = "StoneBlock8_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock10_2StoneBlock8_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock10_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["StoneBlock10_2StoneBlock8_1"] = { + ["type"] = 1, + ["end2"] = "StoneBlock8_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock10_2StoneBlock8_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StoneBlock10_2", + ["dampingRatio"] = 1, + ["frequency"] = 4, + + }, + +} +world = { + ["SmallPiglette_7"] = { + ["y"] = -3.77541, + ["x"] = 80.3658, + ["name"] = "SmallPiglette_7", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock4_3"] = { + ["y"] = -2.17747, + ["x"] = 95.2613, + ["name"] = "StoneBlock4_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock4_1"] = { + ["y"] = -10.0218, + ["x"] = 80.2388, + ["name"] = "StoneBlock4_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock4", + + }, + ["MISC_FB_UMBRELLA_BOTTOM_2"] = { + ["y"] = -4.0561, + ["x"] = 82.5166, + ["name"] = "MISC_FB_UMBRELLA_BOTTOM_2", + ["angle"] = 0, + ["definition"] = "MISC_FB_UMBRELLA_BOTTOM", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = 2.07211, + ["x"] = 88.4358, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_5"] = { + ["y"] = -9.68586, + ["x"] = 68.6823, + ["name"] = "StoneBlock3_5", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock2_4"] = { + ["y"] = -3.18529, + ["x"] = 66.3703, + ["name"] = "StoneBlock2_4", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock11_4"] = { + ["y"] = -17.1438, + ["x"] = 77.148, + ["name"] = "StoneBlock11_4", + ["angle"] = 4.71236, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock12_1"] = { + ["y"] = -12.7093, + ["x"] = 68.6151, + ["name"] = "StoneBlock12_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock12", + + }, + ["StoneBlock2_6"] = { + ["y"] = -9.97133, + ["x"] = 83.8393, + ["name"] = "StoneBlock2_6", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 50.1778, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock3_8"] = { + ["y"] = -1.85341, + ["x"] = 13.6178, + ["name"] = "StoneBlock3_8", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock3", + + }, + ["StoneBlock2_3"] = { + ["y"] = -3.11811, + ["x"] = 93.9176, + ["name"] = "StoneBlock2_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock10_4"] = { + ["y"] = -0.430569, + ["x"] = 98.352, + ["name"] = "StoneBlock10_4", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["LargePiglette_2"] = { + ["y"] = -5.11705, + ["x"] = 78.4246, + ["name"] = "LargePiglette_2", + ["angle"] = 2.86102e-006, + ["definition"] = "LargePiglette", + + }, + ["StoneBlock6_4"] = { + ["y"] = -8.14052, + ["x"] = 88.5029, + ["name"] = "StoneBlock6_4", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["MediumPiglette_4"] = { + ["y"] = -5.58737, + ["x"] = 71.7058, + ["name"] = "MediumPiglette_4", + ["angle"] = 2.86102e-006, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock8_1"] = { + ["y"] = -11.9031, + ["x"] = 76.8121, + ["name"] = "StoneBlock8_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock8", + + }, + ["StoneBlock8_2"] = { + ["y"] = -11.9031, + ["x"] = 83.8669, + ["name"] = "StoneBlock8_2", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock8", + + }, + ["StoneBlock2_5"] = { + ["y"] = -9.97133, + ["x"] = 76.7845, + ["name"] = "StoneBlock2_5", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock10_2"] = { + ["y"] = -14.725, + ["x"] = 80.3731, + ["name"] = "StoneBlock10_2", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock4_6"] = { + ["y"] = -0.390805, + ["x"] = -3.60847, + ["name"] = "StoneBlock4_6", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock4", + + }, + ["SmallPiglette_8"] = { + ["y"] = -3.77541, + ["x"] = 80.3658, + ["name"] = "SmallPiglette_8", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock6_6"] = { + ["y"] = -1.43839, + ["x"] = 62.8765, + ["name"] = "StoneBlock6_6", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock11_1"] = { + ["y"] = -10.4921, + ["x"] = 87.4278, + ["name"] = "StoneBlock11_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock5_2"] = { + ["y"] = -5.72174, + ["x"] = 85.7481, + ["name"] = "StoneBlock5_2", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["MISC_FB_SMALL_HAT_1"] = { + ["y"] = -7.26708, + ["x"] = 78.6262, + ["name"] = "MISC_FB_SMALL_HAT_1", + ["angle"] = 2.86102e-006, + ["definition"] = "MISC_FB_SMALL_HAT", + + }, + ["StaticBlockTheme02_04_2"] = { + ["y"] = -1.04085, + ["x"] = 5.49219, + ["name"] = "StaticBlockTheme02_04_2", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock4_2"] = { + ["y"] = -2.31184, + ["x"] = 64.9594, + ["name"] = "StoneBlock4_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock11_3"] = { + ["y"] = -17.0766, + ["x"] = 83.5981, + ["name"] = "StoneBlock11_3", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock11", + + }, + ["BlackBird_2"] = { + ["y"] = -4.61611, + ["x"] = 5.08592, + ["name"] = "BlackBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock11_2"] = { + ["y"] = -10.6937, + ["x"] = 73.2511, + ["name"] = "StoneBlock11_2", + ["angle"] = 4.71238, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock5_3"] = { + ["y"] = -5.58737, + ["x"] = 91.5935, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme02_05_3"] = { + ["y"] = 2.07211, + ["x"] = 71.7729, + ["name"] = "StaticBlockTheme02_05_3", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -3.30296, + ["x"] = 71.5714, + ["name"] = "StoneBlock6_1", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 2.07211, + ["x"] = 80.2387, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 2.86102e-006, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -9.08116, + ["x"] = 80.3059, + ["name"] = "StoneBlock10_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock10", + + }, + ["MISC_FB_UMBRELLA_TOP_2"] = { + ["y"] = -6.41252, + ["x"] = 82.5979, + ["name"] = "MISC_FB_UMBRELLA_TOP_2", + ["angle"] = 0, + ["definition"] = "MISC_FB_UMBRELLA_TOP", + + }, + ["StoneBlock6_2"] = { + ["y"] = -3.23577, + ["x"] = 88.7716, + ["name"] = "StoneBlock6_2", + ["angle"] = 2.86102e-006, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock3_7"] = { + ["y"] = -1.6909, + ["x"] = -2.55214, + ["name"] = "StoneBlock3_7", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock3", + + }, + ["BlackBird_1"] = { + ["y"] = -4.61611, + ["x"] = 10.5301, + ["name"] = "BlackBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock6_3"] = { + ["y"] = -8.20771, + ["x"] = 71.9745, + ["name"] = "StoneBlock6_3", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["MediumPiglette_3"] = { + ["y"] = -5.52018, + ["x"] = 88.6372, + ["name"] = "MediumPiglette_3", + ["angle"] = 2.86102e-006, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock5_4"] = { + ["y"] = -5.78893, + ["x"] = 74.5949, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_1"] = { + ["y"] = -5.78893, + ["x"] = 68.8167, + ["name"] = "StoneBlock5_1", + ["angle"] = 1.5708, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock4_7"] = { + ["y"] = -0.447205, + ["x"] = 14.6039, + ["name"] = "StoneBlock4_7", + ["angle"] = 0, + ["definition"] = "StoneBlock4", + + }, + ["SmallPiglette_9"] = { + ["y"] = -3.85666, + ["x"] = 80.3658, + ["name"] = "SmallPiglette_9", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock3_6"] = { + ["y"] = -9.61867, + ["x"] = 91.5935, + ["name"] = "StoneBlock3_6", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme02_05_4"] = { + ["y"] = 1.42168, + ["x"] = 3.22807, + ["name"] = "StaticBlockTheme02_05_4", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["SmallPiglette_10"] = { + ["y"] = -3.85666, + ["x"] = 80.3658, + ["name"] = "SmallPiglette_10", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock10_3"] = { + ["y"] = -0.497757, + ["x"] = 61.8687, + ["name"] = "StoneBlock10_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock12_2"] = { + ["y"] = -12.575, + ["x"] = 91.4591, + ["name"] = "StoneBlock12_2", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme02_04_1"] = { + ["y"] = -1.04085, + ["x"] = 10.205, + ["name"] = "StaticBlockTheme02_04_1", + ["angle"] = 6.28316, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["BlackBird_3"] = { + ["y"] = -4.67251, + ["x"] = -0.022171, + ["name"] = "BlackBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BlackBird", + + }, + ["StoneBlock6_5"] = { + ["y"] = -1.37121, + ["x"] = 97.4786, + ["name"] = "StoneBlock6_5", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock9_1"] = { + ["y"] = -12.4406, + ["x"] = 80.306, + ["name"] = "StoneBlock9_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock9", + + }, + ["SmallPiglette_6"] = { + ["y"] = -16.2703, + ["x"] = 80.3731, + ["name"] = "SmallPiglette_6", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 6, + ["MediumPiglette"] = 4, + ["KingPiglette"] = 1, + ["StaticBlockTheme02_04"] = 2, + ["StoneBlock11"] = 4, + ["StoneBlock3"] = 8, + ["StaticBlockTheme01_02"] = 2, + ["StaticBlockTheme01_03"] = 1, + ["StoneBlock2"] = 6, + ["HatPiglette"] = 1, + ["StoneBlock1"] = 4, + ["StaticBlockTheme01_05"] = 5, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["ExtraPoleRed"] = 1, + ["WoodBlock3"] = 6, + ["SmallBlueBird"] = 3, + ["BlackBird"] = 3, + ["StoneBlock10"] = 4, + ["SmallPiglette"] = 10, + ["MISC_FB_UMBRELLA_TOP"] = 2, + ["StoneBlock4"] = 7, + ["StoneBlock12"] = 2, + ["StoneBlock8"] = 2, + ["StoneBlock9"] = 1, + ["LightBlock5"] = 1, + ["StaticBlockTheme02_05"] = 4, + ["RedBird"] = 1, + ["ImmovableWall03"] = 3, + ["MISC_FB_SMALL_HAT"] = 1, + ["WoodBlock5"] = 6, + ["StoneBlock5"] = 4, + ["ImmovableWall02"] = 1, + ["LightBlock3"] = 14, + ["WoodBlock6"] = 3, + ["GrandpaPiglette"] = 1, + ["ExtraPoleYellow"] = 1, + ["WoodBlock4"] = 2, + ["MISC_FB_UMBRELLA_BOTTOM"] = 2, + ["LightBlock4"] = 1, + +} +theme = "theme2" +birdCameraData = { + ["screenWidth"] = 480, + ["py"] = -204.953, + ["screenHeight"] = 320, + ["iphone"] = { + ["bottom"] = 114.695, + ["screenWidth"] = 480, + ["py"] = -204.953, + ["screenHeight"] = 320, + ["top"] = -540.769, + ["sy"] = 0.476452, + ["sx"] = 0.476452, + ["px"] = 71.4855, + ["left"] = -432.238, + ["right"] = 1757.16, + + }, + ["version"] = "0.02", + ["sx"] = 0.476452, + ["windows"] = { + ["bottom"] = 224.674, + ["screenWidth"] = 1366, + ["py"] = -329.589, + ["screenHeight"] = 768, + ["top"] = -953.634, + ["sy"] = 0.61534, + ["sx"] = 0.61534, + ["px"] = 854.143, + ["left"] = -255.812, + ["right"] = 2402.98, + + }, + ["sy"] = 0.476452, + ["ipad"] = { + ["bottom"] = 258.239, + ["screenWidth"] = 755, + ["py"] = -248.607, + ["screenHeight"] = 574, + ["top"] = -764.614, + ["sy"] = 0.556194, + ["sx"] = 0.556194, + ["right"] = 1952.55, + ["left"] = -425.025, + ["px"] = 253.695, + + }, + ["px"] = 71.4855, + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_442.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_442.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfdc6fdba3ef98012abc636ac2f1d18fbe28c527 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_442.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_443.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_443.lua new file mode 100644 index 0000000000000000000000000000000000000000..91d815ce72224196a9457ffea32c62c5f8122227 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_443.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_444.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_444.lua new file mode 100644 index 0000000000000000000000000000000000000000..815060e77f05387c181872e4d1d8d9298f926c02 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_444.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_445.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_445.lua new file mode 100644 index 0000000000000000000000000000000000000000..413db76b9696df162fd2961e24bc206c2d0c802b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_445.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_448.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_448.lua new file mode 100644 index 0000000000000000000000000000000000000000..28f4eb5b57c42eb34728713b17a61e03ce2a8dc0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_448.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_449.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_449.lua new file mode 100644 index 0000000000000000000000000000000000000000..55be9d46400535736ff713edbb0010ad8c19b2d0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_449.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_451.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_451.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d4819039b15ae0e516a0fdc2da520266a2ba0b6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_451.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_452.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_452.lua new file mode 100644 index 0000000000000000000000000000000000000000..269ea7b082a163908145f44f1baec45990e7bc27 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_452.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_453.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_453.lua new file mode 100644 index 0000000000000000000000000000000000000000..c10eeee6339ad585f0a8714f50c2431e7136619d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_453.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_454.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_454.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b1974864de4ee721a67591f221b18a8aca5553 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_454.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_455.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_455.lua new file mode 100644 index 0000000000000000000000000000000000000000..3599fc2737abf32dbaed4e6802221aaa3a620fa7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_455.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_457.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_457.lua new file mode 100644 index 0000000000000000000000000000000000000000..a89f1c73e5e42a9d845dea958dd64286c39275e8 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_457.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_458.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_458.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a6233c47b38143f845fbfec51388f3e157455e2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_458.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_459.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_459.lua new file mode 100644 index 0000000000000000000000000000000000000000..bcea8a9098a5cbfe7b21f676ae5ae7309c1fcffb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_459.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_462.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_462.lua new file mode 100644 index 0000000000000000000000000000000000000000..ae9c1f1da81087c8c4eeecb110e0ce17d4420454 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack10/LevelP4_462.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack10/temp/LevelP4_462.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack10/temp/LevelP4_462.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f4cd8c1ba9c20ecb2cde3689978862a4d163bc2 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack10/temp/LevelP4_462.temp.lua @@ -0,0 +1,1053 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 102.884, + ["px"] = 991.506, + ["py"] = -376.517, + ["screenHeight"] = 320, + ["right"] = 1710.61, + ["top"] = -855.918, + ["iphone"] = { + ["sy"] = 0.268972, + ["sx"] = 0.268972, + ["px"] = 1007.81, + ["py"] = -544.365, + ["screenHeight"] = 320, + ["screenWidth"] = 480, + + }, + ["version"] = "0.02", + ["sx"] = 0.33375, + ["windows"] = { + ["bottom"] = 117.144, + ["screenWidth"] = 1366, + ["py"] = -539.756, + ["screenHeight"] = 768, + ["top"] = -1196.66, + ["sy"] = 0.584564, + ["sx"] = 0.584564, + ["right"] = 2182.11, + ["left"] = -154.672, + ["px"] = 1013.72, + + }, + ["sy"] = 0.33375, + ["ipad"] = { + ["sy"] = 0.584564, + ["sx"] = 0.584564, + ["px"] = 1013.72, + ["py"] = -539.756, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["left"] = 272.405, + +} +levelParticles = { + ["y"] = -2275.9, + ["x"] = 2441.31, + ["firstFrame"] = true, + ["width"] = 7647.87, + +} +joints = { + ["StaticFragileBlock06_2ExtraRopeThick01_1"] = { + ["type"] = 1, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = -3, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticFragileBlock06_2ExtraRopeThick01_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "StaticFragileBlock06_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["ExtraRopeThick01_2ExtraRopeThick01_1"] = { + ["type"] = 1, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = 3, + ["y1"] = -3, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_2ExtraRopeThick01_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraRopeThick01_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["ExtraBlockTNT_6ExtraRopeThick01_2"] = { + ["type"] = 1, + ["end2"] = "ExtraRopeThick01_2", + ["x2"] = 0, + ["y2"] = 3, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_6ExtraRopeThick01_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "ExtraBlockTNT_6", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + +} +world = { + ["ExtraRopeThick01_2"] = { + ["y"] = -35.6338, + ["x"] = 59.3407, + ["name"] = "ExtraRopeThick01_2", + ["angle"] = 6.28287, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_02_3"] = { + ["y"] = -9.47164, + ["x"] = -27.635, + ["name"] = "StaticBlockTheme01_02_3", + ["angle"] = 6.19592, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["WoodBlock6_7"] = { + ["y"] = -21.9537, + ["x"] = 42.7643, + ["name"] = "WoodBlock6_7", + ["angle"] = 4.71301, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -17.4799, + ["x"] = 43.1335, + ["name"] = "WoodBlock10_4", + ["angle"] = 3.14887, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_2"] = { + ["y"] = -4.01286, + ["x"] = 56.8277, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.57152, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_23"] = { + ["y"] = -30.3861, + ["x"] = 77.5133, + ["name"] = "WoodBlock10_23", + ["angle"] = 4.71246, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_17"] = { + ["y"] = -6.01663, + ["x"] = 49.4186, + ["name"] = "WoodBlock4_17", + ["angle"] = 1.56691, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -20.6212, + ["x"] = 74.204, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_25"] = { + ["y"] = -39.1154, + ["x"] = 77.6016, + ["name"] = "WoodBlock6_25", + ["angle"] = 1.57036, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -13.5595, + ["x"] = 19.768, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 1.20423, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_18"] = { + ["y"] = -18.5893, + ["x"] = 79.005, + ["name"] = "StaticBlockTheme01_05_18", + ["angle"] = 5.49773, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock1_5"] = { + ["y"] = -18.527, + ["x"] = 46.1163, + ["name"] = "WoodBlock1_5", + ["angle"] = 0.00739347, + ["definition"] = "WoodBlock1", + + }, + ["StaticBlockTheme01_04_7"] = { + ["y"] = -3.69329, + ["x"] = -11.055, + ["name"] = "StaticBlockTheme01_04_7", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_8"] = { + ["y"] = -21.9321, + ["x"] = 63.4238, + ["name"] = "WoodBlock6_8", + ["angle"] = 4.75251, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock1_5"] = { + ["y"] = -18.5802, + ["x"] = 62.2147, + ["name"] = "StoneBlock1_5", + ["angle"] = 0.048732, + ["definition"] = "StoneBlock1", + + }, + ["LargePiglette_2"] = { + ["y"] = -49.1357, + ["x"] = 61.3932, + ["name"] = "LargePiglette_2", + ["angle"] = 0.0428684, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -18.6118, + ["x"] = 27.731, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 0.820233, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_32"] = { + ["y"] = -39.1017, + ["x"] = 34.4132, + ["name"] = "WoodBlock6_32", + ["angle"] = 4.548, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -3.06143, + ["x"] = 67.127, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticFragileBlock06_2"] = { + ["y"] = -45.2449, + ["x"] = 59.3146, + ["name"] = "StaticFragileBlock06_2", + ["angle"] = 9.53674e-007, + ["definition"] = "StaticFragileBlock06", + + }, + ["WoodBlock6_3"] = { + ["y"] = -12.9835, + ["x"] = 47.6075, + ["name"] = "WoodBlock6_3", + ["angle"] = 4.71064, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -11.6629, + ["x"] = 72.191, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock9_1"] = { + ["y"] = -20.9831, + ["x"] = 52.5169, + ["name"] = "WoodBlock9_1", + ["angle"] = 3.1455, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -5.70376, + ["x"] = -18.301, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock9_3"] = { + ["y"] = -2.04001, + ["x"] = 45.9177, + ["name"] = "WoodBlock9_3", + ["angle"] = 4.71091, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock10_20"] = { + ["y"] = -26.3119, + ["x"] = 38.8596, + ["name"] = "WoodBlock10_20", + ["angle"] = 3.11072, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_11"] = { + ["y"] = -10.0279, + ["x"] = 65.8677, + ["name"] = "WoodBlock4_11", + ["angle"] = 2.04337, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -10.2888, + ["x"] = 25.752, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_31"] = { + ["y"] = -40.7547, + ["x"] = 68.1315, + ["name"] = "WoodBlock10_31", + ["angle"] = 4.71454, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_26"] = { + ["y"] = -13.0002, + ["x"] = 48.757, + ["name"] = "WoodBlock6_26", + ["angle"] = 1.5899, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetSmall_2"] = { + ["y"] = -20.175, + ["x"] = 44.5182, + ["name"] = "ExtraHelmetSmall_2", + ["angle"] = 0.0420332, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_01_1"] = { + ["y"] = -11.2888, + ["x"] = 15.752, + ["name"] = "StaticBlockTheme01_01_1", + ["angle"] = 4.71234, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock6_24"] = { + ["y"] = -21.3929, + ["x"] = 66.556, + ["name"] = "WoodBlock6_24", + ["angle"] = 2.20082, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_18"] = { + ["y"] = -26.2872, + ["x"] = 66.4202, + ["name"] = "WoodBlock6_18", + ["angle"] = 0.040748, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_29"] = { + ["y"] = -25.8036, + ["x"] = 46.533, + ["name"] = "WoodBlock10_29", + ["angle"] = 0.551091, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock1_1"] = { + ["y"] = -47.4609, + ["x"] = 58.8293, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.0348092, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock9_2"] = { + ["y"] = -46.2568, + ["x"] = 34.8903, + ["name"] = "WoodBlock9_2", + ["angle"] = 1.42545, + ["definition"] = "WoodBlock9", + + }, + ["ExtraBlockTNT_7"] = { + ["y"] = -11.7559, + ["x"] = 53.6833, + ["name"] = "ExtraBlockTNT_7", + ["angle"] = 0.00903672, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -2.98802, + ["x"] = 29.625, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockTNT_6"] = { + ["y"] = -31.5667, + ["x"] = 59.2203, + ["name"] = "ExtraBlockTNT_6", + ["angle"] = 6.24828, + ["definition"] = "ExtraBlockTNT", + + }, + ["StoneBlock1_7"] = { + ["y"] = -27.2598, + ["x"] = 34.9083, + ["name"] = "StoneBlock1_7", + ["angle"] = 6.25229, + ["definition"] = "StoneBlock1", + + }, + ["RedBigBird_2"] = { + ["y"] = -12.3148, + ["x"] = -11.4676, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -12.0032, + ["x"] = 34.906, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["RedBigBird_4"] = { + ["y"] = -12.2171, + ["x"] = -16.1699, + ["name"] = "RedBigBird_4", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["WoodBlock6_23"] = { + ["y"] = -21.7415, + ["x"] = 39.8987, + ["name"] = "WoodBlock6_23", + ["angle"] = 1.09033, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -2.98802, + ["x"] = 20.34, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock11_4"] = { + ["y"] = -27.5534, + ["x"] = 29.0531, + ["name"] = "WoodBlock11_4", + ["angle"] = 4.71214, + ["definition"] = "WoodBlock11", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -51.5079, + ["x"] = 61.5172, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 0.0283043, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_34"] = { + ["y"] = -39.4475, + ["x"] = 36.5918, + ["name"] = "WoodBlock6_34", + ["angle"] = 1.47147, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -8.28877, + ["x"] = 18.467, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 3.14153, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["LargePiglette_3"] = { + ["y"] = -2.4104, + ["x"] = 53.2563, + ["name"] = "LargePiglette_3", + ["angle"] = 0.0604968, + ["definition"] = "LargePiglette", + + }, + ["SmallPiglette_3"] = { + ["y"] = -19.051, + ["x"] = 44.497, + ["name"] = "SmallPiglette_3", + ["angle"] = 6.23946, + ["definition"] = "SmallPiglette", + + }, + ["ExtraHelmetBig_2"] = { + ["y"] = -4.77637, + ["x"] = 53.4675, + ["name"] = "ExtraHelmetBig_2", + ["angle"] = 0.107176, + ["definition"] = "ExtraHelmetBig", + + }, + ["WoodBlock6_11"] = { + ["y"] = -8.5406, + ["x"] = 60.5745, + ["name"] = "WoodBlock6_11", + ["angle"] = 6.26592, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_28"] = { + ["y"] = -18.4929, + ["x"] = 52.1121, + ["name"] = "WoodBlock10_28", + ["angle"] = 3.145, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_7"] = { + ["y"] = -12.9928, + ["x"] = 43.5782, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.859791, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_22"] = { + ["y"] = -29.5585, + ["x"] = 75.0307, + ["name"] = "WoodBlock6_22", + ["angle"] = 4.63878, + ["definition"] = "WoodBlock6", + + }, + ["GrandpaPiglette_1"] = { + ["y"] = -37.1814, + ["x"] = 73.3408, + ["name"] = "GrandpaPiglette_1", + ["angle"] = 0.122173, + ["definition"] = "GrandpaPiglette", + + }, + ["WoodBlock11_1"] = { + ["y"] = -20.9534, + ["x"] = 48.5764, + ["name"] = "WoodBlock11_1", + ["angle"] = 4.71559, + ["definition"] = "WoodBlock11", + + }, + ["WoodBlock10_26"] = { + ["y"] = -46.2444, + ["x"] = 62.974, + ["name"] = "WoodBlock10_26", + ["angle"] = 0.0348847, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_20"] = { + ["y"] = -30.8052, + ["x"] = 39.4947, + ["name"] = "WoodBlock6_20", + ["angle"] = 4.68406, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_03_1"] = { + ["y"] = -0.55043, + ["x"] = -7.198, + ["name"] = "StaticBlockTheme01_03_1", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["StaticBlockTheme01_01_2"] = { + ["y"] = -8.73211, + ["x"] = 78.719, + ["name"] = "StaticBlockTheme01_01_2", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock4_16"] = { + ["y"] = -2.05606, + ["x"] = 49.4509, + ["name"] = "WoodBlock4_16", + ["angle"] = 1.5692, + ["definition"] = "WoodBlock4", + + }, + ["ExtraHelmetBoss_1"] = { + ["y"] = -39.4463, + ["x"] = 73.4996, + ["name"] = "ExtraHelmetBoss_1", + ["angle"] = 0.1142, + ["definition"] = "ExtraHelmetBoss", + + }, + ["WoodBlock10_22"] = { + ["y"] = -34.7244, + ["x"] = 71.5397, + ["name"] = "WoodBlock10_22", + ["angle"] = 3.3195, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_22"] = { + ["y"] = -4.87164, + ["x"] = -27.901, + ["name"] = "StaticBlockTheme01_05_22", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_19"] = { + ["y"] = -29.5767, + ["x"] = 31.5174, + ["name"] = "WoodBlock6_19", + ["angle"] = 4.71219, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_29"] = { + ["y"] = -13.04, + ["x"] = 61.7221, + ["name"] = "WoodBlock6_29", + ["angle"] = 1.57099, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_31"] = { + ["y"] = -14.009, + ["x"] = 56.0335, + ["name"] = "WoodBlock6_31", + ["angle"] = 1.57395, + ["definition"] = "WoodBlock6", + + }, + ["MediumPiglette_1"] = { + ["y"] = -1.89982, + ["x"] = 59.2642, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.24395, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock1_3"] = { + ["y"] = -9.57339, + ["x"] = 44.2034, + ["name"] = "StoneBlock1_3", + ["angle"] = 3.13837, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_5"] = { + ["y"] = -28.6174, + ["x"] = 37.0918, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.0197297, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock1_2"] = { + ["y"] = -47.2895, + ["x"] = 63.8351, + ["name"] = "WoodBlock1_2", + ["angle"] = 0.0446903, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock4_10"] = { + ["y"] = -11.0342, + ["x"] = 42.3064, + ["name"] = "WoodBlock4_10", + ["angle"] = 1.58261, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_1"] = { + ["y"] = -8.51004, + ["x"] = 45.6611, + ["name"] = "WoodBlock10_1", + ["angle"] = 3.13762, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock11_2"] = { + ["y"] = -24.8566, + ["x"] = 52.3818, + ["name"] = "WoodBlock11_2", + ["angle"] = 4.71634, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -5.729, + ["x"] = 5.73798, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_04_6"] = { + ["y"] = -3.40757, + ["x"] = -6.48401, + ["name"] = "StaticBlockTheme01_04_6", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_21"] = { + ["y"] = -30.699, + ["x"] = 68.5965, + ["name"] = "WoodBlock6_21", + ["angle"] = 4.6767, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -9.57498, + ["x"] = 12.683, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.06656, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["RedBigBird_1"] = { + ["y"] = -12.4433, + ["x"] = -2.92388, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -2.98782, + ["x"] = 38.944, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_19"] = { + ["y"] = -12.3035, + ["x"] = 83.576, + ["name"] = "StaticBlockTheme01_05_19", + ["angle"] = 5.82933, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -9.56488, + ["x"] = 53.17, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.00915731, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -4.87496, + ["x"] = 85.576, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 6.21333, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_30"] = { + ["y"] = -17.3626, + ["x"] = 65.1984, + ["name"] = "WoodBlock6_30", + ["angle"] = 3.19093, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_27"] = { + ["y"] = -29.9743, + ["x"] = 71.8872, + ["name"] = "WoodBlock10_27", + ["angle"] = 1.04109, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_28"] = { + ["y"] = -22.9548, + ["x"] = 55.0677, + ["name"] = "WoodBlock6_28", + ["angle"] = 1.57139, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -20.6629, + ["x"] = 32.705, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 27.989, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock11_3"] = { + ["y"] = -36.7238, + ["x"] = 32.2975, + ["name"] = "WoodBlock11_3", + ["angle"] = 4.55988, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_04_4"] = { + ["y"] = -8.14505, + ["x"] = -6.72998, + ["name"] = "StaticBlockTheme01_04_4", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_20"] = { + ["y"] = -43.7785, + ["x"] = 35.1838, + ["name"] = "WoodBlock4_20", + ["angle"] = 6.13764, + ["definition"] = "WoodBlock4", + + }, + ["ExtraHelmetSmall_3"] = { + ["y"] = -3.79869, + ["x"] = 59.1985, + ["name"] = "ExtraHelmetSmall_3", + ["angle"] = 6.22881, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -3.61184, + ["x"] = 76.303, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 6.28312, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -11.5893, + ["x"] = 77.862, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_21"] = { + ["y"] = -5.69329, + ["x"] = 0.416016, + ["name"] = "StaticBlockTheme01_05_21", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -30.5049, + ["x"] = 37.3032, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 0.119203, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_04_5"] = { + ["y"] = -8.14505, + ["x"] = -11.445, + ["name"] = "StaticBlockTheme01_04_5", + ["angle"] = 6.28313, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -4.7609, + ["x"] = 10.841, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 1.57073, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_25"] = { + ["y"] = -44.8626, + ["x"] = 72.9769, + ["name"] = "WoodBlock10_25", + ["angle"] = 0.277329, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock1_4"] = { + ["y"] = -35.1023, + ["x"] = 75.4606, + ["name"] = "WoodBlock1_4", + ["angle"] = 0.226939, + ["definition"] = "WoodBlock1", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -5.66202, + ["x"] = 45.5518, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28282, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock10_30"] = { + ["y"] = -40.5906, + ["x"] = 38.4693, + ["name"] = "WoodBlock10_30", + ["angle"] = 4.52839, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_21"] = { + ["y"] = -34.7047, + ["x"] = 35.2876, + ["name"] = "WoodBlock10_21", + ["angle"] = 2.9893, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_1"] = { + ["y"] = -41.7433, + ["x"] = 59.3294, + ["name"] = "ExtraRopeThick01_1", + ["angle"] = 6.27979, + ["definition"] = "ExtraRopeThick01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["MediumPiglette"] = 5, + ["WoodBlock4"] = 20, + ["StaticBlockTheme05_06"] = 2, + ["WoodBlock1"] = 5, + ["YellowBird"] = 7, + ["StaticBlockTheme01_02"] = 3, + ["StaticBlockTheme01_03"] = 1, + ["StaticBlockTheme01_04"] = 7, + ["WoodBlock10"] = 31, + ["StoneBlock1"] = 7, + ["WoodBlock6"] = 34, + ["LargePiglette"] = 3, + ["WoodBlock5"] = 2, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig2"] = 2, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 1, + ["StoneBlock9"] = 1, + ["ExtraHelmetSmall"] = 3, + ["ExtraHelmetSmall2"] = 3, + ["StaticBlockTheme01_01"] = 2, + ["WoodBlock11"] = 4, + ["WoodBlock9"] = 3, + ["StoneBlock11"] = 2, + ["ExtraHelmetBig"] = 2, + ["SmallPiglette"] = 3, + ["StoneBlock5"] = 2, + ["BoomerangBird"] = 2, + ["StaticFragileBlock06"] = 2, + ["ExtraHelmetBoss"] = 1, + ["LightBlock6"] = 2, + ["ExtraBlockTNT"] = 7, + ["RedBigBird"] = 5, + ["StaticBlockTheme01_05"] = 22, + ["ExtraRopeThick01"] = 2, + +} +theme = "theme13boss" +birdCameraData = { + ["screenWidth"] = 480, + ["bottom"] = -22.0415, + ["px"] = 152.508, + ["py"] = -364.548, + ["screenHeight"] = 320, + ["right"] = 1523.22, + ["top"] = -781.486, + ["iphone"] = { + ["sy"] = 0.368972, + ["sx"] = 0.368972, + ["px"] = 287.714, + ["py"] = -488.111, + ["screenHeight"] = 320, + ["screenWidth"] = 480, + + }, + ["version"] = "0.02", + ["sx"] = 0.38375, + ["windows"] = { + ["bottom"] = 240.029, + ["screenWidth"] = 1366, + ["py"] = -556.281, + ["screenHeight"] = 768, + ["top"] = -1274.62, + ["sy"] = 0.534564, + ["sx"] = 0.534564, + ["right"] = 2400.68, + ["left"] = -743.785, + ["px"] = 533.892, + + }, + ["sy"] = 0.38375, + ["ipad"] = { + ["sy"] = 0.534564, + ["sx"] = 0.534564, + ["px"] = 533.892, + ["py"] = -556.281, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["left"] = -472.899, + +} +filename = "LevelP4_462.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_463.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_463.lua new file mode 100644 index 0000000000000000000000000000000000000000..ee6c3a44abffe4cf02806ea26c35fc2d475782da Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_463.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_464.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_464.lua new file mode 100644 index 0000000000000000000000000000000000000000..5ed515a9326b40b6354307afb970d0a64d8ea040 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_464.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_465.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_465.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8a46320f1487dbd70e7caf2af52d123e0ec1f60 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_465.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_466.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_466.lua new file mode 100644 index 0000000000000000000000000000000000000000..81e5d99a54439a6df2efeed6ea33f04d4a54ad3e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_466.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_467.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_467.lua new file mode 100644 index 0000000000000000000000000000000000000000..e60a258212db86b237c31eac9155352ad09377fc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_467.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_468.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_468.lua new file mode 100644 index 0000000000000000000000000000000000000000..f7e1c0a35595807948e2c679b9a2ac3d010f3612 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_468.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_469.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_469.lua new file mode 100644 index 0000000000000000000000000000000000000000..e8cd6a01941a7f09ab992f72ccffbf39c3919d22 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_469.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_470.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_470.lua new file mode 100644 index 0000000000000000000000000000000000000000..c9aa60dc439c7ce696ae997c23247f36e26c34d7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_470.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_471.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_471.lua new file mode 100644 index 0000000000000000000000000000000000000000..0b3b831105f179b399536a15f9a0332b5a37b732 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_471.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_472.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_472.lua new file mode 100644 index 0000000000000000000000000000000000000000..8181a7eb2e8e8f575be00a1187af8e4fdce927b0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_472.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_473.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_473.lua new file mode 100644 index 0000000000000000000000000000000000000000..af9bf855eb89645c6620023cac13c5fce9504741 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_473.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_474.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_474.lua new file mode 100644 index 0000000000000000000000000000000000000000..2edf5a1bf1e8e739b4e3a5142b494a1f738ffe94 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_474.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_475.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_475.lua new file mode 100644 index 0000000000000000000000000000000000000000..d86774156bac935decce9c78d71b2d0d9c321ebb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_475.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_477.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_477.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ad9551817d6f76b4f2d75aac5ae9639c6e74e68 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_477.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_478.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_478.lua new file mode 100644 index 0000000000000000000000000000000000000000..3c814fca07fcf81ab1fe938da5b940d4cd183fe6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack11/LevelP4_478.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack11/temp/LevelP4_478.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack11/temp/LevelP4_478.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..e8fb0201527b41256339ad470a1a2d3961bb9fd4 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack11/temp/LevelP4_478.temp.lua @@ -0,0 +1,1268 @@ +themeSprites = { + +} +castleCameraData = { + ["left"] = 35693.6, + ["bottom"] = -113.829, + ["screenWidth"] = 480, + ["py"] = -625.829, + ["screenHeight"] = 320, + ["right"] = 37229.6, + ["top"] = -1137.83, + ["iphone"] = { + ["bottom"] = -101.567, + ["screenWidth"] = 1680, + ["py"] = -575.641, + ["screenHeight"] = 1024, + ["top"] = -1049.72, + ["sy"] = 1.08, + ["sx"] = 1.08, + ["right"] = 3193.21, + ["left"] = 1637.65, + ["px"] = 2415.43, + + }, + ["version"] = "0.02", + ["sx"] = 0.3125, + ["windows"] = { + ["bottom"] = 110.157, + ["screenWidth"] = 1366, + ["py"] = -487.508, + ["screenHeight"] = 768, + ["top"] = -1085.17, + ["sy"] = 0.6425, + ["sx"] = 0.6425, + ["px"] = 2345.11, + ["left"] = 1282.08, + ["right"] = 3408.15, + + }, + ["sy"] = 0.3125, + ["ipad"] = { + ["sy"] = 0.6425, + ["sx"] = 0.6425, + ["px"] = 2345.11, + ["py"] = -487.508, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["px"] = 36461.6, + +} +levelParticles = { + ["y"] = -2175.34, + ["x"] = 3612.7, + ["firstFrame"] = true, + ["width"] = 7245.22, + +} +joints = { + +} +world = { + ["LightBlock4_17"] = { + ["y"] = -27.2744, + ["x"] = 123.3, + ["name"] = "LightBlock4_17", + ["angle"] = 1.63278, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock6_22"] = { + ["y"] = -13.1136, + ["x"] = 125.68, + ["name"] = "WoodBlock6_22", + ["angle"] = 4.71127, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_8"] = { + ["y"] = -17.602, + ["x"] = 120.7, + ["name"] = "WoodBlock10_8", + ["angle"] = 3.14734, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock4_14"] = { + ["y"] = -35.3905, + ["x"] = 99.1899, + ["name"] = "LightBlock4_14", + ["angle"] = 3.14803, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -13.6883, + ["x"] = 144.19, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock10_11"] = { + ["y"] = -14.0025, + ["x"] = 109.58, + ["name"] = "WoodBlock10_11", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock10", + + }, + ["SmallPiglette_2"] = { + ["y"] = -34.5244, + ["x"] = 136.09, + ["name"] = "SmallPiglette_2", + ["angle"] = 0.000764679, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -14.1772, + ["x"] = 73.3101, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 0.523433, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock11_2"] = { + ["y"] = -15.0505, + ["x"] = 92.4, + ["name"] = "LightBlock11_2", + ["angle"] = 4.7115, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme01_01_12"] = { + ["y"] = -18.2504, + ["x"] = 154.22, + ["name"] = "StaticBlockTheme01_01_12", + ["angle"] = 1.57088, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StoneBlock11_14"] = { + ["y"] = -30.7044, + ["x"] = 113.42, + ["name"] = "StoneBlock11_14", + ["angle"] = 1.59333, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -4.31327, + ["x"] = 143.8, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBalloon04_3"] = { + ["y"] = -32.5914, + ["x"] = 125.48, + ["name"] = "StaticBalloon04_3", + ["angle"] = 4.29153e-006, + ["definition"] = "StaticBalloon04", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -11.6946, + ["x"] = 51.01, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 0.121874, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock11_17"] = { + ["y"] = -35.8535, + ["x"] = 109.11, + ["name"] = "StoneBlock11_17", + ["angle"] = 4.73963, + ["definition"] = "StoneBlock11", + + }, + ["RedBigBird_2"] = { + ["y"] = -22.8772, + ["x"] = 53.24, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["LightBlock6_3"] = { + ["y"] = -23.7642, + ["x"] = 101.7, + ["name"] = "LightBlock6_3", + ["angle"] = 1.5764, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock9_5"] = { + ["y"] = -25.7551, + ["x"] = 111.44, + ["name"] = "WoodBlock9_5", + ["angle"] = 6.28049, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock6_18"] = { + ["y"] = -30.3632, + ["x"] = 99.0601, + ["name"] = "WoodBlock6_18", + ["angle"] = 3.1483, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock6_2"] = { + ["y"] = -23.7901, + ["x"] = 96.13, + ["name"] = "LightBlock6_2", + ["angle"] = 1.57671, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock9_2"] = { + ["y"] = -22.7062, + ["x"] = 142.99, + ["name"] = "WoodBlock9_2", + ["angle"] = 1.58304, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme01_01_5"] = { + ["y"] = -18.6399, + ["x"] = 147.75, + ["name"] = "StaticBlockTheme01_01_5", + ["angle"] = 3.33151e-005, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["RedBigBird_1"] = { + ["y"] = -22.8102, + ["x"] = 64.1801, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["BoomerangBird_4"] = { + ["y"] = -22.3821, + ["x"] = 50.86, + ["name"] = "BoomerangBird_4", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["LightBlock8_1"] = { + ["y"] = -10.1522, + ["x"] = 104.3, + ["name"] = "LightBlock8_1", + ["angle"] = 0.63829, + ["definition"] = "LightBlock8", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 56.5457, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock4_25"] = { + ["y"] = -20.3607, + ["x"] = 104.34, + ["name"] = "WoodBlock4_25", + ["angle"] = 6.27953, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock4_15"] = { + ["y"] = -32.9162, + ["x"] = 96.8, + ["name"] = "LightBlock4_15", + ["angle"] = 1.64113, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock10_9"] = { + ["y"] = -14.0038, + ["x"] = 96.04, + ["name"] = "WoodBlock10_9", + ["angle"] = 4.71457, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock11_15"] = { + ["y"] = -30.7299, + ["x"] = 113.75, + ["name"] = "StoneBlock11_15", + ["angle"] = 4.71071, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock6_27"] = { + ["y"] = -23.7915, + ["x"] = 108.22, + ["name"] = "WoodBlock6_27", + ["angle"] = 4.71296, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetBoss_1"] = { + ["y"] = -35.2904, + ["x"] = 147.015, + ["name"] = "ExtraHelmetBoss_1", + ["angle"] = 0, + ["definition"] = "ExtraHelmetBoss", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -7.03833, + ["x"] = 67.86, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock5_2"] = { + ["y"] = -29.8155, + ["x"] = 109.2, + ["name"] = "StoneBlock5_2", + ["angle"] = 0.00640744, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_04_10"] = { + ["y"] = -6.90119, + ["x"] = 74.99, + ["name"] = "StaticBlockTheme01_04_10", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_19"] = { + ["y"] = -27.245, + ["x"] = 127.7, + ["name"] = "LightBlock4_19", + ["angle"] = 1.50355, + ["definition"] = "LightBlock4", + + }, + ["ExtraHelmetSmall_4"] = { + ["y"] = -35.6426, + ["x"] = 136.15, + ["name"] = "ExtraHelmetSmall_4", + ["angle"] = 0.0851843, + ["definition"] = "ExtraHelmetSmall", + + }, + ["LightBlock4_12"] = { + ["y"] = -37.976, + ["x"] = 135.65, + ["name"] = "LightBlock4_12", + ["angle"] = 3.1455, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme15_04_4"] = { + ["y"] = -0.12691, + ["x"] = -44.9385, + ["name"] = "StaticBlockTheme15_04_4", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock7_1"] = { + ["y"] = -10.8638, + ["x"] = 88.12, + ["name"] = "LightBlock7_1", + ["angle"] = 5.28923, + ["definition"] = "LightBlock7", + + }, + ["WoodBlock6_14"] = { + ["y"] = -30.8607, + ["x"] = 135.65, + ["name"] = "WoodBlock6_14", + ["angle"] = 3.14255, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -4.28954, + ["x"] = 88.52, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_15"] = { + ["y"] = -13.153, + ["x"] = 116.69, + ["name"] = "WoodBlock6_15", + ["angle"] = 4.71402, + ["definition"] = "WoodBlock6", + + }, + ["MediumPiglette_6"] = { + ["y"] = -19.964, + ["x"] = 120.23, + ["name"] = "MediumPiglette_6", + ["angle"] = 0.00964817, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_04_12"] = { + ["y"] = -2.49303, + ["x"] = 79.5601, + ["name"] = "StaticBlockTheme01_04_12", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_28"] = { + ["y"] = -23.6861, + ["x"] = 121.88, + ["name"] = "WoodBlock4_28", + ["angle"] = 3.14785, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_10"] = { + ["y"] = -14.0023, + ["x"] = 102.13, + ["name"] = "WoodBlock10_10", + ["angle"] = 4.70774, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock9_2"] = { + ["y"] = -31.684, + ["x"] = 151.924, + ["name"] = "LightBlock9_2", + ["angle"] = 6.27533, + ["definition"] = "LightBlock9", + + }, + ["MediumPiglette_4"] = { + ["y"] = -22.5926, + ["x"] = 135.12, + ["name"] = "MediumPiglette_4", + ["angle"] = 6.28277, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_01_4"] = { + ["y"] = -19.8992, + ["x"] = 148.01, + ["name"] = "StaticBlockTheme01_01_4", + ["angle"] = 3.33151e-005, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock6_2"] = { + ["y"] = -33.3308, + ["x"] = 111.87, + ["name"] = "WoodBlock6_2", + ["angle"] = 3.16941, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -18.4362, + ["x"] = 140.89, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_02_5"] = { + ["y"] = -19.8272, + ["x"] = 144.16, + ["name"] = "StaticBlockTheme01_02_5", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_04_11"] = { + ["y"] = -2.24813, + ["x"] = 74.99, + ["name"] = "StaticBlockTheme01_04_11", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_25"] = { + ["y"] = -24.72, + ["x"] = 125.7, + ["name"] = "WoodBlock6_25", + ["angle"] = 3.14938, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -4.28954, + ["x"] = 116.36, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_1"] = { + ["y"] = -21.7877, + ["x"] = 149.02, + ["name"] = "WoodBlock5_1", + ["angle"] = 0.00109539, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_02_4"] = { + ["y"] = -19.8634, + ["x"] = 136.99, + ["name"] = "StaticBlockTheme01_02_4", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["ExtraHelmetBig_1"] = { + ["y"] = -26.6086, + ["x"] = 104.74, + ["name"] = "ExtraHelmetBig_1", + ["angle"] = 6.2635, + ["definition"] = "ExtraHelmetBig", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -4.20099, + ["x"] = 125.24, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -21.8654, + ["x"] = 120.3, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 0.0738314, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme15_01_4"] = { + ["y"] = -6.58371, + ["x"] = 47.9867, + ["name"] = "StaticBlockTheme15_01_4", + ["angle"] = 0.122172, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -12.7008, + ["x"] = 135.4, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 0.226921, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock10_3"] = { + ["y"] = -25.5496, + ["x"] = 138.83, + ["name"] = "LightBlock10_3", + ["angle"] = 1.56838, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock4_23"] = { + ["y"] = -29.2791, + ["x"] = 102.5, + ["name"] = "WoodBlock4_23", + ["angle"] = 3.1487, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock6_13"] = { + ["y"] = -32.9527, + ["x"] = 135.65, + ["name"] = "WoodBlock6_13", + ["angle"] = 3.14571, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_26"] = { + ["y"] = -28.2707, + ["x"] = 111.53, + ["name"] = "WoodBlock6_26", + ["angle"] = 3.13909, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_3"] = { + ["y"] = -14.003, + ["x"] = 106.28, + ["name"] = "WoodBlock10_3", + ["angle"] = 1.57223, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock4_7"] = { + ["y"] = -22.7475, + ["x"] = 137.48, + ["name"] = "StoneBlock4_7", + ["angle"] = 1.57048, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock6_24"] = { + ["y"] = -22.6041, + ["x"] = 125.72, + ["name"] = "WoodBlock6_24", + ["angle"] = 3.14644, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_22"] = { + ["y"] = -31.9165, + ["x"] = 131.71, + ["name"] = "WoodBlock4_22", + ["angle"] = 3.14379, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock4_13"] = { + ["y"] = -35.4741, + ["x"] = 137.98, + ["name"] = "LightBlock4_13", + ["angle"] = 1.52394, + ["definition"] = "LightBlock4", + + }, + ["StoneBlock12_2"] = { + ["y"] = -25.6306, + ["x"] = 98.64, + ["name"] = "StoneBlock12_2", + ["angle"] = 0.00461073, + ["definition"] = "StoneBlock12", + + }, + ["LightBlock4_21"] = { + ["y"] = -20.0843, + ["x"] = 128.5, + ["name"] = "LightBlock4_21", + ["angle"] = 1.57766, + ["definition"] = "LightBlock4", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -11.1313, + ["x"] = 121.15, + ["name"] = "HelmetPiglette_1", + ["angle"] = 0.000232921, + ["definition"] = "HelmetPiglette", + + }, + ["StaticBlockTheme15_04_1"] = { + ["y"] = -4.78272, + ["x"] = 52.3247, + ["name"] = "StaticBlockTheme15_04_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -4.28954, + ["x"] = 97.64, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock4_24"] = { + ["y"] = -29.3236, + ["x"] = 95.11, + ["name"] = "WoodBlock4_24", + ["angle"] = 3.1463, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -9.03681, + ["x"] = 80.03, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 3.92706, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_4"] = { + ["y"] = -11.1994, + ["x"] = 107.84, + ["name"] = "WoodBlock5_4", + ["angle"] = 4.71417, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock4_11"] = { + ["y"] = -35.4886, + ["x"] = 133.27, + ["name"] = "LightBlock4_11", + ["angle"] = 1.61193, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_4"] = { + ["y"] = -13.0977, + ["x"] = 78.28, + ["name"] = "StaticBlockTheme01_04_4", + ["angle"] = 6.00462, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_2"] = { + ["y"] = -18.2495, + ["x"] = 151.15, + ["name"] = "StaticBlockTheme01_04_2", + ["angle"] = 4.71242, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_21"] = { + ["y"] = -31.8904, + ["x"] = 139.09, + ["name"] = "WoodBlock4_21", + ["angle"] = 3.14671, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock10_2"] = { + ["y"] = -29.1229, + ["x"] = 149, + ["name"] = "LightBlock10_2", + ["angle"] = 3.13368, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock9_3"] = { + ["y"] = -26.6145, + ["x"] = 142.97, + ["name"] = "WoodBlock9_3", + ["angle"] = 1.5837, + ["definition"] = "WoodBlock9", + + }, + ["WoodBlock10_5"] = { + ["y"] = -19.3261, + ["x"] = 110.42, + ["name"] = "WoodBlock10_5", + ["angle"] = 3.13913, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_5"] = { + ["y"] = -24.7143, + ["x"] = 104.81, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.0198946, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -11.8091, + ["x"] = 151.63, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 5.89921, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock11_13"] = { + ["y"] = -21.7584, + ["x"] = 98.75, + ["name"] = "StoneBlock11_13", + ["angle"] = 0.00325697, + ["definition"] = "StoneBlock11", + + }, + ["WoodBlock5_6"] = { + ["y"] = -21.883, + ["x"] = 104.29, + ["name"] = "WoodBlock5_6", + ["angle"] = 6.28244, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_01_2"] = { + ["y"] = -17.788, + ["x"] = 137.75, + ["name"] = "StaticBlockTheme01_01_2", + ["angle"] = 3.33362, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["LightBlock10_4"] = { + ["y"] = -25.5602, + ["x"] = 132.58, + ["name"] = "LightBlock10_4", + ["angle"] = 1.57251, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock6_23"] = { + ["y"] = -13.1121, + ["x"] = 128.93, + ["name"] = "WoodBlock6_23", + ["angle"] = 4.71058, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_18"] = { + ["y"] = -29.7595, + ["x"] = 125.43, + ["name"] = "LightBlock4_18", + ["angle"] = 3.15243, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_01_3"] = { + ["y"] = -18.3436, + ["x"] = 135.12, + ["name"] = "StaticBlockTheme01_01_3", + ["angle"] = 2.42612, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock6_19"] = { + ["y"] = -19.3122, + ["x"] = 98.77, + ["name"] = "WoodBlock6_19", + ["angle"] = 3.14525, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_29"] = { + ["y"] = -24.6876, + ["x"] = 153.57, + ["name"] = "WoodBlock6_29", + ["angle"] = 4.71009, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_26"] = { + ["y"] = -17.5784, + ["x"] = 127.83, + ["name"] = "WoodBlock4_26", + ["angle"] = 3.14452, + ["definition"] = "WoodBlock4", + + }, + ["StaticBalloon03_4"] = { + ["y"] = -38.2915, + ["x"] = 99.23, + ["name"] = "StaticBalloon03_4", + ["angle"] = 4.29153e-006, + ["definition"] = "StaticBalloon03", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -4.31327, + ["x"] = 134.43, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_28"] = { + ["y"] = -23.8085, + ["x"] = 114.91, + ["name"] = "WoodBlock6_28", + ["angle"] = 4.71116, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -14.0052, + ["x"] = 114.72, + ["name"] = "WoodBlock10_4", + ["angle"] = 1.57073, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_02_9"] = { + ["y"] = -0.605826, + ["x"] = 58.73, + ["name"] = "StaticBlockTheme01_02_9", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StoneBlock4_8"] = { + ["y"] = -15.3167, + ["x"] = 91.8101, + ["name"] = "StoneBlock4_8", + ["angle"] = 2.35516, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_05_19"] = { + ["y"] = -7.03833, + ["x"] = 58.42, + ["name"] = "StaticBlockTheme01_05_19", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_02_8"] = { + ["y"] = -1.83031, + ["x"] = 58.73, + ["name"] = "StaticBlockTheme01_02_8", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -4.25077, + ["x"] = 153.18, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 2.31267e-005, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["KingPiglette_2"] = { + ["y"] = -32.4259, + ["x"] = 147.044, + ["name"] = "KingPiglette_2", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -16.0151, + ["x"] = 57.3101, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 0.000437737, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock4_20"] = { + ["y"] = -20.1051, + ["x"] = 122.66, + ["name"] = "LightBlock4_20", + ["angle"] = 1.57938, + ["definition"] = "LightBlock4", + + }, + ["ExtraHelmetSmall_2"] = { + ["y"] = -24.4818, + ["x"] = 135.18, + ["name"] = "ExtraHelmetSmall_2", + ["angle"] = 0.0646674, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StoneBlock11_16"] = { + ["y"] = -21.749, + ["x"] = 98.98, + ["name"] = "StoneBlock11_16", + ["angle"] = 3.14233, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock9_3"] = { + ["y"] = -11.1762, + ["x"] = 92.24, + ["name"] = "LightBlock9_3", + ["angle"] = 6.28251, + ["definition"] = "LightBlock9", + + }, + ["StaticBalloon05_2"] = { + ["y"] = -40.8414, + ["x"] = 135.88, + ["name"] = "StaticBalloon05_2", + ["angle"] = 4.29153e-006, + ["definition"] = "StaticBalloon05", + + }, + ["StaticBlockTheme01_04_13"] = { + ["y"] = -18.5065, + ["x"] = 50.65, + ["name"] = "StaticBlockTheme01_04_13", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_02_7"] = { + ["y"] = -1.91195, + ["x"] = 68.12, + ["name"] = "StaticBlockTheme01_02_7", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["LightBlock11_1"] = { + ["y"] = -35.7416, + ["x"] = 113.27, + ["name"] = "LightBlock11_1", + ["angle"] = 0.0280407, + ["definition"] = "LightBlock11", + + }, + ["ExtraGoldenEgg_1"] = { + ["y"] = -1.58836, + ["x"] = 47.9405, + ["name"] = "ExtraGoldenEgg_1", + ["angle"] = 0, + ["definition"] = "ExtraGoldenEgg", + + }, + ["StaticBlockTheme01_04_8"] = { + ["y"] = -2.61524, + ["x"] = 82.98, + ["name"] = "StaticBlockTheme01_04_8", + ["angle"] = 4.15506, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock9_4"] = { + ["y"] = -21.831, + ["x"] = 111.38, + ["name"] = "WoodBlock9_4", + ["angle"] = 6.28041, + ["definition"] = "WoodBlock9", + + }, + ["StaticBlockTheme15_04_2"] = { + ["y"] = -0.586928, + ["x"] = 52.3381, + ["name"] = "StaticBlockTheme15_04_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock5_1"] = { + ["y"] = -31.8387, + ["x"] = 109.12, + ["name"] = "StoneBlock5_1", + ["angle"] = 0.0125529, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_01_11"] = { + ["y"] = -18.4248, + ["x"] = 48.14, + ["name"] = "StaticBlockTheme01_01_11", + ["angle"] = 1.85088, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -16.007, + ["x"] = 66.83, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 0.000437737, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -18.2738, + ["x"] = 134.24, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 3.14162, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -4.28954, + ["x"] = 106.92, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 1.57106, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock9_5"] = { + ["y"] = -11.1656, + ["x"] = 99, + ["name"] = "StoneBlock9_5", + ["angle"] = 6.11265e-005, + ["definition"] = "StoneBlock9", + + }, + ["WoodBlock6_17"] = { + ["y"] = -28.2418, + ["x"] = 99.0601, + ["name"] = "WoodBlock6_17", + ["angle"] = 3.14685, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock10_3"] = { + ["y"] = -14.0044, + ["x"] = 94.85, + ["name"] = "StoneBlock10_3", + ["angle"] = 4.71314, + ["definition"] = "StoneBlock10", + + }, + ["WoodBlock4_27"] = { + ["y"] = -23.6343, + ["x"] = 129.12, + ["name"] = "WoodBlock4_27", + ["angle"] = 3.1501, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_02_6"] = { + ["y"] = -0.44256, + ["x"] = 68.28, + ["name"] = "StaticBlockTheme01_02_6", + ["angle"] = 6.28307, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["LightBlock9_4"] = { + ["y"] = -24.758, + ["x"] = 149.09, + ["name"] = "LightBlock9_4", + ["angle"] = 0.0030316, + ["definition"] = "LightBlock9", + + }, + ["LightBlock4_16"] = { + ["y"] = -32.8811, + ["x"] = 101.5, + ["name"] = "LightBlock4_16", + ["angle"] = 1.52252, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock1_1"] = { + ["y"] = -30.032, + ["x"] = 144.336, + ["name"] = "WoodBlock1_1", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock5_5"] = { + ["y"] = -15.1677, + ["x"] = 107.85, + ["name"] = "WoodBlock5_5", + ["angle"] = 4.71525, + ["definition"] = "WoodBlock5", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 5, + ["StaticBlockTheme15_05"] = 1, + ["MediumPiglette"] = 6, + ["WoodBlock4"] = 31, + ["WoodBlock1"] = 1, + ["YellowBird"] = 3, + ["LightBlock11"] = 2, + ["StaticBalloon04"] = 3, + ["StoneBlock2"] = 3, + ["StaticBlockTheme01_04"] = 13, + ["WoodBlock2"] = 11, + ["ExtraDiamond"] = 2, + ["LightBlock7"] = 3, + ["KingPiglette"] = 2, + ["ExtraGoldenEgg"] = 1, + ["StaticBlockTheme15_01"] = 4, + ["StaticBlockTheme01_05"] = 20, + ["LargePiglette"] = 1, + ["HelmetPiglette"] = 1, + ["BasicBird2"] = 1, + ["RedBigBird"] = 3, + ["LightBlock8"] = 4, + ["WoodBlock6"] = 29, + ["StaticBlockTheme15_04"] = 4, + ["WoodBlock5"] = 6, + ["LightBlock9"] = 4, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig"] = 2, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 6, + ["BoomerangBird"] = 4, + ["SmallPiglette"] = 2, + ["ExtraHelmetSmall"] = 4, + ["StoneBlock4"] = 12, + ["ExtraTreasureChest"] = 3, + ["LightBlock6"] = 3, + ["StaticBlockTheme01_01"] = 12, + ["StoneBlock12"] = 2, + ["StaticBalloon05"] = 2, + ["RedBird"] = 2, + ["StaticBalloon03"] = 4, + ["WoodBlock10"] = 13, + ["StaticBlockTheme01_02"] = 9, + ["StoneBlock5"] = 3, + ["StoneBlock9"] = 5, + ["LightBlock1"] = 2, + ["LightBlock10"] = 4, + ["WoodBlock9"] = 5, + ["StoneBlock11"] = 21, + ["ExtraHolyGrail"] = 1, + ["ExtraHelmetBoss"] = 1, + ["LightBlock4"] = 21, + +} +theme = "theme15boss" +birdCameraData = { + ["left"] = 34914.8, + ["bottom"] = -113.829, + ["screenWidth"] = 480, + ["py"] = -614.024, + ["screenHeight"] = 320, + ["right"] = 37229.6, + ["top"] = -1126.02, + ["iphone"] = { + ["bottom"] = -223.909, + ["screenWidth"] = 1680, + ["py"] = -561.288, + ["screenHeight"] = 1024, + ["top"] = -974.191, + ["sy"] = 1.24, + ["sx"] = 1.24, + ["right"] = 2992.49, + ["left"] = 903.791, + ["px"] = 1581.21, + + }, + ["version"] = "0.02", + ["sx"] = 0.3125, + ["windows"] = { + ["bottom"] = 238.965, + ["screenWidth"] = 1366, + ["py"] = -522.798, + ["screenHeight"] = 768, + ["top"] = -1184.87, + ["sy"] = 0.58, + ["sx"] = 0.58, + ["px"] = 1756.47, + ["left"] = 578.884, + ["right"] = 3637.25, + + }, + ["sy"] = 0.3125, + ["ipad"] = { + ["bottom"] = 210.986, + ["screenWidth"] = 1024, + ["py"] = -522.798, + ["screenHeight"] = 768, + ["top"] = -1184.87, + ["sy"] = 0.58, + ["sx"] = 0.58, + ["px"] = 1756.47, + ["left"] = 873.711, + ["right"] = 3326.08, + + }, + ["px"] = 35682.8, + +} +filename = "LevelP4_478.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_339.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_339.lua new file mode 100644 index 0000000000000000000000000000000000000000..8913e3f993b907a5bdd5d116383d443846b7557a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_339.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_341.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_341.lua new file mode 100644 index 0000000000000000000000000000000000000000..13581b15927dbd32f5e2be1507dbc76a2dabb4a2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_341.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_343.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_343.lua new file mode 100644 index 0000000000000000000000000000000000000000..75e27f58876913e131ab6d315318c7159589350b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_343.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_347.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_347.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9f2430544cee8990598374babf5f8d417668774 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_347.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_350.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_350.lua new file mode 100644 index 0000000000000000000000000000000000000000..66efc1b476809f6b89f0efcdbd4cce1da14217c2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_350.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_352.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_352.lua new file mode 100644 index 0000000000000000000000000000000000000000..a66ac3fa199bc86dd4c6ee18163b326bbcc0b1c1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_352.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_356.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_356.lua new file mode 100644 index 0000000000000000000000000000000000000000..710043cd4a18ea8f930dfc5c506e2ab3321dfa6b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_356.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_357.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_357.lua new file mode 100644 index 0000000000000000000000000000000000000000..62e93e776ee23a0622e04232f3c3402fef9074dd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_357.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_610.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_610.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d70b767e00e016a618121408fa791ea9eceea7e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_610.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_615.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_615.lua new file mode 100644 index 0000000000000000000000000000000000000000..61724593eadfa7c3171f437f7da3006162c62893 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_615.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_616.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_616.lua new file mode 100644 index 0000000000000000000000000000000000000000..49a695930cc48ce3a17af67b37fe69698353be21 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_616.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_620.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_620.lua new file mode 100644 index 0000000000000000000000000000000000000000..55235f69dff5018052c57a61c276e183265ef3c2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_620.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_628.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_628.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ebc5ff8ee527eba3c1092272fd2f92f01effbeb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_628.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_634.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_634.lua new file mode 100644 index 0000000000000000000000000000000000000000..827834a7e9f3114abc7c09cd0fe1dd8c4620b2b8 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_634.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_640.lua b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_640.lua new file mode 100644 index 0000000000000000000000000000000000000000..235cb8338c6da8231b5a206a107fcd1f907bfd83 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack12/LevelP5_640.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_345.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_345.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd55b7b59a8f046be02329cc666bc0138817c8b5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_345.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_348.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_348.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ec09cb4842ead980d22c2f4b8593523e3e6b141 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_348.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_354.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_354.lua new file mode 100644 index 0000000000000000000000000000000000000000..4f655670fe0651cffdbaa2f03c4dbbefc0f5533e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_354.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_355.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_355.lua new file mode 100644 index 0000000000000000000000000000000000000000..676ac098e8aca4a0d1404b14415a5eaf24df9085 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_355.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_360.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_360.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4f516581a4c42ec430e385f011ce94f8d0cef9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_360.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_361.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_361.lua new file mode 100644 index 0000000000000000000000000000000000000000..4540958a1d86cc7a0ab2f4a9d600f3704df4d8d2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_361.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_363.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_363.lua new file mode 100644 index 0000000000000000000000000000000000000000..322da6bda604fd015f17a41255427ecaa33f5b92 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_363.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_366.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_366.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfcb16e40e61d9e0f41930f58aa6c3066a6d6a24 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_366.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_623.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_623.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0d9480dfeb615149fc168f221ab0e43696323f6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_623.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_631.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_631.lua new file mode 100644 index 0000000000000000000000000000000000000000..19e2cdbcc1390d3cabc21eb32e081d543cefa5dc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_631.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_635.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_635.lua new file mode 100644 index 0000000000000000000000000000000000000000..bed382e5e55a85f95602c3b92716c92f0b492c66 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_635.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_650.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_650.lua new file mode 100644 index 0000000000000000000000000000000000000000..f131ee61b2f05521cc1e6eb32928db9ce19a5471 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_650.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_664.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_664.lua new file mode 100644 index 0000000000000000000000000000000000000000..473a6a4588c122bbf3e39f14f943d24cdbba9c97 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_664.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_669.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_669.lua new file mode 100644 index 0000000000000000000000000000000000000000..420702e7219224ba801adb648c174299096e6552 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_669.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_672.lua b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_672.lua new file mode 100644 index 0000000000000000000000000000000000000000..7e8edb16d6ed606230fa7106c367657b197eb057 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack13/LevelP5_672.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_1.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..6ce588ab13cc83a1deddcde143fe910cbe8e5658 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_2.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a705e7fb1830b22833e53b200f92fd754b12723 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_2.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_3.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..77fbecd9e61706370515c09bc6291d874017e853 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelFB_3.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_340.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_340.lua new file mode 100644 index 0000000000000000000000000000000000000000..d971a153e538e60da04c5f358c1fe97989a72309 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_340.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_342.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_342.lua new file mode 100644 index 0000000000000000000000000000000000000000..706413a83028fe3a17577ad2244169038bc094d8 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_342.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_351.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_351.lua new file mode 100644 index 0000000000000000000000000000000000000000..3d38cb22350945fe4ff967712692c4b0a1b2f125 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_351.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_359.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_359.lua new file mode 100644 index 0000000000000000000000000000000000000000..01485aafa948f95e63f9e59661fc30491d39800a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_359.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_362.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_362.lua new file mode 100644 index 0000000000000000000000000000000000000000..f42a519cf9371b9845e923526ddffc5c7df137ba Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_362.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_364.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_364.lua new file mode 100644 index 0000000000000000000000000000000000000000..6e134f90e6c741b1c5e4290c6c8fd133b2fd7aa8 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_364.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_367.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_367.lua new file mode 100644 index 0000000000000000000000000000000000000000..f2764baa119ae7409aed4c3d44769e14f4a79e99 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_367.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_627.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_627.lua new file mode 100644 index 0000000000000000000000000000000000000000..4664b4fe6777b8790a67e8aba328810deb581a31 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_627.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_648.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_648.lua new file mode 100644 index 0000000000000000000000000000000000000000..5b1fd4cdc29f60859db998f54c6f5d042d5b3a31 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_648.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_651.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_651.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c7936be6f152d62ce2af24f2a43533fcf965246 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_651.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_656.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_656.lua new file mode 100644 index 0000000000000000000000000000000000000000..05d05dae0cec964da755042b3ff034d34e2bd008 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_656.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_662.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_662.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f30b43a2eaa3ef3bb15538555d6644387a600cd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_662.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_663.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_663.lua new file mode 100644 index 0000000000000000000000000000000000000000..5a22c59056be24d4754a483014860e5c5607589c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_663.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_668.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_668.lua new file mode 100644 index 0000000000000000000000000000000000000000..f5950b54e45e13c0e1e2be7641c3d33ba1bd8cb9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_668.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_671.lua b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_671.lua new file mode 100644 index 0000000000000000000000000000000000000000..d0507ac8243b1be8f94da78d4e11670e862e018f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack14/LevelP5_671.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/Level695.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/Level695.lua new file mode 100644 index 0000000000000000000000000000000000000000..efc189168a379471fe25c74027d8f1356f7db5ef Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/Level695.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/Level702.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/Level702.lua new file mode 100644 index 0000000000000000000000000000000000000000..641f5d3991aeb7a392681125542415c8cd1030e6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/Level702.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/Level707.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/Level707.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff15494d45b646262f713cb9d94374b55dd62c63 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/Level707.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/Level708.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/Level708.lua new file mode 100644 index 0000000000000000000000000000000000000000..c11ffa36d48b2ac94272e5998ba0ebb304fb43d3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/Level708.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/Level709.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/Level709.lua new file mode 100644 index 0000000000000000000000000000000000000000..af8a5cb850d3bfc9a5980a9c10f0de52b2dea89b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/Level709.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/Level711.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/Level711.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbf0f8bf64e280f79444b404d83603c5a877841d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/Level711.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_1.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..e62492fe0b3106ce719bc6cf1a91279b9a03171a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_12.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d381d94458933d2c3798f9da1a97c37a6c29354 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_12.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_16.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8bd24cc7932e84e4ba2c7aa90f9ac8d039c77d2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_16.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_2.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..bef7397159e6dcd27a2898ad0effa85cf7a52463 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_2.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_20.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..6f11c49752e12523e7b0510f2d325ef0f8de010c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_20.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_22.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..73223e1b3fa833b75c889d396711ef1b8a046eb3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_22.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_26.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..c69bc50fb4afd6ae43cd1da72d001f3f6e9583fe Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_26.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_28.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..871546aa29cc13c411c58ed55549d0c4d9737dc1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_28.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_8.lua b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..79653b27d55d64c4a1bf2ff4926fbf8829f97933 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack15/LevelP6_8.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/Level697.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/Level697.lua new file mode 100644 index 0000000000000000000000000000000000000000..e38d89a44998d1c4152510b51e01f2fd6a2fea6b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/Level697.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/Level701.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/Level701.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fe24f8989dad71b9e67aae99f26ba5b940cbc91 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/Level701.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/Level703.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/Level703.lua new file mode 100644 index 0000000000000000000000000000000000000000..7e2e8234b80c12ffed76c98e9b8a37111ebf39a0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/Level703.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/Level704.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/Level704.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ae2fa27ca06301e41f7803d70f9d17d7d1a29bf Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/Level704.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/Level705.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/Level705.lua new file mode 100644 index 0000000000000000000000000000000000000000..8abf05b43859882ca63800e41fe3674d02d45b01 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/Level705.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_11.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..20e3d76ed97964a966e986babcdab1bd9e681f8b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_11.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_13.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..3e451ebe2a22ab3f5735ae48e7a0e27e987bd95f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_13.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_15.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..429a10005c1fe4ad490d459d0399005f540c8405 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_15.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_19.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ba38687ecfefebaec3aa063d8e5222bb8bb97fd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_19.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_23.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..ea67a0578172078b952c0a8321ec172344db6fd1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_23.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_25.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab9da540a1ecdf644123d2780436eb211f1dd7b0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_25.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_29.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4ae93ac57543e215f32d61fa7981be0b38e25d5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_29.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_3.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..863b477eb8d79e10500fcee483dba83e61b665f1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_3.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_4.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..5705c900315e2f8675060fce90bdd3995efff71d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_4.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_5.lua b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..36f463bd7a5d9b8d6589b348a97325925106460e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack16/LevelP6_5.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/Level698_1.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/Level698_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..a6f7e56e32452ef66d31a3b2a701896addf142c3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/Level698_1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/Level707_1.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/Level707_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..001ea9459cf1860e189b7744c5b312859bcbe445 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/Level707_1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/Level711_1.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/Level711_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..2a48825ea174b7945193709ad6386882ea4448c2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/Level711_1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/Level713_1.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/Level713_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b2e53d90e467c2e106560a56b823ae6b076e83d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/Level713_1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_10.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..3bb7af711919a207875d1d3f909cbb1c28fdd3fa Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_10.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_14.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff1eb7b4b55037aae8b97a700a9622b22f0fd6da Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_14.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_17.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..b9472327acc20c18e0a09bc6fd82f5d2605c4c8f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_17.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_18.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d9f0612e518b42d34a401ca195a5f12f4db15e4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_18.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_21.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..6d589d388c65d3821a4fcff4246817bda884df09 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_21.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_24.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..106691dac942cdc3c947ab0e9b4761316119e84b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_24.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_27.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..9cb8beaa076f2d5e52d97aba74405c5a41f04758 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_27.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_30.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_30.lua new file mode 100644 index 0000000000000000000000000000000000000000..b439b8b80f1df5c55802566d361740dd41590bc0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_30.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_6.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..44d4b0b43264da129ad0b95e32259ca82ce6cc10 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_6.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_7.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..0b757b0572d0132f2d5891b7361a70f273241361 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_7.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_9.lua b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..230c3e5c3b85eed847f3bf484d3e916c6ae7e3f3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack17/LevelP6_9.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH552.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH552.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1809deaaecbc193d0480f0e288354a98fb63ec5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH552.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH555.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH555.lua new file mode 100644 index 0000000000000000000000000000000000000000..32438341d089d56b4ae2e78cfa6be4221ab22f12 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH555.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH556.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH556.lua new file mode 100644 index 0000000000000000000000000000000000000000..901269ad6a28de57ec38c1443988e332870652cb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH556.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH560.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH560.lua new file mode 100644 index 0000000000000000000000000000000000000000..b09b99bacf91d5d99c33ce3c9944bf4b6f10aec9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH560.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH561.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH561.lua new file mode 100644 index 0000000000000000000000000000000000000000..afb47d526bc772b7c2643f7b5ecab6fff10b94ba Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH561.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH564.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH564.lua new file mode 100644 index 0000000000000000000000000000000000000000..8faa10c729d018b2c9c57ef9e8ef43a9b4d7120c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH564.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH565.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH565.lua new file mode 100644 index 0000000000000000000000000000000000000000..67ba38008e3e38f7ddb46b1467d235a3d1249e30 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH565.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH566.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH566.lua new file mode 100644 index 0000000000000000000000000000000000000000..67f2a56e7f7e1bf547eba3633f20433ec5bc26e7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH566.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH567.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH567.lua new file mode 100644 index 0000000000000000000000000000000000000000..802898c34004974cde6e3c904a2954f0c29a2f58 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH567.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH800.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH800.lua new file mode 100644 index 0000000000000000000000000000000000000000..09c8968de5c51f72515c0be915c3e6baa0801bc4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH800.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH801.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH801.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4483221fea0507356dd61fd783a3485e780833f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH801.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH802.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH802.lua new file mode 100644 index 0000000000000000000000000000000000000000..e10dd173e65e8bf50b771a165a2a1b123449b759 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH802.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH804.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH804.lua new file mode 100644 index 0000000000000000000000000000000000000000..82010a08705b3221805bfc449c785a8ace6c6598 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH804.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH806.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH806.lua new file mode 100644 index 0000000000000000000000000000000000000000..8289e227968f1908e2a7018279bb69c6259c4aa3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH806.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH900.lua b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH900.lua new file mode 100644 index 0000000000000000000000000000000000000000..aa1c001c29085cf0270967103f495af9c429138f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack18/LevelH900.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level743.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level743.lua new file mode 100644 index 0000000000000000000000000000000000000000..c40c83990d4ea0db97bfb57c4f09a149165252fd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level743.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level744.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level744.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1028ba7296ea51a33a21bc2aace9d34ff6f48cd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level744.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level745.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level745.lua new file mode 100644 index 0000000000000000000000000000000000000000..a289b1f431ebbc4490c5a963f2e288f4152c2afd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level745.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level746.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level746.lua new file mode 100644 index 0000000000000000000000000000000000000000..1b8433532c29600a49cfab8b8cccdf4a2fc0dcac Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level746.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level747.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level747.lua new file mode 100644 index 0000000000000000000000000000000000000000..191b9678ba58b67a4e9cd8c1999342e1b3123e29 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level747.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level748.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level748.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0f6b9af3f247b428825b8a5201c68b02831cb7b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level748.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level749.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level749.lua new file mode 100644 index 0000000000000000000000000000000000000000..2be2c1bce1ae0abeb77eafb4d3a482c46fa3ce84 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level749.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level750.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level750.lua new file mode 100644 index 0000000000000000000000000000000000000000..472670f3eeb762aa4cca7455bcec7da8b24b9fea Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level750.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level751.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level751.lua new file mode 100644 index 0000000000000000000000000000000000000000..13ecd6848c354c994ecd45f43dd28b531beb3285 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level751.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level764.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level764.lua new file mode 100644 index 0000000000000000000000000000000000000000..754346709d539f03a60b3ff21463298e9f4c041c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level764.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level765.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level765.lua new file mode 100644 index 0000000000000000000000000000000000000000..a3dbefafc049acb0169938270b96852b826ffed0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level765.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level766.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level766.lua new file mode 100644 index 0000000000000000000000000000000000000000..5ebd2c8844c54cfc357df5b86b5730f75b89e507 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level766.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level767.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level767.lua new file mode 100644 index 0000000000000000000000000000000000000000..5480f0ca24f82a01a81f1410cc07b660f208c8d7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level767.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level768.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level768.lua new file mode 100644 index 0000000000000000000000000000000000000000..54aa64be90468455bbc0591bac63ad9b98f72f5b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level768.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack19/Level769.lua b/Angry Birds Project R/0.3.0/data/levels/pack19/Level769.lua new file mode 100644 index 0000000000000000000000000000000000000000..2428c0e078f7ff063951a9d422ef55a05dff797b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack19/Level769.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_103.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_103.lua new file mode 100644 index 0000000000000000000000000000000000000000..14f93e6ed69bf84144e8d36987fdcce62bc1afa1 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_103.lua @@ -0,0 +1,773 @@ +themeSprites = { + +} +castleCameraData = { + ["right"] = 1695.91, + ["bottom"] = 90.122, + ["px"] = 1095.91, + ["py"] = -309.878, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -709.878, + ["iphone"] = { + ["bottom"] = 90.122, + ["screenWidth"] = 480, + ["py"] = -309.878, + ["screenHeight"] = 320, + ["top"] = -709.878, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1695.91, + ["left"] = 495.91, + ["px"] = 1095.91, + + }, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["windows"] = { + ["sy"] = 0.407305, + ["sx"] = 0.407305, + ["px"] = 1387.17, + ["py"] = -479.481, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["left"] = 495.91, + ["ipad"] = { + ["bottom"] = 197.336, + ["screenWidth"] = 1024, + ["py"] = -342.982, + ["screenHeight"] = 768, + ["top"] = -883.3, + ["sy"] = 0.710692, + ["sx"] = 0.710692, + ["px"] = 1096.68, + ["left"] = 376.255, + ["right"] = 1817.1, + + }, + ["screenWidth"] = 480, + +} +levelParticles = { + ["y"] = -1846.15, + ["x"] = 2231.34, + ["firstFrame"] = true, + ["width"] = 6228.15, + +} +joints = { + +} +world = { + ["StaticBlockTheme04_05_7"] = { + ["y"] = -3.50439, + ["x"] = -29.5847, + ["name"] = "StaticBlockTheme04_05_7", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["RedBird_7"] = { + ["y"] = -7.11612, + ["x"] = -11.0572, + ["name"] = "RedBird_7", + ["angle"] = 0.39267, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_05_3"] = { + ["y"] = -2.48867, + ["x"] = 7.05173, + ["name"] = "StaticBlockTheme04_05_3", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock10_8"] = { + ["y"] = -9.04065, + ["x"] = 79.7905, + ["name"] = "WoodBlock10_8", + ["angle"] = 5.89065, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock4_13"] = { + ["y"] = -16.9906, + ["x"] = 67.8304, + ["name"] = "WoodBlock4_13", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock4", + + }, + ["ExtraApple_2"] = { + ["y"] = -14.8333, + ["x"] = -28.0803, + ["name"] = "ExtraApple_2", + ["angle"] = 0.392913, + ["definition"] = "ExtraApple", + + }, + ["MediumPiglette_2"] = { + ["y"] = -13.1915, + ["x"] = 68.0414, + ["name"] = "MediumPiglette_2", + ["angle"] = 0.000124931, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock3_1"] = { + ["y"] = -15.8033, + ["x"] = 102.199, + ["name"] = "WoodBlock3_1", + ["angle"] = 3.14167, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_6"] = { + ["y"] = -3.50439, + ["x"] = -20.298, + ["name"] = "StaticBlockTheme04_05_6", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_01_5"] = { + ["y"] = 1.4864, + ["x"] = 51.853, + ["name"] = "StaticBlockTheme04_01_5", + ["angle"] = 2.35622, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WOODEN_TIRE_2"] = { + ["y"] = -2.09732, + ["x"] = -36.8312, + ["name"] = "WOODEN_TIRE_2", + ["angle"] = 4.71238, + ["definition"] = "WOODEN_TIRE", + + }, + ["WOODEN_TIRE_4"] = { + ["y"] = -11.6524, + ["x"] = 101.355, + ["name"] = "WOODEN_TIRE_4", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_05_5"] = { + ["y"] = -2.06655, + ["x"] = -12.9288, + ["name"] = "StaticBlockTheme04_05_5", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_01_6"] = { + ["y"] = -0.0613861, + ["x"] = 56.1446, + ["name"] = "StaticBlockTheme04_01_6", + ["angle"] = 2.74892, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_01_8"] = { + ["y"] = -7.94349, + ["x"] = 104.408, + ["name"] = "StaticBlockTheme04_01_8", + ["angle"] = 3.53434, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock10_6"] = { + ["y"] = -9.95526, + ["x"] = 63.4684, + ["name"] = "WoodBlock10_6", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock3_3"] = { + ["y"] = -8.47782, + ["x"] = 69.6596, + ["name"] = "WoodBlock3_3", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_12"] = { + ["y"] = -3.30003, + ["x"] = 90.5003, + ["name"] = "StaticBlockTheme04_05_12", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock6_13"] = { + ["y"] = -7.00038, + ["x"] = 68.1118, + ["name"] = "WoodBlock6_13", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock6", + + }, + ["ExtraApple_3"] = { + ["y"] = -16.5977, + ["x"] = -26.1269, + ["name"] = "ExtraApple_3", + ["angle"] = 0.000214577, + ["definition"] = "ExtraApple", + + }, + ["WoodBlock10_3"] = { + ["y"] = -14.3962, + ["x"] = 97.6966, + ["name"] = "WoodBlock10_3", + ["angle"] = 5.81741e-005, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme04_01_11"] = { + ["y"] = 2.2073, + ["x"] = 111.275, + ["name"] = "StaticBlockTheme04_01_11", + ["angle"] = 4.71244, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_01_2"] = { + ["y"] = -4.27829, + ["x"] = -39.786, + ["name"] = "StaticBlockTheme04_01_2", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock4_9"] = { + ["y"] = -6.93003, + ["x"] = 60.6542, + ["name"] = "WoodBlock4_9", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["WOODEN_TIRE_10"] = { + ["y"] = -10.4855, + ["x"] = -22.8503, + ["name"] = "WOODEN_TIRE_10", + ["angle"] = 0.000195503, + ["definition"] = "WOODEN_TIRE", + + }, + ["LightBlock4_8"] = { + ["y"] = -13.5433, + ["x"] = 65.368, + ["name"] = "LightBlock4_8", + ["angle"] = 1.57089, + ["definition"] = "LightBlock4", + + }, + ["WOODEN_TIRE_11"] = { + ["y"] = -10.4855, + ["x"] = -29.1515, + ["name"] = "WOODEN_TIRE_11", + ["angle"] = 0.000195503, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_01_3"] = { + ["y"] = -0.619882, + ["x"] = -42.2484, + ["name"] = "StaticBlockTheme04_01_3", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock3_6"] = { + ["y"] = -11.9955, + ["x"] = 83.0972, + ["name"] = "WoodBlock3_6", + ["angle"] = 5.89066, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_01_1"] = { + ["y"] = -6.74068, + ["x"] = -36.1276, + ["name"] = "StaticBlockTheme04_01_1", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["StaticBlockTheme04_05_2"] = { + ["y"] = -3.89575, + ["x"] = 14.5093, + ["name"] = "StaticBlockTheme04_05_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["StaticBlockTheme04_05_13"] = { + ["y"] = -4.70708, + ["x"] = 97.7467, + ["name"] = "StaticBlockTheme04_05_13", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["RedBird_4"] = { + ["y"] = -9.50816, + ["x"] = 14.1999, + ["name"] = "RedBird_4", + ["angle"] = 6.28317, + ["definition"] = "RedBird", + + }, + ["ExtraTire01_1"] = { + ["y"] = -4.53799, + ["x"] = 61.006, + ["name"] = "ExtraTire01_1", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraTire01", + + }, + ["WoodBlock4_14"] = { + ["y"] = -9.95525, + ["x"] = 70.6445, + ["name"] = "WoodBlock4_14", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme04_05_14"] = { + ["y"] = -3.1593, + ["x"] = 97.7467, + ["name"] = "StaticBlockTheme04_05_14", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 41.1219, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock3_8"] = { + ["y"] = -14.4553, + ["x"] = -30.3487, + ["name"] = "WoodBlock3_8", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock3", + + }, + ["WoodBlock10_9"] = { + ["y"] = -13.069, + ["x"] = -26.1269, + ["name"] = "WoodBlock10_9", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock10", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -2.8495, + ["x"] = 58.9658, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0.00017786, + ["definition"] = "StaticFragileBlock06", + + }, + ["BLOCK_GREEN_BAG_1"] = { + ["y"] = -17.6942, + ["x"] = 95.2683, + ["name"] = "BLOCK_GREEN_BAG_1", + ["angle"] = 0.785578, + ["definition"] = "BLOCK_GREEN_BAG", + + }, + ["StaticBlockTheme04_05_8"] = { + ["y"] = 2.11723, + ["x"] = 62.1476, + ["name"] = "StaticBlockTheme04_05_8", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock3_7"] = { + ["y"] = -14.5183, + ["x"] = -22.0941, + ["name"] = "WoodBlock3_7", + ["angle"] = 0.000195503, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_05_9"] = { + ["y"] = 2.11723, + ["x"] = 71.2936, + ["name"] = "StaticBlockTheme04_05_9", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WoodBlock1_2"] = { + ["y"] = -16.9203, + ["x"] = 70.4334, + ["name"] = "WoodBlock1_2", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock4_10"] = { + ["y"] = -8.97029, + ["x"] = 66.564, + ["name"] = "WoodBlock4_10", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["RedBird_6"] = { + ["y"] = -5.70904, + ["x"] = -3.17752, + ["name"] = "RedBird_6", + ["angle"] = 6.28316, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_05_10"] = { + ["y"] = 0.147318, + ["x"] = 81.9874, + ["name"] = "StaticBlockTheme04_05_10", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["WOODEN_TIRE_5"] = { + ["y"] = -11.6524, + ["x"] = 94.1789, + ["name"] = "WOODEN_TIRE_5", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["WoodBlock4_11"] = { + ["y"] = -8.97029, + ["x"] = 62.4834, + ["name"] = "WoodBlock4_11", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock4", + + }, + ["LightBlock4_9"] = { + ["y"] = -8.0557, + ["x"] = 73.2476, + ["name"] = "LightBlock4_9", + ["angle"] = 0.000160217, + ["definition"] = "LightBlock4", + + }, + ["RedBird_8"] = { + ["y"] = -9.1394, + ["x"] = -18.1966, + ["name"] = "RedBird_8", + ["angle"] = 6.28317, + ["definition"] = "RedBird", + + }, + ["WoodBlock3_5"] = { + ["y"] = -9.111, + ["x"] = 76.1321, + ["name"] = "WoodBlock3_5", + ["angle"] = 5.89066, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme04_03_1"] = { + ["y"] = -1.82257, + ["x"] = 73.4042, + ["name"] = "StaticBlockTheme04_03_1", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme04_03", + + }, + ["StoneBlock2_1"] = { + ["y"] = -11.4327, + ["x"] = 60.7246, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57091, + ["definition"] = "StoneBlock2", + + }, + ["ExtraCowboyHelmet_1_1"] = { + ["y"] = -19.2706, + ["x"] = 98.952, + ["name"] = "ExtraCowboyHelmet_1_1", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraCowboyHelmet_1", + + }, + ["WOODEN_TIRE_8"] = { + ["y"] = -5.52295, + ["x"] = 77.6799, + ["name"] = "WOODEN_TIRE_8", + ["angle"] = 5.89065, + ["definition"] = "WOODEN_TIRE", + + }, + ["StoneBlock10_1"] = { + ["y"] = -16.076, + ["x"] = 67.8303, + ["name"] = "StoneBlock10_1", + ["angle"] = 0.000195503, + ["definition"] = "StoneBlock10", + + }, + ["WOODEN_TIRE_9"] = { + ["y"] = -8.1964, + ["x"] = 84.0117, + ["name"] = "WOODEN_TIRE_9", + ["angle"] = 5.89065, + ["definition"] = "WOODEN_TIRE", + + }, + ["WoodBlock10_5"] = { + ["y"] = -7.98534, + ["x"] = 63.6091, + ["name"] = "WoodBlock10_5", + ["angle"] = 8.96454e-005, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock2_1"] = { + ["y"] = -8.97029, + ["x"] = 59.4582, + ["name"] = "LightBlock2_1", + ["angle"] = 0.000124931, + ["definition"] = "LightBlock2", + + }, + ["ExtraTire01_2"] = { + ["y"] = -4.6787, + ["x"] = 69.4484, + ["name"] = "ExtraTire01_2", + ["angle"] = 8.96454e-005, + ["definition"] = "ExtraTire01", + + }, + ["StaticBlockTheme04_05_11"] = { + ["y"] = 1.76546, + ["x"] = 80.51, + ["name"] = "StaticBlockTheme04_05_11", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["LargePiglette_2"] = { + ["y"] = -17.14, + ["x"] = 98.8222, + ["name"] = "LargePiglette_2", + ["angle"] = 8.96454e-005, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_01_10"] = { + ["y"] = -1.87323, + ["x"] = 110.431, + ["name"] = "StaticBlockTheme04_01_10", + ["angle"] = 4.31974, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["LargePiglette_3"] = { + ["y"] = -11.5734, + ["x"] = 78.7352, + ["name"] = "LargePiglette_3", + ["angle"] = 5.89066, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme04_05_4"] = { + ["y"] = -0.237344, + ["x"] = -3.07924, + ["name"] = "StaticBlockTheme04_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme04_05", + + }, + ["LightBlock4_7"] = { + ["y"] = -13.5433, + ["x"] = 70.7852, + ["name"] = "LightBlock4_7", + ["angle"] = 1.57089, + ["definition"] = "LightBlock4", + + }, + ["ExtraApple_1"] = { + ["y"] = -14.7703, + ["x"] = -24.1735, + ["name"] = "ExtraApple_1", + ["angle"] = 0.392913, + ["definition"] = "ExtraApple", + + }, + ["StaticBlockTheme04_01_9"] = { + ["y"] = -5.46128, + ["x"] = 108.039, + ["name"] = "StaticBlockTheme04_01_9", + ["angle"] = 3.92704, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["RedBird_5"] = { + ["y"] = -7.39754, + ["x"] = 4.77247, + ["name"] = "RedBird_5", + ["angle"] = 5.89046, + ["definition"] = "RedBird", + + }, + ["StaticBlockTheme04_01_4"] = { + ["y"] = -0.978323, + ["x"] = 55.4639, + ["name"] = "StaticBlockTheme04_01_4", + ["angle"] = 2.74891, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock6_15"] = { + ["y"] = -10.9402, + ["x"] = 68.6042, + ["name"] = "WoodBlock6_15", + ["angle"] = 0.000124931, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock1_1"] = { + ["y"] = -16.9906, + ["x"] = 65.368, + ["name"] = "WoodBlock1_1", + ["angle"] = 0.000107288, + ["definition"] = "WoodBlock1", + + }, + ["WOODEN_TIRE_3"] = { + ["y"] = -2.15464, + ["x"] = 104.662, + ["name"] = "WOODEN_TIRE_3", + ["angle"] = 5.81741e-005, + ["definition"] = "WOODEN_TIRE", + + }, + ["StaticBlockTheme04_01_7"] = { + ["y"] = -7.94349, + ["x"] = 104.408, + ["name"] = "StaticBlockTheme04_01_7", + ["angle"] = 3.53434, + ["definition"] = "StaticBlockTheme04_01", + + }, + ["WoodBlock2_1"] = { + ["y"] = -8.89994, + ["x"] = 71.7702, + ["name"] = "WoodBlock2_1", + ["angle"] = 0.000160217, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock3_2"] = { + ["y"] = -15.8033, + ["x"] = 93.3346, + ["name"] = "WoodBlock3_2", + ["angle"] = 3.14167, + ["definition"] = "WoodBlock3", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StaticBlockTheme04_05"] = 14, + ["BLOCK_GREEN_BAG"] = 1, + ["WoodBlock3"] = 8, + ["MediumPiglette"] = 2, + ["WoodBlock4"] = 16, + ["ExtraApple"] = 3, + ["StoneBlock10"] = 1, + ["StaticBlockTheme04_01"] = 11, + ["StoneBlock11"] = 8, + ["LightBlock6"] = 1, + ["ExtraCowboyHelmet_1"] = 1, + ["WoodBlock9"] = 2, + ["RedBird"] = 8, + ["StaticBlockTheme01_03"] = 1, + ["ExtraTire01"] = 2, + ["StoneBlock2"] = 1, + ["WoodBlock1"] = 2, + ["WoodBlock5"] = 5, + ["WoodBlock2"] = 1, + ["WoodBlock10"] = 9, + ["LightBlock2"] = 1, + ["StaticBlockTheme04_03"] = 1, + ["StaticFragileBlock06"] = 1, + ["WOODEN_TIRE"] = 11, + ["StaticBlockTheme01_05"] = 1, + ["WoodBlock6"] = 17, + ["LargePiglette"] = 3, + ["HelmetPiglette"] = 1, + ["LightBlock4"] = 9, + +} +theme = "theme4" +birdCameraData = { + ["right"] = 1695.91, + ["bottom"] = 90.122, + ["px"] = 420.907, + ["py"] = -304.878, + ["screenHeight"] = 320, + ["version"] = "0.02", + ["top"] = -704.878, + ["iphone"] = { + ["bottom"] = 90.122, + ["screenWidth"] = 480, + ["py"] = -304.878, + ["screenHeight"] = 320, + ["top"] = -704.878, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1695.91, + ["left"] = -179.093, + ["px"] = 420.907, + + }, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["windows"] = { + ["sy"] = 0.407305, + ["sx"] = 0.407305, + ["px"] = 380.55, + ["py"] = -435.288, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + ["left"] = -179.093, + ["ipad"] = { + ["bottom"] = 197.336, + ["screenWidth"] = 1024, + ["py"] = -346.631, + ["screenHeight"] = 768, + ["top"] = -886.949, + ["sy"] = 0.710692, + ["sx"] = 0.710692, + ["px"] = 558.822, + ["left"] = -161.603, + ["right"] = 1817.1, + + }, + ["screenWidth"] = 480, + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_104.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_104.lua new file mode 100644 index 0000000000000000000000000000000000000000..a550f5f4ffa811c23a482b958f0f4bb94f390500 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_104.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_108.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_108.lua new file mode 100644 index 0000000000000000000000000000000000000000..d953a55ed355d28670508f599292c2f0d953e550 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_108.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_114.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_114.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e7e3bbd4c63879144346b20261ceb0eb3c55fb2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_114.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_210.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_210.lua new file mode 100644 index 0000000000000000000000000000000000000000..899156c8a292b89f159e69dab4d235af269eab29 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_210.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_64.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_64.lua new file mode 100644 index 0000000000000000000000000000000000000000..d1d88517980edc290b186fae8e9ba10ab73b65ae Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_64.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_65.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_65.lua new file mode 100644 index 0000000000000000000000000000000000000000..2d3ec14e7ac7f0b979937e14b16c327636c11e51 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_65.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_66.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_66.lua new file mode 100644 index 0000000000000000000000000000000000000000..d54f2dae06741e678126b7fd0407c5bcc5e0f167 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_66.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_68.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_68.lua new file mode 100644 index 0000000000000000000000000000000000000000..d1b782a9ab024e99ed3427cc71718892985cd3a0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_68.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_69.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_69.lua new file mode 100644 index 0000000000000000000000000000000000000000..e46fa510293b098b77e8e91e19ba702766db4144 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_69.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_77.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_77.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b0aadcb7962337dda6e1dd47f9c23552a9d02fa Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_77.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_79.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_79.lua new file mode 100644 index 0000000000000000000000000000000000000000..90403645df8364b1cf4628f1e02ef91ebe638827 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_79.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_80.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_80.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4e06f3621146e7c3c4112906bac93601ad9007b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_80.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_81.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_81.lua new file mode 100644 index 0000000000000000000000000000000000000000..c3fbc932dde3cc2342f84fd7698fb7d887a70ece Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_81.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_82.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_82.lua new file mode 100644 index 0000000000000000000000000000000000000000..bff574908e2df90c72e01293da5c8a711f555336 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_82.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_83.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_83.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e6fd3d0f3b4ea196abe2a87c2c6b1a1416ec320 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_83.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_85.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_85.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8b632bb7b476a05a088ee155e66ba2a0f84b221 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_85.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_88.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_88.lua new file mode 100644 index 0000000000000000000000000000000000000000..fe3edfbbe373041f4562f0869de1f088e4417f3b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_88.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_91.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_91.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e22375431a113184f9640b9a467f4596d1d1e82 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_91.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_95.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_95.lua new file mode 100644 index 0000000000000000000000000000000000000000..36426b04ae173c8134fb69c4ca4dd4f71c4faf61 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_95.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_96.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_96.lua new file mode 100644 index 0000000000000000000000000000000000000000..fc9b81eb9e661ecae1e8e826a01a5dee2b6ba443 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/LevelP2_96.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/W1_1.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/W1_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..878ce1a7b19b61592e4a2121f66fe6f9367d3c51 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/W1_1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/W1_2.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/W1_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5dee4f3e55cfa7d4627e2ea4d4545a835753b4ce --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack2/W1_2.lua @@ -0,0 +1,220 @@ +world = { + ["Estrade02_1"] = { + ["y"] = -0.82861, + ["x"] = -9.32782, + ["name"] = "Estrade02_1", + ["angle"] = 0, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_03_2"] = { + ["y"] = -0.127942, + ["x"] = 54.6668, + ["name"] = "StaticBlockTheme01_03_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_03", + + }, + ["RIO_TNT_1"] = { + ["y"] = -14.7825, + ["x"] = 34.6984, + ["name"] = "RIO_TNT_1", + ["angle"] = 0, + ["definition"] = "RIO_TNT", + + }, + ["Estrade02_2"] = { + ["y"] = -0.891394, + ["x"] = -18.2272, + ["name"] = "Estrade02_2", + ["angle"] = 0, + ["definition"] = "Estrade02", + + }, + ["FLASH_TIRE_1"] = { + ["y"] = -16.127, + ["x"] = 30.1954, + ["name"] = "FLASH_TIRE_1", + ["angle"] = 0, + ["definition"] = "FLASH_TIRE", + + }, + ["CUPRED_1"] = { + ["y"] = -20.7581, + ["x"] = 25.5857, + ["name"] = "CUPRED_1", + ["angle"] = 0, + ["definition"] = "CUPRED", + + }, + ["BOWL_GREEN_4"] = { + ["y"] = -15.1639, + ["x"] = 42.2816, + ["name"] = "BOWL_GREEN_4", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + ["StaticBlockTheme01_04_1"] = { + ["y"] = -2.32778, + ["x"] = -26.3811, + ["name"] = "StaticBlockTheme01_04_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_04", + + }, + ["SPOON_1"] = { + ["y"] = -16.1484, + ["x"] = 27.8478, + ["name"] = "SPOON_1", + ["angle"] = 0, + ["definition"] = "SPOON", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -19.2429, + ["x"] = 34.1862, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 0, + ["definition"] = "RIOCRATESMALL", + + }, + ["BOWL_GREEN_3"] = { + ["y"] = -10.8281, + ["x"] = 42.2872, + ["name"] = "BOWL_GREEN_3", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + ["BOWL_BLUE_3"] = { + ["y"] = -17.3402, + ["x"] = 42.2703, + ["name"] = "BOWL_BLUE_3", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["Estrade01_1"] = { + ["y"] = -5.77855, + ["x"] = -26.2476, + ["name"] = "Estrade01_1", + ["angle"] = 0, + ["definition"] = "Estrade01", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["BOWL_BLUE_4"] = { + ["y"] = -13.0044, + ["x"] = 42.2759, + ["name"] = "BOWL_BLUE_4", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["CEREALBOX_1"] = { + ["y"] = -16.7673, + ["x"] = 18.0095, + ["name"] = "CEREALBOX_1", + ["angle"] = 0, + ["definition"] = "CEREALBOX", + + }, + ["CUPBLUE_1"] = { + ["y"] = -19.627, + ["x"] = 29.5338, + ["name"] = "CUPBLUE_1", + ["angle"] = 0, + ["definition"] = "CUPBLUE", + + }, + ["Estrade02_3"] = { + ["y"] = -3.58559, + ["x"] = -18.0078, + ["name"] = "Estrade02_3", + ["angle"] = 0, + ["definition"] = "Estrade02", + + }, + ["BOWL_GREEN_2"] = { + ["y"] = -6.57456, + ["x"] = 42.2378, + ["name"] = "BOWL_GREEN_2", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + ["BOWL_BLUE_1"] = { + ["y"] = -4.41514, + ["x"] = 42.2321, + ["name"] = "BOWL_BLUE_1", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["BOWL_BLUE_2"] = { + ["y"] = -8.75085, + ["x"] = 42.2265, + ["name"] = "BOWL_BLUE_2", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["BOWL_GREEN_1"] = { + ["y"] = -2.23884, + ["x"] = 42.2434, + ["name"] = "BOWL_GREEN_1", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + ["StaticBlockTheme01_03"] = 2, + ["StaticBlockTheme01_04"] = 1, + ["Estrade01"] = 1, + ["BOWL_GREEN"] = 4, + ["SPOON"] = 1, + ["FLASH_TIRE"] = 1, + ["RIO_TNT"] = 1, + ["RIOCRATESMALL"] = 1, + ["CEREALBOX"] = 1, + ["CUPBLUE"] = 1, + ["CUPRED"] = 1, + ["Estrade02"] = 3, + ["BOWL_BLUE"] = 4, + +} +theme = "theme1" +joints = { + ["BOWL_GREEN_1StaticBlockTheme01_03_2"] = { + ["type"] = 2, + ["end2"] = "StaticBlockTheme01_03_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BOWL_GREEN_1StaticBlockTheme01_03_2", + ["end1"] = "BOWL_GREEN_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/W1_Boss1.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/W1_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..d2fd25d6e5cd41d3477ae68cb7793531a7924c51 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack2/W1_Boss1.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/temp/LevelP2_103.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/LevelP2_103.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd5dd75a35e3225fa105b69a5f63cfb4b76f84f4 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/LevelP2_103.temp.lua @@ -0,0 +1,26 @@ +world = { + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + +} +theme = "theme1" +joints = { + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_1.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..def91f0f639c0c1530e82b20f9c98b90427e4486 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_1.temp.lua @@ -0,0 +1,638 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 151.184, + ["screenWidth"] = 1366, + ["py"] = -448.072, + ["screenHeight"] = 768, + ["top"] = -1047.33, + ["sy"] = 0.640795, + ["sx"] = 0.640795, + ["px"] = 993.106, + ["left"] = -72.7575, + ["right"] = 2058.97, + + }, + +} +levelParticles = { + ["y"] = -2278.17, + ["x"] = 2174.09, + ["firstFrame"] = true, + ["width"] = 7601.53, + +} +joints = { + ["Estrade02_5ground"] = { + ["type"] = 1, + ["end2"] = "ground", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "Estrade02_5ground", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "Estrade02_5", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["Estrade02_6ground"] = { + ["type"] = 1, + ["end2"] = "ground", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "Estrade02_6ground", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "Estrade02_6", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["LightBlock10_6LightBlock10_5"] = { + ["type"] = 2, + ["end2"] = "LightBlock10_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock10_6LightBlock10_5", + ["end1"] = "LightBlock10_6", + ["collideConnected"] = true, + ["x1"] = 0, + + }, + ["LargePiglette_4SPOON_3"] = { + ["type"] = 2, + ["end2"] = "SPOON_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_4SPOON_3", + ["end1"] = "LargePiglette_4", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} +world = { + ["LightBlock1_5"] = { + ["y"] = -19.335, + ["x"] = 51.8454, + ["name"] = "LightBlock1_5", + ["angle"] = 1.55689, + ["definition"] = "LightBlock1", + + }, + ["RedBird_3"] = { + ["y"] = -0.823723, + ["x"] = -20.656, + ["name"] = "RedBird_3", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["WoodBlock10_10"] = { + ["y"] = -6.90862, + ["x"] = 71.7258, + ["name"] = "WoodBlock10_10", + ["angle"] = 1.5594, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock1_4"] = { + ["y"] = -17.2741, + ["x"] = 60.2557, + ["name"] = "LightBlock1_4", + ["angle"] = 1.57352, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock4_4"] = { + ["y"] = -15.7233, + ["x"] = 52.1772, + ["name"] = "StoneBlock4_4", + ["angle"] = 1.54954, + ["definition"] = "StoneBlock4", + + }, + ["CUPRED_2"] = { + ["y"] = -7.91353, + ["x"] = 45.3341, + ["name"] = "CUPRED_2", + ["angle"] = -0.00919229, + ["definition"] = "CUPRED", + + }, + ["MediumPiglette_4"] = { + ["y"] = -8.52581, + ["x"] = 41.7865, + ["name"] = "MediumPiglette_4", + ["angle"] = -0.000280205, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock1_4"] = { + ["y"] = -13.3035, + ["x"] = 55.3521, + ["name"] = "StoneBlock1_4", + ["angle"] = -3.13783, + ["definition"] = "StoneBlock1", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -7.70705, + ["x"] = 52.4641, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = -0.00788862, + ["definition"] = "RIOCRATESMALL", + + }, + ["Estrade02_4"] = { + ["y"] = 1.94178, + ["x"] = 22.0437, + ["name"] = "Estrade02_4", + ["angle"] = -0.785425, + ["definition"] = "Estrade02", + + }, + ["SIGN_2_1"] = { + ["y"] = -1.49969, + ["x"] = 61.6519, + ["name"] = "SIGN_2_1", + ["angle"] = -1.1781, + ["definition"] = "SIGN_2", + + }, + ["ExtraApple_2"] = { + ["y"] = -2.81994, + ["x"] = 67.7501, + ["name"] = "ExtraApple_2", + ["angle"] = 2.14527, + ["definition"] = "ExtraApple", + + }, + ["WoodBlock10_11"] = { + ["y"] = -18.306, + ["x"] = 55.9883, + ["name"] = "WoodBlock10_11", + ["angle"] = -0.0160316, + ["definition"] = "WoodBlock10", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -0.570618, + ["x"] = -27.9726, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["ExtraBlockFlag01_2"] = { + ["y"] = -2.98593, + ["x"] = 20.9119, + ["name"] = "ExtraBlockFlag01_2", + ["angle"] = 0.0106007, + ["definition"] = "ExtraBlockFlag01", + + }, + ["BUSH_1_3"] = { + ["y"] = -1.33223, + ["x"] = 28.245, + ["name"] = "BUSH_1_3", + ["angle"] = 1.96363, + ["definition"] = "BUSH_1", + + }, + ["WoodBlock10_9"] = { + ["y"] = -6.16467, + ["x"] = 45.549, + ["name"] = "WoodBlock10_9", + ["angle"] = -3.01992e-007, + ["definition"] = "WoodBlock10", + + }, + ["SmallPiglette_2"] = { + ["y"] = -13.8062, + ["x"] = 58.5028, + ["name"] = "SmallPiglette_2", + ["angle"] = 0.780241, + ["definition"] = "SmallPiglette", + + }, + ["ExtraApple_5"] = { + ["y"] = -19.9736, + ["x"] = 53.5812, + ["name"] = "ExtraApple_5", + ["angle"] = 0.532653, + ["definition"] = "ExtraApple", + + }, + ["StaticBlockTheme01_01_1"] = { + ["y"] = -3.1578, + ["x"] = -13.953, + ["name"] = "StaticBlockTheme01_01_1", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme01_01", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -0.575259, + ["x"] = -24.4199, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["BUSH_1_4"] = { + ["y"] = -0.913605, + ["x"] = 31.4266, + ["name"] = "BUSH_1_4", + ["angle"] = 1.96363, + ["definition"] = "BUSH_1", + + }, + ["LightBlock3_1"] = { + ["y"] = -6.65215, + ["x"] = 33.4623, + ["name"] = "LightBlock3_1", + ["angle"] = 0.00524634, + ["definition"] = "LightBlock3", + + }, + ["MediumPiglette_5"] = { + ["y"] = -8.52504, + ["x"] = 48.5173, + ["name"] = "MediumPiglette_5", + ["angle"] = -0.0362509, + ["definition"] = "MediumPiglette", + + }, + ["Estrade02_6"] = { + ["y"] = -0.0488385, + ["x"] = 61.3367, + ["name"] = "Estrade02_6", + ["angle"] = -2.74891, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -0.654675, + ["x"] = 37.1031, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["Estrade02_5"] = { + ["y"] = -0.221933, + ["x"] = 30.2658, + ["name"] = "Estrade02_5", + ["angle"] = 2.74887, + ["definition"] = "Estrade02", + + }, + ["StoneBlock11_1"] = { + ["y"] = -4.56092, + ["x"] = 29.6993, + ["name"] = "StoneBlock11_1", + ["angle"] = 1.96339, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock4_2"] = { + ["y"] = -14.7334, + ["x"] = 60.1413, + ["name"] = "LightBlock4_2", + ["angle"] = 1.57455, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -0.654675, + ["x"] = 46.1042, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["Estrade02_1"] = { + ["y"] = -2.55874, + ["x"] = 28.881, + ["name"] = "Estrade02_1", + ["angle"] = -0.392695, + ["definition"] = "Estrade02", + + }, + ["LightBlock6_1"] = { + ["y"] = -7.83883, + ["x"] = 35.3209, + ["name"] = "LightBlock6_1", + ["angle"] = 0.449055, + ["definition"] = "LightBlock6", + + }, + ["LightBlock10_6"] = { + ["y"] = -12.2193, + ["x"] = 59.0849, + ["name"] = "LightBlock10_6", + ["angle"] = 0.0039247, + ["definition"] = "LightBlock10", + + }, + ["SPOON_3"] = { + ["y"] = -14.9357, + ["x"] = 67.1902, + ["name"] = "SPOON_3", + ["angle"] = 0.35253, + ["definition"] = "SPOON", + + }, + ["BUSH_1_1"] = { + ["y"] = -2.1695, + ["x"] = 22.0492, + ["name"] = "BUSH_1_1", + ["angle"] = 0.000124931, + ["definition"] = "BUSH_1", + + }, + ["LargePiglette_4"] = { + ["y"] = -15.0349, + ["x"] = 63.8283, + ["name"] = "LargePiglette_4", + ["angle"] = -0.0401688, + ["definition"] = "LargePiglette", + + }, + ["WoodBlock10_6"] = { + ["y"] = -6.9141, + ["x"] = 69.4799, + ["name"] = "WoodBlock10_6", + ["angle"] = 1.56149, + ["definition"] = "WoodBlock10", + + }, + ["StoneBlock6_1"] = { + ["y"] = -0.673692, + ["x"] = -5.00286, + ["name"] = "StoneBlock6_1", + ["angle"] = 0.00369497, + ["definition"] = "StoneBlock6", + + }, + ["SIGN_2_2"] = { + ["y"] = -1.49969, + ["x"] = 29.7521, + ["name"] = "SIGN_2_2", + ["angle"] = 1.17811, + ["definition"] = "SIGN_2", + + }, + ["StoneBlock5_4"] = { + ["y"] = -6.70056, + ["x"] = 56.9134, + ["name"] = "StoneBlock5_4", + ["angle"] = -0.028893, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock1_1"] = { + ["y"] = -6.16467, + ["x"] = 35.0812, + ["name"] = "LightBlock1_1", + ["angle"] = 4.99399e-007, + ["definition"] = "LightBlock1", + + }, + ["RedBird_1"] = { + ["y"] = -6.48279, + ["x"] = -13.9745, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 7.81249e-006, + ["definition"] = "RedBird", + + }, + ["WoodBlock5_3"] = { + ["y"] = -11.7561, + ["x"] = 52.2828, + ["name"] = "WoodBlock5_3", + ["angle"] = 1.54858, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock4_3"] = { + ["y"] = -9.70757, + ["x"] = 56.8787, + ["name"] = "LightBlock4_3", + ["angle"] = 1.56295, + ["definition"] = "LightBlock4", + + }, + ["BUSH_2_2"] = { + ["y"] = -0.0763367, + ["x"] = 29.5009, + ["name"] = "BUSH_2_2", + ["angle"] = 2.74903, + ["definition"] = "BUSH_2", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 25.0131, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["ExtraApple_3"] = { + ["y"] = -4.00649, + ["x"] = 65.6828, + ["name"] = "ExtraApple_3", + ["angle"] = -2.43863, + ["definition"] = "ExtraApple", + + }, + ["BOWL_GREEN_3"] = { + ["y"] = -13.8747, + ["x"] = 69.8802, + ["name"] = "BOWL_GREEN_3", + ["angle"] = -0.00413983, + ["definition"] = "BOWL_GREEN", + + }, + ["BUSH_1_2"] = { + ["y"] = -5.0162, + ["x"] = 29.8358, + ["name"] = "BUSH_1_2", + ["angle"] = 0.000124931, + ["definition"] = "BUSH_1", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -0.654675, + ["x"] = 54.1532, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["ExtraApple_1"] = { + ["y"] = -1.29144, + ["x"] = 74.373, + ["name"] = "ExtraApple_1", + ["angle"] = 5.81741e-005, + ["definition"] = "ExtraApple", + + }, + ["LightBlock10_5"] = { + ["y"] = -12.2576, + ["x"] = 69.2288, + ["name"] = "LightBlock10_5", + ["angle"] = 0.0039247, + ["definition"] = "LightBlock10", + + }, + ["Estrade02_2"] = { + ["y"] = -2.64529, + ["x"] = 61.9425, + ["name"] = "Estrade02_2", + ["angle"] = 0.392696, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = 1.76945, + ["x"] = -14.0131, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 0.785406, + ["definition"] = "StaticBlockTheme01_05", + + }, + ["BUSH_2_1"] = { + ["y"] = -2.73279, + ["x"] = 62.2191, + ["name"] = "BUSH_2_1", + ["angle"] = 0.000107288, + ["definition"] = "BUSH_2", + + }, + ["Estrade02_3"] = { + ["y"] = 2.02832, + ["x"] = 68.6933, + ["name"] = "Estrade02_3", + ["angle"] = 0.785394, + ["definition"] = "Estrade02", + + }, + ["StoneBlock1_2"] = { + ["y"] = -13.3521, + ["x"] = 73.5011, + ["name"] = "StoneBlock1_2", + ["angle"] = 0.011259, + ["definition"] = "StoneBlock1", + + }, + ["SmallPiglette_1"] = { + ["y"] = -19.8888, + ["x"] = 55.8488, + ["name"] = "SmallPiglette_1", + ["angle"] = 0.351019, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock5_2"] = { + ["y"] = -1.09394, + ["x"] = 70.6462, + ["name"] = "StoneBlock5_2", + ["angle"] = -0.000245685, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock1_6"] = { + ["y"] = -19.4665, + ["x"] = 60.2233, + ["name"] = "LightBlock1_6", + ["angle"] = 1.55495, + ["definition"] = "LightBlock1", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraBlockFlag01"] = 2, + ["StoneBlock6"] = 2, + ["BOWL_GREEN"] = 3, + ["MediumPiglette"] = 5, + ["WoodBlock11"] = 1, + ["StoneBlock11"] = 1, + ["StoneBlock3"] = 1, + ["RedBird"] = 4, + ["StoneBlock2"] = 1, + ["CUPBLUE"] = 1, + ["SPOON"] = 3, + ["StoneBlock1"] = 4, + ["SIGN_2"] = 2, + ["StaticBlockTheme01_05"] = 4, + ["LargePiglette"] = 4, + ["WoodBlock5"] = 3, + ["HandsomePiglette"] = 1, + ["WoodBlock9"] = 1, + ["StoneBlock10"] = 3, + ["BUSH_2"] = 3, + ["SmallPiglette"] = 2, + ["LightBlock6"] = 1, + ["StoneBlock4"] = 4, + ["LightBlock4"] = 3, + ["SmallBlueBird"] = 2, + ["StaticBlockTheme01_01"] = 2, + ["WoodBlock10"] = 11, + ["CEREALBOX"] = 2, + ["WoodBlock2"] = 1, + ["RIOCRATESMALL"] = 1, + ["Estrade02"] = 7, + ["ExtraApple"] = 5, + ["StoneBlock5"] = 4, + ["BUSH_1"] = 4, + ["LightBlock1"] = 6, + ["LightBlock10"] = 6, + ["LightBlock5"] = 6, + ["LightBlock3"] = 2, + ["CUPRED"] = 2, + ["BOWL_BLUE"] = 1, + ["WoodBlock12"] = 1, + +} +theme = "theme1" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 238.713, + ["screenWidth"] = 1366, + ["py"] = -133.138, + ["screenHeight"] = 768, + ["top"] = -776.158, + ["sy"] = 0.597182, + ["sx"] = 0.597182, + ["right"] = 2214.65, + ["left"] = -1054.82, + ["px"] = 88.8841, + + }, + +} +filename = "W1_1.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_2.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_2.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..5dee4f3e55cfa7d4627e2ea4d4545a835753b4ce --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_2.temp.lua @@ -0,0 +1,220 @@ +world = { + ["Estrade02_1"] = { + ["y"] = -0.82861, + ["x"] = -9.32782, + ["name"] = "Estrade02_1", + ["angle"] = 0, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_03_2"] = { + ["y"] = -0.127942, + ["x"] = 54.6668, + ["name"] = "StaticBlockTheme01_03_2", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_03", + + }, + ["RIO_TNT_1"] = { + ["y"] = -14.7825, + ["x"] = 34.6984, + ["name"] = "RIO_TNT_1", + ["angle"] = 0, + ["definition"] = "RIO_TNT", + + }, + ["Estrade02_2"] = { + ["y"] = -0.891394, + ["x"] = -18.2272, + ["name"] = "Estrade02_2", + ["angle"] = 0, + ["definition"] = "Estrade02", + + }, + ["FLASH_TIRE_1"] = { + ["y"] = -16.127, + ["x"] = 30.1954, + ["name"] = "FLASH_TIRE_1", + ["angle"] = 0, + ["definition"] = "FLASH_TIRE", + + }, + ["CUPRED_1"] = { + ["y"] = -20.7581, + ["x"] = 25.5857, + ["name"] = "CUPRED_1", + ["angle"] = 0, + ["definition"] = "CUPRED", + + }, + ["BOWL_GREEN_4"] = { + ["y"] = -15.1639, + ["x"] = 42.2816, + ["name"] = "BOWL_GREEN_4", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + ["StaticBlockTheme01_04_1"] = { + ["y"] = -2.32778, + ["x"] = -26.3811, + ["name"] = "StaticBlockTheme01_04_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_04", + + }, + ["SPOON_1"] = { + ["y"] = -16.1484, + ["x"] = 27.8478, + ["name"] = "SPOON_1", + ["angle"] = 0, + ["definition"] = "SPOON", + + }, + ["RIOCRATESMALL_1"] = { + ["y"] = -19.2429, + ["x"] = 34.1862, + ["name"] = "RIOCRATESMALL_1", + ["angle"] = 0, + ["definition"] = "RIOCRATESMALL", + + }, + ["BOWL_GREEN_3"] = { + ["y"] = -10.8281, + ["x"] = 42.2872, + ["name"] = "BOWL_GREEN_3", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + ["BOWL_BLUE_3"] = { + ["y"] = -17.3402, + ["x"] = 42.2703, + ["name"] = "BOWL_BLUE_3", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["Estrade01_1"] = { + ["y"] = -5.77855, + ["x"] = -26.2476, + ["name"] = "Estrade01_1", + ["angle"] = 0, + ["definition"] = "Estrade01", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["BOWL_BLUE_4"] = { + ["y"] = -13.0044, + ["x"] = 42.2759, + ["name"] = "BOWL_BLUE_4", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["CEREALBOX_1"] = { + ["y"] = -16.7673, + ["x"] = 18.0095, + ["name"] = "CEREALBOX_1", + ["angle"] = 0, + ["definition"] = "CEREALBOX", + + }, + ["CUPBLUE_1"] = { + ["y"] = -19.627, + ["x"] = 29.5338, + ["name"] = "CUPBLUE_1", + ["angle"] = 0, + ["definition"] = "CUPBLUE", + + }, + ["Estrade02_3"] = { + ["y"] = -3.58559, + ["x"] = -18.0078, + ["name"] = "Estrade02_3", + ["angle"] = 0, + ["definition"] = "Estrade02", + + }, + ["BOWL_GREEN_2"] = { + ["y"] = -6.57456, + ["x"] = 42.2378, + ["name"] = "BOWL_GREEN_2", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + ["BOWL_BLUE_1"] = { + ["y"] = -4.41514, + ["x"] = 42.2321, + ["name"] = "BOWL_BLUE_1", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["BOWL_BLUE_2"] = { + ["y"] = -8.75085, + ["x"] = 42.2265, + ["name"] = "BOWL_BLUE_2", + ["angle"] = 0, + ["definition"] = "BOWL_BLUE", + + }, + ["BOWL_GREEN_1"] = { + ["y"] = -2.23884, + ["x"] = 42.2434, + ["name"] = "BOWL_GREEN_1", + ["angle"] = 0, + ["definition"] = "BOWL_GREEN", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + ["StaticBlockTheme01_03"] = 2, + ["StaticBlockTheme01_04"] = 1, + ["Estrade01"] = 1, + ["BOWL_GREEN"] = 4, + ["SPOON"] = 1, + ["FLASH_TIRE"] = 1, + ["RIO_TNT"] = 1, + ["RIOCRATESMALL"] = 1, + ["CEREALBOX"] = 1, + ["CUPBLUE"] = 1, + ["CUPRED"] = 1, + ["Estrade02"] = 3, + ["BOWL_BLUE"] = 4, + +} +theme = "theme1" +joints = { + ["BOWL_GREEN_1StaticBlockTheme01_03_2"] = { + ["type"] = 2, + ["end2"] = "StaticBlockTheme01_03_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BOWL_GREEN_1StaticBlockTheme01_03_2", + ["end1"] = "BOWL_GREEN_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_Boss1.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_Boss1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..0a9c2cf0ab974112d4ac05279a445380e7674213 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack2/temp/W1_Boss1.temp.lua @@ -0,0 +1,2065 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 325.876, + ["screenWidth"] = 1366, + ["py"] = -826.198, + ["screenHeight"] = 768, + ["top"] = -1978.27, + ["sy"] = 0.333312, + ["sx"] = 0.333312, + ["right"] = 2839.57, + ["left"] = -1258.69, + ["px"] = 790.437, + + }, + +} +levelParticles = { + ["y"] = -3681.18, + ["x"] = 3122.94, + ["firstFrame"] = true, + ["width"] = 12344, + +} +joints = { + ["ExtraRopeThick01_3ExtraRopeThick01_8"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_8", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_3ExtraRopeThick01_8", + ["end1"] = "ExtraRopeThick01_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["StaticBlockTheme01_05_1ExtraRopeThick01_8"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_8", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme01_05_1ExtraRopeThick01_8", + ["end1"] = "StaticBlockTheme01_05_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["BP_WOOD_2BP_WOOD_1"] = { + ["type"] = 2, + ["end2"] = "BP_WOOD_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BP_WOOD_2BP_WOOD_1", + ["end1"] = "BP_WOOD_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["BP_WOOD_1ExtraRopeThick01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BP_WOOD_1ExtraRopeThick01_1", + ["end1"] = "BP_WOOD_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SPOON_1MediumPiglette_2"] = { + ["type"] = 2, + ["end2"] = "MediumPiglette_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SPOON_1MediumPiglette_2", + ["end1"] = "SPOON_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["BLOCK_GREEN_GOGGLES_1LargePiglette_2"] = { + ["type"] = 2, + ["end2"] = "LargePiglette_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BLOCK_GREEN_GOGGLES_1LargePiglette_2", + ["end1"] = "BLOCK_GREEN_GOGGLES_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["StaticBlockTheme01_05_2ExtraRopeThick01_5"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StaticBlockTheme01_05_2ExtraRopeThick01_5", + ["end1"] = "StaticBlockTheme01_05_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_4ExtraRopeThick01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_4ExtraRopeThick01_1", + ["end1"] = "ExtraRopeThick01_4", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["BP_WOOD_2ExtraRopeThin01_2"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BP_WOOD_2ExtraRopeThin01_2", + ["end1"] = "BP_WOOD_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["MediumPiglette_2StaticBalloon04_1"] = { + ["type"] = 1, + ["end2"] = "StaticBalloon04_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "MediumPiglette_2StaticBalloon04_1", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "MediumPiglette_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["BP_WOOD_3ExtraRopeThick01_2"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BP_WOOD_3ExtraRopeThick01_2", + ["end1"] = "BP_WOOD_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_5ExtraRopeThick01_4"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_4", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_5ExtraRopeThick01_4", + ["end1"] = "ExtraRopeThick01_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["MediumPiglette_1BP_WOOD_2"] = { + ["type"] = 2, + ["end2"] = "BP_WOOD_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "MediumPiglette_1BP_WOOD_2", + ["end1"] = "MediumPiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThin01_2LargePiglette_2"] = { + ["type"] = 2, + ["end2"] = "LargePiglette_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_2LargePiglette_2", + ["end1"] = "ExtraRopeThin01_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["HelmetPiglette_2StaticBalloon04_2"] = { + ["type"] = 1, + ["end2"] = "StaticBalloon04_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "HelmetPiglette_2StaticBalloon04_2", + ["collideConnected"] = 0, + ["x1"] = 0, + ["end1"] = "HelmetPiglette_2", + ["dampingRatio"] = 0.5, + ["frequency"] = 4, + + }, + ["ExtraRopeThick01_2ExtraRopeThick01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_2ExtraRopeThick01_3", + ["end1"] = "ExtraRopeThick01_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["BP_WOOD_3BP_WOOD_2"] = { + ["type"] = 2, + ["end2"] = "BP_WOOD_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BP_WOOD_3BP_WOOD_2", + ["end1"] = "BP_WOOD_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["MECHANIC_HAT_1LargePiglette_1"] = { + ["type"] = 2, + ["end2"] = "LargePiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "MECHANIC_HAT_1LargePiglette_1", + ["end1"] = "MECHANIC_HAT_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["LargePiglette_1BLOCK_GREEN_SPANNER_2_1"] = { + ["type"] = 2, + ["end2"] = "BLOCK_GREEN_SPANNER_2_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LargePiglette_1BLOCK_GREEN_SPANNER_2_1", + ["end1"] = "LargePiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["BP_WOOD_1CUPRED_1"] = { + ["type"] = 2, + ["end2"] = "CUPRED_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "BP_WOOD_1CUPRED_1", + ["end1"] = "BP_WOOD_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["LightBlock6_3LightBlock6_2"] = { + ["type"] = 2, + ["end2"] = "LightBlock6_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "LightBlock6_3LightBlock6_2", + ["end1"] = "LightBlock6_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} +world = { + ["StaticBlockTheme01_03_6"] = { + ["y"] = -10.3702, + ["x"] = -27.0272, + ["name"] = "StaticBlockTheme01_03_6", + ["angle"] = 0.393107, + ["definition"] = "StaticBlockTheme05_03", + + }, + ["ExtraRopeThick01_2"] = { + ["y"] = -38.5213, + ["x"] = 48.4756, + ["name"] = "ExtraRopeThick01_2", + ["angle"] = 3.53529, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_05_49"] = { + ["y"] = -3.02886, + ["x"] = 88.2539, + ["name"] = "StaticBlockTheme01_05_49", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_52"] = { + ["y"] = -3.38484, + ["x"] = 65.2046, + ["name"] = "StaticBlockTheme01_05_52", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_33"] = { + ["y"] = 2.40553, + ["x"] = 12.0058, + ["name"] = "StaticBlockTheme01_05_33", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["BP_WOOD_2"] = { + ["y"] = -33.1497, + ["x"] = 39.6384, + ["name"] = "BP_WOOD_2", + ["angle"] = 0.000161987, + ["definition"] = "BP_WOOD", + + }, + ["StaticBlockTheme01_05_29"] = { + ["y"] = -7.923, + ["x"] = 38.7231, + ["name"] = "StaticBlockTheme01_05_29", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_94"] = { + ["y"] = -3.11093, + ["x"] = -61.5024, + ["name"] = "StaticBlockTheme01_05_94", + ["angle"] = 1.5713, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock2_1"] = { + ["y"] = -1.63725, + ["x"] = 3.13403, + ["name"] = "StoneBlock2_1", + ["angle"] = 0.00320184, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme01_05_60"] = { + ["y"] = -15.8429, + ["x"] = -64.7084, + ["name"] = "StaticBlockTheme01_05_60", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["BP_WOOD_3"] = { + ["y"] = -33.1491, + ["x"] = 44.7774, + ["name"] = "BP_WOOD_3", + ["angle"] = 0.000235065, + ["definition"] = "BP_WOOD", + + }, + ["StaticBlockTheme01_04_7"] = { + ["y"] = -6.14363, + ["x"] = 97.3312, + ["name"] = "StaticBlockTheme01_04_7", + ["angle"] = 2.74891, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -65.6046, + ["x"] = 58.7885, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_9"] = { + ["y"] = -1.60497, + ["x"] = 93.7715, + ["name"] = "StaticBlockTheme01_04_9", + ["angle"] = 5.10511, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBlockTheme01_05_44"] = { + ["y"] = -17.4458, + ["x"] = 89.6962, + ["name"] = "StaticBlockTheme01_05_44", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["CUPBLUE_1"] = { + ["y"] = -27.0022, + ["x"] = -77.0072, + ["name"] = "CUPBLUE_1", + ["angle"] = 6.2717, + ["definition"] = "CUPBLUE", + + }, + ["StaticBlockTheme01_05_41"] = { + ["y"] = -12.927, + ["x"] = 67.4372, + ["name"] = "StaticBlockTheme01_05_41", + ["angle"] = 1.17811, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["Estrade02_5"] = { + ["y"] = -7.78427, + ["x"] = -84.8666, + ["name"] = "Estrade02_5", + ["angle"] = 5.49825, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_05_91"] = { + ["y"] = -2.77887, + ["x"] = -53.2009, + ["name"] = "StaticBlockTheme01_05_91", + ["angle"] = 0.000495434, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock3_1"] = { + ["y"] = -34.2878, + ["x"] = 100.381, + ["name"] = "LightBlock3_1", + ["angle"] = 1.65658, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -57.9447, + ["x"] = 22.9708, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["Estrade02_1"] = { + ["y"] = -23.3727, + ["x"] = 95.8261, + ["name"] = "Estrade02_1", + ["angle"] = 2.28882e-005, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_05_59"] = { + ["y"] = -12.3522, + ["x"] = -52.1503, + ["name"] = "StaticBlockTheme01_05_59", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["BP_WOOD_1"] = { + ["y"] = -33.1502, + ["x"] = 34.4418, + ["name"] = "BP_WOOD_1", + ["angle"] = 0.00021001, + ["definition"] = "BP_WOOD", + + }, + ["StaticBlockTheme01_05_66"] = { + ["y"] = -9.68683, + ["x"] = -47.962, + ["name"] = "StaticBlockTheme01_05_66", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock4_4"] = { + ["y"] = -22.2033, + ["x"] = 76.6662, + ["name"] = "LightBlock4_4", + ["angle"] = 1.57107, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_89"] = { + ["y"] = -1.45064, + ["x"] = -42.6581, + ["name"] = "StaticBlockTheme01_05_89", + ["angle"] = 0.000495434, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["WoodBlock9_1"] = { + ["y"] = -34.3135, + ["x"] = 89.0861, + ["name"] = "WoodBlock9_1", + ["angle"] = 6.2443, + ["definition"] = "WoodBlock9", + + }, + ["StoneBlock5_3"] = { + ["y"] = -24.7779, + ["x"] = -77.4048, + ["name"] = "StoneBlock5_3", + ["angle"] = 6.27165, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_05_36"] = { + ["y"] = -2.65237, + ["x"] = 47.2962, + ["name"] = "StaticBlockTheme01_05_36", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock4_3"] = { + ["y"] = -14.8346, + ["x"] = 44.525, + ["name"] = "LightBlock4_3", + ["angle"] = 1.57527, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -78.9928, + ["x"] = 27.1895, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 0.78537, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock5_1"] = { + ["y"] = -2.38248, + ["x"] = 6.18498, + ["name"] = "StoneBlock5_1", + ["angle"] = 5.89036, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -65.393, + ["x"] = 21.5102, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["ExtraRopeThick01_5"] = { + ["y"] = -50.3963, + ["x"] = 25.7237, + ["name"] = "ExtraRopeThick01_5", + ["angle"] = 2.74889, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock6_1"] = { + ["y"] = -26.3508, + ["x"] = 90.7703, + ["name"] = "WoodBlock6_1", + ["angle"] = 1.58795, + ["definition"] = "WoodBlock6", + + }, + ["YellowBird_2"] = { + ["y"] = -21.5942, + ["x"] = -64.6729, + ["name"] = "YellowBird_2", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["LargePiglette_1"] = { + ["y"] = -37.9638, + ["x"] = 43.5505, + ["name"] = "LargePiglette_1", + ["angle"] = 6.19439, + ["definition"] = "LargePiglette", + + }, + ["Estrade02_3"] = { + ["y"] = -1.87394, + ["x"] = 101.239, + ["name"] = "Estrade02_3", + ["angle"] = 0.785543, + ["definition"] = "Estrade02", + + }, + ["ExtraRopeThick01_4"] = { + ["y"] = -44.4678, + ["x"] = 28.2165, + ["name"] = "ExtraRopeThick01_4", + ["angle"] = 2.74996, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_05_37"] = { + ["y"] = -7.82523, + ["x"] = 50.6872, + ["name"] = "StaticBlockTheme01_05_37", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_22"] = { + ["y"] = -79.9876, + ["x"] = 47.4681, + ["name"] = "StaticBlockTheme01_05_22", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock3_1"] = { + ["y"] = -38.2266, + ["x"] = 85.7878, + ["name"] = "StoneBlock3_1", + ["angle"] = 6.24163, + ["definition"] = "StoneBlock3", + + }, + ["StaticBlockTheme01_05_82"] = { + ["y"] = 0.126627, + ["x"] = -88.731, + ["name"] = "StaticBlockTheme01_05_82", + ["angle"] = 0.785878, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_03_2"] = { + ["y"] = -62.409, + ["x"] = 39.5625, + ["name"] = "StaticBlockTheme01_03_2", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme05_03", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 5.4344, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_38"] = { + ["y"] = -2.76732, + ["x"] = 50.8022, + ["name"] = "StaticBlockTheme01_05_38", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_81"] = { + ["y"] = -9.4848, + ["x"] = -72.9165, + ["name"] = "StaticBlockTheme01_05_81", + ["angle"] = 1.57123, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_54"] = { + ["y"] = -7.38954, + ["x"] = 73.8369, + ["name"] = "StaticBlockTheme01_05_54", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_03_1"] = { + ["y"] = -61.7968, + ["x"] = 42.547, + ["name"] = "StaticBlockTheme01_03_1", + ["angle"] = 0.392683, + ["definition"] = "StaticBlockTheme05_03", + + }, + ["LightBlock5_3"] = { + ["y"] = -21.2246, + ["x"] = 74.0783, + ["name"] = "LightBlock5_3", + ["angle"] = 6.28219, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_63"] = { + ["y"] = -9.87722, + ["x"] = -51.0081, + ["name"] = "StaticBlockTheme01_05_63", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["BLOCK_GREEN_GOGGLES_1"] = { + ["y"] = -22.0663, + ["x"] = 39.5437, + ["name"] = "BLOCK_GREEN_GOGGLES_1", + ["angle"] = 3.14159, + ["definition"] = "BLOCK_GREEN_GOGGLES", + + }, + ["StoneBlock10_2"] = { + ["y"] = -0.589552, + ["x"] = -0.476213, + ["name"] = "StoneBlock10_2", + ["angle"] = 0.000667628, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -83.7373, + ["x"] = 42.188, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock4_2"] = { + ["y"] = -19.3205, + ["x"] = 49.7337, + ["name"] = "LightBlock4_2", + ["angle"] = 0.0688933, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_10"] = { + ["y"] = -18.2568, + ["x"] = -58.792, + ["name"] = "StaticBlockTheme01_04_10", + ["angle"] = 4.71281, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBalloon04_2"] = { + ["y"] = -39.628, + ["x"] = 60.2907, + ["name"] = "StaticBalloon04_2", + ["angle"] = 0.000230789, + ["definition"] = "StaticBalloon04", + + }, + ["StaticBlockTheme01_05_30"] = { + ["y"] = -5.29885, + ["x"] = 31.4958, + ["name"] = "StaticBlockTheme01_05_30", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["SPOON_3"] = { + ["y"] = -26.8425, + ["x"] = 93.1216, + ["name"] = "SPOON_3", + ["angle"] = 0, + ["definition"] = "SPOON", + + }, + ["Estrade02_2"] = { + ["y"] = 0.11006, + ["x"] = 99.6722, + ["name"] = "Estrade02_2", + ["angle"] = 3.92711, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_05_23"] = { + ["y"] = -72.4118, + ["x"] = 49.2282, + ["name"] = "StaticBlockTheme01_05_23", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["WoodBlock10_1"] = { + ["y"] = -27.3302, + ["x"] = 100.862, + ["name"] = "WoodBlock10_1", + ["angle"] = 1.55187, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_77"] = { + ["y"] = -8.64095, + ["x"] = -64.6483, + ["name"] = "StaticBlockTheme01_05_77", + ["angle"] = 4.71281, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock10_1"] = { + ["y"] = -5.36434, + ["x"] = 14.6478, + ["name"] = "StoneBlock10_1", + ["angle"] = 5.89007, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_03_4"] = { + ["y"] = -13.3018, + ["x"] = 54.7563, + ["name"] = "StaticBlockTheme01_03_4", + ["angle"] = 5.89049, + ["definition"] = "StaticBlockTheme05_03", + + }, + ["ExtraRopeThick01_8"] = { + ["y"] = -50.4649, + ["x"] = 53.5155, + ["name"] = "ExtraRopeThick01_8", + ["angle"] = 3.53429, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock3_2"] = { + ["y"] = -28.6534, + ["x"] = -81.4576, + ["name"] = "WoodBlock3_2", + ["angle"] = 6.27155, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -72.7179, + ["x"] = 23.0572, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 5.10507, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_4"] = { + ["y"] = -85.4974, + ["x"] = 48.2334, + ["name"] = "StaticBlockTheme01_04_4", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["ExtraRopeThin01_2"] = { + ["y"] = -27.3884, + ["x"] = 39.5556, + ["name"] = "ExtraRopeThin01_2", + ["angle"] = 0, + ["definition"] = "ExtraRopeThin01", + + }, + ["StaticBlockTheme01_05_21"] = { + ["y"] = -80.9824, + ["x"] = 35.3774, + ["name"] = "StaticBlockTheme01_05_21", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock5_2"] = { + ["y"] = -4.42791, + ["x"] = 8.58648, + ["name"] = "StoneBlock5_2", + ["angle"] = 1.17785, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_05_43"] = { + ["y"] = -15.275, + ["x"] = 82.4375, + ["name"] = "StaticBlockTheme01_05_43", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_80"] = { + ["y"] = -12.6916, + ["x"] = -74.1824, + ["name"] = "StaticBlockTheme01_05_80", + ["angle"] = 1.57123, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["SPOON_2"] = { + ["y"] = -19.9176, + ["x"] = 52.6064, + ["name"] = "SPOON_2", + ["angle"] = 5.16834, + ["definition"] = "SPOON", + + }, + ["StaticBlockTheme01_04_13"] = { + ["y"] = -17.1933, + ["x"] = -53.654, + ["name"] = "StaticBlockTheme01_04_13", + ["angle"] = 0.000477791, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBlockTheme01_05_76"] = { + ["y"] = -14.3526, + ["x"] = -54.0203, + ["name"] = "StaticBlockTheme01_05_76", + ["angle"] = 3.53471, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_28"] = { + ["y"] = -7.923, + ["x"] = 47.1531, + ["name"] = "StaticBlockTheme01_05_28", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["BOWL_GREEN_1"] = { + ["y"] = -21.2661, + ["x"] = 79.8966, + ["name"] = "BOWL_GREEN_1", + ["angle"] = 0.00577925, + ["definition"] = "BOWL_GREEN", + + }, + ["StaticBlockTheme01_05_79"] = { + ["y"] = -17.6705, + ["x"] = -79.1614, + ["name"] = "StaticBlockTheme01_05_79", + ["angle"] = 4.71281, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_55"] = { + ["y"] = -8.19049, + ["x"] = 84.1602, + ["name"] = "StaticBlockTheme01_05_55", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_58"] = { + ["y"] = -15.8429, + ["x"] = -61.472, + ["name"] = "StaticBlockTheme01_05_58", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -84.7321, + ["x"] = 49.9934, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBlockTheme01_05_27"] = { + ["y"] = -62.6399, + ["x"] = 40.1034, + ["name"] = "StaticBlockTheme01_05_27", + ["angle"] = 0.785388, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["YellowBird_3"] = { + ["y"] = -18.1017, + ["x"] = -45.2524, + ["name"] = "YellowBird_3", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme01_05_39"] = { + ["y"] = -15.2383, + ["x"] = 73.9963, + ["name"] = "StaticBlockTheme01_05_39", + ["angle"] = 5.24521e-006, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock5_6"] = { + ["y"] = -16.8621, + ["x"] = 48.0611, + ["name"] = "LightBlock5_6", + ["angle"] = 1.5804, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_90"] = { + ["y"] = -1.45064, + ["x"] = -48.3031, + ["name"] = "StaticBlockTheme01_05_90", + ["angle"] = 0.000495434, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_86"] = { + ["y"] = 1.78691, + ["x"] = -12.1919, + ["name"] = "StaticBlockTheme01_05_86", + ["angle"] = 0.785878, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock3_4"] = { + ["y"] = -20.9613, + ["x"] = 48.5785, + ["name"] = "LightBlock3_4", + ["angle"] = 0.0558012, + ["definition"] = "LightBlock3", + + }, + ["StaticBlockTheme01_05_53"] = { + ["y"] = -4.00779, + ["x"] = 72.2351, + ["name"] = "StaticBlockTheme01_05_53", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_45"] = { + ["y"] = -17.4458, + ["x"] = 95.4624, + ["name"] = "StaticBlockTheme01_05_45", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_65"] = { + ["y"] = -9.68683, + ["x"] = -48.2475, + ["name"] = "StaticBlockTheme01_05_65", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["WoodBlock8_1"] = { + ["y"] = -23.2665, + ["x"] = 87.2454, + ["name"] = "WoodBlock8_1", + ["angle"] = 5.49373, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme01_04_11"] = { + ["y"] = -11.7633, + ["x"] = -80.9335, + ["name"] = "StaticBlockTheme01_04_11", + ["angle"] = 5.89091, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["ExtraApple_2"] = { + ["y"] = -2.28796, + ["x"] = -2.94762, + ["name"] = "ExtraApple_2", + ["angle"] = 0.00314402, + ["definition"] = "ExtraApple", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -65.776, + ["x"] = 46.6027, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 3.53427, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_18"] = { + ["y"] = -79.2988, + ["x"] = 53.0544, + ["name"] = "StaticBlockTheme01_05_18", + ["angle"] = 2.35617, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["WoodBlock5_1"] = { + ["y"] = -24.3531, + ["x"] = 89.1583, + ["name"] = "WoodBlock5_1", + ["angle"] = 1.57141, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_83"] = { + ["y"] = 1.45486, + ["x"] = -89.8932, + ["name"] = "StaticBlockTheme01_05_83", + ["angle"] = 0.785878, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_8"] = { + ["y"] = -4.36377, + ["x"] = 95.9073, + ["name"] = "StaticBlockTheme01_04_8", + ["angle"] = 3.92701, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["ExtraRopeThick01_3"] = { + ["y"] = -44.4688, + ["x"] = 50.9668, + ["name"] = "ExtraRopeThick01_3", + ["angle"] = 3.53521, + ["definition"] = "ExtraRopeThick01", + + }, + ["BOWL_BLUE_1"] = { + ["y"] = -36.7042, + ["x"] = 37.534, + ["name"] = "BOWL_BLUE_1", + ["angle"] = 6.28314, + ["definition"] = "BOWL_BLUE", + + }, + ["LightBlock6_2"] = { + ["y"] = -24.9683, + ["x"] = 58.352, + ["name"] = "LightBlock6_2", + ["angle"] = 6.0636, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_85"] = { + ["y"] = 3.61322, + ["x"] = -84.2483, + ["name"] = "StaticBlockTheme01_05_85", + ["angle"] = 0.785878, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock2_1"] = { + ["y"] = -13.3822, + ["x"] = 50.0847, + ["name"] = "LightBlock2_1", + ["angle"] = 0.000836018, + ["definition"] = "LightBlock2", + + }, + ["StaticBlockTheme01_05_50"] = { + ["y"] = -3.11786, + ["x"] = 79.5325, + ["name"] = "StaticBlockTheme01_05_50", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LargePiglette_2"] = { + ["y"] = -22.1086, + ["x"] = 39.2729, + ["name"] = "LargePiglette_2", + ["angle"] = 3.21394, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -4.69592, + ["x"] = 4.77968, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 5.88982, + ["definition"] = "ExtraBlockTNT", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -64.6281, + ["x"] = 49.8932, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 3.53427, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_72"] = { + ["y"] = -5.40327, + ["x"] = -29.971, + ["name"] = "StaticBlockTheme01_05_72", + ["angle"] = 3.53471, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock9_1"] = { + ["y"] = -25.6732, + ["x"] = -81.5506, + ["name"] = "StoneBlock9_1", + ["angle"] = 6.27155, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme01_05_84"] = { + ["y"] = -0.454474, + ["x"] = -88.2329, + ["name"] = "StaticBlockTheme01_05_84", + ["angle"] = 0.785878, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_03_3"] = { + ["y"] = -5.8569, + ["x"] = 19.5726, + ["name"] = "StaticBlockTheme01_03_3", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme05_03", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -66.6177, + ["x"] = 36.9607, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 4.31967, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock6_1"] = { + ["y"] = -36.8109, + ["x"] = 89.1579, + ["name"] = "LightBlock6_1", + ["angle"] = 6.24267, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_35"] = { + ["y"] = -2.76732, + ["x"] = 43.2728, + ["name"] = "StaticBlockTheme01_05_35", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["BOWL_BLUE_2"] = { + ["y"] = -23.3516, + ["x"] = 79.9621, + ["name"] = "BOWL_BLUE_2", + ["angle"] = 3.14837, + ["definition"] = "BOWL_BLUE", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -65.393, + ["x"] = 24.4884, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -60.1279, + ["x"] = 24.4884, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["SPOON_1"] = { + ["y"] = -34.8442, + ["x"] = 19.8019, + ["name"] = "SPOON_1", + ["angle"] = 1.98866, + ["definition"] = "SPOON", + + }, + ["LightBlock10_3"] = { + ["y"] = -17.9875, + ["x"] = 54.907, + ["name"] = "LightBlock10_3", + ["angle"] = 0.00761197, + ["definition"] = "LightBlock10", + + }, + ["SIGN_2_2"] = { + ["y"] = -7.20317, + ["x"] = -83.9285, + ["name"] = "SIGN_2_2", + ["angle"] = 0.785861, + ["definition"] = "SIGN_2", + + }, + ["StoneBlock12_1"] = { + ["y"] = -5.83367, + ["x"] = 12.004, + ["name"] = "StoneBlock12_1", + ["angle"] = 1.64045, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme01_05_87"] = { + ["y"] = -2.44681, + ["x"] = -19.1651, + ["name"] = "StaticBlockTheme01_05_87", + ["angle"] = 5.10558, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_92"] = { + ["y"] = -5.93341, + ["x"] = -72.6263, + ["name"] = "StaticBlockTheme01_05_92", + ["angle"] = 0.785896, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["WoodBlock5_3"] = { + ["y"] = -31.3488, + ["x"] = 89.7975, + ["name"] = "WoodBlock5_3", + ["angle"] = 6.25699, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock5_4"] = { + ["y"] = -23.2527, + ["x"] = 72.1158, + ["name"] = "LightBlock5_4", + ["angle"] = 6.28242, + ["definition"] = "LightBlock5", + + }, + ["StaticBlockTheme01_05_71"] = { + ["y"] = -10.1628, + ["x"] = -38.1574, + ["name"] = "StaticBlockTheme01_05_71", + ["angle"] = 3.53471, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_56"] = { + ["y"] = -9.08042, + ["x"] = 79.7105, + ["name"] = "StaticBlockTheme01_05_56", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_88"] = { + ["y"] = -2.3638, + ["x"] = -35.2699, + ["name"] = "StaticBlockTheme01_05_88", + ["angle"] = 0.000495434, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["WoodBlock10_3"] = { + ["y"] = -38.9418, + ["x"] = 94.5488, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.245807, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -65.6046, + ["x"] = 55.9166, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_42"] = { + ["y"] = -9.55376, + ["x"] = 58.1295, + ["name"] = "StaticBlockTheme01_05_42", + ["angle"] = 1.17811, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["BLOCK_GREEN_SPANNER_2_1"] = { + ["y"] = -37.834, + ["x"] = 40.1419, + ["name"] = "BLOCK_GREEN_SPANNER_2_1", + ["angle"] = 5.80169, + ["definition"] = "BLOCK_GREEN_SPANNER_2", + + }, + ["StaticBlockTheme01_05_25"] = { + ["y"] = -73.5596, + ["x"] = 30.786, + ["name"] = "StaticBlockTheme01_05_25", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_19"] = { + ["y"] = -83.7373, + ["x"] = 38.7444, + ["name"] = "StaticBlockTheme01_05_19", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_70"] = { + ["y"] = -11.1147, + ["x"] = -44.2496, + ["name"] = "StaticBlockTheme01_05_70", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_40"] = { + ["y"] = -12.1774, + ["x"] = 66.2503, + ["name"] = "StaticBlockTheme01_05_40", + ["angle"] = 1.17811, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -35.2859, + ["x"] = 96.3508, + ["name"] = "HelmetPiglette_1", + ["angle"] = 0.460894, + ["definition"] = "HelmetPiglette", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -20.3096, + ["x"] = -52.2428, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme01_05_74"] = { + ["y"] = -6.83113, + ["x"] = -31.6845, + ["name"] = "StaticBlockTheme01_05_74", + ["angle"] = 3.53471, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["SmallPiglette_1"] = { + ["y"] = -34.6134, + ["x"] = 92.6962, + ["name"] = "SmallPiglette_1", + ["angle"] = 5.31579e-005, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock5_1"] = { + ["y"] = -19.5189, + ["x"] = 60.284, + ["name"] = "LightBlock5_1", + ["angle"] = 6.2723, + ["definition"] = "LightBlock5", + + }, + ["LightBlock6_3"] = { + ["y"] = -23.1811, + ["x"] = 50.3617, + ["name"] = "LightBlock6_3", + ["angle"] = 6.0636, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -70.2691, + ["x"] = 39.3566, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 4.71237, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_6"] = { + ["y"] = -8.27948, + ["x"] = 100.446, + ["name"] = "StaticBlockTheme01_04_6", + ["angle"] = 2.35621, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBlockTheme01_05_26"] = { + ["y"] = -74.8605, + ["x"] = 36.0661, + ["name"] = "StaticBlockTheme01_05_26", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["ExtraBlockStairs_1"] = { + ["y"] = -21.2313, + ["x"] = 83.5725, + ["name"] = "ExtraBlockStairs_1", + ["angle"] = 6.28314, + ["definition"] = "ExtraBlockStairs", + + }, + ["LightBlock5_5"] = { + ["y"] = -22.5257, + ["x"] = 59.6169, + ["name"] = "LightBlock5_5", + ["angle"] = 1.53984, + ["definition"] = "LightBlock5", + + }, + ["CUPRED_1"] = { + ["y"] = -32.5518, + ["x"] = 34.5831, + ["name"] = "CUPRED_1", + ["angle"] = 0.000207122, + ["definition"] = "CUPRED", + + }, + ["LightBlock11_1"] = { + ["y"] = -14.9988, + ["x"] = 53.5768, + ["name"] = "LightBlock11_1", + ["angle"] = 1.96155, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme01_05_69"] = { + ["y"] = -9.40126, + ["x"] = -44.3447, + ["name"] = "StaticBlockTheme01_05_69", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["Estrade02_4"] = { + ["y"] = -6.26787, + ["x"] = -82.7709, + ["name"] = "Estrade02_4", + ["angle"] = 2.35664, + ["definition"] = "Estrade02", + + }, + ["StaticBlockTheme01_04_2"] = { + ["y"] = -85.4209, + ["x"] = 32.6226, + ["name"] = "StaticBlockTheme01_04_2", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBlockTheme01_05_46"] = { + ["y"] = -17.4262, + ["x"] = 100.762, + ["name"] = "StaticBlockTheme01_05_46", + ["angle"] = 1.57081, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["MECHANIC_HAT_1"] = { + ["y"] = -40.0753, + ["x"] = 43.8262, + ["name"] = "MECHANIC_HAT_1", + ["angle"] = 6.19439, + ["definition"] = "MECHANIC_HAT", + + }, + ["StaticBlockTheme01_05_93"] = { + ["y"] = -3.27696, + ["x"] = -66.9813, + ["name"] = "StaticBlockTheme01_05_93", + ["angle"] = 1.5713, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_1"] = { + ["y"] = -84.5026, + ["x"] = 30.3269, + ["name"] = "StaticBlockTheme01_04_1", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["StaticBlockTheme01_05_61"] = { + ["y"] = -9.97241, + ["x"] = -59.5752, + ["name"] = "StaticBlockTheme01_05_61", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -59.7013, + ["x"] = 55.8634, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_64"] = { + ["y"] = -9.78202, + ["x"] = -49.2946, + ["name"] = "StaticBlockTheme01_05_64", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["HelmetPiglette_2"] = { + ["y"] = -32.2704, + ["x"] = 60.0759, + ["name"] = "HelmetPiglette_2", + ["angle"] = 0.000230789, + ["definition"] = "HelmetPiglette", + + }, + ["SIGN_2_1"] = { + ["y"] = -1.35183, + ["x"] = 100.299, + ["name"] = "SIGN_2_1", + ["angle"] = 2.35634, + ["definition"] = "SIGN_2", + + }, + ["StaticBlockTheme01_05_67"] = { + ["y"] = -9.40126, + ["x"] = -46.3437, + ["name"] = "StaticBlockTheme01_05_67", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_75"] = { + ["y"] = -5.2129, + ["x"] = -38.1574, + ["name"] = "StaticBlockTheme01_05_75", + ["angle"] = 3.53471, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["CEREALBOX_1"] = { + ["y"] = -27.6297, + ["x"] = 97.1188, + ["name"] = "CEREALBOX_1", + ["angle"] = 2.38246e-005, + ["definition"] = "CEREALBOX", + + }, + ["LightBlock5_2"] = { + ["y"] = -13.8631, + ["x"] = 47.0417, + ["name"] = "LightBlock5_2", + ["angle"] = 0.00128272, + ["definition"] = "LightBlock5", + + }, + ["LightBlock10_2"] = { + ["y"] = -19.1235, + ["x"] = 65.0637, + ["name"] = "LightBlock10_2", + ["angle"] = 5.89037, + ["definition"] = "LightBlock10", + + }, + ["StaticBalloon04_1"] = { + ["y"] = -43.2909, + ["x"] = 19.7829, + ["name"] = "StaticBalloon04_1", + ["angle"] = 0.000230789, + ["definition"] = "StaticBalloon04", + + }, + ["LightBlock3_3"] = { + ["y"] = -14.9712, + ["x"] = 50.1036, + ["name"] = "LightBlock3_3", + ["angle"] = 0.0413023, + ["definition"] = "LightBlock3", + + }, + ["MediumPiglette_1"] = { + ["y"] = -33.3228, + ["x"] = 39.6383, + ["name"] = "MediumPiglette_1", + ["angle"] = 0.000466905, + ["definition"] = "MediumPiglette", + + }, + ["MediumPiglette_2"] = { + ["y"] = -37.4289, + ["x"] = 19.8682, + ["name"] = "MediumPiglette_2", + ["angle"] = 1.59596, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_01_1"] = { + ["y"] = -21.7238, + ["x"] = -79.7583, + ["name"] = "StaticBlockTheme01_01_1", + ["angle"] = 3.14203, + ["definition"] = "StaticBlockTheme05_01", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -64.9342, + ["x"] = 31.8337, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 2.74887, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -24.2878, + ["x"] = 103.383, + ["name"] = "StoneBlock11_1", + ["angle"] = 6.27129, + ["definition"] = "StoneBlock11", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -23.302, + ["x"] = -70.4584, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -57.4643, + ["x"] = 57.3504, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 5.10508, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock3_2"] = { + ["y"] = -21.2252, + ["x"] = 71.0454, + ["name"] = "LightBlock3_2", + ["angle"] = 0.000517447, + ["definition"] = "LightBlock3", + + }, + ["WoodBlock10_2"] = { + ["y"] = -32.8066, + ["x"] = 96.1586, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.0321004, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_57"] = { + ["y"] = -12.3522, + ["x"] = -46.2486, + ["name"] = "StaticBlockTheme01_05_57", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -64.541, + ["x"] = 58.8417, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_73"] = { + ["y"] = -3.11871, + ["x"] = -23.4981, + ["name"] = "StaticBlockTheme01_05_73", + ["angle"] = 3.53471, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock10_4"] = { + ["y"] = -23.2076, + ["x"] = -78.9388, + ["name"] = "LightBlock10_4", + ["angle"] = 6.27156, + ["definition"] = "LightBlock10", + + }, + ["WoodBlock5_2"] = { + ["y"] = -28.317, + ["x"] = 89.2207, + ["name"] = "WoodBlock5_2", + ["angle"] = 1.57065, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_47"] = { + ["y"] = -12.8181, + ["x"] = 95.6403, + ["name"] = "StaticBlockTheme01_05_47", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["LightBlock10_1"] = { + ["y"] = -15.2727, + ["x"] = 55.7965, + ["name"] = "LightBlock10_1", + ["angle"] = 5.89075, + ["definition"] = "LightBlock10", + + }, + ["StaticBlockTheme01_05_34"] = { + ["y"] = -2.13509, + ["x"] = 35.3411, + ["name"] = "StaticBlockTheme01_05_34", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_48"] = { + ["y"] = -9.16941, + ["x"] = 91.3686, + ["name"] = "StaticBlockTheme01_05_48", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["WoodBlock3_1"] = { + ["y"] = -38.3744, + ["x"] = 89.4096, + ["name"] = "WoodBlock3_1", + ["angle"] = 1.53017, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_05_62"] = { + ["y"] = -9.97241, + ["x"] = -55.1012, + ["name"] = "StaticBlockTheme01_05_62", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StoneBlock7_1"] = { + ["y"] = -25.9846, + ["x"] = 71.9035, + ["name"] = "StoneBlock7_1", + ["angle"] = 0.00606291, + ["definition"] = "StoneBlock7", + + }, + ["StaticBlockTheme01_05_31"] = { + ["y"] = -1.90518, + ["x"] = 22.8113, + ["name"] = "StaticBlockTheme01_05_31", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["MediumPiglette_3"] = { + ["y"] = -20.3337, + ["x"] = 56.4175, + ["name"] = "MediumPiglette_3", + ["angle"] = 0.081718, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock4_1"] = { + ["y"] = -35.2881, + ["x"] = 98.8632, + ["name"] = "LightBlock4_1", + ["angle"] = 1.66354, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock11_1"] = { + ["y"] = -39.5476, + ["x"] = 94.644, + ["name"] = "WoodBlock11_1", + ["angle"] = 2.60183, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_05_32"] = { + ["y"] = 1.48591, + ["x"] = 14.4772, + ["name"] = "StaticBlockTheme01_05_32", + ["angle"] = 2.74889, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_24"] = { + ["y"] = -76.4675, + ["x"] = 41.8819, + ["name"] = "StaticBlockTheme01_05_24", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["ExtraApple_1"] = { + ["y"] = -7.05126, + ["x"] = 14.1463, + ["name"] = "ExtraApple_1", + ["angle"] = 5.68129, + ["definition"] = "ExtraApple", + + }, + ["LightBlock12_1"] = { + ["y"] = -20.5552, + ["x"] = 64.7232, + ["name"] = "LightBlock12_1", + ["angle"] = 1.64134, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme01_05_51"] = { + ["y"] = -2.85088, + ["x"] = 57.5511, + ["name"] = "StaticBlockTheme01_05_51", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_12"] = { + ["y"] = -8.72529, + ["x"] = -78.9082, + ["name"] = "StaticBlockTheme01_04_12", + ["angle"] = 0.785825, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["YellowBird_4"] = { + ["y"] = -21.5822, + ["x"] = -58.8378, + ["name"] = "YellowBird_4", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme01_05_68"] = { + ["y"] = -9.40126, + ["x"] = -45.8678, + ["name"] = "StaticBlockTheme01_05_68", + ["angle"] = 3.14201, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_78"] = { + ["y"] = -17.7549, + ["x"] = -73.2541, + ["name"] = "StaticBlockTheme01_05_78", + ["angle"] = 4.71281, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -72.9474, + ["x"] = 57.3397, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 5.89046, + ["definition"] = "StaticBlockTheme05_05", + + }, + ["StaticBlockTheme01_04_5"] = { + ["y"] = -11.4832, + ["x"] = 102.493, + ["name"] = "StaticBlockTheme01_04_5", + ["angle"] = 1.96351, + ["definition"] = "StaticBlockTheme05_04", + + }, + ["ExtraRopeThick01_1"] = { + ["y"] = -38.519, + ["x"] = 30.7486, + ["name"] = "ExtraRopeThick01_1", + ["angle"] = 2.75002, + ["definition"] = "ExtraRopeThick01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["CEREALBOX"] = 2, + ["BOWL_GREEN"] = 1, + ["MediumPiglette"] = 3, + ["WoodBlock9"] = 1, + ["ExtraRopeThin01"] = 2, + ["LightBlock3"] = 4, + ["YellowBird"] = 4, + ["LightBlock11"] = 4, + ["StoneBlock3"] = 1, + ["StaticBalloon04"] = 2, + ["StaticBlockTheme01_03"] = 6, + ["StoneBlock2"] = 1, + ["StaticBlockTheme01_04"] = 13, + ["CUPBLUE"] = 1, + ["MECHANIC_HAT"] = 1, + ["SIGN_2"] = 2, + ["BLOCK_GREEN_GOGGLES"] = 1, + ["WoodBlock6"] = 2, + ["ExtraRopeThick01"] = 8, + ["BLOCK_GREEN_SPANNER_2"] = 1, + ["HelmetPiglette"] = 2, + ["RedBird"] = 1, + ["LargePiglette"] = 2, + ["ExtraBlockTNT"] = 1, + ["WoodBlock3"] = 2, + ["LightBlock12"] = 1, + ["WoodBlock5"] = 3, + ["StoneBlock12"] = 1, + ["SmallBlueBird"] = 2, + ["StoneBlock7"] = 1, + ["SmallPiglette"] = 1, + ["StoneBlock10"] = 2, + ["StoneBlock5"] = 3, + ["StoneBlock9"] = 1, + ["LightBlock6"] = 3, + ["CUPRED"] = 1, + ["LightBlock5"] = 6, + ["SPOON"] = 3, + ["StaticBlockTheme01_01"] = 1, + ["ExtraBlockStairs"] = 1, + ["WoodBlock8"] = 1, + ["WoodBlock11"] = 1, + ["WOODEN_NOSE"] = 1, + ["Estrade02"] = 5, + ["ExtraApple"] = 2, + ["LightBlock2"] = 1, + ["StoneBlock11"] = 1, + ["BP_WOOD"] = 3, + ["LightBlock10"] = 4, + ["StaticBlockTheme01_05"] = 94, + ["BOWL_BLUE"] = 2, + ["BLOCK_GREEN_PILOTHELMET"] = 1, + ["WoodBlock10"] = 3, + ["LightBlock4"] = 4, + +} +theme = "theme1boss1" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = -347.719, + ["screenWidth"] = 1366, + ["py"] = -641.081, + ["screenHeight"] = 768, + ["top"] = -1456.36, + ["sy"] = 0.471006, + ["sx"] = 0.471006, + ["right"] = 1641.48, + ["left"] = -2324, + ["px"] = -873.909, + + }, + +} +filename = "W1_Boss1.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/Level104.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/Level104.lua new file mode 100644 index 0000000000000000000000000000000000000000..efd41d247c0eaae9cc30398a013d7942e7df77eb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/Level104.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_100.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_100.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c2c4d6d9bfcdf9ce6b36c0e40dc0cad6c09ca3c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_100.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_115.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_115.lua new file mode 100644 index 0000000000000000000000000000000000000000..793ac6ccc18e6ea7c29480bfebf4eb2ba9610a82 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_115.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_122.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_122.lua new file mode 100644 index 0000000000000000000000000000000000000000..0a5e37103f2326d928d225969ea5882923d13fdc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_122.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_67.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_67.lua new file mode 100644 index 0000000000000000000000000000000000000000..894edbc4dba345ecc9e8b12ee84db5f4f15db4f2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_67.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_71.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_71.lua new file mode 100644 index 0000000000000000000000000000000000000000..cf6b92eb67f5584b5efc129ba5ed0c0cb6f8c81d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_71.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_72.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_72.lua new file mode 100644 index 0000000000000000000000000000000000000000..e94132d6351e85029a7caadd25f9c314c3d73b6a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_72.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_73.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_73.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ce7aa8b6be112f4fa30397e072ddb37a7626ebd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_73.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_74.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_74.lua new file mode 100644 index 0000000000000000000000000000000000000000..6219e8c0f452c97255f28bf43d8a51ce87524ad1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_74.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_76.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_76.lua new file mode 100644 index 0000000000000000000000000000000000000000..f276c0559d26dee4517fb36c7f73a0bb4c9df1b1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_76.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_78.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_78.lua new file mode 100644 index 0000000000000000000000000000000000000000..b1f013d5928adf70a4ac4c508eb660004d253eb2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_78.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_84.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_84.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd550a4aa289b433e204a4fe7589c4a756a24445 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_84.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_86.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_86.lua new file mode 100644 index 0000000000000000000000000000000000000000..a3bdf233739ff0158da9fb28888180d7ac9d04d9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_86.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_87.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_87.lua new file mode 100644 index 0000000000000000000000000000000000000000..af2eeeaca3542a70eadabaf98c0ba873c5656887 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_87.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_89.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_89.lua new file mode 100644 index 0000000000000000000000000000000000000000..4838739adf52fb2c80ed6c8214fa87d516d84b50 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_89.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_90.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_90.lua new file mode 100644 index 0000000000000000000000000000000000000000..e736f98a5bddf1d676b085bc5385c41eaabe2fb6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_90.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_92.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_92.lua new file mode 100644 index 0000000000000000000000000000000000000000..19c4cef9730ce7a8f7a2e726b80da60854d63da8 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_92.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_93.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_93.lua new file mode 100644 index 0000000000000000000000000000000000000000..bffc31bf31c9de6c64396436463e2ee17da06e3d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_93.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_94.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_94.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab5f5fb3557afc52e942fa85d997b55b176a1c28 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_94.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_97.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_97.lua new file mode 100644 index 0000000000000000000000000000000000000000..c1413db6eba085df1bae628bff1c16fdd3ed0516 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_97.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_98.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_98.lua new file mode 100644 index 0000000000000000000000000000000000000000..895c4bc1ceb3ebe083cdb52c676e583eecc396d7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_98.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_99.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_99.lua new file mode 100644 index 0000000000000000000000000000000000000000..79c63b508d55616abd8b54b9cd09a1151093d9a4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack3/LevelP2_99.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack3/temp/Level104.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack3/temp/Level104.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..bdb9c898cec1be65e74273d3a819459c60127737 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack3/temp/Level104.temp.lua @@ -0,0 +1,101 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 517.334, + ["screenWidth"] = 1366, + ["py"] = -236.019, + ["screenHeight"] = 768, + ["top"] = -989.372, + ["sy"] = 0.509721, + ["sx"] = 0.509721, + ["right"] = 1956.78, + ["left"] = -723.118, + ["px"] = 616.831, + + }, + +} +levelParticles = { + ["y"] = -1849.17, + ["x"] = 2211.39, + ["firstFrame"] = true, + ["width"] = 7208.96, + +} +joints = { + +} +world = { + ["BoomerangBird_1"] = { + ["y"] = -1.59117, + ["x"] = -5.1042, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["ExtraTrampoline2_1"] = { + ["y"] = -4.83638, + ["x"] = 39.6699, + ["name"] = "ExtraTrampoline2_1", + ["angle"] = 0, + ["definition"] = "ExtraTrampoline2", + + }, + ["ExtraTrampoline2_2"] = { + ["y"] = -63.5914, + ["x"] = 39.4476, + ["name"] = "ExtraTrampoline2_2", + ["angle"] = 0, + ["definition"] = "ExtraTrampoline2", + + }, + ["KingPigletteBoss_1"] = { + ["y"] = -2.97813, + ["x"] = 175.545, + ["name"] = "KingPigletteBoss_1", + ["angle"] = 0, + ["definition"] = "KingPigletteBoss", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 85.8829, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["ExtraTrampoline2"] = 2, + ["KingPigletteBoss"] = 1, + ["BoomerangBird"] = 1, + +} +theme = "PorkyParty" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 517.334, + ["screenWidth"] = 1366, + ["py"] = -236.019, + ["screenHeight"] = 768, + ["top"] = -989.372, + ["sy"] = 0.509721, + ["sx"] = 0.509721, + ["right"] = 1956.78, + ["left"] = -723.118, + ["px"] = 616.831, + + }, + +} +filename = "Level104.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level18.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level18.lua new file mode 100644 index 0000000000000000000000000000000000000000..95b53273fed8321e1491ea07b81303d9ee16b933 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level18.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level22.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level22.lua new file mode 100644 index 0000000000000000000000000000000000000000..c56f861c39698be0e523de6b2483a12a4042b52c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level22.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level28.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level28.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a6e5f029e1d1b5d5c7fd6232c56852803003bc5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level28.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level29.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level29.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f8c121fa450cee5f7fab5a70d7c4a50d3516dfc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level29.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level30.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level30.lua new file mode 100644 index 0000000000000000000000000000000000000000..5485125beba6cb49aedb2337423b6a01fbb28bbd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level30.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level40.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level40.lua new file mode 100644 index 0000000000000000000000000000000000000000..35c699c62b6079a3c004f1118b48e6f9fb3409d6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level40.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level43.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level43.lua new file mode 100644 index 0000000000000000000000000000000000000000..48b9c4e2ce7583f43482f782198c05bc699dbc03 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level43.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level45.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level45.lua new file mode 100644 index 0000000000000000000000000000000000000000..c11975aefcc2c32aa94aaef71ffbaab97ba2fb61 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level45.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level49.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level49.lua new file mode 100644 index 0000000000000000000000000000000000000000..4affca45b9a33344f6b38ebee9c2ff067608750e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level49.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level51.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level51.lua new file mode 100644 index 0000000000000000000000000000000000000000..ae4d9f1ce4e950c344de856063d9140e056d8b4c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level51.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level58.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level58.lua new file mode 100644 index 0000000000000000000000000000000000000000..f099bc61c2961225ff4c530b57d6bc6eeaec52d3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level58.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level59.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level59.lua new file mode 100644 index 0000000000000000000000000000000000000000..b14aef37b5011a7d90191c3f2aa308771e7d9b9f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level59.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level75.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level75.lua new file mode 100644 index 0000000000000000000000000000000000000000..aaf3b6b478b3907fe47b3c2f919eb3fb050faf7d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level75.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level77.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level77.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c35dbf257bf14608eec441e4db1d4dc2788c123 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level77.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level79.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level79.lua new file mode 100644 index 0000000000000000000000000000000000000000..a8ab84308193b054056037f7b462305ffdab2b01 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level79.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level81.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level81.lua new file mode 100644 index 0000000000000000000000000000000000000000..3dd9ec431760d1a0f23d1295b7a1f10947d26153 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level81.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level82.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level82.lua new file mode 100644 index 0000000000000000000000000000000000000000..48eede630a0960dbeb83af2bcd320190e3009f94 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level82.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level87.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level87.lua new file mode 100644 index 0000000000000000000000000000000000000000..d117de4428490dd5307667410eaad1401bfe2c80 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level87.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level89.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level89.lua new file mode 100644 index 0000000000000000000000000000000000000000..6364c5ea6cbffc5ebb4f1b2072301b492891664f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level89.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level91.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level91.lua new file mode 100644 index 0000000000000000000000000000000000000000..a34f190344181e6abd5ca0efc7004b050afa42f3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level91.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack4/Level95.lua b/Angry Birds Project R/0.3.0/data/levels/pack4/Level95.lua new file mode 100644 index 0000000000000000000000000000000000000000..92090adc61afb8b1886cce503b168a4903f3e32f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack4/Level95.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level20.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level20.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e75f35da398f56d25a34822afcc134f14ae650 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level20.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level21.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level21.lua new file mode 100644 index 0000000000000000000000000000000000000000..2419963349271f932f47b3e72bdbfa41b6026b03 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level21.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level24.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level24.lua new file mode 100644 index 0000000000000000000000000000000000000000..662a2404d6574cf22af59461f6b70aac3c44f7fb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level24.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level26.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level26.lua new file mode 100644 index 0000000000000000000000000000000000000000..956fc9017eaa633429fbffbd55473b2cd821a231 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level26.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level27.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level27.lua new file mode 100644 index 0000000000000000000000000000000000000000..9eea4543066d786a121711aa74cb4aa5a76cbe1e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level27.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level31.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level31.lua new file mode 100644 index 0000000000000000000000000000000000000000..eba8f7cb3a3116b6e5edc2a4b250a93e234dc929 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level31.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level32.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level32.lua new file mode 100644 index 0000000000000000000000000000000000000000..6ede129a8791fb1d4eeadc41c116c1b45f27bb18 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level32.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level34.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level34.lua new file mode 100644 index 0000000000000000000000000000000000000000..3a78a0201c476d2e5392ea550ae553a6b3ab410a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level34.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level35.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level35.lua new file mode 100644 index 0000000000000000000000000000000000000000..82f41b5171a20cb743eb0843187eb079d0264047 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level35.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level36.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level36.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a35df18b7319a80e63299f7b45ae42f6a04142c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level36.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level38.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level38.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff51660b6357a92bc169416a614d8e7a1e639288 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level38.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level41.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level41.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c0536a7d4113ef9bce0a5413bfd9a4d35ae6092 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level41.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level42.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level42.lua new file mode 100644 index 0000000000000000000000000000000000000000..7062c35f5a156702b23cfb6880ac70eff96cf74f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level42.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level52.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level52.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd5d6c10536ed1a7815efaf1baa81143ea86b223 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level52.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level66.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level66.lua new file mode 100644 index 0000000000000000000000000000000000000000..551fb2b83a60cc2b3ba6ccafeeaaa0382bb449a3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level66.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level72.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level72.lua new file mode 100644 index 0000000000000000000000000000000000000000..6bca6b39531f6616c5b190684af703958054a6d0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level72.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level76.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level76.lua new file mode 100644 index 0000000000000000000000000000000000000000..7f7f6b1560a5d9fb94ecee037cc6e7c65234238a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level76.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level85.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level85.lua new file mode 100644 index 0000000000000000000000000000000000000000..b6053ca0974701501dce9dd07308758003195da7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level85.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level88.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level88.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ccf8e13da6045e259dd83cd395c202d722ae6ba Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level88.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level90.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level90.lua new file mode 100644 index 0000000000000000000000000000000000000000..f205ee1d93f8629f2ca3ab0c101d11ffcd463eef Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level90.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack5/Level96.lua b/Angry Birds Project R/0.3.0/data/levels/pack5/Level96.lua new file mode 100644 index 0000000000000000000000000000000000000000..feaf8ef1aff7c9bb72dbe0fbe326e5aa529348dc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack5/Level96.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack50/temp/Level1050.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack50/temp/Level1050.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..b16d8344cd804797b493821ea5a9e6e0bb7dcd2e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack50/temp/Level1050.temp.lua @@ -0,0 +1,147 @@ +world = { + ["KingPiglette_15"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_15", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_13"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_13", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_8"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_8", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_14"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_14", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_2"] = { + ["y"] = 2, + ["x"] = 7.15, + ["name"] = "KingPiglette_2", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_1"] = { + ["y"] = 2, + ["x"] = 7.15, + ["name"] = "KingPiglette_1", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_3"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_3", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_4"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_4", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_12"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_12", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_7"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_7", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_10"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_10", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_5"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_5", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_9"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_9", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["KingPiglette_6"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_6", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["KingPiglette_11"] = { + ["y"] = -2.45, + ["x"] = 11.65, + ["name"] = "KingPiglette_11", + ["angle"] = 0, + ["definition"] = "KingPiglette", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + ["KingPiglette"] = 15, + +} +theme = "theme1" +joints = { + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/Level75.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/Level75.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab343eab6b08391f6fed8017c5d15e6295304223 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack6/Level75.lua @@ -0,0 +1,723 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} +levelParticles = { + ["y"] = -2321.1, + ["x"] = 2526.94, + ["firstFrame"] = true, + ["width"] = 8619.28, + +} +joints = { + +} +world = { + ["StoneBlock4_3"] = { + ["y"] = -2.4295, + ["x"] = 60.6892, + ["name"] = "StoneBlock4_3", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["BoomerangBird_2"] = { + ["y"] = -14.4408, + ["x"] = -34.0599, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock4_1"] = { + ["y"] = -8.26957, + ["x"] = 66.4794, + ["name"] = "StoneBlock4_1", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock1_1"] = { + ["y"] = -40.6079, + ["x"] = 26.0875, + ["name"] = "StoneBlock1_1", + ["angle"] = 4.71241, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -16.0828, + ["x"] = -16.5808, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock12_1"] = { + ["y"] = -22.0397, + ["x"] = 72.4204, + ["name"] = "StoneBlock12_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -4.44086, + ["x"] = 22.4947, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock2_1"] = { + ["y"] = -39.206, + ["x"] = 26.0875, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock1_3"] = { + ["y"] = -17.9902, + ["x"] = 30.7466, + ["name"] = "LightBlock1_3", + ["angle"] = 4.71237, + ["definition"] = "LightBlock1", + + }, + ["WoodBlock5_1"] = { + ["y"] = -6.37926, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock4_3"] = { + ["y"] = -29.486, + ["x"] = 21.5874, + ["name"] = "WoodBlock4_3", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_5"] = { + ["y"] = -35.7479, + ["x"] = 26.0537, + ["name"] = "StoneBlock4_5", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock11_2"] = { + ["y"] = -11.3908, + ["x"] = 74.4008, + ["name"] = "LightBlock11_2", + ["angle"] = 3.1416, + ["definition"] = "LightBlock11", + + }, + ["LightBlock2_1"] = { + ["y"] = -0.631894, + ["x"] = 37.1641, + ["name"] = "LightBlock2_1", + ["angle"] = 6.28317, + ["definition"] = "LightBlock2", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -1.6326, + ["x"] = 80.8583, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -21.7656, + ["x"] = -21.1756, + ["name"] = "RedBird_2", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock1_2"] = { + ["y"] = -20.4777, + ["x"] = 80.029, + ["name"] = "LightBlock1_2", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = 0.0545471, + ["x"] = 65.6045, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_2"] = { + ["y"] = -37.1498, + ["x"] = 26.1472, + ["name"] = "StoneBlock3_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock6_1"] = { + ["y"] = -2.75868, + ["x"] = 11.7237, + ["name"] = "LightBlock6_1", + ["angle"] = 5.89053, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -10.2042, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_2"] = { + ["y"] = -29.5794, + ["x"] = 30.4663, + ["name"] = "WoodBlock4_2", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_2"] = { + ["y"] = -5.34953, + ["x"] = 63.5594, + ["name"] = "StoneBlock4_2", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_3"] = { + ["y"] = -10.4094, + ["x"] = 33.1231, + ["name"] = "WoodBlock5_3", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -12.8553, + ["x"] = -20.4999, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBeachBall_2"] = { + ["y"] = -16.2955, + ["x"] = 68.8428, + ["name"] = "ExtraBeachBall_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["StoneBlock5_1"] = { + ["y"] = -19.5353, + ["x"] = 25.9504, + ["name"] = "StoneBlock5_1", + ["angle"] = 1.57078, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -16.0828, + ["x"] = -22.6899, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_2"] = { + ["y"] = -18.6134, + ["x"] = 72.2692, + ["name"] = "WoodBlock10_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock10", + + }, + ["LargePiglette_1"] = { + ["y"] = -22.3925, + ["x"] = 76.3003, + ["name"] = "LargePiglette_1", + ["angle"] = 6.28318, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -1.44392, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -2.12116, + ["x"] = 48.2315, + ["name"] = "HelmetPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "HelmetPiglette", + + }, + ["SmallPiglette_1"] = { + ["y"] = -2.08483, + ["x"] = 56.1017, + ["name"] = "SmallPiglette_1", + ["angle"] = 2.28882e-005, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock5_1"] = { + ["y"] = -2.30085, + ["x"] = 29.0003, + ["name"] = "LightBlock5_1", + ["angle"] = 1.57087, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_5"] = { + ["y"] = -15.0099, + ["x"] = 73.611, + ["name"] = "LightBlock1_5", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock3_1"] = { + ["y"] = -6.17056, + ["x"] = 36.2671, + ["name"] = "StoneBlock3_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock1_4"] = { + ["y"] = -15.0254, + ["x"] = 70.9254, + ["name"] = "LightBlock1_4", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["LightBlock11_1"] = { + ["y"] = -11.3594, + ["x"] = 70.2026, + ["name"] = "LightBlock11_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock11", + + }, + ["LightBlock5_2"] = { + ["y"] = -0.895058, + ["x"] = 40.2466, + ["name"] = "LightBlock5_2", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.2516, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -11.4721, + ["x"] = 23.8779, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -9.86928, + ["x"] = 76.8883, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0, + ["definition"] = "StaticFragileBlock06", + + }, + ["WoodBlock4_1"] = { + ["y"] = -0.557886, + ["x"] = 33.9291, + ["name"] = "WoodBlock4_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock8_1"] = { + ["y"] = -2.84154, + ["x"] = 39.3815, + ["name"] = "StoneBlock8_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock8", + + }, + ["ExtraBeachBall_1"] = { + ["y"] = -16.2955, + ["x"] = 75.6956, + ["name"] = "ExtraBeachBall_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["BoomerangBird_1"] = { + ["y"] = -14.4123, + ["x"] = -11.3351, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["ExtraBlockFlag02_1"] = { + ["y"] = -6.33732, + ["x"] = 81.7915, + ["name"] = "ExtraBlockFlag02_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraBlockFlag02", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -8.01414, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -2.61776, + ["x"] = 33.75, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_2"] = { + ["y"] = -26.0279, + ["x"] = 25.7932, + ["name"] = "LightBlock4_2", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -6.51566, + ["x"] = 72.29, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -16.1981, + ["x"] = -28.5685, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -12.7401, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -12.0485, + ["x"] = -24.88, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_2"] = { + ["y"] = -8.34957, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -14.0112, + ["x"] = 72.3264, + ["name"] = "WoodBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_1"] = { + ["y"] = -4.85674, + ["x"] = 32.4962, + ["name"] = "LightBlock10_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_3"] = { + ["y"] = -32.944, + ["x"] = 26.167, + ["name"] = "StoneBlock6_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -1.78972, + ["x"] = 74.3648, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -19.5707, + ["x"] = 76.5018, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -8.1294, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -0.867584, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -0.752319, + ["x"] = -19.8083, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -7.092, + ["x"] = -23.151, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -13.4391, + ["x"] = 33.1408, + ["name"] = "StoneBlock11_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock10_2"] = { + ["y"] = -27.0246, + ["x"] = 26.0051, + ["name"] = "StoneBlock10_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -0.752319, + ["x"] = -23.4968, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_2"] = { + ["y"] = -19.5707, + ["x"] = 68.1878, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["DecorationSkull02_1"] = { + ["y"] = -5.57322, + ["x"] = 38.9444, + ["name"] = "DecorationSkull02_1", + ["angle"] = 6.28318, + ["definition"] = "DecorationSkull02", + + }, + ["MediumPiglette_1"] = { + ["y"] = -21.8886, + ["x"] = 68.4901, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28318, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_4"] = { + ["y"] = -0.47558, + ["x"] = 56.7032, + ["name"] = "StoneBlock4_4", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock10_3"] = { + ["y"] = -32.1029, + ["x"] = 26.0736, + ["name"] = "StoneBlock10_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock5_2"] = { + ["y"] = -23.5044, + ["x"] = 25.9801, + ["name"] = "StoneBlock5_2", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock5", + + }, + ["MediumPiglette_2"] = { + ["y"] = -29.3277, + ["x"] = 25.8405, + ["name"] = "MediumPiglette_2", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock1_1"] = { + ["y"] = -20.5785, + ["x"] = 64.5599, + ["name"] = "LightBlock1_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -34.346, + ["x"] = 26.0537, + ["name"] = "StoneBlock5_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock5", + + }, + ["YellowBird_1"] = { + ["y"] = -21.8738, + ["x"] = -24.636, + ["name"] = "YellowBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["ExtraBeachBall_3"] = { + ["y"] = -1.69977, + ["x"] = 15.478, + ["name"] = "ExtraBeachBall_3", + ["angle"] = 2.28882e-005, + ["definition"] = "ExtraBeachBall", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["DecorationSkull02"] = 1, + ["ExtraBeachBall"] = 3, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 2, + ["WoodBlock9"] = 1, + ["ExtraBlockTNT"] = 2, + ["WOODEN_TIRE"] = 2, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 2, + ["StaticBlockTheme01_02"] = 2, + ["StaticFragileBlock02"] = 3, + ["StoneBlock2"] = 1, + ["WoodBlock10"] = 2, + ["StoneBlock1"] = 1, + ["StoneBlock12"] = 1, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["WoodBlock5"] = 3, + ["StaticFragileBlock05"] = 19, + ["StoneBlock10"] = 3, + ["SmallPiglette"] = 1, + ["LightBlock6"] = 1, + ["StoneBlock4"] = 5, + ["StoneBlock8"] = 1, + ["StaticFragileBlock06"] = 1, + ["RedBird"] = 2, + ["StaticBlockTheme01_05"] = 17, + ["StaticBlockTheme18_04"] = 1, + ["LightBlock5"] = 2, + ["StoneBlock5"] = 3, + ["LightBlock2"] = 1, + ["StoneBlock6"] = 3, + ["LightBlock1"] = 5, + ["LightBlock10"] = 1, + ["BoomerangBird"] = 2, + ["WoodBlock4"] = 3, + ["StoneBlock11"] = 1, + ["YellowBird"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme23" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_134.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_134.lua new file mode 100644 index 0000000000000000000000000000000000000000..121f52c368564dd1d271aeb92b4508952c0be67a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_134.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_150.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_150.lua new file mode 100644 index 0000000000000000000000000000000000000000..1328df0ae55c302e328df57f54b61ca29cd84b57 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_150.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_162.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_162.lua new file mode 100644 index 0000000000000000000000000000000000000000..9097462dff584fd84295f14ecc1413212483b224 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_162.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_211.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_211.lua new file mode 100644 index 0000000000000000000000000000000000000000..88511803a6cfa642e3ec2c672609ffcb89021c1b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_211.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_212.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_212.lua new file mode 100644 index 0000000000000000000000000000000000000000..017a157c3de25786eaf21dd8bf879ca848b7b54c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_212.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_215.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_215.lua new file mode 100644 index 0000000000000000000000000000000000000000..a79330e2cf0e86111ff765e7c5b9be0e65030b8a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_215.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_220.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_220.lua new file mode 100644 index 0000000000000000000000000000000000000000..07c6402af9ea65988661a0ff4bd9325445c2d7c5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_220.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_223.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_223.lua new file mode 100644 index 0000000000000000000000000000000000000000..4368fc2176f6fab18b6069ca371b4809be3b9999 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_223.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_224.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_224.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d42076dc68a46df686625791a8548274d2c13b9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_224.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_225.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_225.lua new file mode 100644 index 0000000000000000000000000000000000000000..eb58c8412b5a3f40250b87205cb8ea3903c21965 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_225.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_226.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_226.lua new file mode 100644 index 0000000000000000000000000000000000000000..ed711a92df31a836dde517dd92da4e257aa8388b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_226.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_231.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_231.lua new file mode 100644 index 0000000000000000000000000000000000000000..94137064f5564cf231df347152c84a735d8513e2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_231.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_232.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_232.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b23cadeff07f45136385c8e385bb2014dfa6d00 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_232.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_253.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_253.lua new file mode 100644 index 0000000000000000000000000000000000000000..806f1dd439948f36b973c795969611dbece2cdac Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_253.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_271.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_271.lua new file mode 100644 index 0000000000000000000000000000000000000000..fb63b8303dc3a067ad86424ee65f589910c63534 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack6/LevelP3_271.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack6/temp/Level75.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack6/temp/Level75.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..ab343eab6b08391f6fed8017c5d15e6295304223 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack6/temp/Level75.temp.lua @@ -0,0 +1,723 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} +levelParticles = { + ["y"] = -2321.1, + ["x"] = 2526.94, + ["firstFrame"] = true, + ["width"] = 8619.28, + +} +joints = { + +} +world = { + ["StoneBlock4_3"] = { + ["y"] = -2.4295, + ["x"] = 60.6892, + ["name"] = "StoneBlock4_3", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["BoomerangBird_2"] = { + ["y"] = -14.4408, + ["x"] = -34.0599, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StoneBlock4_1"] = { + ["y"] = -8.26957, + ["x"] = 66.4794, + ["name"] = "StoneBlock4_1", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock1_1"] = { + ["y"] = -40.6079, + ["x"] = 26.0875, + ["name"] = "StoneBlock1_1", + ["angle"] = 4.71241, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -16.0828, + ["x"] = -16.5808, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 1.1781, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StoneBlock12_1"] = { + ["y"] = -22.0397, + ["x"] = 72.4204, + ["name"] = "StoneBlock12_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -4.44086, + ["x"] = 22.4947, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock2_1"] = { + ["y"] = -39.206, + ["x"] = 26.0875, + ["name"] = "StoneBlock2_1", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock1_3"] = { + ["y"] = -17.9902, + ["x"] = 30.7466, + ["name"] = "LightBlock1_3", + ["angle"] = 4.71237, + ["definition"] = "LightBlock1", + + }, + ["WoodBlock5_1"] = { + ["y"] = -6.37926, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock4_3"] = { + ["y"] = -29.486, + ["x"] = 21.5874, + ["name"] = "WoodBlock4_3", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_5"] = { + ["y"] = -35.7479, + ["x"] = 26.0537, + ["name"] = "StoneBlock4_5", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock4", + + }, + ["LightBlock11_2"] = { + ["y"] = -11.3908, + ["x"] = 74.4008, + ["name"] = "LightBlock11_2", + ["angle"] = 3.1416, + ["definition"] = "LightBlock11", + + }, + ["LightBlock2_1"] = { + ["y"] = -0.631894, + ["x"] = 37.1641, + ["name"] = "LightBlock2_1", + ["angle"] = 6.28317, + ["definition"] = "LightBlock2", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -1.6326, + ["x"] = 80.8583, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -21.7656, + ["x"] = -21.1756, + ["name"] = "RedBird_2", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock1_2"] = { + ["y"] = -20.4777, + ["x"] = 80.029, + ["name"] = "LightBlock1_2", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = 0.0545471, + ["x"] = 65.6045, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock3_2"] = { + ["y"] = -37.1498, + ["x"] = 26.1472, + ["name"] = "StoneBlock3_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock6_1"] = { + ["y"] = -2.75868, + ["x"] = 11.7237, + ["name"] = "LightBlock6_1", + ["angle"] = 5.89053, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -10.2042, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_2"] = { + ["y"] = -29.5794, + ["x"] = 30.4663, + ["name"] = "WoodBlock4_2", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_2"] = { + ["y"] = -5.34953, + ["x"] = 63.5594, + ["name"] = "StoneBlock4_2", + ["angle"] = 5.49777, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock5_3"] = { + ["y"] = -10.4094, + ["x"] = 33.1231, + ["name"] = "WoodBlock5_3", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = -12.8553, + ["x"] = -20.4999, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 2.7489, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBeachBall_2"] = { + ["y"] = -16.2955, + ["x"] = 68.8428, + ["name"] = "ExtraBeachBall_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["StoneBlock5_1"] = { + ["y"] = -19.5353, + ["x"] = 25.9504, + ["name"] = "StoneBlock5_1", + ["angle"] = 1.57078, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_05_8"] = { + ["y"] = -16.0828, + ["x"] = -22.6899, + ["name"] = "StaticBlockTheme01_05_8", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock10_2"] = { + ["y"] = -18.6134, + ["x"] = 72.2692, + ["name"] = "WoodBlock10_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock10", + + }, + ["LargePiglette_1"] = { + ["y"] = -22.3925, + ["x"] = 76.3003, + ["name"] = "LargePiglette_1", + ["angle"] = 6.28318, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = -1.44392, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -2.12116, + ["x"] = 48.2315, + ["name"] = "HelmetPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "HelmetPiglette", + + }, + ["SmallPiglette_1"] = { + ["y"] = -2.08483, + ["x"] = 56.1017, + ["name"] = "SmallPiglette_1", + ["angle"] = 2.28882e-005, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock5_1"] = { + ["y"] = -2.30085, + ["x"] = 29.0003, + ["name"] = "LightBlock5_1", + ["angle"] = 1.57087, + ["definition"] = "LightBlock5", + + }, + ["LightBlock1_5"] = { + ["y"] = -15.0099, + ["x"] = 73.611, + ["name"] = "LightBlock1_5", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock3_1"] = { + ["y"] = -6.17056, + ["x"] = 36.2671, + ["name"] = "StoneBlock3_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock3", + + }, + ["LightBlock1_4"] = { + ["y"] = -15.0254, + ["x"] = 70.9254, + ["name"] = "LightBlock1_4", + ["angle"] = 0, + ["definition"] = "LightBlock1", + + }, + ["LightBlock11_1"] = { + ["y"] = -11.3594, + ["x"] = 70.2026, + ["name"] = "LightBlock11_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock11", + + }, + ["LightBlock5_2"] = { + ["y"] = -0.895058, + ["x"] = 40.2466, + ["name"] = "LightBlock5_2", + ["angle"] = 8.96454e-005, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.2516, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -11.4721, + ["x"] = 23.8779, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticFragileBlock06_1"] = { + ["y"] = -9.86928, + ["x"] = 76.8883, + ["name"] = "StaticFragileBlock06_1", + ["angle"] = 0, + ["definition"] = "StaticFragileBlock06", + + }, + ["WoodBlock4_1"] = { + ["y"] = -0.557886, + ["x"] = 33.9291, + ["name"] = "WoodBlock4_1", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock8_1"] = { + ["y"] = -2.84154, + ["x"] = 39.3815, + ["name"] = "StoneBlock8_1", + ["angle"] = 8.96454e-005, + ["definition"] = "StoneBlock8", + + }, + ["ExtraBeachBall_1"] = { + ["y"] = -16.2955, + ["x"] = 75.6956, + ["name"] = "ExtraBeachBall_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBeachBall", + + }, + ["BoomerangBird_1"] = { + ["y"] = -14.4123, + ["x"] = -11.3351, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["ExtraBlockFlag02_1"] = { + ["y"] = -6.33732, + ["x"] = 81.7915, + ["name"] = "ExtraBlockFlag02_1", + ["angle"] = 6.28317, + ["definition"] = "ExtraBlockFlag02", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -8.01414, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -2.61776, + ["x"] = 33.75, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock4_2"] = { + ["y"] = -26.0279, + ["x"] = 25.7932, + ["name"] = "LightBlock4_2", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -6.51566, + ["x"] = 72.29, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -16.1981, + ["x"] = -28.5685, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_02", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -12.7401, + ["x"] = 26.1832, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_16"] = { + ["y"] = -12.0485, + ["x"] = -24.88, + ["name"] = "StaticBlockTheme01_05_16", + ["angle"] = 1.9635, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock5_2"] = { + ["y"] = -8.34957, + ["x"] = 33.2126, + ["name"] = "WoodBlock5_2", + ["angle"] = 6.28318, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock10_1"] = { + ["y"] = -14.0112, + ["x"] = 72.3264, + ["name"] = "WoodBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock10_1"] = { + ["y"] = -4.85674, + ["x"] = 32.4962, + ["name"] = "LightBlock10_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock6_3"] = { + ["y"] = -32.944, + ["x"] = 26.167, + ["name"] = "StoneBlock6_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -1.78972, + ["x"] = 74.3648, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_1"] = { + ["y"] = -19.5707, + ["x"] = 76.5018, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_9"] = { + ["y"] = -8.1294, + ["x"] = -32.0266, + ["name"] = "StaticBlockTheme01_05_9", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = -0.867584, + ["x"] = -13.8144, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_15"] = { + ["y"] = -0.752319, + ["x"] = -19.8083, + ["name"] = "StaticBlockTheme01_05_15", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -7.092, + ["x"] = -23.151, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock11_1"] = { + ["y"] = -13.4391, + ["x"] = 33.1408, + ["name"] = "StoneBlock11_1", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock11", + + }, + ["StoneBlock10_2"] = { + ["y"] = -27.0246, + ["x"] = 26.0051, + ["name"] = "StoneBlock10_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = -0.752319, + ["x"] = -23.4968, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock6_2"] = { + ["y"] = -19.5707, + ["x"] = 68.1878, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["DecorationSkull02_1"] = { + ["y"] = -5.57322, + ["x"] = 38.9444, + ["name"] = "DecorationSkull02_1", + ["angle"] = 6.28318, + ["definition"] = "DecorationSkull02", + + }, + ["MediumPiglette_1"] = { + ["y"] = -21.8886, + ["x"] = 68.4901, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28318, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock4_4"] = { + ["y"] = -0.47558, + ["x"] = 56.7032, + ["name"] = "StoneBlock4_4", + ["angle"] = 6.28317, + ["definition"] = "StoneBlock4", + + }, + ["StoneBlock10_3"] = { + ["y"] = -32.1029, + ["x"] = 26.0736, + ["name"] = "StoneBlock10_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock10", + + }, + ["StoneBlock5_2"] = { + ["y"] = -23.5044, + ["x"] = 25.9801, + ["name"] = "StoneBlock5_2", + ["angle"] = 1.57079, + ["definition"] = "StoneBlock5", + + }, + ["MediumPiglette_2"] = { + ["y"] = -29.3277, + ["x"] = 25.8405, + ["name"] = "MediumPiglette_2", + ["angle"] = 2.28882e-005, + ["definition"] = "MediumPiglette", + + }, + ["LightBlock1_1"] = { + ["y"] = -20.5785, + ["x"] = 64.5599, + ["name"] = "LightBlock1_1", + ["angle"] = 6.28318, + ["definition"] = "LightBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -34.346, + ["x"] = 26.0537, + ["name"] = "StoneBlock5_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock5", + + }, + ["YellowBird_1"] = { + ["y"] = -21.8738, + ["x"] = -24.636, + ["name"] = "YellowBird_1", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["ExtraBeachBall_3"] = { + ["y"] = -1.69977, + ["x"] = 15.478, + ["name"] = "ExtraBeachBall_3", + ["angle"] = 2.28882e-005, + ["definition"] = "ExtraBeachBall", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["DecorationSkull02"] = 1, + ["ExtraBeachBall"] = 3, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 2, + ["WoodBlock9"] = 1, + ["ExtraBlockTNT"] = 2, + ["WOODEN_TIRE"] = 2, + ["LightBlock11"] = 2, + ["StoneBlock3"] = 2, + ["StaticBlockTheme01_02"] = 2, + ["StaticFragileBlock02"] = 3, + ["StoneBlock2"] = 1, + ["WoodBlock10"] = 2, + ["StoneBlock1"] = 1, + ["StoneBlock12"] = 1, + ["LargePiglette"] = 2, + ["HelmetPiglette"] = 1, + ["WoodBlock5"] = 3, + ["StaticFragileBlock05"] = 19, + ["StoneBlock10"] = 3, + ["SmallPiglette"] = 1, + ["LightBlock6"] = 1, + ["StoneBlock4"] = 5, + ["StoneBlock8"] = 1, + ["StaticFragileBlock06"] = 1, + ["RedBird"] = 2, + ["StaticBlockTheme01_05"] = 17, + ["StaticBlockTheme18_04"] = 1, + ["LightBlock5"] = 2, + ["StoneBlock5"] = 3, + ["LightBlock2"] = 1, + ["StoneBlock6"] = 3, + ["LightBlock1"] = 5, + ["LightBlock10"] = 1, + ["BoomerangBird"] = 2, + ["WoodBlock4"] = 3, + ["StoneBlock11"] = 1, + ["YellowBird"] = 1, + ["LightBlock4"] = 2, + +} +theme = "theme23" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 411.899, + ["screenWidth"] = 1366, + ["py"] = -473.351, + ["screenHeight"] = 768, + ["top"] = -1358.6, + ["sy"] = 0.433776, + ["sx"] = 0.433776, + ["px"] = 579.122, + ["left"] = -995.423, + ["right"] = 2153.67, + + }, + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_159.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_159.lua new file mode 100644 index 0000000000000000000000000000000000000000..156e26e7ebf52f4aa4bf05dcbbb6f28df1dcfb3f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_159.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_160.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_160.lua new file mode 100644 index 0000000000000000000000000000000000000000..06545b28dea8e54cbc0066c1a7b66f414f91a309 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_160.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_161.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_161.lua new file mode 100644 index 0000000000000000000000000000000000000000..c00fa6958f44706a64fd9ec0bd4956ad0a021eeb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_161.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_163.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_163.lua new file mode 100644 index 0000000000000000000000000000000000000000..e22717c9b585c7275591d2b35bf7fd5337b95fc0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_163.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_164.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_164.lua new file mode 100644 index 0000000000000000000000000000000000000000..220e5193ba805006a35610c6ce24acf12df82d02 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_164.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_166.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_166.lua new file mode 100644 index 0000000000000000000000000000000000000000..409ec4f704c56ddfe6a032ed8f85a3cc116ad2b2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_166.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_214.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_214.lua new file mode 100644 index 0000000000000000000000000000000000000000..3f8ee04e12ffbb06ea394c927d7b752002169c5e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_214.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_216.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_216.lua new file mode 100644 index 0000000000000000000000000000000000000000..193c2e8e501d9e7cf1001e8ef9191163a0a54d89 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_216.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_219.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_219.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d704e2640dfe8517743b70ad33cbb3a9e52a187 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_219.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_237.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_237.lua new file mode 100644 index 0000000000000000000000000000000000000000..29786e14ac5205b0af1f5cd3e0006dd2e4a047d6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_237.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_298.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_298.lua new file mode 100644 index 0000000000000000000000000000000000000000..6a8cb0e5a6080a503f01663e8600c5560470414a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_298.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_299.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_299.lua new file mode 100644 index 0000000000000000000000000000000000000000..0df1bf59946d4657f12928ff6c530c7a4b1d430a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_299.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_302.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_302.lua new file mode 100644 index 0000000000000000000000000000000000000000..e67ba5844eb63d9cac92afaaa1d6ba7befe2a2e4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_302.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_303.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_303.lua new file mode 100644 index 0000000000000000000000000000000000000000..36f5bf0a5f226a4bac8afbca07e89436f76752e7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_303.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_304.lua b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_304.lua new file mode 100644 index 0000000000000000000000000000000000000000..aec9e5e62702289fb5ca62cb601927c36ce1c318 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack7/LevelP3_304.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_149.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_149.lua new file mode 100644 index 0000000000000000000000000000000000000000..3ddc73de2b35850e99a9779799e6482784495f0a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_149.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_168.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_168.lua new file mode 100644 index 0000000000000000000000000000000000000000..04c133e78abc76e581b0332a43ebb1e58865781d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_168.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_217.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_217.lua new file mode 100644 index 0000000000000000000000000000000000000000..6f9eeb59d838375d04fcd333eef79b73f7685c32 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_217.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_221.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_221.lua new file mode 100644 index 0000000000000000000000000000000000000000..41f0932d553a11009f65266f2cdfb15c5f0b6c3f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_221.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_296.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_296.lua new file mode 100644 index 0000000000000000000000000000000000000000..7147f161cc8c65da3e98acc66d5630ab5b98d955 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_296.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_297.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_297.lua new file mode 100644 index 0000000000000000000000000000000000000000..6815604dd03240ca6d5de9a51d408348e95115ca Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_297.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_301.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_301.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f9285f1fa28d7b05058ca0f1c2926b425d3ffc2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_301.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_306.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_306.lua new file mode 100644 index 0000000000000000000000000000000000000000..897fcfb4f074782ec1327c8a23a12a93455f701e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_306.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_307.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_307.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d24fadb15fb244ea488a001506e8514f8aab374 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_307.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_308.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_308.lua new file mode 100644 index 0000000000000000000000000000000000000000..084866faccb561697ecce1270cc5f5d5572cbff3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_308.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_309.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_309.lua new file mode 100644 index 0000000000000000000000000000000000000000..48df502878e0adb3d4e5c3cd25f82bfd76914388 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_309.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_310.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_310.lua new file mode 100644 index 0000000000000000000000000000000000000000..edf7d6b4845418c1a0206c917b7a18e551b71036 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_310.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_311.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_311.lua new file mode 100644 index 0000000000000000000000000000000000000000..c249f8425df0d4a5b527678000f5c8d063bea0a2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_311.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_312.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_312.lua new file mode 100644 index 0000000000000000000000000000000000000000..63f84a732f35610eb0501d0ad1e3d8724df0687a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_312.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_313.lua b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_313.lua new file mode 100644 index 0000000000000000000000000000000000000000..93f5ffb3bb4a71b830f051749a0e3ed21d8128d2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack8/LevelP3_313.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_421.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_421.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d0ff696c01464c33241523c667e6b308e34454b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_421.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_423.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_423.lua new file mode 100644 index 0000000000000000000000000000000000000000..47d929c911c0368836747f5c22bc71552f443567 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_423.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_424.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_424.lua new file mode 100644 index 0000000000000000000000000000000000000000..c89a18755ce9db5f31f03132aa3a69f9bd823a73 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_424.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_425.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_425.lua new file mode 100644 index 0000000000000000000000000000000000000000..c7066ac247eceac3a429f51bc9a4acfa5be480ed Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_425.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_426.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_426.lua new file mode 100644 index 0000000000000000000000000000000000000000..b7fd24b25cefc0c6f0e7c2b2ec165c69ed196631 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_426.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_427.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_427.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6fc3a420e8fafd4faf0768e818b77a04f4e51d3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_427.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_428.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_428.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d596d6250aa16fa72a5c44edc95d84f8f9cfab7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_428.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_429.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_429.lua new file mode 100644 index 0000000000000000000000000000000000000000..0a27b1c4c5667e8c1f6688a807b347e89a12e760 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_429.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_431.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_431.lua new file mode 100644 index 0000000000000000000000000000000000000000..4d8631a8f44077f0e48ad024debe501ef08135dc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_431.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_432.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_432.lua new file mode 100644 index 0000000000000000000000000000000000000000..b4fb7537342ceaf68ebadcaa0db1f8bad9c4eedb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_432.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_433.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_433.lua new file mode 100644 index 0000000000000000000000000000000000000000..6fa85f6cd04faf2016380c10236f9ae931802dbd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_433.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_436.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_436.lua new file mode 100644 index 0000000000000000000000000000000000000000..c460396a2e2da05539ce3d246232241031115f13 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_436.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_439.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_439.lua new file mode 100644 index 0000000000000000000000000000000000000000..3495d1dc5c91d1a0f144e99feae6b527532a6703 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_439.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_440.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_440.lua new file mode 100644 index 0000000000000000000000000000000000000000..fa1b8647e28a2bf1db31067ee21bc77648e1a9af Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_440.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_441.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_441.lua new file mode 100644 index 0000000000000000000000000000000000000000..a1a730ac08c582339dd1d8d1b59d406379c87815 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/pack9/LevelP4_441.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/temp/LevelP4_436.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/temp/LevelP4_436.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..7e6b8e050f580d0d183df7feb0fe55e36945c665 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack9/temp/LevelP4_436.temp.lua @@ -0,0 +1,813 @@ +themeSprites = { + +} +castleCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 100.324, + ["px"] = 531.429, + ["right"] = 1131.43, + ["screenHeight"] = 320, + ["sy"] = 0.4, + ["top"] = -699.676, + ["iphone"] = { + ["bottom"] = 100.324, + ["screenWidth"] = 480, + ["py"] = -299.676, + ["screenHeight"] = 320, + ["top"] = -699.676, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1131.43, + ["left"] = -68.571, + ["px"] = 531.429, + + }, + ["version"] = "0.02", + ["sx"] = 0.4, + ["windows"] = { + ["bottom"] = 277.161, + ["screenWidth"] = 1366, + ["py"] = -319.516, + ["screenHeight"] = 768, + ["top"] = -916.193, + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = 473.121, + ["left"] = -588.157, + ["right"] = 1534.4, + + }, + ["left"] = -68.571, + ["ipad"] = { + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = 473.121, + ["py"] = -319.516, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["py"] = -299.676, + +} +levelParticles = { + ["y"] = -2027.63, + ["x"] = 1643.94, + ["firstFrame"] = true, + ["width"] = 7020.01, + +} +joints = { + +} +world = { + ["WoodBlock6_136"] = { + ["y"] = -5.62613, + ["x"] = 24.2425, + ["name"] = "WoodBlock6_136", + ["angle"] = 1.57581, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_27"] = { + ["y"] = -4.54147, + ["x"] = 45.2949, + ["name"] = "StaticBlockTheme01_05_27", + ["angle"] = 4.71284, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock1_23"] = { + ["y"] = -16.1212, + ["x"] = 21.6984, + ["name"] = "WoodBlock1_23", + ["angle"] = 0.00306242, + ["definition"] = "WoodBlock1", + + }, + ["StoneBlock6_86"] = { + ["y"] = -13.3718, + ["x"] = 7.97791, + ["name"] = "StoneBlock6_86", + ["angle"] = 4.71192, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock6_80"] = { + ["y"] = -26.0633, + ["x"] = 22.8314, + ["name"] = "StoneBlock6_80", + ["angle"] = 2.87154, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock10_4"] = { + ["y"] = -4.80239, + ["x"] = -6.39477, + ["name"] = "WoodBlock10_4", + ["angle"] = 0.00456239, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_29"] = { + ["y"] = -0.906396, + ["x"] = -29.9762, + ["name"] = "StaticBlockTheme01_05_29", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StoneBlock6_73"] = { + ["y"] = -13.8837, + ["x"] = 39.8878, + ["name"] = "StoneBlock6_73", + ["angle"] = 3.12867, + ["definition"] = "StoneBlock6", + + }, + ["StoneBlock6_72"] = { + ["y"] = -13.9813, + ["x"] = 14.6772, + ["name"] = "StoneBlock6_72", + ["angle"] = 3.1416, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_135"] = { + ["y"] = -14.9162, + ["x"] = 31.2933, + ["name"] = "WoodBlock6_135", + ["angle"] = 3.15887, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock1_24"] = { + ["y"] = -15.92, + ["x"] = 32.3069, + ["name"] = "WoodBlock1_24", + ["angle"] = 6.26602, + ["definition"] = "WoodBlock1", + + }, + ["WoodBlock6_143"] = { + ["y"] = -22.8353, + ["x"] = 33.8761, + ["name"] = "WoodBlock6_143", + ["angle"] = 0.904128, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_86"] = { + ["y"] = -16.4293, + ["x"] = 41.2536, + ["name"] = "WoodBlock4_86", + ["angle"] = 4.70771, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_11"] = { + ["y"] = -6.89313, + ["x"] = 38.2369, + ["name"] = "StaticBlockTheme02_04_11", + ["angle"] = 6.42143e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -19.6055, + ["x"] = 24.136, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 0.0133138, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_134"] = { + ["y"] = -18.929, + ["x"] = 39.7128, + ["name"] = "WoodBlock6_134", + ["angle"] = 3.12739, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock2_14"] = { + ["y"] = -3.7272, + ["x"] = -2.99431, + ["name"] = "WoodBlock2_14", + ["angle"] = 0.00433235, + ["definition"] = "WoodBlock2", + + }, + ["WoodBlock10_6"] = { + ["y"] = -6.93232, + ["x"] = -6.29085, + ["name"] = "WoodBlock10_6", + ["angle"] = 0.00494527, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_111"] = { + ["y"] = -10.5297, + ["x"] = 22.2467, + ["name"] = "WoodBlock6_111", + ["angle"] = 1.57316, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_112"] = { + ["y"] = -10.4204, + ["x"] = 34.2992, + ["name"] = "WoodBlock6_112", + ["angle"] = 1.56213, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_04_10"] = { + ["y"] = -10.9463, + ["x"] = 15.2983, + ["name"] = "StaticBlockTheme02_04_10", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["ExtraHelmetSmall_2"] = { + ["y"] = -18.3724, + ["x"] = 13.71, + ["name"] = "ExtraHelmetSmall_2", + ["angle"] = 0.0470378, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_126"] = { + ["y"] = -19.4656, + ["x"] = 27.1374, + ["name"] = "WoodBlock6_126", + ["angle"] = 4.69999, + ["definition"] = "WoodBlock6", + + }, + ["RedBigBird_5"] = { + ["y"] = -7.83724, + ["x"] = -51.2809, + ["name"] = "RedBigBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["HelmetPiglette_19"] = { + ["y"] = -16.4428, + ["x"] = 13.6501, + ["name"] = "HelmetPiglette_19", + ["angle"] = 0.0298791, + ["definition"] = "HelmetPiglette", + + }, + ["StoneBlock4_25"] = { + ["y"] = -11.4272, + ["x"] = 18.3353, + ["name"] = "StoneBlock4_25", + ["angle"] = 4.71241, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_12"] = { + ["y"] = -23.9548, + ["x"] = 24.0645, + ["name"] = "WoodBlock10_12", + ["angle"] = 3.15347, + ["definition"] = "WoodBlock10", + + }, + ["RedBigBird_4"] = { + ["y"] = -7.78285, + ["x"] = -49.7247, + ["name"] = "RedBigBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["WoodBlock2_18"] = { + ["y"] = -5.84873, + ["x"] = -2.95254, + ["name"] = "WoodBlock2_18", + ["angle"] = 0.00503094, + ["definition"] = "WoodBlock2", + + }, + ["HelmetPiglette_22"] = { + ["y"] = -17.4451, + ["x"] = 30.0773, + ["name"] = "HelmetPiglette_22", + ["angle"] = 0.00337175, + ["definition"] = "HelmetPiglette", + + }, + ["StoneBlock4_30"] = { + ["y"] = -17.9243, + ["x"] = 9.02664, + ["name"] = "StoneBlock4_30", + ["angle"] = 6.2433, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = -1.49989, + ["x"] = 36.4782, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock6_140"] = { + ["y"] = -15.0475, + ["x"] = 23.0155, + ["name"] = "WoodBlock6_140", + ["angle"] = 3.14418, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_7"] = { + ["y"] = -4.52052, + ["x"] = -13.3086, + ["name"] = "WoodBlock10_7", + ["angle"] = 2.07721, + ["definition"] = "WoodBlock10", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0.690901, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock6_138"] = { + ["y"] = -10.0696, + ["x"] = 27.5183, + ["name"] = "WoodBlock6_138", + ["angle"] = 3.14082, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock2_12"] = { + ["y"] = -1.64423, + ["x"] = -9.84698, + ["name"] = "WoodBlock2_12", + ["angle"] = 0.00190811, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -10.8314, + ["x"] = 39.3244, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["WoodBlock4_90"] = { + ["y"] = -16.3456, + ["x"] = 36.2598, + ["name"] = "WoodBlock4_90", + ["angle"] = 4.70555, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_3"] = { + ["y"] = -2.68886, + ["x"] = -6.5025, + ["name"] = "WoodBlock10_3", + ["angle"] = 0.00388365, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_25"] = { + ["y"] = -1.70593, + ["x"] = 11.3596, + ["name"] = "StaticBlockTheme01_05_25", + ["angle"] = 1.57123, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["BoomerangBird_1"] = { + ["y"] = -7.40041, + ["x"] = -35.9747, + ["name"] = "BoomerangBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["StaticBlockTheme02_02_6"] = { + ["y"] = -0.79404, + ["x"] = 27.499, + ["name"] = "StaticBlockTheme02_02_6", + ["angle"] = 3.1416, + ["definition"] = "StaticBlockTheme10_02", + + }, + ["StaticBlockTheme02_02_8"] = { + ["y"] = -7.04322, + ["x"] = 14.0046, + ["name"] = "StaticBlockTheme02_02_8", + ["angle"] = 3.8624e-006, + ["definition"] = "StaticBlockTheme10_02", + + }, + ["HelmetPiglette_17"] = { + ["y"] = -17.5402, + ["x"] = 24.0347, + ["name"] = "HelmetPiglette_17", + ["angle"] = 6.23084, + ["definition"] = "HelmetPiglette", + + }, + ["ExtraHelmetSmall_5"] = { + ["y"] = -6.1334, + ["x"] = 27.5769, + ["name"] = "ExtraHelmetSmall_5", + ["angle"] = 0.0133137, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock4_94"] = { + ["y"] = -12.5835, + ["x"] = 26.537, + ["name"] = "WoodBlock4_94", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock2_16"] = { + ["y"] = -5.88157, + ["x"] = -9.68418, + ["name"] = "WoodBlock2_16", + ["angle"] = 0.00451558, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock6_82"] = { + ["y"] = -24.9392, + ["x"] = 27.2584, + ["name"] = "StoneBlock6_82", + ["angle"] = 0.0216033, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock2_13"] = { + ["y"] = -3.75792, + ["x"] = -9.82544, + ["name"] = "WoodBlock2_13", + ["angle"] = 0.00357636, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme01_05_31"] = { + ["y"] = -0.99463, + ["x"] = -48.7115, + ["name"] = "StaticBlockTheme01_05_31", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StaticBlockTheme01_05_30"] = { + ["y"] = -0.95052, + ["x"] = -39.2335, + ["name"] = "StaticBlockTheme01_05_30", + ["angle"] = 2.89599e-005, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock2_20"] = { + ["y"] = -25.9994, + ["x"] = 26.9621, + ["name"] = "WoodBlock2_20", + ["angle"] = 3.1416, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme02_04_9"] = { + ["y"] = -10.9463, + ["x"] = 12.0878, + ["name"] = "StaticBlockTheme02_04_9", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["WoodBlock10_8"] = { + ["y"] = -4.5231, + ["x"] = -14.5748, + ["name"] = "WoodBlock10_8", + ["angle"] = 2.08554, + ["definition"] = "WoodBlock10", + + }, + ["RedBigBird_3"] = { + ["y"] = -7.73185, + ["x"] = -47.6483, + ["name"] = "RedBigBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -6.93142, + ["x"] = 7.96605, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = -1.57567, + ["x"] = 18.3589, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StaticBlockTheme02_02_7"] = { + ["y"] = -8.54322, + ["x"] = 14.0046, + ["name"] = "StaticBlockTheme02_02_7", + ["angle"] = 3.8624e-006, + ["definition"] = "StaticBlockTheme10_02", + + }, + ["WoodBlock5_53"] = { + ["y"] = -16.3901, + ["x"] = 17.7824, + ["name"] = "WoodBlock5_53", + ["angle"] = 1.56376, + ["definition"] = "WoodBlock5", + + }, + ["ExtraHelmetSmall_4"] = { + ["y"] = -19.422, + ["x"] = 30.1933, + ["name"] = "ExtraHelmetSmall_4", + ["angle"] = 0.0133137, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StoneBlock6_70"] = { + ["y"] = -10.5305, + ["x"] = 19.5076, + ["name"] = "StoneBlock6_70", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_137"] = { + ["y"] = -5.6269, + ["x"] = 30.8567, + ["name"] = "WoodBlock6_137", + ["angle"] = 1.56515, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme02_05_5"] = { + ["y"] = 1.55887, + ["x"] = 50.0933, + ["name"] = "StaticBlockTheme02_05_5", + ["angle"] = 0.785405, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock2_15"] = { + ["y"] = -1.62844, + ["x"] = -3.14493, + ["name"] = "WoodBlock2_15", + ["angle"] = 0.00244908, + ["definition"] = "WoodBlock2", + + }, + ["BoomerangBird_2"] = { + ["y"] = -7.41455, + ["x"] = -44.4178, + ["name"] = "BoomerangBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BoomerangBird", + + }, + ["GrandpaPiglette_1"] = { + ["y"] = -3.91656, + ["x"] = 27.5425, + ["name"] = "GrandpaPiglette_1", + ["angle"] = 6.67099e-005, + ["definition"] = "GrandpaPiglette", + + }, + ["WoodBlock6_133"] = { + ["y"] = -12.8962, + ["x"] = 46.1259, + ["name"] = "WoodBlock6_133", + ["angle"] = 0.921581, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_93"] = { + ["y"] = -14.9304, + ["x"] = 38.7371, + ["name"] = "WoodBlock4_93", + ["angle"] = 6.2686, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock4_39"] = { + ["y"] = -22.9834, + ["x"] = 16.5153, + ["name"] = "StoneBlock4_39", + ["angle"] = 6.24668, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock10_2"] = { + ["y"] = -0.5846, + ["x"] = -6.55339, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.00115507, + ["definition"] = "WoodBlock10", + + }, + ["StaticBlockTheme01_05_17"] = { + ["y"] = 0.849625, + ["x"] = 5.91515, + ["name"] = "StaticBlockTheme01_05_17", + ["angle"] = 0.785833, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -10.8314, + ["x"] = 42.6536, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.30337e-006, + ["definition"] = "StaticBlockTheme10_04", + + }, + ["StoneBlock4_33"] = { + ["y"] = -15.434, + ["x"] = 10.1645, + ["name"] = "StoneBlock4_33", + ["angle"] = 4.70509, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock6_114"] = { + ["y"] = -13.3826, + ["x"] = 9.04879, + ["name"] = "WoodBlock6_114", + ["angle"] = 4.7119, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock6_90"] = { + ["y"] = -18.4835, + ["x"] = 16.2807, + ["name"] = "StoneBlock6_90", + ["angle"] = 4.71322, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_28"] = { + ["y"] = 1.0789, + ["x"] = -25.16, + ["name"] = "StaticBlockTheme01_05_28", + ["angle"] = 5.49782, + ["definition"] = "StaticBlockTheme10_05", + + }, + ["WoodBlock6_110"] = { + ["y"] = -19.5264, + ["x"] = 20.045, + ["name"] = "WoodBlock6_110", + ["angle"] = 1.57242, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock4_95"] = { + ["y"] = -12.5435, + ["x"] = 28.177, + ["name"] = "WoodBlock4_95", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 12, + ["StoneBlock6"] = 93, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 12, + ["LightBlock5"] = 5, + ["StaticBlockTheme02_04"] = 11, + ["WoodBlock1"] = 24, + ["YellowBird"] = 6, + ["StoneBlock3"] = 22, + ["RedBird"] = 10, + ["StaticBlockTheme01_03"] = 21, + ["StoneBlock2"] = 5, + ["StaticBlockTheme01_04"] = 7, + ["WoodBlock2"] = 20, + ["WoodBlock10"] = 12, + ["StaticBlockTheme03_02"] = 2, + ["StoneBlock1"] = 21, + ["WoodBlock6"] = 143, + ["LargePiglette"] = 6, + ["HelmetPiglette"] = 22, + ["BasicBird2"] = 7, + ["WoodBlock9"] = 2, + ["WoodBlock3"] = 39, + ["WoodBlock5"] = 53, + ["StaticBlockTheme01_02"] = 24, + ["SmallBlueBird"] = 1, + ["ExtraHelmetBig2"] = 4, + ["BlackBird"] = 12, + ["StoneBlock7"] = 12, + ["LightBlock6"] = 2, + ["SmallPiglette"] = 16, + ["ExtraHelmetSmall"] = 5, + ["StoneBlock4"] = 39, + ["ExtraHelmetSmall2"] = 4, + ["StoneBlock8"] = 16, + ["StaticBlockTheme01_01"] = 9, + ["WoodBlock4"] = 95, + ["StaticBlockTheme02_05"] = 5, + ["WoodBlock7"] = 3, + ["StaticBlockTheme02_01"] = 4, + ["StaticBlockTheme02_02"] = 8, + ["GrandpaPiglette"] = 1, + ["StoneBlock5"] = 120, + ["ExtraBlockStairs"] = 5, + ["LightBlock3"] = 2, + ["ExtraBlockTNT"] = 4, + ["KingPiglette"] = 2, + ["BoomerangBird"] = 2, + ["RedBigBird"] = 5, + ["ExtraHelmetBig"] = 2, + ["StaticBlockTheme01_05"] = 31, + +} +theme = "theme10" +birdCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 100.324, + ["px"] = -454.411, + ["right"] = 1131.43, + ["screenHeight"] = 320, + ["sy"] = 0.4, + ["top"] = -680.067, + ["iphone"] = { + ["bottom"] = 100.324, + ["screenWidth"] = 480, + ["py"] = -280.067, + ["screenHeight"] = 320, + ["top"] = -680.067, + ["sy"] = 0.4, + ["sx"] = 0.4, + ["right"] = 1131.43, + ["left"] = -1054.41, + ["px"] = -454.411, + + }, + ["version"] = "0.02", + ["sx"] = 0.4, + ["windows"] = { + ["bottom"] = 277.161, + ["screenWidth"] = 1366, + ["py"] = -319.127, + ["screenHeight"] = 768, + ["top"] = -915.804, + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = -274.151, + ["left"] = -1335.43, + ["right"] = 1534.4, + + }, + ["left"] = -1054.41, + ["ipad"] = { + ["bottom"] = 269.392, + ["screenWidth"] = 1024, + ["py"] = -319.127, + ["screenHeight"] = 768, + ["top"] = -915.804, + ["sy"] = 0.643564, + ["sx"] = 0.643564, + ["px"] = -274.151, + ["left"] = -1069.72, + ["right"] = 1316.86, + + }, + ["py"] = -280.067, + +} +filename = LevelP4_436.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/pack9/temp/LevelP4_441.temp.lua b/Angry Birds Project R/0.3.0/data/levels/pack9/temp/LevelP4_441.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..cbc861af7dee64aaee7919016ac44ea80451177c --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/pack9/temp/LevelP4_441.temp.lua @@ -0,0 +1,849 @@ +themeSprites = { + +} +castleCameraData = { + ["right"] = 1336.2, + ["bottom"] = 204.048, + ["px"] = 650.486, + ["py"] = -253.095, + ["left"] = -35.2283, + ["screenHeight"] = 320, + ["top"] = -710.238, + ["iphone"] = { + ["bottom"] = 204.048, + ["screenWidth"] = 1680, + ["py"] = -253.095, + ["screenHeight"] = 1024, + ["top"] = -710.238, + ["sy"] = 1.12, + ["sx"] = 1.12, + ["right"] = 1400.49, + ["left"] = -99.514, + ["px"] = 650.486, + + }, + ["sy"] = 0.35, + ["sx"] = 0.35, + ["windows"] = { + ["bottom"] = 227.819, + ["screenWidth"] = 1366, + ["py"] = -356.543, + ["screenHeight"] = 768, + ["top"] = -940.905, + ["sy"] = 0.657127, + ["sx"] = 0.657127, + ["right"] = 1628, + ["left"] = -450.741, + ["px"] = 588.632, + + }, + ["version"] = "0.02", + ["ipad"] = { + ["sy"] = 0.657127, + ["sx"] = 0.657127, + ["px"] = 588.632, + ["py"] = -356.543, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["screenWidth"] = 480, + +} +levelParticles = { + ["y"] = -2149.09, + ["x"] = 1702.89, + ["firstFrame"] = true, + ["width"] = 7352.12, + +} +joints = { + +} +world = { + ["WoodBlock5_22"] = { + ["y"] = -14.1657, + ["x"] = 36.7859, + ["name"] = "WoodBlock5_22", + ["angle"] = 1.62965, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock6_60"] = { + ["y"] = -17.5534, + ["x"] = 40.7685, + ["name"] = "WoodBlock6_60", + ["angle"] = 0.00861944, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_73"] = { + ["y"] = -11.172, + ["x"] = 52.9138, + ["name"] = "WoodBlock5_73", + ["angle"] = 6.26229, + ["definition"] = "WoodBlock5", + + }, + ["HelmetPiglette_10"] = { + ["y"] = -20.1101, + ["x"] = 38.4725, + ["name"] = "HelmetPiglette_10", + ["angle"] = 0, + ["definition"] = "HelmetPiglette", + + }, + ["StoneBlock6_52"] = { + ["y"] = -4.01202, + ["x"] = 2.04601, + ["name"] = "StoneBlock6_52", + ["angle"] = 5.17309, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_02_15"] = { + ["y"] = -2.03951, + ["x"] = 65.8286, + ["name"] = "StaticBlockTheme01_02_15", + ["angle"] = 3.92709, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StaticBlockTheme01_02_18"] = { + ["y"] = 3.39401, + ["x"] = 21.6939, + ["name"] = "StaticBlockTheme01_02_18", + ["angle"] = 1.5709, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["WoodBlock5_27"] = { + ["y"] = -15.2086, + ["x"] = 52.8141, + ["name"] = "WoodBlock5_27", + ["angle"] = 6.25099, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_95"] = { + ["y"] = -5.16658, + ["x"] = 34.1849, + ["name"] = "StoneBlock5_95", + ["angle"] = 0.0125753, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_96"] = { + ["y"] = -3.12907, + ["x"] = 36.2083, + ["name"] = "StoneBlock5_96", + ["angle"] = 0.00381296, + ["definition"] = "StoneBlock5", + + }, + ["SmallPiglette_12"] = { + ["y"] = -3.18597, + ["x"] = 44.7134, + ["name"] = "SmallPiglette_12", + ["angle"] = 0.0124976, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock3_33"] = { + ["y"] = -24.0004, + ["x"] = 43.5297, + ["name"] = "WoodBlock3_33", + ["angle"] = 0.0274635, + ["definition"] = "WoodBlock3", + + }, + ["WoodBlock5_35"] = { + ["y"] = -20.0592, + ["x"] = 41.6099, + ["name"] = "WoodBlock5_35", + ["angle"] = 1.57825, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_11"] = { + ["y"] = -1.18951, + ["x"] = 58.2786, + ["name"] = "StaticBlockTheme01_05_11", + ["angle"] = 4.71249, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_56"] = { + ["y"] = -6.5951, + ["x"] = 44.8287, + ["name"] = "WoodBlock6_56", + ["angle"] = 0.00148589, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_18"] = { + ["y"] = -4.211, + ["x"] = 30.1362, + ["name"] = "WoodBlock5_18", + ["angle"] = 4.72433, + ["definition"] = "WoodBlock5", + + }, + ["SmallPiglette_14"] = { + ["y"] = -3.2871, + ["x"] = 26.4225, + ["name"] = "SmallPiglette_14", + ["angle"] = 0.000119063, + ["definition"] = "SmallPiglette", + + }, + ["SmallPiglette_15"] = { + ["y"] = -9.26189, + ["x"] = 24.3547, + ["name"] = "SmallPiglette_15", + ["angle"] = 0.000119063, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock5_28"] = { + ["y"] = -13.2441, + ["x"] = 53.994, + ["name"] = "WoodBlock5_28", + ["angle"] = 6.25781, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_91"] = { + ["y"] = -4.11952, + ["x"] = 41.5483, + ["name"] = "WoodBlock5_91", + ["angle"] = 4.71769, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock6_66"] = { + ["y"] = -12.1422, + ["x"] = 27.9707, + ["name"] = "WoodBlock6_66", + ["angle"] = 4.71248, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_21"] = { + ["y"] = -14.249, + ["x"] = 31.5498, + ["name"] = "WoodBlock5_21", + ["angle"] = 1.61904, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_109"] = { + ["y"] = -2.11398, + ["x"] = 10.5459, + ["name"] = "StoneBlock5_109", + ["angle"] = 1.58494, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock5_88"] = { + ["y"] = -4.12212, + ["x"] = 4.58999, + ["name"] = "StoneBlock5_88", + ["angle"] = 1.61134, + ["definition"] = "StoneBlock5", + + }, + ["RedBigBird_2"] = { + ["y"] = -1.7554, + ["x"] = -45.0728, + ["name"] = "RedBigBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StoneBlock5_93"] = { + ["y"] = -18.294, + ["x"] = 28.5854, + ["name"] = "StoneBlock5_93", + ["angle"] = 6.22333, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock6_63"] = { + ["y"] = -11.0475, + ["x"] = 44.7903, + ["name"] = "WoodBlock6_63", + ["angle"] = 1.57193, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock5_91"] = { + ["y"] = -3.16941, + ["x"] = 7.56735, + ["name"] = "StoneBlock5_91", + ["angle"] = 0.0220858, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock5_72"] = { + ["y"] = -7.14964, + ["x"] = 36.2178, + ["name"] = "WoodBlock5_72", + ["angle"] = 0.0183994, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_94"] = { + ["y"] = -7.21674, + ["x"] = 32.0917, + ["name"] = "StoneBlock5_94", + ["angle"] = 0.012726, + ["definition"] = "StoneBlock5", + + }, + ["StaticBlockTheme01_01_10"] = { + ["y"] = -1.2902, + ["x"] = 29.6913, + ["name"] = "StaticBlockTheme01_01_10", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["StaticBlockTheme01_05_13"] = { + ["y"] = 3.18348, + ["x"] = 16.4834, + ["name"] = "StaticBlockTheme01_05_13", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_70"] = { + ["y"] = -9.21685, + ["x"] = 32.7111, + ["name"] = "WoodBlock5_70", + ["angle"] = 0.0226525, + ["definition"] = "WoodBlock5", + + }, + ["RedBigBird_4"] = { + ["y"] = -1.88689, + ["x"] = -50.9668, + ["name"] = "RedBigBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["RedBigBird_1"] = { + ["y"] = -1.85986, + ["x"] = -38.8061, + ["name"] = "RedBigBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["StaticBlockTheme01_05_14"] = { + ["y"] = 3.34138, + ["x"] = 27.2176, + ["name"] = "StaticBlockTheme01_05_14", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_02_17"] = { + ["y"] = -1.34283, + ["x"] = 24.7992, + ["name"] = "StaticBlockTheme01_02_17", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StoneBlock5_89"] = { + ["y"] = -19.2768, + ["x"] = 21.7928, + ["name"] = "StoneBlock5_89", + ["angle"] = 1.58958, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock5_71"] = { + ["y"] = -11.1734, + ["x"] = 36.0472, + ["name"] = "WoodBlock5_71", + ["angle"] = 0.0371558, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_92"] = { + ["y"] = -4.1147, + ["x"] = 47.9509, + ["name"] = "WoodBlock5_92", + ["angle"] = 4.70812, + ["definition"] = "WoodBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 9.98895, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock6_62"] = { + ["y"] = -16.6357, + ["x"] = 49.07, + ["name"] = "WoodBlock6_62", + ["angle"] = 6.25548, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock3_20"] = { + ["y"] = -1.09769, + ["x"] = 8.50736, + ["name"] = "StoneBlock3_20", + ["angle"] = 3.14778, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock6_30"] = { + ["y"] = -22.6153, + ["x"] = 44.676, + ["name"] = "WoodBlock6_30", + ["angle"] = 3.13003, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock6_54"] = { + ["y"] = -3.66198, + ["x"] = 0.242917, + ["name"] = "StoneBlock6_54", + ["angle"] = 2.13368, + ["definition"] = "StoneBlock6", + + }, + ["RedBigBird_5"] = { + ["y"] = -1.72443, + ["x"] = -53.7507, + ["name"] = "RedBigBird_5", + ["startNumber"] = 5, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["ExtraHelmetBoss_1"] = { + ["y"] = -22.0226, + ["x"] = 38.4725, + ["name"] = "ExtraHelmetBoss_1", + ["angle"] = 0, + ["definition"] = "ExtraHelmetBoss", + + }, + ["StaticBlockTheme01_05_10"] = { + ["y"] = -1.18951, + ["x"] = 55.7786, + ["name"] = "StaticBlockTheme01_05_10", + ["angle"] = 3.14167, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_74"] = { + ["y"] = -9.1864, + ["x"] = 54.2754, + ["name"] = "WoodBlock5_74", + ["angle"] = 6.27065, + ["definition"] = "WoodBlock5", + + }, + ["MediumPiglette_12"] = { + ["y"] = -8.90654, + ["x"] = 47.2124, + ["name"] = "MediumPiglette_12", + ["angle"] = 0.0121711, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock6_65"] = { + ["y"] = -12.1762, + ["x"] = 22.6136, + ["name"] = "WoodBlock6_65", + ["angle"] = 4.74739, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetSmall_5"] = { + ["y"] = -4.35654, + ["x"] = 26.4136, + ["name"] = "ExtraHelmetSmall_5", + ["angle"] = 6.26779, + ["definition"] = "ExtraHelmetSmall", + + }, + ["StaticBlockTheme01_05_12"] = { + ["y"] = 0.960492, + ["x"] = 62.2786, + ["name"] = "StaticBlockTheme01_05_12", + ["angle"] = 5.49789, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_75"] = { + ["y"] = -7.14782, + ["x"] = 53.0439, + ["name"] = "WoodBlock5_75", + ["angle"] = 6.27917, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_98"] = { + ["y"] = -12.1405, + ["x"] = 59.1314, + ["name"] = "WoodBlock5_98", + ["angle"] = 1.55826, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_19"] = { + ["y"] = -4.22291, + ["x"] = 21.797, + ["name"] = "WoodBlock5_19", + ["angle"] = 4.71567, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_20"] = { + ["y"] = -11.2891, + ["x"] = 32.0102, + ["name"] = "WoodBlock5_20", + ["angle"] = 0.0199882, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock3_32"] = { + ["y"] = -5.18117, + ["x"] = 37.3119, + ["name"] = "WoodBlock3_32", + ["angle"] = 0.0493826, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock5_102"] = { + ["y"] = -5.20661, + ["x"] = 7.71061, + ["name"] = "StoneBlock5_102", + ["angle"] = 6.28085, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock6_61"] = { + ["y"] = -17.6571, + ["x"] = 49.0676, + ["name"] = "WoodBlock6_61", + ["angle"] = 6.25502, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_29"] = { + ["y"] = -6.72304, + ["x"] = 26.0684, + ["name"] = "WoodBlock6_29", + ["angle"] = 3.14289, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_97"] = { + ["y"] = -8.11725, + ["x"] = 60.2475, + ["name"] = "WoodBlock5_97", + ["angle"] = 1.55826, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock3_21"] = { + ["y"] = -3.16407, + ["x"] = 33.1159, + ["name"] = "StoneBlock3_21", + ["angle"] = 3.15358, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock6_68"] = { + ["y"] = -16.8226, + ["x"] = 32.5243, + ["name"] = "WoodBlock6_68", + ["angle"] = 3.14169, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_03_22"] = { + ["y"] = -0.50635, + ["x"] = 38.8738, + ["name"] = "StaticBlockTheme01_03_22", + ["angle"] = 3.14171, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["WoodBlock6_64"] = { + ["y"] = -15.5005, + ["x"] = 44.688, + ["name"] = "WoodBlock6_64", + ["angle"] = 3.14358, + ["definition"] = "WoodBlock6", + + }, + ["ExtraHelmetSmall_4"] = { + ["y"] = -4.28868, + ["x"] = 44.7172, + ["name"] = "ExtraHelmetSmall_4", + ["angle"] = 6.26779, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_67"] = { + ["y"] = -16.7405, + ["x"] = 24.41, + ["name"] = "WoodBlock6_67", + ["angle"] = 3.14169, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_59"] = { + ["y"] = -16.5764, + ["x"] = 40.7841, + ["name"] = "WoodBlock6_59", + ["angle"] = 0.0125102, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock5_92"] = { + ["y"] = -1.08928, + ["x"] = 5.50999, + ["name"] = "StoneBlock5_92", + ["angle"] = 0.000702556, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_53"] = { + ["y"] = -3.32901, + ["x"] = -1.9895, + ["name"] = "StoneBlock6_53", + ["angle"] = 5.44491, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_34"] = { + ["y"] = -25.8791, + ["x"] = 44.5774, + ["name"] = "WoodBlock3_34", + ["angle"] = 6.25493, + ["definition"] = "WoodBlock3", + + }, + ["ExtraHelmetSmall_3"] = { + ["y"] = -10.8458, + ["x"] = 47.2141, + ["name"] = "ExtraHelmetSmall_3", + ["angle"] = 0.0195108, + ["definition"] = "ExtraHelmetSmall", + + }, + ["WoodBlock6_69"] = { + ["y"] = -6.62796, + ["x"] = 17.7922, + ["name"] = "WoodBlock6_69", + ["angle"] = 3.14159, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock6_64"] = { + ["y"] = -6.80041, + ["x"] = 9.25307, + ["name"] = "StoneBlock6_64", + ["angle"] = 6.2652, + ["definition"] = "StoneBlock6", + + }, + ["RedBigBird_3"] = { + ["y"] = -1.7554, + ["x"] = -48.2752, + ["name"] = "RedBigBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBigBird", + + }, + ["WoodBlock3_37"] = { + ["y"] = -9.14564, + ["x"] = 36.9767, + ["name"] = "WoodBlock3_37", + ["angle"] = 6.26863, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_02_16"] = { + ["y"] = -1.34283, + ["x"] = 16.4834, + ["name"] = "StaticBlockTheme01_02_16", + ["angle"] = 0.000102027, + ["definition"] = "StaticBlockTheme18_02", + + }, + ["StoneBlock6_65"] = { + ["y"] = -7.74031, + ["x"] = 25.6735, + ["name"] = "StoneBlock6_65", + ["angle"] = 0.00178164, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock4_54"] = { + ["y"] = -4.26189, + ["x"] = 14.935, + ["name"] = "WoodBlock4_54", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock5_36"] = { + ["y"] = -20.1323, + ["x"] = 47.7681, + ["name"] = "WoodBlock5_36", + ["angle"] = 1.54504, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock5_96"] = { + ["y"] = -8.16189, + ["x"] = 58.1493, + ["name"] = "WoodBlock5_96", + ["angle"] = 1.55826, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock3_31"] = { + ["y"] = -23.9206, + ["x"] = 45.7951, + ["name"] = "WoodBlock3_31", + ["angle"] = 0.0118104, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_03_21"] = { + ["y"] = -1.24709, + ["x"] = 38.7997, + ["name"] = "StaticBlockTheme01_03_21", + ["angle"] = 3.14171, + ["definition"] = "StaticBlockTheme18_03", + + }, + ["ExtraHelmetSmall_1"] = { + ["y"] = -10.3839, + ["x"] = 24.2067, + ["name"] = "ExtraHelmetSmall_1", + ["angle"] = 6.26778, + ["definition"] = "ExtraHelmetSmall", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 9, + ["StoneBlock6"] = 67, + ["ExtraBlockFlag02"] = 1, + ["MediumPiglette"] = 12, + ["LightBlock5"] = 1, + ["WoodBlock1"] = 10, + ["YellowBird"] = 6, + ["StoneBlock3"] = 21, + ["StaticBlockTheme01_02"] = 18, + ["StaticBlockTheme01_03"] = 22, + ["StaticBlockTheme01_04"] = 3, + ["WoodBlock2"] = 12, + ["StoneBlock1"] = 11, + ["WoodBlock6"] = 69, + ["LargePiglette"] = 4, + ["HelmetPiglette"] = 10, + ["BasicBird2"] = 5, + ["WoodBlock5"] = 98, + ["ExtraHelmetBig"] = 2, + ["BlackBird"] = 11, + ["StoneBlock7"] = 12, + ["ExtraBlockTNT"] = 4, + ["SmallPiglette"] = 15, + ["LightBlock6"] = 2, + ["StoneBlock4"] = 20, + ["ExtraHelmetSmall2"] = 3, + ["StoneBlock8"] = 15, + ["StaticBlockTheme01_01"] = 10, + ["ExtraHelmetBig2"] = 2, + ["ExtraHelmetSmall"] = 6, + ["WoodBlock7"] = 3, + ["BoomerangBird"] = 1, + ["WoodBlock4"] = 55, + ["StaticBlockTheme03_03"] = 1, + ["StoneBlock5"] = 117, + ["ExtraBlockStairs"] = 8, + ["LightBlock3"] = 2, + ["ExtraHelmetBoss"] = 1, + ["KingPiglette"] = 1, + ["WoodBlock3"] = 41, + ["RedBigBird"] = 5, + ["RedBird"] = 7, + ["StaticBlockTheme01_05"] = 14, + +} +theme = "theme11boss" +birdCameraData = { + ["screenWidth"] = 480, + ["bottom"] = 143.095, + ["px"] = -436.713, + ["py"] = -235.381, + ["screenHeight"] = 320, + ["right"] = 1244.77, + ["top"] = -662.048, + ["iphone"] = { + ["bottom"] = 143.095, + ["screenWidth"] = 1680, + ["py"] = -235.381, + ["screenHeight"] = 1024, + ["top"] = -662.048, + ["sy"] = 1.2, + ["sx"] = 1.2, + ["right"] = 1300.49, + ["left"] = -1136.71, + ["px"] = -436.713, + + }, + ["version"] = "0.02", + ["sx"] = 0.375, + ["windows"] = { + ["bottom"] = 324.069, + ["screenWidth"] = 1366, + ["py"] = -339.498, + ["screenHeight"] = 768, + ["top"] = -971.985, + ["sy"] = 0.607127, + ["sx"] = 0.607127, + ["right"] = 1799.2, + ["left"] = -1410.68, + ["px"] = -285.714, + + }, + ["sy"] = 0.375, + ["ipad"] = { + ["sy"] = 0.607127, + ["sx"] = 0.607127, + ["px"] = -285.714, + ["py"] = -339.498, + ["screenHeight"] = 768, + ["screenWidth"] = 1024, + + }, + ["left"] = -1076.71, + +} +filename = "LevelP4_441.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS001.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS001.lua new file mode 100644 index 0000000000000000000000000000000000000000..fa0f74030eddd2ef2849efe40674c5ff79e57d1b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS001.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS002.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS002.lua new file mode 100644 index 0000000000000000000000000000000000000000..091243cfabecf7d2e597639f18a24ff1e1a4adbc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS002.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS003.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS003.lua new file mode 100644 index 0000000000000000000000000000000000000000..33a08360ff6f5b84d5b38561a17d9359199ea23a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS003.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS004.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS004.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c85c5e19efd1c863db48f18154ffabbb10e1ec6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS004.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS005.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS005.lua new file mode 100644 index 0000000000000000000000000000000000000000..2af9331786e0656bedb0a06e448b9a844e644841 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS005.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS006.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS006.lua new file mode 100644 index 0000000000000000000000000000000000000000..898dc65d513cd1171ef015fa376b21b428e91920 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS006.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS007.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS007.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a5984747cbb20d694d16008480cc8ccd884b972 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS007.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS008.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS008.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a0377e36fefaa06a8f0aef1842454b8a647c521 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS008.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS009.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS009.lua new file mode 100644 index 0000000000000000000000000000000000000000..a37860b574cc1e8955dd4736bd324a13d8225cb7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS009.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS010.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS010.lua new file mode 100644 index 0000000000000000000000000000000000000000..4f237fdcba5ff317122433d999755446136f204f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS010.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS011.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS011.lua new file mode 100644 index 0000000000000000000000000000000000000000..58a9a4c0717d4a3ca9365459d9957f2831c7b94e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS011.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS012.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS012.lua new file mode 100644 index 0000000000000000000000000000000000000000..08d0035b65e64ffa64e91f1604c12f8fcfa4150a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS012.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS013.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS013.lua new file mode 100644 index 0000000000000000000000000000000000000000..f24272482327620f344995ffc61263b596223bdd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS013.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS014.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS014.lua new file mode 100644 index 0000000000000000000000000000000000000000..6b43e19ff8fa3065a7fead9762d6f70e95a5c579 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS014.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS015.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS015.lua new file mode 100644 index 0000000000000000000000000000000000000000..fdb7c1f475a6eede662e63c3017db436bbebe5f4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS015.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS016.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS016.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d8e4a5974d033c7e6f92ca68daf0e63c717d049 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS016.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS017.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS017.lua new file mode 100644 index 0000000000000000000000000000000000000000..805441322ce415b752e5fbfb14ecece7ee6bba29 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS017.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS018.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS018.lua new file mode 100644 index 0000000000000000000000000000000000000000..41506af3fc332e3e1788f50e59b4ccd115292b67 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS018.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS019.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS019.lua new file mode 100644 index 0000000000000000000000000000000000000000..d0520c9089308a8c5f89bf0ba36a93dda29c2d9a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS019.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS020.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS020.lua new file mode 100644 index 0000000000000000000000000000000000000000..65d021767ce3172761b85c1d138a685e1d476fca Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS020.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS021.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS021.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef10ab330c31ad815d8f7c692d3da8e3947e4bfd Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS021.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS022.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS022.lua new file mode 100644 index 0000000000000000000000000000000000000000..93b4ad0643d7c57bc0c7f99e398ad73405e10a24 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS022.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS023.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS023.lua new file mode 100644 index 0000000000000000000000000000000000000000..65472e42328dd255f14dfd11264889156a2addaf Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS023.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS024.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS024.lua new file mode 100644 index 0000000000000000000000000000000000000000..47afac17427026b9b5066ba594d4b2d1f33976f7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS024.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS025.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS025.lua new file mode 100644 index 0000000000000000000000000000000000000000..e487a8f7626f23874a9405c82e1e4fece724b6c2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS025.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS026.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS026.lua new file mode 100644 index 0000000000000000000000000000000000000000..d49d4d20ef23eab79da0f8a5b7261cef50919ccc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS026.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS027.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS027.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c5591986ba50be50a3a105c800b1511426f4cd7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS027.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS028.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS028.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a9323fdd4accb5d4343ba0d11b30158e8abe2f8 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS028.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS029.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS029.lua new file mode 100644 index 0000000000000000000000000000000000000000..240e8716810ee68bad401b4bd609de445dcb4057 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS029.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS030.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS030.lua new file mode 100644 index 0000000000000000000000000000000000000000..b55899f44b924f45b2114eeb839f08da0d12de76 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS030.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS031.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS031.lua new file mode 100644 index 0000000000000000000000000000000000000000..62863ee988bb9d3bc1ecd5f2d58e1f03db739dbf Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS031.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS032.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS032.lua new file mode 100644 index 0000000000000000000000000000000000000000..459c31d6da1d7bdddd834de850ab0fb1b85195f9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS032.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS033.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS033.lua new file mode 100644 index 0000000000000000000000000000000000000000..0100cf46dc8faf87598a95850cbe37a919ce1ce2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS033.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS034.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS034.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef497ca43db32a1547400000fead5389fed5eb32 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS034.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS035.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS035.lua new file mode 100644 index 0000000000000000000000000000000000000000..67e604899ea2c340c5e9d241c830f9256fbf39ee Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS035.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS036.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS036.lua new file mode 100644 index 0000000000000000000000000000000000000000..d0890b71477003ab75eac66fc28132c764e03eeb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS036.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS037.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS037.lua new file mode 100644 index 0000000000000000000000000000000000000000..b2b07b27d084588bdaa7b865c781a9f09324eca4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS037.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS038.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS038.lua new file mode 100644 index 0000000000000000000000000000000000000000..8f7eb92c825e1f2f2fc909c8b192b3de4f6bd2b0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS038.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS039.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS039.lua new file mode 100644 index 0000000000000000000000000000000000000000..3b439c3dc8d0c18939e37779d58fd99ff58265d4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS039.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS040.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS040.lua new file mode 100644 index 0000000000000000000000000000000000000000..5646aeef046541dc3f279492a363b17e959521db Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS040.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS041.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS041.lua new file mode 100644 index 0000000000000000000000000000000000000000..c7ad00c66feb9da33ec4cae6d1859fd23b7d446f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS041.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS042.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS042.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7f3fafb0a778d73725f742bcc2a74dda5b07c16 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS042.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS043.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS043.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d07463adf11a2cff4012cfa267eac8cf95a9589 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS043.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS044.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS044.lua new file mode 100644 index 0000000000000000000000000000000000000000..b3fd3240917b51747e3c4f926b7f5360d788e968 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS044.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/LevelS045.lua b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS045.lua new file mode 100644 index 0000000000000000000000000000000000000000..7320c03a780062ccf27ccd6c2cfc02dd3d969540 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/levels/surf/LevelS045.lua differ diff --git a/Angry Birds Project R/0.3.0/data/levels/surf/temp/LevelS045.temp.lua b/Angry Birds Project R/0.3.0/data/levels/surf/temp/LevelS045.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..3d796cc806811139e13ea1ccff3dec25782b2a1d --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/surf/temp/LevelS045.temp.lua @@ -0,0 +1,1633 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1366, + ["py"] = -640.445, + ["screenHeight"] = 768, + ["top"] = -1441.13, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["right"] = 2045.31, + ["left"] = -802.968, + ["px"] = 621.171, + + }, + ["iphone"] = { + ["sy"] = 0.257357, + ["sx"] = 0.257357, + ["px"] = 495.447, + ["py"] = -596.906, + ["screenHeight"] = 320, + ["screenWidth"] = 480, + + }, + ["ipad"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1024, + ["py"] = -640.445, + ["screenHeight"] = 768, + ["top"] = -1441.13, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["px"] = 621.171, + ["left"] = -446.412, + ["right"] = 1688.75, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -2869.97, + ["x"] = 2236.04, + ["particles"] = "theme15rain", + ["firstFrame"] = true, + ["settingsFrame"] = { + ["ignoreLimits"] = false, + ["amount"] = 150, + + }, + ["settingsBegin"] = { + ["ignoreLimits"] = false, + ["amount"] = 1500, + + }, + ["width"] = 9630.9, + +} +joints = { + ["StoneBlock11_19ExtraRopeThick01_14"] = { + ["end2"] = "ExtraRopeThick01_14", + ["maxTorque"] = 10000, + ["x2"] = 0.0575214, + ["y2"] = 3.14943, + ["y1"] = -1.28722, + ["x1"] = -0.970491, + ["limit"] = false, + ["backAndForth"] = false, + ["end1"] = "StoneBlock11_19", + ["motorSpeed"] = 0, + ["type"] = 3, + ["motor"] = false, + ["lowerLimit"] = 0, + ["upperLimit"] = 3.14159, + ["name"] = "StoneBlock11_19ExtraRopeThick01_14", + ["collideConnected"] = false, + ["coordType"] = 2, + + }, + ["StoneBlock12_6StoneBlock9_6"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_6", + ["x2"] = -0.229474, + ["y2"] = 1.06883, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "StoneBlock12_6StoneBlock9_6", + ["end1"] = "StoneBlock12_6", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_9StoneBlock9_6"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_6", + ["x2"] = -1.42464, + ["y2"] = -1.70845, + ["y1"] = 1.44682, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_9StoneBlock9_6", + ["end1"] = "ExtraRopeThick01_9", + ["collideConnected"] = false, + ["x1"] = 0.0895023, + + }, + ["ExtraRopeThick01_8StaticBlockTheme01_04_94"] = { + ["end2"] = "StaticBlockTheme01_04_94", + ["maxTorque"] = 10000, + ["x2"] = 0.663425, + ["y2"] = -2.32225, + ["y1"] = -3.3018, + ["x1"] = -0.045179, + ["limit"] = false, + ["backAndForth"] = false, + ["end1"] = "ExtraRopeThick01_8", + ["motorSpeed"] = 0, + ["type"] = 3, + ["motor"] = false, + ["lowerLimit"] = 0, + ["upperLimit"] = 3.14159, + ["name"] = "ExtraRopeThick01_8StaticBlockTheme01_04_94", + ["collideConnected"] = false, + ["coordType"] = 2, + + }, + ["ExtraRopeThick01_8ExtraRopeThick01_9"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_9", + ["x2"] = -0.0604952, + ["y2"] = -2.81767, + ["y1"] = 2.22839, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_8ExtraRopeThick01_9", + ["end1"] = "ExtraRopeThick01_8", + ["collideConnected"] = false, + ["x1"] = -0.136513, + + }, + ["ExtraBlockTNT_2LightBlock9_1"] = { + ["type"] = 2, + ["end2"] = "LightBlock9_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_2LightBlock9_1", + ["end1"] = "ExtraBlockTNT_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["StaticBlockTheme01_04_89ExtraRopeThick01_16"] = { + ["end2"] = "ExtraRopeThick01_16", + ["maxTorque"] = 10000, + ["x2"] = -0.0620366, + ["y2"] = -3.06415, + ["y1"] = -2.41718, + ["x1"] = 0.279018, + ["limit"] = false, + ["backAndForth"] = false, + ["end1"] = "StaticBlockTheme01_04_89", + ["motorSpeed"] = 0, + ["type"] = 3, + ["motor"] = false, + ["lowerLimit"] = 0, + ["upperLimit"] = 3.14159, + ["name"] = "StaticBlockTheme01_04_89ExtraRopeThick01_16", + ["collideConnected"] = false, + ["coordType"] = 2, + + }, + ["StoneBlock11_19StoneBlock9_5"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = -0.0568598, + ["coordType"] = 2, + ["name"] = "StoneBlock11_19StoneBlock9_5", + ["end1"] = "StoneBlock11_19", + ["collideConnected"] = false, + ["x1"] = -2.1639, + + }, + ["ExtraRopeThick01_7StoneBlock9_6"] = { + ["type"] = 2, + ["end2"] = "StoneBlock9_6", + ["x2"] = 1.57958, + ["y2"] = -1.5342, + ["y1"] = 3.04485, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_7StoneBlock9_6", + ["end1"] = "ExtraRopeThick01_7", + ["collideConnected"] = false, + ["x1"] = -0.0962281, + + }, + ["ExtraRopeThick01_7ExtraRopeThick01_9"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_9", + ["x2"] = 0.131213, + ["y2"] = -1.53337, + ["y1"] = -1.64911, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_7ExtraRopeThick01_9", + ["end1"] = "ExtraRopeThick01_7", + ["collideConnected"] = false, + ["x1"] = 0.0191532, + + }, + ["ExtraBlockTNT_1WoodBlock9_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock9_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraBlockTNT_1WoodBlock9_7", + ["end1"] = "ExtraBlockTNT_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_16ExtraRopeThick01_14"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_14", + ["x2"] = -0.0954817, + ["y2"] = -1.12741, + ["y1"] = 1.774, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_16ExtraRopeThick01_14", + ["end1"] = "ExtraRopeThick01_16", + ["collideConnected"] = false, + ["x1"] = -0.0274265, + + }, + +} +world = { + ["StoneBlock2_7"] = { + ["y"] = -10.5722, + ["x"] = 0.719002, + ["name"] = "StoneBlock2_7", + ["angle"] = 5.89048, + ["definition"] = "StoneBlock2", + + }, + ["LightBlock6_12"] = { + ["y"] = -14.6319, + ["x"] = 13.4364, + ["name"] = "LightBlock6_12", + ["angle"] = 3.12592, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock4_70"] = { + ["y"] = -28.0129, + ["x"] = 54.999, + ["name"] = "WoodBlock4_70", + ["angle"] = 4.71825, + ["definition"] = "WoodBlock4", + + }, + ["StoneBlock5_12"] = { + ["y"] = -21.4684, + ["x"] = 39.5156, + ["name"] = "StoneBlock5_12", + ["angle"] = 4.70983, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock6_8"] = { + ["y"] = -21.4683, + ["x"] = 65.425, + ["name"] = "LightBlock6_8", + ["angle"] = 6.28146, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock6_20"] = { + ["y"] = -17.9619, + ["x"] = -1.6761, + ["name"] = "WoodBlock6_20", + ["angle"] = 0.00451826, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_04_102"] = { + ["y"] = -82.2803, + ["x"] = -1.2843, + ["name"] = "StaticBlockTheme01_04_102", + ["angle"] = 5.49778, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_4"] = { + ["y"] = -21.213, + ["x"] = 20.6911, + ["name"] = "SmallPiglette_4", + ["angle"] = 0.0882788, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_04_91"] = { + ["y"] = -79.9088, + ["x"] = 4.5512, + ["name"] = "StaticBlockTheme01_04_91", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_5"] = { + ["y"] = -6.7514, + ["x"] = 59.153, + ["name"] = "StaticBlockTheme01_05_5", + ["angle"] = 5.10509, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_60"] = { + ["y"] = -10.9557, + ["x"] = -62.3082, + ["name"] = "StaticBlockTheme01_05_60", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_50"] = { + ["y"] = -10.8835, + ["x"] = 47.4132, + ["name"] = "StaticBlockTheme01_04_50", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock11_2"] = { + ["y"] = -17.059, + ["x"] = 10.9874, + ["name"] = "LightBlock11_2", + ["angle"] = 4.70538, + ["definition"] = "LightBlock11", + + }, + ["WoodBlock5_35"] = { + ["y"] = -12.6767, + ["x"] = 4.9593, + ["name"] = "WoodBlock5_35", + ["angle"] = 1.56805, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_04_54"] = { + ["y"] = -3.7636, + ["x"] = 71.27, + ["name"] = "StaticBlockTheme01_04_54", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock11_14"] = { + ["y"] = -5.2113, + ["x"] = 32.8561, + ["name"] = "StoneBlock11_14", + ["angle"] = 1.57116, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock4_32"] = { + ["y"] = -12.0831, + ["x"] = 11.7437, + ["name"] = "LightBlock4_32", + ["angle"] = 4.70484, + ["definition"] = "LightBlock4", + + }, + ["ExtraRopeThick01_9"] = { + ["y"] = -64.9498, + ["x"] = 46.0601, + ["name"] = "ExtraRopeThick01_9", + ["angle"] = 0.108199, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock4_58"] = { + ["y"] = -17.5432, + ["x"] = 33.3071, + ["name"] = "WoodBlock4_58", + ["angle"] = 4.71951, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme01_04_104"] = { + ["y"] = -80.2506, + ["x"] = 47.6836, + ["name"] = "StaticBlockTheme01_04_104", + ["angle"] = 0.000477791, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_10"] = { + ["y"] = -9.6293, + ["x"] = 15.349, + ["name"] = "WoodBlock6_10", + ["angle"] = 6.26403, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_05_66"] = { + ["y"] = -11.4521, + ["x"] = -52.9753, + ["name"] = "StaticBlockTheme01_05_66", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_37"] = { + ["y"] = -15.4455, + ["x"] = 44.8704, + ["name"] = "WoodBlock5_37", + ["angle"] = 1.78814e-007, + ["definition"] = "WoodBlock5", + + }, + ["BasicBird2_1"] = { + ["y"] = -19.9848, + ["x"] = -60.8572, + ["name"] = "BasicBird2_1", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "BasicBird2", + + }, + ["StaticBlockTheme01_04_133"] = { + ["y"] = -16.7215, + ["x"] = -51.7732, + ["name"] = "StaticBlockTheme01_04_133", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock5_29"] = { + ["y"] = -9.1104, + ["x"] = 32.1048, + ["name"] = "WoodBlock5_29", + ["angle"] = 1.57114, + ["definition"] = "WoodBlock5", + + }, + ["LightBlock6_9"] = { + ["y"] = -16.9996, + ["x"] = 69.25, + ["name"] = "LightBlock6_9", + ["angle"] = 1.57039, + ["definition"] = "LightBlock6", + + }, + ["StoneBlock5_9"] = { + ["y"] = -16.6345, + ["x"] = 4.9548, + ["name"] = "StoneBlock5_9", + ["angle"] = 4.703, + ["definition"] = "StoneBlock5", + + }, + ["ExtraRopeThick01_16"] = { + ["y"] = -70.896, + ["x"] = 0.970402, + ["name"] = "ExtraRopeThick01_16", + ["angle"] = 0.00547371, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -6.7291, + ["x"] = 44.211, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 4.31969, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_01_10"] = { + ["y"] = -4.4155, + ["x"] = 33.4035, + ["name"] = "StaticBlockTheme01_01_10", + ["angle"] = 5.49816, + ["definition"] = "StaticBlockTheme18_01", + + }, + ["WoodBlock12_20"] = { + ["y"] = -33.1233, + ["x"] = 57.2396, + ["name"] = "WoodBlock12_20", + ["angle"] = 1.78814e-007, + ["definition"] = "WoodBlock12", + + }, + ["StoneBlock12_6"] = { + ["y"] = -55.7181, + ["x"] = 44.2594, + ["name"] = "StoneBlock12_6", + ["angle"] = 3.64774, + ["definition"] = "StoneBlock12", + + }, + ["StaticBlockTheme01_04_53"] = { + ["y"] = -7.1403, + ["x"] = 67.893, + ["name"] = "StaticBlockTheme01_04_53", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_5"] = { + ["y"] = -16.442, + ["x"] = 60.685, + ["name"] = "WoodBlock6_5", + ["angle"] = 3.15322, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock11_10"] = { + ["y"] = -22.1179, + ["x"] = 15.5244, + ["name"] = "LightBlock11_10", + ["angle"] = 4.71239, + ["definition"] = "LightBlock11", + + }, + ["LightBlock5_7"] = { + ["y"] = -17.1543, + ["x"] = 17.6105, + ["name"] = "LightBlock5_7", + ["angle"] = 4.72309, + ["definition"] = "LightBlock5", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 2.66745, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["WoodBlock5_25"] = { + ["y"] = -23.9895, + ["x"] = 66.423, + ["name"] = "WoodBlock5_25", + ["angle"] = 4.71, + ["definition"] = "WoodBlock5", + + }, + ["WoodBlock6_9"] = { + ["y"] = -19.6674, + ["x"] = 17.7029, + ["name"] = "WoodBlock6_9", + ["angle"] = 0.0117516, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_04_134"] = { + ["y"] = -16.659, + ["x"] = -55.6266, + ["name"] = "StaticBlockTheme01_04_134", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock12_19"] = { + ["y"] = -30.4669, + ["x"] = 32.5182, + ["name"] = "WoodBlock12_19", + ["angle"] = 1.78814e-007, + ["definition"] = "WoodBlock12", + + }, + ["StaticBlockTheme01_04_95"] = { + ["y"] = -82.8205, + ["x"] = 49.8947, + ["name"] = "StaticBlockTheme01_04_95", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock6_20"] = { + ["y"] = -24.131, + ["x"] = 1.8258, + ["name"] = "LightBlock6_20", + ["angle"] = 3.13029, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock5_26"] = { + ["y"] = -16.9402, + ["x"] = 24.8441, + ["name"] = "WoodBlock5_26", + ["angle"] = 1.60227, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_05_20"] = { + ["y"] = -0.404268, + ["x"] = 8.69616, + ["name"] = "StaticBlockTheme01_05_20", + ["angle"] = 3.93615, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraBlockTNT_2"] = { + ["y"] = -20.9711, + ["x"] = 23.8649, + ["name"] = "ExtraBlockTNT_2", + ["angle"] = 1.78814e-007, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock5_24"] = { + ["y"] = -23.9842, + ["x"] = 60.231, + ["name"] = "WoodBlock5_24", + ["angle"] = 4.71812, + ["definition"] = "WoodBlock5", + + }, + ["Estrade02_2"] = { + ["y"] = -17.2114, + ["x"] = -63.325, + ["name"] = "Estrade02_2", + ["angle"] = 6.28317, + ["definition"] = "Estrade02", + + }, + ["LightBlock4_22"] = { + ["y"] = -21.5184, + ["x"] = 31.3354, + ["name"] = "LightBlock4_22", + ["angle"] = 4.71254, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_4"] = { + ["y"] = -8.1475, + ["x"] = 4.7432, + ["name"] = "StaticBlockTheme01_04_4", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_3"] = { + ["y"] = -25.5703, + ["x"] = 37.3093, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.055769, + ["definition"] = "SmallPiglette", + + }, + ["LightBlock6_13"] = { + ["y"] = -14.5263, + ["x"] = 21.6062, + ["name"] = "LightBlock6_13", + ["angle"] = 3.17445, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_05_21"] = { + ["y"] = -1.52167, + ["x"] = 2.67541, + ["name"] = "StaticBlockTheme01_05_21", + ["angle"] = 3.19439, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock5_23"] = { + ["y"] = -19.037, + ["x"] = 53.898, + ["name"] = "WoodBlock5_23", + ["angle"] = 4.71681, + ["definition"] = "WoodBlock5", + + }, + ["StaticBlockTheme01_04_5"] = { + ["y"] = -7.3833, + ["x"] = 8.4075, + ["name"] = "StaticBlockTheme01_04_5", + ["angle"] = 1.96349, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_68"] = { + ["y"] = -0.602923, + ["x"] = -66.0768, + ["name"] = "StaticBlockTheme01_05_68", + ["angle"] = 0.785383, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["WoodBlock6_15"] = { + ["y"] = -15.0232, + ["x"] = 33.7114, + ["name"] = "WoodBlock6_15", + ["angle"] = 0.00327649, + ["definition"] = "WoodBlock6", + + }, + ["StaticBlockTheme01_04_97"] = { + ["y"] = -78.0538, + ["x"] = 45.1002, + ["name"] = "StaticBlockTheme01_04_97", + ["angle"] = 0.785397, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_6"] = { + ["y"] = -11.1761, + ["x"] = 13.3728, + ["name"] = "SmallPiglette_6", + ["angle"] = 6.23076, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_04_99"] = { + ["y"] = -82.8477, + ["x"] = 45.0706, + ["name"] = "StaticBlockTheme01_04_99", + ["angle"] = 5.49778, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock7_2"] = { + ["y"] = -10.7052, + ["x"] = -3.9226, + ["name"] = "WoodBlock7_2", + ["angle"] = 6.2573, + ["definition"] = "WoodBlock7", + + }, + ["KingPiglette_1"] = { + ["y"] = -20.2821, + ["x"] = 43.2759, + ["name"] = "KingPiglette_1", + ["angle"] = 7.20024e-005, + ["definition"] = "KingPiglette", + + }, + ["LightBlock5_6"] = { + ["y"] = -18.9528, + ["x"] = 60.869, + ["name"] = "LightBlock5_6", + ["angle"] = 1.58131, + ["definition"] = "LightBlock5", + + }, + ["WoodBlock6_7"] = { + ["y"] = -30.5978, + ["x"] = 57.088, + ["name"] = "WoodBlock6_7", + ["angle"] = 3.12194, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock3_3"] = { + ["y"] = -18.4834, + ["x"] = 39.5721, + ["name"] = "StoneBlock3_3", + ["angle"] = 6.27925, + ["definition"] = "StoneBlock3", + + }, + ["WoodBlock7_3"] = { + ["y"] = -14.2404, + ["x"] = 58.379, + ["name"] = "WoodBlock7_3", + ["angle"] = 0.00293884, + ["definition"] = "WoodBlock7", + + }, + ["StaticBlockTheme01_04_94"] = { + ["y"] = -77.046, + ["x"] = 47.5615, + ["name"] = "StaticBlockTheme01_04_94", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_92"] = { + ["y"] = -83.8389, + ["x"] = 47.4689, + ["name"] = "StaticBlockTheme01_04_92", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_8"] = { + ["y"] = -5.4819, + ["x"] = 21.6752, + ["name"] = "WoodBlock6_8", + ["angle"] = 0.0234592, + ["definition"] = "WoodBlock6", + + }, + ["LightBlock4_27"] = { + ["y"] = -28.0151, + ["x"] = 53.656, + ["name"] = "LightBlock4_27", + ["angle"] = 4.70256, + ["definition"] = "LightBlock4", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -15.3413, + ["x"] = 0.302986, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 1.78814e-007, + ["definition"] = "ExtraBlockTNT", + + }, + ["LightBlock9_3"] = { + ["y"] = -26.5489, + ["x"] = 32.4809, + ["name"] = "LightBlock9_3", + ["angle"] = 4.72836, + ["definition"] = "LightBlock9", + + }, + ["StaticBlockTheme01_04_96"] = { + ["y"] = -80.4339, + ["x"] = 50.8772, + ["name"] = "StaticBlockTheme01_04_96", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_36"] = { + ["y"] = -21.5479, + ["x"] = 33.3465, + ["name"] = "LightBlock4_36", + ["angle"] = 4.71964, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_128"] = { + ["y"] = -2.33423, + ["x"] = 33.6604, + ["name"] = "StaticBlockTheme01_04_128", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_4"] = { + ["y"] = -8.2291, + ["x"] = 51.694, + ["name"] = "StaticBlockTheme01_05_4", + ["angle"] = 4.71239, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["ExtraRopeThick01_14"] = { + ["y"] = -64.3677, + ["x"] = 0.976299, + ["name"] = "ExtraRopeThick01_14", + ["angle"] = 0.00532945, + ["definition"] = "ExtraRopeThick01", + + }, + ["LightBlock6_21"] = { + ["y"] = -26.0211, + ["x"] = 42.848, + ["name"] = "LightBlock6_21", + ["angle"] = 0.0174535, + ["definition"] = "LightBlock6", + + }, + ["WoodBlock3_3"] = { + ["y"] = -28.0389, + ["x"] = 60.186, + ["name"] = "WoodBlock3_3", + ["angle"] = 6.27505, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_04_103"] = { + ["y"] = -80.2797, + ["x"] = 1.3288, + ["name"] = "StaticBlockTheme01_04_103", + ["angle"] = 0.000477791, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_28"] = { + ["y"] = -24.0508, + ["x"] = 53.665, + ["name"] = "LightBlock4_28", + ["angle"] = 4.70769, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock6_6"] = { + ["y"] = -26.5017, + ["x"] = 63.279, + ["name"] = "WoodBlock6_6", + ["angle"] = 3.13974, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_27"] = { + ["y"] = -9.91995, + ["x"] = 25.2787, + ["name"] = "WoodBlock6_27", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["SmallPiglette_5"] = { + ["y"] = -23.0753, + ["x"] = 58.123, + ["name"] = "SmallPiglette_5", + ["angle"] = 6.26229, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock10_2"] = { + ["y"] = -24.0103, + ["x"] = 35.5511, + ["name"] = "WoodBlock10_2", + ["angle"] = 0.0109123, + ["definition"] = "WoodBlock10", + + }, + ["LightBlock11_9"] = { + ["y"] = -28.4318, + ["x"] = 44.8831, + ["name"] = "LightBlock11_9", + ["angle"] = 0.0174538, + ["definition"] = "LightBlock11", + + }, + ["StaticBlockTheme01_05_25"] = { + ["y"] = -0.529402, + ["x"] = 56.724, + ["name"] = "StaticBlockTheme01_05_25", + ["angle"] = 4.11068, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock9_5"] = { + ["y"] = -58.1755, + ["x"] = -0.158641, + ["name"] = "StoneBlock9_5", + ["angle"] = 5.50652, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme01_05_24"] = { + ["y"] = -1.24605, + ["x"] = 48.299, + ["name"] = "StaticBlockTheme01_05_24", + ["angle"] = 2.20827, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_04_35"] = { + ["y"] = -1.49573, + ["x"] = 21.973, + ["name"] = "StaticBlockTheme01_04_35", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["LightBlock4_21"] = { + ["y"] = -17.5502, + ["x"] = 31.3399, + ["name"] = "LightBlock4_21", + ["angle"] = 4.71257, + ["definition"] = "LightBlock4", + + }, + ["SmallBlueBird_1"] = { + ["y"] = -19.6187, + ["x"] = -50.9758, + ["name"] = "SmallBlueBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StaticBlockTheme01_04_101"] = { + ["y"] = -79.823, + ["x"] = -2.2371, + ["name"] = "StaticBlockTheme01_04_101", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock6_17"] = { + ["y"] = -12.9454, + ["x"] = -1.808, + ["name"] = "WoodBlock6_17", + ["angle"] = 6.28127, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock6_28"] = { + ["y"] = -9.96569, + ["x"] = 21.8021, + ["name"] = "WoodBlock6_28", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock11_17"] = { + ["y"] = -7.1187, + ["x"] = 13.4033, + ["name"] = "StoneBlock11_17", + ["angle"] = 3.13617, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_04_3"] = { + ["y"] = -7.4333, + ["x"] = 1.0718, + ["name"] = "StaticBlockTheme01_04_3", + ["angle"] = 1.17809, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_6"] = { + ["y"] = -5.3618, + ["x"] = 11.5003, + ["name"] = "StaticBlockTheme01_04_6", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["SmallPiglette_1"] = { + ["y"] = -14.5605, + ["x"] = -3.6795, + ["name"] = "SmallPiglette_1", + ["angle"] = 0.050478, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme01_04_48"] = { + ["y"] = -11.8942, + ["x"] = 45.059, + ["name"] = "StaticBlockTheme01_04_48", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_100"] = { + ["y"] = -77.4872, + ["x"] = -1.2547, + ["name"] = "StaticBlockTheme01_04_100", + ["angle"] = 0.785397, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock3_4"] = { + ["y"] = -8.1556, + ["x"] = 18.5583, + ["name"] = "WoodBlock3_4", + ["angle"] = 3.12941, + ["definition"] = "WoodBlock3", + + }, + ["StaticBlockTheme01_05_67"] = { + ["y"] = -4.15506, + ["x"] = -55.8816, + ["name"] = "StaticBlockTheme01_05_67", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StaticBlockTheme01_05_69"] = { + ["y"] = -0.0703615, + ["x"] = 16.9887, + ["name"] = "StaticBlockTheme01_05_69", + ["angle"] = 3.15075, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock4_26"] = { + ["y"] = -15.4593, + ["x"] = -5.3534, + ["name"] = "LightBlock4_26", + ["angle"] = 4.714, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_2"] = { + ["y"] = -5.3904, + ["x"] = -1.9711, + ["name"] = "StaticBlockTheme01_04_2", + ["angle"] = 0.785394, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock5_11"] = { + ["y"] = -21.5692, + ["x"] = -1.3286, + ["name"] = "StoneBlock5_11", + ["angle"] = 4.70387, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock11_23"] = { + ["y"] = -2.9998, + ["x"] = 24.1502, + ["name"] = "WoodBlock11_23", + ["angle"] = 3.14694, + ["definition"] = "WoodBlock11", + + }, + ["LightBlock4_20"] = { + ["y"] = -17.041, + ["x"] = 21.7802, + ["name"] = "LightBlock4_20", + ["angle"] = 4.74507, + ["definition"] = "LightBlock4", + + }, + ["WoodBlock11_29"] = { + ["y"] = -20.4397, + ["x"] = -4.4668, + ["name"] = "WoodBlock11_29", + ["angle"] = 4.71209, + ["definition"] = "WoodBlock11", + + }, + ["StaticBlockTheme01_04_88"] = { + ["y"] = -82.2954, + ["x"] = 3.5687, + ["name"] = "StaticBlockTheme01_04_88", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_05_6"] = { + ["y"] = -2.55144, + ["x"] = 65.436, + ["name"] = "StaticBlockTheme01_05_6", + ["angle"] = 5.49779, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["StoneBlock6_3"] = { + ["y"] = -16.9525, + ["x"] = 42.7819, + ["name"] = "StoneBlock6_3", + ["angle"] = 3.14134, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_05_64"] = { + ["y"] = -6.18842, + ["x"] = -60.93, + ["name"] = "StaticBlockTheme01_05_64", + ["angle"] = 6.28317, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock6_11"] = { + ["y"] = -21.5057, + ["x"] = 57.151, + ["name"] = "LightBlock6_11", + ["angle"] = 0.0114282, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme01_04_45"] = { + ["y"] = -9.53, + ["x"] = 68.881, + ["name"] = "StaticBlockTheme01_04_45", + ["angle"] = 5.49778, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["ExtraRopeThick01_8"] = { + ["y"] = -71.4457, + ["x"] = 46.7261, + ["name"] = "ExtraRopeThick01_8", + ["angle"] = 0.108764, + ["definition"] = "ExtraRopeThick01", + + }, + ["StaticBlockTheme01_04_135"] = { + ["y"] = -9.39867, + ["x"] = 61.1886, + ["name"] = "StaticBlockTheme01_04_135", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock4_13"] = { + ["y"] = -19.4566, + ["x"] = 46.5468, + ["name"] = "StoneBlock4_13", + ["angle"] = 4.71843, + ["definition"] = "StoneBlock4", + + }, + ["WoodBlock6_19"] = { + ["y"] = -19.094, + ["x"] = 1.7578, + ["name"] = "WoodBlock6_19", + ["angle"] = 6.26751, + ["definition"] = "WoodBlock6", + + }, + ["StoneBlock9_6"] = { + ["y"] = -59.2409, + ["x"] = 46.203, + ["name"] = "StoneBlock9_6", + ["angle"] = 0.506145, + ["definition"] = "StoneBlock9", + + }, + ["WoodBlock7_1"] = { + ["y"] = -12.7942, + ["x"] = 32.0493, + ["name"] = "WoodBlock7_1", + ["angle"] = 6.28047, + ["definition"] = "WoodBlock7", + + }, + ["StoneBlock5_10"] = { + ["y"] = -21.6509, + ["x"] = 4.7001, + ["name"] = "StoneBlock5_10", + ["angle"] = 4.70199, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock9_3"] = { + ["y"] = -14.4804, + ["x"] = 40.0004, + ["name"] = "StoneBlock9_3", + ["angle"] = 4.71455, + ["definition"] = "StoneBlock9", + + }, + ["StaticBlockTheme01_04_51"] = { + ["y"] = -10.0263, + ["x"] = 41.5309, + ["name"] = "StaticBlockTheme01_04_51", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock9_7"] = { + ["y"] = -15.4533, + ["x"] = 0.337101, + ["name"] = "WoodBlock9_7", + ["angle"] = 1.57337, + ["definition"] = "WoodBlock9", + + }, + ["StoneBlock11_19"] = { + ["y"] = -61.0325, + ["x"] = 2.55907, + ["name"] = "StoneBlock11_19", + ["angle"] = 5.45416, + ["definition"] = "StoneBlock11", + + }, + ["SmallBlueBird_2"] = { + ["y"] = -18.9841, + ["x"] = -63.5862, + ["name"] = "SmallBlueBird_2", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "SmallBlueBird", + + }, + ["StoneBlock2_10"] = { + ["y"] = -25.0328, + ["x"] = 39.5618, + ["name"] = "StoneBlock2_10", + ["angle"] = 0, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock4_8"] = { + ["y"] = -12.4953, + ["x"] = 35.5095, + ["name"] = "StoneBlock4_8", + ["angle"] = 4.7074, + ["definition"] = "StoneBlock4", + + }, + ["StaticBlockTheme01_04_87"] = { + ["y"] = -77.4515, + ["x"] = 3.5983, + ["name"] = "StaticBlockTheme01_04_87", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["MediumPiglette_1"] = { + ["y"] = -21.4485, + ["x"] = 1.6065, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28205, + ["definition"] = "MediumPiglette", + + }, + ["StaticBlockTheme01_05_7"] = { + ["y"] = -3.30327, + ["x"] = 71.4117, + ["name"] = "StaticBlockTheme01_05_7", + ["angle"] = 5.7334, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock5_9"] = { + ["y"] = -12.1763, + ["x"] = 17.7956, + ["name"] = "LightBlock5_9", + ["angle"] = 4.70887, + ["definition"] = "LightBlock5", + + }, + ["LightBlock4_30"] = { + ["y"] = -24.0463, + ["x"] = 54.956, + ["name"] = "LightBlock4_30", + ["angle"] = 4.71964, + ["definition"] = "LightBlock4", + + }, + ["StoneBlock11_16"] = { + ["y"] = -28.9556, + ["x"] = 65.411, + ["name"] = "StoneBlock11_16", + ["angle"] = 6.28116, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_05_65"] = { + ["y"] = -3.47682, + ["x"] = -49.696, + ["name"] = "StaticBlockTheme01_05_65", + ["angle"] = 5.89047, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["LightBlock12_4"] = { + ["y"] = -26.7052, + ["x"] = 1.3998, + ["name"] = "LightBlock12_4", + ["angle"] = 1.78814e-007, + ["definition"] = "LightBlock12", + + }, + ["StaticBlockTheme01_04_38"] = { + ["y"] = 1.85514, + ["x"] = 23.8463, + ["name"] = "StaticBlockTheme01_04_38", + ["angle"] = 1.57079, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_46"] = { + ["y"] = -10.5605, + ["x"] = 71.281, + ["name"] = "StaticBlockTheme01_04_46", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StoneBlock11_5"] = { + ["y"] = -7.0904, + ["x"] = -3.9639, + ["name"] = "StoneBlock11_5", + ["angle"] = 1.57081, + ["definition"] = "StoneBlock11", + + }, + ["StaticBlockTheme01_04_98"] = { + ["y"] = -80.4404, + ["x"] = 44.1177, + ["name"] = "StaticBlockTheme01_04_98", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["StaticBlockTheme01_04_93"] = { + ["y"] = -78.0266, + ["x"] = 49.9243, + ["name"] = "StaticBlockTheme01_04_93", + ["angle"] = 2.35619, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock9_4"] = { + ["y"] = -15.1037, + ["x"] = 54.457, + ["name"] = "WoodBlock9_4", + ["angle"] = 3.14135, + ["definition"] = "WoodBlock9", + + }, + ["MediumPiglette_3"] = { + ["y"] = -23.8229, + ["x"] = 63.148, + ["name"] = "MediumPiglette_3", + ["angle"] = 6.26594, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock8_1"] = { + ["y"] = -11.5923, + ["x"] = 2.417, + ["name"] = "WoodBlock8_1", + ["angle"] = 1.51457, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = -2.47914, + ["x"] = 37.9276, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 3.92699, + ["definition"] = "StaticBlockTheme18_05", + + }, + ["YellowBird_3"] = { + ["y"] = -19.3408, + ["x"] = -65.7349, + ["name"] = "YellowBird_3", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "YellowBird", + + }, + ["StaticBlockTheme01_04_89"] = { + ["y"] = -76.5217, + ["x"] = 1.2355, + ["name"] = "StaticBlockTheme01_04_89", + ["angle"] = 3.14159, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["WoodBlock4_68"] = { + ["y"] = -13.9039, + ["x"] = 62.761, + ["name"] = "WoodBlock4_68", + ["angle"] = 4.72223, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock2_35"] = { + ["y"] = -29.5862, + ["x"] = 60.168, + ["name"] = "WoodBlock2_35", + ["angle"] = 6.27141, + ["definition"] = "WoodBlock2", + + }, + ["StaticBlockTheme01_04_90"] = { + ["y"] = -83.2638, + ["x"] = 1.1429, + ["name"] = "StaticBlockTheme01_04_90", + ["angle"] = 6.28318, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["ExtraRopeThick01_7"] = { + ["y"] = -63.5116, + ["x"] = 47.1749, + ["name"] = "ExtraRopeThick01_7", + ["angle"] = 6.02435, + ["definition"] = "ExtraRopeThick01", + + }, + ["LightBlock9_1"] = { + ["y"] = -20.9222, + ["x"] = 23.7921, + ["name"] = "LightBlock9_1", + ["angle"] = 0.0325715, + ["definition"] = "LightBlock9", + + }, + ["WoodBlock2_36"] = { + ["y"] = -6.635, + ["x"] = 18.5633, + ["name"] = "WoodBlock2_36", + ["angle"] = 3.14339, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock11_15"] = { + ["y"] = -8.6158, + ["x"] = 36.9265, + ["name"] = "StoneBlock11_15", + ["angle"] = 1.55258, + ["definition"] = "StoneBlock11", + + }, + ["LightBlock4_24"] = { + ["y"] = -23.4181, + ["x"] = 46.5808, + ["name"] = "LightBlock4_24", + ["angle"] = 4.71982, + ["definition"] = "LightBlock4", + + }, + ["StaticBlockTheme01_04_131"] = { + ["y"] = -2.30925, + ["x"] = -3.97152, + ["name"] = "StaticBlockTheme01_04_131", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme18_04", + + }, + ["MediumPiglette_4"] = { + ["y"] = -17.3993, + ["x"] = 36.335, + ["name"] = "MediumPiglette_4", + ["angle"] = 0.0131212, + ["definition"] = "MediumPiglette", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["WoodBlock8"] = 9, + ["StoneBlock6"] = 3, + ["MISC_FB_CONE"] = 3, + ["MediumPiglette"] = 6, + ["WoodBlock9"] = 7, + ["ExtraRopeThin01"] = 1, + ["LightBlock3"] = 1, + ["YellowBird"] = 3, + ["LightBlock11"] = 10, + ["StoneBlock3"] = 4, + ["RedBird"] = 4, + ["StaticBlockTheme01_03"] = 1, + ["StoneBlock2"] = 10, + ["StaticBlockTheme01_04"] = 135, + ["WoodBlock2"] = 43, + ["WoodBlock10"] = 5, + ["StoneBlock1"] = 4, + ["WoodBlock12"] = 20, + ["ExtraBlockTNT"] = 2, + ["MISC_FB_TAPE"] = 21, + ["StaticBlockTheme01_05"] = 69, + ["ExtraTire03"] = 6, + ["HelmetPiglette"] = 1, + ["BasicBird2"] = 1, + ["KingPiglette"] = 1, + ["WoodBlock11"] = 29, + ["WoodBlock3"] = 11, + ["LightBlock12"] = 4, + ["WoodBlock5"] = 37, + ["LightBlock5"] = 9, + ["SmallBlueBird"] = 4, + ["LightBlock2"] = 2, + ["GrandpaPiglette"] = 1, + ["StoneBlock10"] = 1, + ["StoneBlock7"] = 23, + ["SmallPiglette"] = 7, + ["LightBlock6"] = 22, + ["StoneBlock4"] = 13, + ["StoneBlock9"] = 6, + ["StoneBlock8"] = 1, + ["StaticBlockTheme01_01"] = 14, + ["LightBlock9"] = 3, + ["WoodBlock4"] = 80, + ["WoodBlock7"] = 4, + ["StoneBlock12"] = 6, + ["Estrade02"] = 3, + ["StoneBlock11"] = 19, + ["StoneBlock5"] = 13, + ["ExtraRopeThin02"] = 27, + ["LightBlock1"] = 2, + ["LightBlock10"] = 1, + ["WoodBlock1"] = 11, + ["LightBlock8"] = 1, + ["ExtraRopeThick01"] = 35, + ["WoodBlock6"] = 28, + ["LightBlock4"] = 36, + +} +theme = "theme21" +birdCameraData = { + ["windows"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1366, + ["py"] = -642.526, + ["screenHeight"] = 768, + ["top"] = -1443.21, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["right"] = 2045.31, + ["left"] = -1867.34, + ["px"] = -443.205, + + }, + ["iphone"] = { + ["bottom"] = 24.7985, + ["screenWidth"] = 480, + ["py"] = -699.292, + ["screenHeight"] = 320, + ["top"] = -1321, + ["sy"] = 0.257357, + ["sx"] = 0.257357, + ["px"] = -457.941, + ["left"] = -1390.5, + ["right"] = 1408.57, + + }, + ["ipad"] = { + ["bottom"] = 160.242, + ["screenWidth"] = 1024, + ["py"] = -642.526, + ["screenHeight"] = 768, + ["top"] = -1443.21, + ["sy"] = 0.479588, + ["sx"] = 0.479588, + ["px"] = -443.205, + ["left"] = -1510.79, + ["right"] = 1688.75, + + }, + ["version"] = "0.02", + +} +filename = "LevelS045.lua" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/levels/temp/Level1.lua b/Angry Birds Project R/0.3.0/data/levels/temp/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..d88561451027e8caef00c66a3620aa0c69eb9d21 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/temp/Level1.lua @@ -0,0 +1,275 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -192.631, + ["screenHeight"] = 768, + ["top"] = -576.631, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = 10.644, + ["px"] = 693.644, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1414.31, + ["x"] = 1476.82, + ["firstFrame"] = true, + ["width"] = 4677.28, + +} +joints = { + +} +world = { + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.35, + ["x"] = 45.0937, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.1, + ["x"] = 40.4937, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock10_1"] = { + ["y"] = -2.5, + ["x"] = 33.4937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.8827, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3.05, + ["x"] = 40.5437, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -11.65, + ["x"] = 29.0937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_2"] = { + ["y"] = -7.05, + ["x"] = 28.9437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.4, + ["x"] = 45.5937, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.35, + ["x"] = 46.0937, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.05, + ["x"] = 36.3437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.449997, + ["x"] = 46.6937, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.9, + ["x"] = 43.4437, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.15, + ["x"] = 45.6437, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.8, + ["x"] = 40.7937, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -4.85, + ["x"] = 36.7937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -0.849997, + ["x"] = 33.2937, + ["name"] = "ExtraDiamond_1", + ["angle"] = 4.76837e-007, + ["definition"] = "ExtraDiamond", + + }, + ["SmallPiglette_3"] = { + ["y"] = -13.1507, + ["x"] = 29.0611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 2, + ["WoodBlock3"] = 1, + ["WoodBlock5"] = 2, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 1, + ["StoneBlock5"] = 4, + ["StoneBlock1"] = 3, + ["SmallPiglette"] = 3, + ["LightBlock10"] = 1, + ["StoneBlock11"] = 1, + ["WoodBlock6"] = 2, + ["ExtraBlockTNT"] = 3, + ["MediumPiglette"] = 1, + ["RedBird"] = 5, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -112.558, + ["screenHeight"] = 768, + ["top"] = -496.558, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = -520.324, + ["px"] = 162.676, + + }, + ["version"] = "0.02", + +} +filename = "Level1.lua" diff --git a/Angry Birds Project R/0.3.0/data/levels/temp/Level1.temp.lua b/Angry Birds Project R/0.3.0/data/levels/temp/Level1.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..d88561451027e8caef00c66a3620aa0c69eb9d21 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/temp/Level1.temp.lua @@ -0,0 +1,275 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -192.631, + ["screenHeight"] = 768, + ["top"] = -576.631, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = 10.644, + ["px"] = 693.644, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1414.31, + ["x"] = 1476.82, + ["firstFrame"] = true, + ["width"] = 4677.28, + +} +joints = { + +} +world = { + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.35, + ["x"] = 45.0937, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.1, + ["x"] = 40.4937, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["LightBlock10_1"] = { + ["y"] = -2.5, + ["x"] = 33.4937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.8827, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3.05, + ["x"] = 40.5437, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -11.65, + ["x"] = 29.0937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_2"] = { + ["y"] = -7.05, + ["x"] = 28.9437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.4, + ["x"] = 45.5937, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.35, + ["x"] = 46.0937, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.05, + ["x"] = 36.3437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.449997, + ["x"] = 46.6937, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.9, + ["x"] = 43.4437, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.15, + ["x"] = 45.6437, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.8, + ["x"] = 40.7937, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -4.85, + ["x"] = 36.7937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -0.849997, + ["x"] = 33.2937, + ["name"] = "ExtraDiamond_1", + ["angle"] = 4.76837e-007, + ["definition"] = "ExtraDiamond", + + }, + ["SmallPiglette_3"] = { + ["y"] = -13.1507, + ["x"] = 29.0611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 2, + ["WoodBlock3"] = 1, + ["WoodBlock5"] = 2, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 1, + ["StoneBlock5"] = 4, + ["StoneBlock1"] = 3, + ["SmallPiglette"] = 3, + ["LightBlock10"] = 1, + ["StoneBlock11"] = 1, + ["WoodBlock6"] = 2, + ["ExtraBlockTNT"] = 3, + ["MediumPiglette"] = 1, + ["RedBird"] = 5, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -112.558, + ["screenHeight"] = 768, + ["top"] = -496.558, + ["sy"] = 1, + ["sx"] = 1, + ["right"] = 1376.64, + ["left"] = -520.324, + ["px"] = 162.676, + + }, + ["version"] = "0.02", + +} +filename = "Level1.lua" diff --git a/Angry Birds Project R/0.3.0/data/levels/temp/Level1.temp.playtest.lua b/Angry Birds Project R/0.3.0/data/levels/temp/Level1.temp.playtest.lua new file mode 100644 index 0000000000000000000000000000000000000000..292e3a235c2e97712cc7c8f40d1fd50bbb7f75ee --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/temp/Level1.temp.playtest.lua @@ -0,0 +1,274 @@ +themeSprites = { + +} +castleCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -192.631, + ["screenHeight"] = 768, + ["top"] = -576.631, + ["sy"] = 1, + ["sx"] = 1, + ["px"] = 693.644, + ["left"] = 10.644, + ["right"] = 1376.64, + + }, + ["version"] = "0.02", + +} +levelParticles = { + ["y"] = -1414.31, + ["x"] = 1476.82, + ["firstFrame"] = true, + ["width"] = 4677.28, + +} +joints = { + +} +world = { + ["StoneBlock5_2"] = { + ["y"] = -2.95, + ["x"] = 26.3437, + ["name"] = "StoneBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["RedBird_3"] = { + ["y"] = -0.649997, + ["x"] = -6.15626, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -2.35, + ["x"] = 45.0937, + ["name"] = "StoneBlock1_1", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock5_2"] = { + ["y"] = -1.1, + ["x"] = 40.4937, + ["name"] = "WoodBlock5_2", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock6_1"] = { + ["y"] = -11.65, + ["x"] = 29.0937, + ["name"] = "StoneBlock6_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock6_2"] = { + ["y"] = -7.05, + ["x"] = 28.9437, + ["name"] = "WoodBlock6_2", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock6", + + }, + ["RedBird_1"] = { + ["y"] = -0.849997, + ["x"] = 0.443738, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 21.8827, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock5_4"] = { + ["y"] = -3.05, + ["x"] = 40.5437, + ["name"] = "StoneBlock5_4", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["LightBlock10_1"] = { + ["y"] = -2.5, + ["x"] = 33.4937, + ["name"] = "LightBlock10_1", + ["angle"] = 4.76837e-007, + ["definition"] = "LightBlock10", + + }, + ["StoneBlock5_3"] = { + ["y"] = -1.05, + ["x"] = 36.3437, + ["name"] = "StoneBlock5_3", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["WoodBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 26.2937, + ["name"] = "WoodBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "WoodBlock5", + + }, + ["StoneBlock5_1"] = { + ["y"] = -1.05, + ["x"] = 30.4437, + ["name"] = "StoneBlock5_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock5", + + }, + ["ExtraDiamond_1"] = { + ["y"] = -0.849997, + ["x"] = 33.2937, + ["name"] = "ExtraDiamond_1", + ["angle"] = 4.76837e-007, + ["definition"] = "ExtraDiamond", + + }, + ["WoodBlock2_2"] = { + ["y"] = -1.4, + ["x"] = 45.5937, + ["name"] = "WoodBlock2_2", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock2", + + }, + ["ExtraBlockTNT_3"] = { + ["y"] = -4.85, + ["x"] = 36.7937, + ["name"] = "ExtraBlockTNT_3", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["SmallPiglette_3"] = { + ["y"] = -13.1507, + ["x"] = 29.0611, + ["name"] = "SmallPiglette_3", + ["angle"] = 0, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock6_2"] = { + ["y"] = -0.449997, + ["x"] = 46.6937, + ["name"] = "StoneBlock6_2", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock6", + + }, + ["WoodBlock3_1"] = { + ["y"] = -1.9, + ["x"] = 43.4437, + ["name"] = "WoodBlock3_1", + ["angle"] = 6.28316, + ["definition"] = "WoodBlock3", + + }, + ["StoneBlock1_3"] = { + ["y"] = -3.15, + ["x"] = 45.6437, + ["name"] = "StoneBlock1_3", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.8, + ["x"] = 40.7937, + ["name"] = "MediumPiglette_1", + ["angle"] = 4.76837e-007, + ["definition"] = "MediumPiglette", + + }, + ["StoneBlock1_2"] = { + ["y"] = -2.35, + ["x"] = 46.0937, + ["name"] = "StoneBlock1_2", + ["angle"] = 6.28316, + ["definition"] = "StoneBlock1", + + }, + ["RedBird_2"] = { + ["y"] = -0.699997, + ["x"] = -2.90626, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["RedBird_4"] = { + ["y"] = -0.649997, + ["x"] = -9.80626, + ["name"] = "RedBird_4", + ["startNumber"] = 4, + ["angle"] = 0, + ["definition"] = "RedBird", + + }, + ["StoneBlock11_1"] = { + ["y"] = -1.9, + ["x"] = 22.2937, + ["name"] = "StoneBlock11_1", + ["angle"] = 4.71239, + ["definition"] = "StoneBlock11", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 2, + ["WoodBlock5"] = 2, + ["WoodBlock3"] = 1, + ["WoodBlock2"] = 2, + ["ExtraDiamond"] = 1, + ["StoneBlock5"] = 4, + ["StoneBlock1"] = 3, + ["StoneBlock11"] = 1, + ["LightBlock10"] = 1, + ["SmallPiglette"] = 3, + ["WoodBlock6"] = 2, + ["ExtraBlockTNT"] = 3, + ["MediumPiglette"] = 1, + ["RedBird"] = 5, + +} +theme = "theme2" +birdCameraData = { + ["windows"] = { + ["bottom"] = 191.369, + ["screenWidth"] = 1366, + ["py"] = -112.558, + ["screenHeight"] = 768, + ["top"] = -496.558, + ["sy"] = 1, + ["sx"] = 1, + ["px"] = 162.676, + ["left"] = -520.324, + ["right"] = 1376.64, + + }, + ["version"] = "0.02", + +} diff --git a/Angry Birds Project R/0.3.0/data/levels/temp/Level2.lua b/Angry Birds Project R/0.3.0/data/levels/temp/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..c85a4bd6d4f60342c8662a976dd5e182bcb9dcc1 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/temp/Level2.lua @@ -0,0 +1,87 @@ +world = { + ["Estrade02_1"] = { + ["y"] = -9.42457, + ["x"] = 0.199731, + ["name"] = "Estrade02_1", + ["angle"] = 4.76837e-007, + ["definition"] = "Estrade02", + + }, + ["StoneBlock6_1"] = { + ["y"] = -6.77457, + ["x"] = 0.199731, + ["name"] = "StoneBlock6_1", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock6", + + }, + ["StaticBlockTheme01_02_2"] = { + ["y"] = -4.82457, + ["x"] = 5.69973, + ["name"] = "StaticBlockTheme01_02_2", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme01_02", + + }, + ["StaticBlockTheme01_02_1"] = { + ["y"] = -4.82457, + ["x"] = -5.30027, + ["name"] = "StaticBlockTheme01_02_1", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme01_02", + + }, + ["StaticBlockTheme01_02_3"] = { + ["y"] = -6.35582, + ["x"] = 10.1746, + ["name"] = "StaticBlockTheme01_02_3", + ["angle"] = 3.53429, + ["definition"] = "StaticBlockTheme01_02", + + }, + ["StoneBlock6_2"] = { + ["y"] = -7.62457, + ["x"] = 0.249731, + ["name"] = "StoneBlock6_2", + ["angle"] = 4.76837e-007, + ["definition"] = "StoneBlock6", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = -1.42457, + ["x"] = 0.199731, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0, + ["definition"] = "StaticBlockTheme01_05", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + ["StaticBlockTheme01_05"] = 1, + ["Estrade02"] = 1, + ["StoneBlock6"] = 2, + ["StaticBlockTheme01_02"] = 3, + +} +theme = "theme1" +joints = { + +} +filename = "Level2.lua", diff --git a/Angry Birds Project R/0.3.0/data/levels/temp/Level2.temp.lua b/Angry Birds Project R/0.3.0/data/levels/temp/Level2.temp.lua new file mode 100644 index 0000000000000000000000000000000000000000..197c16f15bdd51553b352c832615e9bcea62b25e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/levels/temp/Level2.temp.lua @@ -0,0 +1,372 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["sy"] = 1, + ["sx"] = 1, + ["px"] = 917.319, + ["py"] = -220.867, + ["screenHeight"] = 768, + ["screenWidth"] = 1366, + + }, + +} +levelParticles = { + +} +joints = { + +} +counts = { + ["WoodBlock8"] = 3, + ["MediumPiglette"] = 1, + ["WoodBlock4"] = 2, + ["StaticBlockTheme02_04"] = 7, + ["ExtraBlockTNT"] = 1, + ["LightBlock6"] = 1, + ["RedBird"] = 3, + ["StoneBlock2"] = 3, + ["StaticBlockTheme02_05"] = 2, + ["StoneBlock1"] = 5, + ["LightBlock1"] = 1, + ["StoneBlock7"] = 1, + ["StoneBlock10"] = 1, + ["StaticBlockTheme01_05"] = 3, + ["LargePiglette"] = 1, + ["ExtraBlueBird"] = 4, + ["SmallPiglette"] = 4, + +} +physicsToWorld = 20 +worldGravity = 20 +theme = "theme2" +world = { + ["ExtraBlueBird_3"] = { + ["y"] = -0.693671, + ["x"] = 58.4468, + ["name"] = "ExtraBlueBird_3", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlueBird", + + }, + ["RedBird_3"] = { + ["y"] = -0.693671, + ["x"] = 8.19683, + ["name"] = "RedBird_3", + ["startNumber"] = 3, + ["angle"] = 2.28882e-005, + ["definition"] = "RedBird", + + }, + ["StoneBlock1_1"] = { + ["y"] = -0.493671, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["WoodBlock8_2"] = { + ["y"] = -0.693671, + ["x"] = 22.1468, + ["name"] = "WoodBlock8_2", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock8", + + }, + ["StaticBlockTheme02_04_7"] = { + ["y"] = -4.24367, + ["x"] = -1.90317, + ["name"] = "StaticBlockTheme02_04_7", + ["angle"] = 2.28882e-005, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_4"] = { + ["y"] = -3.19367, + ["x"] = 39.8468, + ["name"] = "SmallPiglette_4", + ["angle"] = 5.89046, + ["definition"] = "SmallPiglette", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["StoneBlock2_1"] = { + ["y"] = -16.4437, + ["x"] = 57.6968, + ["name"] = "StoneBlock2_1", + ["angle"] = 6.28318, + ["definition"] = "StoneBlock2", + + }, + ["WoodBlock8_3"] = { + ["y"] = -2.09367, + ["x"] = 25.3468, + ["name"] = "WoodBlock8_3", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock8", + + }, + ["ExtraBlueBird_2"] = { + ["y"] = -0.693671, + ["x"] = 57.0468, + ["name"] = "ExtraBlueBird_2", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlueBird", + + }, + ["SmallPiglette_2"] = { + ["y"] = -1.69367, + ["x"] = 38.3468, + ["name"] = "SmallPiglette_2", + ["angle"] = 6.28317, + ["definition"] = "SmallPiglette", + + }, + ["StaticBlockTheme02_04_4"] = { + ["y"] = -9.84333, + ["x"] = 54.816, + ["name"] = "StaticBlockTheme02_04_4", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StoneBlock1_3"] = { + ["y"] = -2.34367, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["MediumPiglette_1"] = { + ["y"] = -5.39367, + ["x"] = 38.3968, + ["name"] = "MediumPiglette_1", + ["angle"] = 6.28316, + ["definition"] = "MediumPiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -18.4937, + ["x"] = 57.7968, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28318, + ["definition"] = "ExtraBlockTNT", + + }, + ["RedBird_2"] = { + ["y"] = -0.743671, + ["x"] = -11.8032, + ["name"] = "RedBird_2", + ["startNumber"] = 2, + ["angle"] = 2.28882e-005, + ["definition"] = "RedBird", + + }, + ["StoneBlock2_3"] = { + ["y"] = -17.5437, + ["x"] = 45.6468, + ["name"] = "StoneBlock2_3", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock2", + + }, + ["StaticBlockTheme01_05_1"] = { + ["y"] = 0.0067749, + ["x"] = 31.4663, + ["name"] = "StaticBlockTheme01_05_1", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LightBlock6_1"] = { + ["y"] = -10.8937, + ["x"] = 46.0468, + ["name"] = "LightBlock6_1", + ["angle"] = 1.5708, + ["definition"] = "LightBlock6", + + }, + ["StaticBlockTheme02_04_3"] = { + ["y"] = -7.84333, + ["x"] = 57.916, + ["name"] = "StaticBlockTheme02_04_3", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["StaticBlockTheme02_05_1"] = { + ["y"] = 0.206329, + ["x"] = 0.496831, + ["name"] = "StaticBlockTheme02_05_1", + ["angle"] = 5.49781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["WoodBlock4_2"] = { + ["y"] = -14.0437, + ["x"] = 57.6468, + ["name"] = "WoodBlock4_2", + ["angle"] = 4.71239, + ["definition"] = "WoodBlock4", + + }, + ["RedBird_1"] = { + ["y"] = -7.39367, + ["x"] = -1.90317, + ["name"] = "RedBird_1", + ["startNumber"] = 1, + ["angle"] = 2.28882e-005, + ["definition"] = "RedBird", + + }, + ["StoneBlock7_1"] = { + ["y"] = -18.9437, + ["x"] = 48.3468, + ["name"] = "StoneBlock7_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock7", + + }, + ["WoodBlock4_1"] = { + ["y"] = -14.1437, + ["x"] = 53.3968, + ["name"] = "WoodBlock4_1", + ["angle"] = 4.71239, + ["definition"] = "WoodBlock4", + + }, + ["StaticBlockTheme02_04_6"] = { + ["y"] = -4.39367, + ["x"] = 47.3968, + ["name"] = "StaticBlockTheme02_04_6", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["SmallPiglette_3"] = { + ["y"] = -3.14367, + ["x"] = 36.6968, + ["name"] = "SmallPiglette_3", + ["angle"] = 0.392683, + ["definition"] = "SmallPiglette", + + }, + ["StoneBlock2_2"] = { + ["y"] = -0.393671, + ["x"] = 61.2468, + ["name"] = "StoneBlock2_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock2", + + }, + ["StoneBlock10_1"] = { + ["y"] = -16.6437, + ["x"] = 49.6468, + ["name"] = "StoneBlock10_1", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock10", + + }, + ["StaticBlockTheme01_05_3"] = { + ["y"] = -5.39323, + ["x"] = 52.3163, + ["name"] = "StaticBlockTheme01_05_3", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock1_2"] = { + ["y"] = -1.39367, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_2", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["StoneBlock1_5"] = { + ["y"] = -4.19367, + ["x"] = 59.7468, + ["name"] = "StoneBlock1_5", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["StaticBlockTheme01_05_2"] = { + ["y"] = 0.0067749, + ["x"] = 45.0163, + ["name"] = "StaticBlockTheme01_05_2", + ["angle"] = 0.785398, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["LargePiglette_1"] = { + ["y"] = -19.3437, + ["x"] = 52.4968, + ["name"] = "LargePiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LargePiglette", + + }, + ["StaticBlockTheme02_04_5"] = { + ["y"] = -9.84333, + ["x"] = 58.016, + ["name"] = "StaticBlockTheme02_04_5", + ["angle"] = 1.5708, + ["definition"] = "StaticBlockTheme02_04", + + }, + ["WoodBlock8_1"] = { + ["y"] = -0.793671, + ["x"] = 23.8468, + ["name"] = "WoodBlock8_1", + ["angle"] = 5.24521e-006, + ["definition"] = "WoodBlock8", + + }, + ["LightBlock1_1"] = { + ["y"] = -0.343671, + ["x"] = 20.6968, + ["name"] = "LightBlock1_1", + ["angle"] = 5.24521e-006, + ["definition"] = "LightBlock1", + + }, + ["StaticBlockTheme02_05_2"] = { + ["y"] = 0.256329, + ["x"] = -4.30316, + ["name"] = "StaticBlockTheme02_05_2", + ["angle"] = 5.49781, + ["definition"] = "StaticBlockTheme02_05", + + }, + ["StoneBlock1_4"] = { + ["y"] = -3.29367, + ["x"] = 59.7968, + ["name"] = "StoneBlock1_4", + ["angle"] = 5.24521e-006, + ["definition"] = "StoneBlock1", + + }, + ["ExtraBlueBird_1"] = { + ["y"] = -0.693671, + ["x"] = 55.5968, + ["name"] = "ExtraBlueBird_1", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraBlueBird", + + }, + +} +filename = "Level2.lua", diff --git a/Angry Birds Project R/0.3.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/0.3.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/0.3.0/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/0.3.0/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..12abb97a6b58c642669af6fdc6a61e2e3218aa56 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/0.3.0/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/0.3.0/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/0.3.0/data/localization/angry.exe b/Angry Birds Project R/0.3.0/data/localization/angry.exe new file mode 100644 index 0000000000000000000000000000000000000000..8be4dfa95adff797fcac14848d2f3594f976e4db Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/localization/angry.exe differ diff --git a/Angry Birds Project R/0.3.0/data/localization/english.txt b/Angry Birds Project R/0.3.0/data/localization/english.txt new file mode 100644 index 0000000000000000000000000000000000000000..e305bac10f1f4c4564ce79f0750676fc25fde2ac --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/localization/english.txt @@ -0,0 +1,254 @@ +SK_SELECT=Select +SK_EXIT=Exit +SK_OK=Ok +SK_YES=Yes +SK_NO=No +SK_CONTINUE=Continue +SK_HELP=Help +SK_ERASE=Erase +TITLE_CHOOSE_LANGUAGE=Choose Language +ITEM_ENABLE_SOUNDS_QUERY=Enable sounds? +ITEM_ENABLE_VIBRATION_QUERY=Enable vibration? +ITEM_HIGH_SCORES=High Scores +ITEM_HELP=Help +ITEM_ERASE_DATA=Erase data +ITEM_ERASE_HIGHSCORE=Erase highscores +ITEM_ARE_YOU_SURE=Are you sure? +ITEM_SFX_ON=SFX: ON +ITEM_SFX_OFF=SFX: OFF +ITEM_MUSIC_ON=Music: ON +ITEM_MUSIC_OFF=Music: OFF +ITEM_VIBRATION_ON=Vibra: ON +ITEM_VIBRATION_OFF=Vibra: OFF +ITEM_CONTINUE_GAME=Continue game +ITEM_PAUSE=Pause +ITEM_LEVEL_SELECTION=Level selection +ITEM_OPTIONS=Options +MI_PLAY=Play +MI_SETTINGS=Settings +MI_ABOUT=About +MT_MORE_GAMES=More Games! +MI_EDIT=Edit +MT_SETTINGS=Settings +MT_ABOUT=About +MT_LEVEL_SKIPPED=LEVEL SKIPPED! +MT_LEVEL_COMPLETE=LEVEL CLEARED! +MI_CONTINUE=Continue +MT_PAUSE=paused +MT_LEVEL_FAILED=LEVEL FAILED! +MI_RESTART=Retry +MI_RETRY=Retry +MI_BACK=Back +MI_SCORE=Score +MI_HIGH_SCORE=Highscore +MI_OK=OK +TEXT_SELECT_LEVEL=Select level +TEXT_FB_LEVELS_HINT_TITLE=Free bonus levels! +TEXT_FB_LEVELS_HINT=Tap the icon to\0A visit the Angry Birds Facebook page. 'Like' us to be one of the first to hear the latest news! +TEXT_NETWORK_ERROR_TITLE=Network error. +TEXT_NETWORK_ERROR=A connection error has occurred, please try again. +TEXT_LIKE_CONFIRMED_TITLE=Thank you! +TEXT_LIKE_CONFIRMED=We like you too! +TEXT_EXIT_CONFIRM=Are you sure you want to quit? we'll miss you! +MI_EXIT=Quit +MI_AUDIO=Audio +MI_VIBRA=Vibra +MI_MENU=Menu +MI_LOADING=Loading... +MI_NEW_HIGHSCORE=New Highscore! +TEXT_BEST_SCORE=Best +MI_MORE_GAMES=Check out other great games from Rovio! +HELP_TITLE_HOWTOPLAY=How To Play +HELP_TITLE_BLUE=Blue Groupie +HELP_TITLE_YELLOW=Yellow speedster +HELP_TITLE_BLACK=Black Blaster +HELP_TITLE_GREEN=Eggy Bomber +HELP_TITLE_SPECIAL=Special Moves +HELP_TEXT_HOWTOPLAY_1=Launch the birds by using the slingshot +HELP_TEXT_HOWTOPLAY_2=Destroy all piglettes to clear the level! +HELP_TEXT_BLUE=Strong against ice blocks +HELP_TEXT_YELLOW=Strong against wood blocks +HELP_TEXT_BLACK=Strong against stone blocks +HELP_TEXT_GREEN=Fat & Lazy +HELP_TEXT_SPECIAL=Activate special move by tapping the screen while the bird is flying in the air +HELP_SUBTITLE_SPECIAL=Special move: +HELP_SPECIAL_BLUE=Group Attack +HELP_SPECIAL_YELLOW=Turbo Boost +HELP_SPECIAL_BLACK=Explosion +HELP_SPECIAL_EGGY=Egg Grenade +TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CHILLINGO=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CLICKGAMER_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT=Angry Birds Project R\0ABeta 3\0A\0A© 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_HD=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_2=© Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_BETA=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PC=TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0ABeta 3\0A\0A© 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_CREDITS=CREDITS\0A\0A- \0A\0A- Director -\0AJeremiah Norton (Chef Snatcher)\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AChef Snatcher\0AMr.Bird\0ABuhoedull2401\0ALight Bird\0A\0A- Programming Help -\0AKeymil Animations\0A\0A- Music -\0AAri Pulkkinen\0ATommy Tallarico\0ADavid Schweitzer\0ATee Lopes\0A\0AShoutout to all of the beta testers.\0A\0A- Special Thanks -\0ATA\0AKeymil Animations\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AFree Golden Egg lol +TEXT_CREDITS_PC=CREDITS\0A\0A- Director -\0AJeremiah Norton (Chef Snatcher)\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AChef Snatcher\0AMr.Bird\0A\0A- Programming Help -\0AKeymil Animations\0A\0A- Music -\0AAri Pulkkinen\0ATommy Tallarico\0ADavid Schweitzer\0ATee Lopes\0A\0AShoutout to all of the beta testers.\0A\0A- Special Thanks -\0ATA\0AKeymil Animations\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AFree Golden Egg lol +TEXT_CREDITS_ORIGINAL=ORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS_AB=Powered by Box2D +TEXT_CREDITS_ADDITIONAL=ADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS=THANKS\0A\0A(todo) +TEXT_PERFECT=Total destruction - three stars in all levels! +TEXT_PERFECT_LP1=Destroy all piglettes to clear the level! +TEXT_PERFECT_LP2=Total destruction - three stars in all levels!\0A\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_COMPLETE=Congratulations for completing the episode!\0A\0ANow try to get three golden stars in all levels! +TEXT_COMPLETE_LP1=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to become an honorary Angry Bird! +TEXT_COMPLETE_LP2=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to prove yourself to The Mighty Eagle! +TEXT_UPSELL=More levels, more FUN! +TEXT_UPSELL_LITE=105 levels, 106% FUN! +TEXT_UPSELL_BUTTON=BUY HERE +TEXT_UPSELL_BUTTON_2=Get it Here! +TEXT_LP_NAME_1= Meet The Flock +TEXT_LP_NAME_2= Breakfast Brawl +TEXT_LP_NAME_3= Moral Mixup +TEXT_LP_NAME_4= The Big Setup +TEXT_LP_NAME_5= Ham 'Em High +TEXT_LP_NAME_6= Mine and Dine +TEXT_LP_NAME_7= Birdday Party +TEXT_LP_NAME_SURF=Surf and Turf +TEXT_LP_NAME_EGGS=Golden Eggs +TEXT_SELECT_LP=Select Episode +TEXT_LITE_BUY_BUTTON=FULL VERSION +TEXT_COMING_SOON=Coming soon +TEXT_CONGRATULATIONS=Congratulations! +TEXT_HIGHSCORE_SPRITE=NEW_HIGHSCORE_EN +TEXT_SCORE_SPRITE=SCORE_EN +TEXT_PLAY_SPRITE=MENU_PLAY_EN +TEXT_SPLASH_LOADING_SPRITE=LOADING_EN +TEXT_GOLDEN_EGG_HELP=Search throughout the game to find hidden golden eggs, each one unlocks a new secret level! +FONT_HIGHSCORE=FONT_CURRENT_HIGHSCORE +FONT_BASIC=FONT_BASIC +FONT_MENU=FONT_MENU +TEXT_EAGLE_HIGHSCORE=Eagle Highscore: +TEXT_EAGLE_SCORE=Eagle Score: +TEXT_EAGLE_TOTAL_DESTRUCTION=TOTAL DESTRUCTION! +TEXT_MIGHTY_EAGLE_RETURNS=Mighty Eagle is back in business! +TEXT_EAGLE_UPSELL=Stuck on a tricky level? Out of levels to play? Bring on the Mighty Eagle! +TEXT_EAGLE_UPSELL2=Pay once. Unlimited use. +TEXT_REMOVE_ADS_UPSELL=Go ad-free. +TEXT_REMOVE_ADS_UPSELL2=One time payment. +TEXT_POWERUP_RECEIVED_SLINGSCOPE=Sling Scopes gained +TEXT_POWERUP_RECEIVED_BIRDQUAKE=Birdquakes gained +TEXT_POWERUP_RECEIVED_KINGSLING=King Slings gained +TEXT_POWERUP_RECEIVED_SUPERSEEDS=Super Seeds gained +TEXT_POWERUP_RECIEVED_BUNDLE=Power-up bundles received +TEXT_POWERUP_PARENTAL=You have just disabled power-ups, free daily rewards, and the Power-Up shop. You can reactivate them at any time from here. +TEXT_POWERUP_PARENTAL_LOCK=You have disabled power-ups, free daily rewards and the Power-Up shop in the main menu settings. Please enable them again in order to use them. +TEXT_SHOP_PRICE=Price: +TEXT_SHOP_KING_SLING_DESCRIPTION=Upgrade to the almighty King Sling for maximum power and velocity! +TEXT_SHOP_SUPER_SEED_DESCRIPTION=Supersize your bird! Super Seeds turn any bird into a pig-popping giant. +TEXT_SHOP_BIRDQUAKE=Rattle the battle! Use the Birdquake to bring pigs' defenses crashing to the ground! +TEXT_SHOP_SLING_SCOPE_DESCRIPTION=Looking for the perfect shot? Use Sling Scope Laser Targeting for pinpoint precision! +TEXT_SHOP_ALL-IN-ONE-BUNDLE=This ultimate combo pack gives you all four power-ups! +TEXT_SHOP_PURCHASE=Purchase +TEXT_FREE_POWERUPS_TITLE=Angry Birds now has power-ups! +TEXT_FREE_POWERUPS=Enjoy these 20 free power-ups, and come back tomorrow for more rewards! +TEXT_FREE_FREE=FREE +TEXT_KING_PIG_MODE_KING_PIG_TAGLINE=your gay +TEXT_KING_PIG_MODE_BIRD_FRENZY_TAGLINE=Beat the level with unlimited birds! +TEXT_KING_PIG_MODE_TOTAL_DESTRUCTION_TAGLINE=Tap on the level to explode it! +TEXT_KING_PIG_MODE_MATERIAL_MIX-UP_TAGLINE=Two materials have been swapped! +TEXT_MIGHTY_EAGLE_RESTORE_QUERY=Do you wish to restore Mighty Eagle from your iTunes account? +TEXT_MIGHTY_EAGLE_PURCHASE_QUERY=Mighty Eagle has not been purchased yet. Do you wish to do that now? +TEXT_MIGHTY_EAGLE_RESTORE_PROCESSING=Restoring Mighty Eagle... +TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS=Mighty Eagle has been successfully restored. +TEXT_MIGHTY_EAGLE_RESTORE_FAILURE=Restoring Mighty Eagle failed. Please, try again. +TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY=Mighty Eagle is already active, no need for restoration. +TEXT_MAGICPLACES_PP_UNLOCK=To earn rewards with Magic Places, you need to agree to our privacy policy +TEXT_MAGICPLACES_PP_AGREE=Button: I Agree +TEXT_MAGICPLACES_PP_WOULD="Angry Birds" would like to use your location +TEXT_MAGICPLACES_PP_DATAPROVIDED=Magic Places location data is provided by CloudMade +TEXT_MAGICPLACES_NOLOCATION_NOSERVICES=Location services are not allowed. +TEXT_MAGICPLACES_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_NOSERVICES=Location services are turned off +TEXT_MAGICPLACES_AND_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_GOTOSETTINGS=Button: Go to settings +TEXT_MAGICPLACES_BIRD_YOUAREHERE=You are here! +TEXT_MAGICPLACES_POWERUPS_GAINED=%s %s gained +TEXT_MAGICPLACES_POWERUPS_EACHGAINED=%s of each Power Up gained! +TEXT_MAGICPLACES_POWERUPS_GETMORE=Go to Magic Places to unlock more Power Ups +TEXT_MAGICPLACES_POWERUPS_RAISEFLAG=Button: Raise a flag! +TEXT_MAGICPLACES_TUTORIAL_DISCOVER=Visit Magic Places to earn power-ups! +TEXT_MAGICPLACES_TUTORIAL_BROWSE=Browse the map to find Magic gift boxes and earn power-ups! +TEXT_MAGICPLACES_NOTIFICATION_STANDARD=Ca-caw! You're close to a Magic Place +TEXT_MAGICPLACES_NOTIFICATION_VARIATION1=Ta-daa! Magic Places are nearby, make a visit! +TEXT_MAGICPLACES_NOTIFICATION_VARIATION2=Woohoo, something Magic is in the air! +TEXT_MAGICPLACES_PP_MESSAGE=Joining the hunt for power-ups will give Angry Birds access to your location and agree with the privacy policy. +TEXT_MAGICPLACES_KP_MESSAGE=Try out our new King Pig mode +TEXT_MAGICPLACES_POWERUPS_NOPLACES=There are no magic places nearby. Search a little further! +TEXT_MAGICPLACES_SETTINGS=When you turn on Magic Places notifications, your device will track your location, even if the application is not running. +TEXT_MAGICPLACES_LONG_DESCRIPTION=Discover free power-ups at real-world locations! To use this feature, you need to enable access to your location and agree to Rovio's privacy policy and End User License Agreement (EULA). +TEXT_MAGICPLACES_HOW_MAGIC_WORKS=Magic uses your location to determine if you are in a Magic Place. +TEXT_MAGICPLACES_SERVICE_TOGGLE=You can turn location services on/off in your device settings. +TEXT_MAGICPLACES_SERVICE_COMBINATION=Location data may be combined with other Rovio services in the future. +TEXT_MAGICPLACES_FAQ=More info is available in the FAQ (rov.io/MagicPlacesFAQ) +NOTIFICATION_1=Chirp!! You're missing out on your reward! Come and get it! +NOTIFICATION_2=Ca-caw! Your reward awaits! +NOTIFICATION_3=Squawk! We miss you! Come play! +NOTIFICATION_4=Haven't see you in a long time! Time to pop some pigs! +TEXT_SHOP_ANDROID_DAILY_PURCHASE_LIMIT=You've reached the daily purchase limit. Come back tomorrow to buy more! +TEXT_ROVIO_ID_INTRODUCTION=Sign in now to save your progress and sync it across devices! +TEXT_ROVIO_ID_SAVING_PROGRESS=Saving game progress... +TEXT_ROVIO_ID_SAVING_FAILED=Saving game progress...failed. +TEXT_ROVIO_ID_POP-UP_TITLE=Rovio Account +TEXT_ROVIO_ID_SIGN_OUT=Sign out as: %s? +TEXT_ROVIO_ID_SIGN_IN=Sign in +TEXT_ROVIO_ID_SIGN_UP=Sign up +TEXT_ROVIO_ID_EMAIL_ADDRESS=Email +TEXT_ROVIO_ID_PASSWORD=Password +TEXT_ROVIO_ID_NEW_PASSWORD=New password +TEXT_ROVIO_ID_FORGOT_PASSWORD=Forgot your password? +TEXT_ROVIO_ID_not_have_account_yet=Don't have an account yet? +TEXT_ROVIO_ID_SIGN_UP_NOW=Sign up now! +TEXT_ROVIO_ID_BIRTHDAY=Birthday +TEXT_ROVIO_ID_DATE_FIELD_MONTH=Month +TEXT_ROVIO_ID_DATE_FIELD_DAY=Day +TEXT_ROVIO_ID_DATE_FIELD_YEAR=Year +TEXT_ROVIO_ID_MONTH_JAN=Jan +TEXT_ROVIO_ID_month_feb=Feb +TEXT_ROVIO_ID_month_mar=Mar +TEXT_ROVIO_ID_month_apr=Apr +TEXT_ROVIO_ID_month_may=May +TEXT_ROVIO_ID_month_jun=Jun +TEXT_ROVIO_ID_month_jul=Jul +TEXT_ROVIO_ID_month_aug=Aug +TEXT_ROVIO_ID_month_sep=Sep +TEXT_ROVIO_ID_month_oct=Oct +TEXT_ROVIO_ID_month_nov=Nov +TEXT_ROVIO_ID_month_dec=Dec +TEXT_ROVIO_ID_AGREE_BY_SIGN_IN=By signing up, you are agreeing to our EULA and Privacy Policy. +TEXT_ROVIO_ID_EULA=EULA +TEXT_ROVIO_ID_PRIVACY_POLICY=Privacy Policy +TEXT_ROVIO_ID_FORGOT_PASSWORD-RESET=To reset your password, enter the email address associated with your account below. +TEXT_ROVIO_ID_RESET_PASSWORD_TITLE=Reset password +TEXT_ROVIO_ID_EMAIL_SENT=Email has been sent! +TEXT_ROVIO_ID_RESET_PASSWORD_MESSAGE=Please, check your email for password reset information. +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_TITLE=Thanks for signing up! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_SENT=A verification email is sent to: +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio within 48 hours. +TEXT_ROVIO_ID_SORRY_TITLE=Sorry! +TEXT_ROVIO_ID_SIGN_UP_FAILED_MESSAGE=We could not create your account. +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_TITLE=You have not verified your account yet! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_RESENT=A verification email is re-sent to: +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio. +TEXT_ROVIO_ID_VALIDATE_PASSWORD=Please, enter a password. +TEXT_ROVIO_ID_VALIDATE_PASSWORD_INVALID=Password is too short. +TEXT_ROVIO_ID_VALIDATE_EMAIL_INVALID=Please, enter a valid email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL=Please, enter your email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL_RESERVED=This email address is already taken. +TEXT_ROVIO_ID_VALIDATE_EMAIL_FALSE=Wrong email +TEXT_ROVIO_ID_WRONG_PASSWORD=Wrong password +TEXT_ROVIO_ID_PASSWORD_HELP_TEXT=Password must contain 8 characters at the minimum. +TEXT_ROVIO_ID_WRONG_ACCOUNT=Sync failed. This device already uses another account. +TEXT_ROVIO_ID_SIGN_OUT_QUERY=Your progress will be saved online only when you are signed in. Do you want to sign out as: +TEXT_ROVIO_ID_ACCOUNT_DESCRIPTION=Rovio Account lets you automatically save your game progress online and synchronize between devices. Currently, Rovio Account is available for Angry Birds on iOS, but it will be available on other Rovio games and platforms in the future. +TEXT_ROVIO_ID_OR=or +TEXT_ROVIO_ID_SIGNED_IN_AS=You are signed in as +TEXT_CREDITS_ZIGI=Magic Places powered by Zigi. diff --git a/Angry Birds Project R/0.3.0/data/scripts/ABIDUtils.lua b/Angry Birds Project R/0.3.0/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/ABSync.lua b/Angry Birds Project R/0.3.0/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/PC_DRM.lua b/Angry Birds Project R/0.3.0/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/achievements.lua b/Angry Birds Project R/0.3.0/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/audio.lua b/Angry Birds Project R/0.3.0/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..f1637967f9f86a433ddf1059cbdfd38d1fd6cbd4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/blciks.lua b/Angry Birds Project R/0.3.0/data/scripts/blciks.lua new file mode 100644 index 0000000000000000000000000000000000000000..b6827b30053b3dcf302db6365468a111e0cee2ef Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/blciks.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/blicks.lua b/Angry Birds Project R/0.3.0/data/scripts/blicks.lua new file mode 100644 index 0000000000000000000000000000000000000000..c5f6403b18f3c84e2f700b774d9e6d358b3727ec Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/blicks.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/blocks.lua b/Angry Birds Project R/0.3.0/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..a878143572ebfb0008ccc371a17e066bddfe07b9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/bricks.lua b/Angry Birds Project R/0.3.0/data/scripts/bricks.lua new file mode 100644 index 0000000000000000000000000000000000000000..8c4394ee45d94bdf1eaddc60004111091ee81d65 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/bricks.lua @@ -0,0 +1,6968 @@ +collider_types = { + default = 0, + mighty_eagle = 1, + immovable = 2, + wind = 3 +} +shape_types = { + box = 0, + circle = 1, + polygon = 2 +} +materials = { + balloon = { + strength = 30, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + z_order = 1, + particles = "smokeBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "balloon_pop", + forceY = -30, + forceX = -1 + }, + wood = { + strength = 60, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + particles = "woodenBuff", + collisionSound = "wood_collision", + damageSound = "wood_damage", + destroyedSound = "wood_destroyed", + rollingSound = "wood_rolling" + }, + rock = { + strength = 120, + defence = 15, + friction = 4, + restitution = 0.1, + density = 4, + controllable = false, + particles = "rockBuff", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed", + rollingSound = "rock_rolling" + }, + light = { + strength = 40, + defence = 2, + friction = 0.7, + restitution = 0.2, + density = 0.75, + controllable = false, + particles = "lightBuff", + collisionSound = "light_collision", + damageSound = "light_damage", + destroyedSound = "light_destroyed", + rollingSound = "light_rolling" + }, + piglette = { + strength = 10, + defence = 1, + friction = 0.7, + restitution = 0.05, + density = 2, + controllable = false, + particles = "smokeBuff", + collisionSound = "piglette_collision", + damageSound = "piglette_damage", + destroyedSound = "piglette_destroyed" + }, + staticGround = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision" + }, + immovable = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + collider_type = collider_types.immovable + }, + immovableFragile = { + strength = 2, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "", + collisionSound = "ground_collision" + }, + clouds = { + strength = 0.1, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "balloon_pop" + }, + immovableRubber = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "trampoline" + }, + extras = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "wood damage a1" + }, + halloween = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + 5, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "halloween_destroyed" + }, + pumpkin = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "pumpkin_destroyed" + }, + lantern = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "flameBuff", + collisionSound = "light_collision", + destroyedSound = "lantern_break_a1" + }, + rubber = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ball_bounce" + }, + decoration = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false + }, + common = { + strength = 1, + defence = 1, + friction = 0.7, + restitution = 0.2, + density = 0.75, + particles = "lightBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "" + }, + stalaktite = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed" + }, + stalaktite_tip = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "stalaktite_break" + }, + amber = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amberBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + ruby = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "rubyBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + amethyst = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amethystBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + cake = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "birthday_cake" + }, + wind = { + friction = 0, + restitution = 0, + density = 0, + controllable = false, + collider_type = collider_types.wind + } +} +themes = { + settings = {keyCode = "T", themeAmount = 22}, + theme1 = { + index = 1, + music = "ambient_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_1_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_1_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 146, + g = 204, + b = 222 + }, + groundColor = { + r = 10, + g = 19, + b = 57 + } + }, + theme2 = { + index = 2, + music = "ambient_theme2", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme3 = { + index = 3, + music = "ambient_theme3", + graphicSetName = { + "THEME_03", + "THEME_03_COMPOSPRITES" + }, + texture = "THEME_03_THEME_GROUND_3", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_3_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_3_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_3_BG_LAYER_3", + 1, + 1.6 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_3_LAYER_1" + }, + { + "", + "FOREGROUND_3_LAYER_2" + } + }, + color = { + r = 239, + g = 216, + b = 115 + }, + groundColor = { + r = 47, + g = 23, + b = 14 + } + }, + theme4 = { + index = 4, + music = "ambient_theme1", + graphicSetName = { + "THEME_04", + "THEME_04_COMPOSPRITES" + }, + texture = "THEME_04_THEME_GROUND_4", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_4_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_4_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_4_BG_LAYER_3", + 1, + 1.85 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_4_LAYER_1" + }, + { + "INGAME_PARALLAX_4", + "FOREGROUND_4_LAYER_2" + } + }, + color = { + r = 144, + g = 205, + b = 237 + }, + groundColor = { + r = 28, + g = 18, + b = 12 + } + }, + theme5 = { + index = 5, + music = "ambient_theme3", + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES" + }, + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + theme6 = { + index = 6, + music = "ambient_theme3", + graphicSetName = { + "THEME_06", + "THEME_06_COMPOSPRITES" + }, + texture = "THEME_06_THEME_GROUND_6", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_6_LAYER_1", + 0.3, + 4.5 + }, + { + "", + "THEME_6_BG_LAYER_2", + 0.55, + 3.3 + }, + { + "", + "THEME_6_BG_LAYER_3", + 1, + 2 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_6_LAYER_1" + }, + { + "INGAME_PARALLAX_6", + "FOREGROUND_6_LAYER_2" + } + }, + color = { + r = 73, + g = 88, + b = 45 + }, + groundColor = { + r = 24, + g = 28, + b = 15 + } + }, + theme7 = { + index = 7, + music = "ambient_theme7", + graphicSetName = { + "THEME_07", + "THEME_07_COMPOSPRITES" + }, + texture = "THEME_07_THEME_GROUND_7", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_7_LAYER_1", + 0.125, + 3.5 + }, + { + "", + "THEME_7_BG_LAYER_2", + 0.5, + 3 + }, + { + "", + "THEME_7_BG_LAYER_3", + 1, + 2.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_7_LAYER_1" + }, + { + "INGAME_PARALLAX_7", + "FOREGROUND_7_LAYER_2" + } + }, + color = { + r = 0, + g = 0, + b = 0 + }, + groundColor = { + r = 17, + g = 34, + b = 69 + } + }, + theme8 = { + index = 8, + music = "ambient_theme2", + graphicSetName = { + "THEME_08", + "THEME_08_COMPOSPRITES" + }, + texture = "THEME_08_THEME_GROUND_8", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_8_LAYER_1", + 0.125, + 2.5 + }, + { + "", + "THEME_8_BG_LAYER_2", + 0.5, + 2.5 + }, + { + "", + "THEME_8_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_PARALLAX_8", + "FOREGROUND_8_LAYER_1" + }, + { + "INGAME_PARALLAX_8", + "FOREGROUND_8_LAYER_2" + } + }, + color = { + r = 249, + g = 248, + b = 235 + }, + groundColor = { + r = 238, + g = 255, + b = 255 + } + }, + theme9 = { + index = 9, + music = "construction_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_1_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_1_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 148, + g = 206, + b = 222 + }, + groundColor = { + r = 10, + g = 19, + b = 57 + } + }, + theme10 = { + index = 10, + music = "construction_theme1", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "INGAME_PARALLAX_2", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme11 = { + index = 11, + music = "construction_theme1", + graphicSetName = { + "THEME_03", + "THEME_03_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_03_THEME_GROUND_3", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_3_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_3_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_3_BG_LAYER_3", + 1, + 1.6 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_3_LAYER_1" + }, + { + "INGAME_PARALLAX_3", + "FOREGROUND_3_LAYER_2" + } + }, + color = { + r = 239, + g = 214, + b = 115 + }, + groundColor = { + r = 47, + g = 23, + b = 14 + } + }, + theme12 = { + index = 12, + music = "construction_theme1", + graphicSetName = { + "THEME_04", + "THEME_04_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_04_THEME_GROUND_4", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_4_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_4_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_4_BG_LAYER_3", + 1, + 1.85 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_4_LAYER_1" + }, + { + "INGAME_PARALLAX_4", + "FOREGROUND_4_LAYER_2" + } + }, + color = { + r = 144, + g = 205, + b = 237 + }, + groundColor = { + r = 28, + g = 18, + b = 12 + } + }, + theme13 = { + index = 13, + music = "construction_theme1", + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES", + "PARALLAX_CRANES" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + theme14 = { + index = 14, + music = "construction_theme1", + graphicSetName = { + "THEME_06", + "THEME_06_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_06_THEME_GROUND_6", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_6_LAYER_1", + 0.3, + 4.5 + }, + { + "", + "THEME_6_BG_LAYER_2", + 0.55, + 3.3 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_6_BG_LAYER_3", + 1, + 2 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_6_LAYER_1" + }, + { + "INGAME_PARALLAX_6", + "FOREGROUND_6_LAYER_2" + } + }, + color = { + r = 74, + g = 90, + b = 44 + }, + groundColor = { + r = 24, + g = 28, + b = 15 + } + }, + theme15 = { + index = 15, + music = "construction_theme1", + graphicSetName = { + "THEME_07", + "THEME_07_COMPOSPRITES", + "PARALLAX_CRANES" + }, + texture = "THEME_07_THEME_GROUND_7", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_7_LAYER_1", + 0.125, + 3.5 + }, + { + "", + "THEME_7_BG_LAYER_2", + 0.5, + 3 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_1", + 0.8, + 1, + false, + 565 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_2", + 0.85, + 1.3, + false, + 645 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_3", + 0.9, + 1.6, + false, + 755 + }, + { + "INGAME_PARALLAX_CRANES", + "PARALLAX_CRANE_4", + 0.95, + 2, + false, + 822 + }, + { + "", + "THEME_7_BG_LAYER_3", + 1, + 2.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_7_LAYER_1" + }, + { + "INGAME_PARALLAX_7", + "FOREGROUND_7_LAYER_2" + } + }, + color = { + r = 0, + g = 0, + b = 0 + }, + groundColor = { + r = 17, + g = 34, + b = 69 + } + }, + theme16 = { + index = 16, + music = "ambient_theme3", + graphicSetName = { + "THEME_09", + "THEME_09_COMPOSPRITES" + }, + texture = "THEME_09_THEME_GROUND_9", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_2", + "BACKGROUND_10_LAYER_1", + 0.125, + 2.35 + }, + { + "", + "THEME_9_BG_LAYER_2", + 0.45, + 1.75 + }, + { + "INGAME_PARALLAX_9", + "BACKGROUND_10_LAYER_4", + 0.65, + 2 + } + }, + fgLayers = { + { + "INGAME_PARALLAX_9", + "FOREGROUND_10_LAYER_1" + } + }, + color = { + r = 9, + g = 85, + b = 104 + }, + groundColor = { + r = 51, + g = 34, + b = 34 + } + }, + theme17 = { + index = 17, + music = "ambient_cave", + graphicSetName = { + "THEME_10", + "THEME_10_COMPOSPRITES" + }, + texture = "THEME_10_THEME_GROUND_CAVE", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "THEME_CAVE_PARALLAX_1", + 0.35, + 1.5 + }, + { + "", + "THEME_BG_1", + 0.45, + 2.5 + } + }, + fgLayers = { + { + "", + "THEME_CAVE_FG_1" + } + }, + color = { + r = 14, + g = 14, + b = 27 + }, + groundColor = { + r = 17, + g = 17, + b = 0 + } + }, + theme18 = { + index = 18, + music = "birthday_ambience", + graphicSetName = { + "THEME_11", + "THEME_11_COMPOSPRITES" + }, + texture = "THEME_11_THEME_GROUND_BIRTHDAY", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BIRTHDAY_SKY", + 0.1, + 3 + }, + { + "", + "THEME_11_MIDGROUND", + 0.35, + 2.5 + }, + { + "", + "THEME_11_MIDGROUND_2", + 0.45, + 2.5 + } + }, + fgLayers = { + { + "", + "BIRTHDAY_GROUND" + } + }, + color = { + r = 99, + g = 214, + b = 244 + }, + groundColor = { + r = 85, + g = 0, + b = 0 + } + }, + theme19 = { + index = 19, + music = "beach_ambience", + graphicSetName = { + "THEME_12", + "THEME_12_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_12_THEME_GROUND_12", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_12_LAYER_1", + 0.1, + 1.3 + }, + { + "", + "BACKGROUND_12_LAYER_3", + 0.25, + 1.25 + }, + { + "", + "THEME_12_BG_LAYER_1", + 0.25, + 1.25, + true + } + }, + fgLayers = { + { + "", + "FOREGROUND_12_LAYER_1" + } + }, + color = { + r = 4, + g = 56, + b = 123 + }, + groundColor = { + r = 234, + g = 238, + b = 132 + }, + mainMenuScale = 1.5 + }, + theme20 = { + index = 20, + music = "ambience_waterfall", + graphicSetName = { + "THEME_13", + "THEME_13_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_13_THEME_GROUND_13", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_13_LAYER_1", + 0.1, + 1.5 + }, + { + "", + "BACKGROUND_13_LAYER_3", + 0.25, + 2, + false, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_2", + 0.375, + 2, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_5", + 0.65, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_13_LAYER_1" + } + }, + color = { + r = 248, + g = 114, + b = 98 + }, + groundColor = { + r = 34, + g = 68, + b = 0 + }, + mainMenuScale = 2 + }, + theme21 = { + index = 21, + music = "rain_ambience", + graphicSetName = {"THEME_15", "BLOCKS_FB"}, + texture = "THEME_15_THEME_GROUND_15", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_15", + 0.125, + 2 + }, + { + rect = { + r = 255, + g = 255, + b = 255, + a = 0 + } + }, + { + "", + "THEME_15_BG_LAYER_1", + 0.25, + 2 + }, + { + "", + "THEME_15_MASK", + 0.25, + 2 + }, + { + "", + "THEME_15_BG_LAYER_2", + 0.45, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_15_LAYER_1" + }, + { + "", + "FOREGROUND_15_LAYER_2", + 1.2 + } + }, + effects = { + { + type = "Thunder", + params = { + flash_layers = {2}, + shadow_layers = {4} + } + } + }, + color = { + r = 34, + g = 17, + b = 87 + }, + groundColor = { + r = 17, + g = 17, + b = 34 + }, + mainMenuScale = 2.5 + }, + theme22 = { + index = 999, + music = "beach_ambience", + graphicSetName = { + "THEME_14", + "BLOCKS_ABLAND" + }, + texture = "THEME_14_THEME_GROUND_14", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_16_LAYER_1", + 1.0E-5, + 1.5 + }, + { + "", + "THEME_14_BG_SUN", + 0, + 1 + }, + { + "", + "THEME_14_BG_LAYER_4_2", + 0.1, + 1, + v = 80 + }, + { + "", + "THEME_14_BG_LAYER_4", + 0.1, + 1.2, + v = 180 + }, + { + "", + "THEME_14_BG_LAYER_3", + 0.2, + 0.8 + }, + { + "", + "THEME_14_BG_LAYER_2", + 0.4, + 1.1 + }, + { + "", + "THEME_14_BG_LAYER_1", + 0.65, + 1 + }, + { + "", + "THEME_14_BG_LAYER_1_2", + 0.9, + 1 + } + }, + fgLayers = { + { + "", + "FOREGROUND_16_LAYER_1" + } + }, + color = { + r = 173, + g = 210, + b = 222 + }, + groundColor = { + r = 17, + g = 17, + b = 17 + } + }, + theme23 = { + index = 22, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_2", + 0.2, + 2.6 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + } +} +groups = { + staticBlocks = { + keyUp = "X", + keyDown = "Z", + firstIndex = 1, + lastIndex = 6 + }, + rockBlocks = { + keyUp = "2", + keyDown = "1", + firstIndex = 1, + lastIndex = 12 + }, + woodBlocks = { + keyUp = "W", + keyDown = "Q", + firstIndex = 1, + lastIndex = 12 + }, + lightBlocks = { + keyUp = "S", + keyDown = "A", + firstIndex = 1, + lastIndex = 12 + }, + birds = { + keyUp = "4", + keyDown = "3", + firstIndex = 1, + lastIndex = 12 + }, + piglettes = { + keyUp = "R", + keyDown = "E", + firstIndex = 1, + lastIndex = 7 + }, + extras = { + keyUp = "6", + keyDown = "5", + firstIndex = 1, + lastIndex = 94 + }, + decorations = { + keyUp = "V", + keyDown = "C", + firstIndex = 1, + lastIndex = 13 + }, + platforms = { + keyUp = "Y", + keyDown = "T", + firstIndex = 1, + lastIndex = 5 + }, + staticFragile = { + keyUp = "N", + keyDown = "M", + firstIndex = 1, + lastIndex = 6 + }, + clouds = { + keyUp = "H", + keyDown = "J", + firstIndex = 1, + lastIndex = 9 + }, + winds = { + keyUp = "I", + keyDown = "U", + firstIndex = 1, + lastIndex = 2 + } +} +damageFactors = { + DefaultDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlueBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 2.9, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1.9, + immovable = 1 + } + }, + YellowBirdDamageFactors = { + damageMultiplier = { + wood = 2.4, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlackBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 4, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + RedBigBirdDamageFactors = { + damageMultiplier = { + wood = 0.3, + rock = 0.3, + light = 0.3, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.8, + rock = 1.8, + light = 1.8, + immovable = 1 + } + }, + BoomerangBirdDamageFactors = { + damageMultiplier = { + wood = 1.6, + rock = 0.8, + light = 1.4, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.3, + rock = 1, + light = 1.3, + immovable = 1 + } + }, + GlobeBirdDamageFactors = { + damageMultiplier = { + wood = 3, + rock = 1.5, + light = 3, + immovable = 0, + staticGround = 0, + snowStaticFragile = 5 + }, + velocityMultiplier = { + wood = 4, + rock = 4, + light = 4, + immovable = 1 + } + }, + GlobeBirdBigDamageFactors = { + damageMultiplier = { + wood = 0, + rock = 0, + light = 0, + immovable = 0, + staticGround = 0, + snowStaticFragile = 0 + }, + velocityMultiplier = { + wood = 2, + rock = 2, + light = 2, + immovable = 1 + } + }, + MightyEagleBirdDamageFactors = { + damageMultiplier = { + wood = 1000000, + rock = 1000000, + light = 1000000, + immovable = 1000000, + staticGround = 0 + }, + velocityMultiplier = { + wood = 555, + rock = 555, + light = 555, + immovable = 555 + } + } +} +blocks = { + SmallBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + spriteFlying = "BIRD_BLUE", + spriteCollision = "BIRD_BLUE_COLLISION", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "10K_BLUE", + spriteYell = "BIRD_BLUE_YELL", + spriteBlink = "BIRD_BLUE_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 2, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_02_collision", + launchSound = "bird_02_flying", + specialSound = "special_group", + selectionSound = "bird_02_select", + unselectionSound = "bird_02_unselect", + specialty = "CLUSTER_BOMB", + tutorialInfo = "TUTORIAL_2", + useLegacyCollisionPath = true + }, + RedBird = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "BIRD_RED", + spriteFlying = "BIRD_RED_FLYING", + spriteCollision = "BIRD_RED_COLLISION", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_RED_YELL", + spriteBlink = "BIRD_RED_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 1, + particles = "redBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "bird_01_collision", + launchSound = "bird_01_flying", + specialSound = "red_special", + selectionSound = "bird_01_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_1", + useLegacyCollisionPath = true + }, + YellowBird = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_YELLOW", + spriteFlying = "BIRD_YELLOW_FLYING", + spriteCollision = "BIRD_YELLOW_COLLISION", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_YELLOW", + spriteYell = "BIRD_YELLOW_YELL", + spriteBlink = "BIRD_YELLOW_BLINK", + spriteSpecial = "BIRD_YELLOW_SPECIAL", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 3, + particles = "yellowBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_03_flying", + specialSound = "special_boost", + selectionSound = "bird_03_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOST", + tutorialInfo = "TUTORIAL_3", + useLegacyCollisionPath = true + }, + BlackBird = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BIRD_GREY", + spriteFlying = "BIRD_GREY_FLYING", + spriteCollision = "BIRD_GREY_FLYING", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "10K_BLACK", + spriteYell = "BIRD_GREY_YELL", + spriteBlink = "BIRD_GREY_BLINK", + spriteSpecial1 = "BIRD_GREY_1", + spriteSpecial2 = "BIRD_GREY_2", + spriteSpecial3 = "BIRD_GREY_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 5, + particles = "blackBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "bird_04_collision", + launchSound = "bird_04_flying", + specialSound = "special_explosion", + selectionSound = "bird_04_select", + unselectionSound = "bird_04_unselect", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, +BombPig = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BOMBPIG_IDLE", + spriteFlying = "BOMBPIG_LAUNCH", + spriteCollision = "BOMBPIG_IDLE", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BOMBPIG_HAPPY", + spriteBlink = "BOMBPIG_BLINK", + spriteSpecial1 = "BOMBPIG_1", + spriteSpecial2 = "BOMBPIG_2", + spriteSpecial3 = "BOMBPIG_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 12, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "piglette collision a4", + launchSound = "pig_launch", + specialSound = "special_explosion", + selectionSound = "piglette_a4", + unselectionSound = "piglette_a5", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, + BasicBird2 = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_GREEN", + spriteFlying = "BIRD_GREEN_FLYING", + spriteCollision = "BIRD_GREEN_COLLISION", + spriteAction = "HUD_ICON_EGG", + spriteScore = "10K_WHITE", + spriteYell = "BIRD_GREEN_YELL", + spriteBlink = "BIRD_GREEN_BLINK", + spriteSpecial = "BIRD_GREEN_SPECIAL", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 4, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bomberBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "bird_05_flying", + specialSound = "special_egg", + selectionSound = "bird_05_select", + unselectionSound = "bird_05_unselect", + specialty = "GRENADE", + projectile = "EggGranade", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + EggGranade = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "DROPPABLE_EGG", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "eggShells" + }, + RedBigBird = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "BIRD_BIG_BROTHER", + spriteFlying = "BIRD_BIG_BROTHER", + spriteCollision = "BIRD_BIG_BROTHER", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_BIG_BROTHER_YELL", + spriteBlink = "BIRD_BIG_BROTHER_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 6, + particles = "bigBrotherBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "big_brother_flying", + specialSound = "big_brother_special", + selectionSound = "big_brother_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_7" + }, + BoomerangBird = { + radius = 1.5, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_BOOMERANG", + spriteFlying = "BIRD_BOOMERANG", + spriteCollision = "BIRD_BOOMERANG_COLLISION", + spriteYell = "BIRD_BOOMERANG_YELL", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_BOOMERANG", + spriteBlink = "BIRD_BOOMERANG_BLINK", + spriteSpecial = "BIRD_BOOMERANG_SPECIAL", + allowRoll = true, + density = 3, + damageFactors = "BoomerangBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 7, + particles = "boomerangBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_06_flying", + specialSound = "boomerang_activate", + selectionSound = "boomerang_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOMERANG", + boomerangHorizontalForce = -50, + boomerangVerticalForce = -350, + boomerangMaxHorizontalSpeed = 50, + flyVerticalForce = -60, + tutorialInfo = "TUTORIAL_6" + }, + MightyEagleBird = { + radius = 5, + friction = 0.1, + type = "circle", + restitution = 0.05, + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + spriteFlying = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteCollision = "BIRD_MIGHTY_EAGLE_MOTION", + spriteAction = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteScore = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteYell = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteBlink = "BIRD_MIGHTY_EAGLE_RADIAL", + allowRoll = true, + density = 100, + damageFactors = "MightyEagleBirdDamageFactors", + controllable = true, + strength = 60000, + group = "birds", + groupIndex = 8, + particles = "smokeBuff", + particlesAmountLimits = {1, 1}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "", + specialSound = "", + selectionSound = "", + unselectionSound = "", + specialty = "MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + explosionRadius = 100, + explosionForce = 20000, + explosionDamageRadius = 100, + explosionDamage = 1, + z_order = 999, + collisionFunction = "mightyEagleCollision", + frozenFunction = "mightyEagleFrozen", + updateFunction = "updateMightyEagle", + collider_type = collider_types.mighty_eagle + }, + BaitSardine = { + friction = 0.25, + type = "box", + restitution = 0.05, + sprite = "BAIT_SARDINE", + spriteFlying = "BAIT_SARDINE", + spriteCollision = "BAIT_SARDINE", + spriteAction = "BAIT_SARDINE", + spriteScore = "BAIT_SARDINE", + spriteYell = "BAIT_SARDINE", + spriteBlink = "BAIT_SARDINE", + allowRoll = true, + density = 1, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "common", + strength = 1, + group = "birds", + groupIndex = 9, + particles = "", + particlesAmountLimits = {0, 0}, + particlesTrail = "redBirdTrail", + collisionSound = "sardine_can_physics_a2", + launchSound = "sardine_can_shot", + specialSound = "mighty_eagle_yell", + selectionSound = "", + destroyedSound = "light_destroyed", + unselectionSound = "", + specialty = "SUMMON_MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + collisionFunction = "mightyEagleBaitCollision", + frozenFunction = "mightyEagleBaitFrozen", + updateFunction = "updateMightyEagleBait", + timerFunction = "mightyEagleAndBaitTimerUpdate" + }, + GlobeBird = { + definition = "GlobeBird", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 10, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"orangeBuff", "smokeBuff"}, + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "GlobeBirdBig", + sprite = "BIRD_PUFFER_1", + spriteFlying = "BIRD_PUFFER_1", + spriteCollision = "BIRD_PUFFER_1", + spriteYell = "BIRD_PUFFER_YELL", + spriteAction = "BIRD_PUFFER_1", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_BLINK", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect" + }, + GlobeBirdBig = { + definition = "GlobeBirdBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 11, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "orangeBuff", + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BIRD_PUFFER_2", + spriteFlying = "BIRD_PUFFER_2", + spriteCollision = "BIRD_PUFFER_2", + spriteYell = "BIRD_PUFFER_2", + spriteAction = "BIRD_PUFFER_2", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_2", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + SmallPiglette = { + radius = 1.075, + type = "circle", + sprite = "PIGLETTE_SMALL_01", + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 4, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 1, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_SMALL_01", + blinkSprite = "PIGLETTE_SMALL_01_BLINK", + smileSprite = "PIGLETTE_SMALL_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_SMALL_02", + blinkSprite = "PIGLETTE_SMALL_02_BLINK", + smileSprite = "PIGLETTE_SMALL_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_SMALL_03", + blinkSprite = "PIGLETTE_SMALL_03_BLINK", + smileSprite = "PIGLETTE_SMALL_03_SMILE", + max = 50, + min = -1000 + } + } + }, + MediumPiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_MEDIUM_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 10, + defence = 1, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 2, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_MEDIUM_01", + blinkSprite = "PIGLETTE_MEDIUM_01_BLINK", + smileSprite = "PIGLETTE_MEDIUM_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_MEDIUM_02", + blinkSprite = "PIGLETTE_MEDIUM_02_BLINK", + smileSprite = "PIGLETTE_MEDIUM_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_MEDIUM_03", + blinkSprite = "PIGLETTE_MEDIUM_03_BLINK", + smileSprite = "PIGLETTE_MEDIUM_03_SMILE", + max = 50, + min = -1000 + } + } + }, + HelmetPiglette = { + radius = 1.95, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_HELMET_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 15, + defence = 8, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 3, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_HELMET_01", + blinkSprite = "PIGLETTE_HELMET_01_BLINK", + smileSprite = "PIGLETTE_HELMET_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_HELMET_02", + blinkSprite = "PIGLETTE_HELMET_02_BLINK", + smileSprite = "PIGLETTE_HELMET_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_HELMET_03", + blinkSprite = "PIGLETTE_HELMET_03_BLINK", + smileSprite = "PIGLETTE_HELMET_03_SMILE", + max = 50, + min = -1000 + } + } + }, + LargePiglette = { + radius = 2.325, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_BIG_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 20, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 4, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_BIG_01", + blinkSprite = "PIGLETTE_BIG_01_BLINK", + smileSprite = "PIGLETTE_BIG_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_BIG_02", + blinkSprite = "PIGLETTE_BIG_02_BLINK", + smileSprite = "PIGLETTE_BIG_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_BIG_03", + blinkSprite = "PIGLETTE_BIG_03_BLINK", + smileSprite = "PIGLETTE_BIG_03_SMILE", + max = 50, + min = -1000 + } + } + }, + GrandpaPiglette = { + radius = 2.2, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_GRANDPA_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 30, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 5, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_GRANDPA_01", + blinkSprite = "PIGLETTE_GRANDPA_01_BLINK", + smileSprite = "PIGLETTE_GRANDPA_04_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_GRANDPA_02", + blinkSprite = "PIGLETTE_GRANDPA_02_BLINK", + smileSprite = "PIGLETTE_GRANDPA_05_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_GRANDPA_03", + blinkSprite = "PIGLETTE_GRANDPA_03_BLINK", + smileSprite = "PIGLETTE_GRANDPA_06_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPiglette = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 5000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 6, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + + HatPiglette = { + radius = 1.71, + friction = 0.3, + type = "circle", + sprite = "HATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 200, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "HATPIG_IDLE", + blinkSprite = "HATPIG_BLINK", + smileSprite = "HATPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HATPIG_HURT1_IDLE", + blinkSprite = "HATPIG_HURT1_BLINK", + smileSprite = "HATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HATPIG_HURT2_IDLE", + blinkSprite = "HATPIG_HURT2_BLINK", + smileSprite = "HATPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + + WoodBlock1 = { + type = "box", + sprite = "BLOCK_WOOD_1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 1, + strength = 20, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_1", + max = 25, + min = -1000 + } + } + }, + WoodBlock2 = { + type = "box", + sprite = "BLOCK_WOOD_1_2", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 2, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_2", + max = 25, + min = -1000 + } + } + }, + WoodBlock3 = { + type = "box", + sprite = "BLOCK_WOOD_1_3", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 3, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_3", + max = 25, + min = -1000 + } + } + }, + WoodBlock4 = { + type = "box", + sprite = "BLOCK_WOOD_1_4", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 4, + strength = 50, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock5 = { + type = "box", + sprite = "BLOCK_WOOD_1_5", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 5, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_5", + max = 25, + min = -1000 + } + } + }, + WoodBlock6 = { + type = "box", + sprite = "BLOCK_WOOD_1_6", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 6, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_6", + max = 25, + min = -1000 + } + } + }, + WoodBlock7 = { + type = "circle", + sprite = "BLOCK_WOOD_1_7", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 7, + strength = 200, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_7", + max = 25, + min = -1000 + } + } + }, + WoodBlock8 = { + type = "circle", + sprite = "BLOCK_WOOD_1_8", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 8, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_8", + max = 25, + min = -1000 + } + } + }, + WoodBlock9 = { + type = "box", + sprite = "BLOCK_WOOD_4X4_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 9, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4X4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock10 = { + type = "box", + sprite = "BLOCK_WOOD_10X1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 10, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_10X1_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 11, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 12, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock1 = { + type = "box", + sprite = "BLOCK_ROCK_1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 1, + strength = 30, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_1", + max = 25, + min = -1000 + } + } + }, + StoneBlock2 = { + type = "box", + sprite = "BLOCK_ROCK_1_2", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 2, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_2", + max = 25, + min = -1000 + } + } + }, + StoneBlock3 = { + type = "box", + sprite = "BLOCK_ROCK_1_3", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 3, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_3", + max = 25, + min = -1000 + } + } + }, + StoneBlock4 = { + type = "box", + sprite = "BLOCK_ROCK_1_4", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 4, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock5 = { + type = "box", + sprite = "BLOCK_ROCK_1_5", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 5, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_5", + max = 25, + min = -1000 + } + } + }, + StoneBlock6 = { + type = "box", + sprite = "BLOCK_ROCK_1_6", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 6, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_6", + max = 25, + min = -1000 + } + } + }, + StoneBlock7 = { + type = "circle", + sprite = "BLOCK_ROCK_1_7", + controllable = false, + materialName = "rock", + group = "rockBlocks", + strength = 600, + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_7", + max = 25, + min = -1000 + } + } + }, + StoneBlock8 = { + type = "circle", + sprite = "BLOCK_ROCK_1_8", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 8, + strength = 300, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_8", + max = 25, + min = -1000 + } + } + }, + StoneBlock9 = { + type = "box", + sprite = "BLOCK_ROCK_4X4_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 9, + strength = 160, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4X4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock10 = { + type = "box", + sprite = "BLOCK_ROCK_10X1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 10, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_10X1_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 11, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 12, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + LightBlock1 = { + type = "box", + sprite = "BLOCK_LIGHT_1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 1, + strength = 13, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_1", + max = 25, + min = -1000 + } + } + }, + LightBlock2 = { + type = "box", + sprite = "BLOCK_LIGHT_1_2", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 2, + strength = 26, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_2", + max = 25, + min = -1000 + } + } + }, + LightBlock3 = { + type = "box", + sprite = "BLOCK_LIGHT_1_3", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 3, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_3", + max = 25, + min = -1000 + } + } + }, + LightBlock4 = { + type = "box", + sprite = "BLOCK_LIGHT_1_4", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 4, + strength = 33, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock5 = { + type = "box", + sprite = "BLOCK_LIGHT_1_5", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 5, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_5", + max = 25, + min = -1000 + } + } + }, + LightBlock6 = { + type = "box", + sprite = "BLOCK_LIGHT_1_6", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 6, + strength = 47, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_6", + max = 25, + min = -1000 + } + } + }, + LightBlock7 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_7", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 7, + strength = 125, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_7", + max = 25, + min = -1000 + } + } + }, + LightBlock8 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_8", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 8, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_8", + max = 25, + min = -1000 + } + } + }, + LightBlock9 = { + type = "box", + sprite = "BLOCK_LIGHT_4X4_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 9, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4X4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock10 = { + type = "box", + sprite = "BLOCK_LIGHT_10X1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 10, + strength = 65, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_10X1_4", + max = 25, + min = -1000 + } + } + }, + LightBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 11, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + LightBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 12, + strength = 48, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + DecorationSpotsTheme01_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_01", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme01_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_02", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme01_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_03", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme02_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_01", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme02_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_02", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme02_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_03", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme03_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_01", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme03_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_02", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme03_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_03", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSkull01 = { + type = "box", + sprite = "DECORATION_SKULL01", + materialName = "decoration", + group = "decorations", + groupIndex = 4 + }, + DecorationSkull02 = { + type = "box", + sprite = "DECORATION_SKULL02", + materialName = "decoration", + group = "decorations", + groupIndex = 5 + }, + DecorationBone01 = { + type = "box", + sprite = "DECORATION_BONE01", + materialName = "decoration", + group = "decorations", + groupIndex = 6 + }, + DecorationBone02 = { + type = "box", + sprite = "DECORATION_BONE02", + materialName = "decoration", + group = "decorations", + groupIndex = 7 + }, + DecorationBone03 = { + type = "box", + sprite = "DECORATION_BONE03", + materialName = "decoration", + group = "decorations", + groupIndex = 8 + }, + DecorationBone04 = { + type = "box", + sprite = "DECORATION_BONE04", + materialName = "decoration", + group = "decorations", + groupIndex = 9 + }, + DecorationBoneSet01 = { + type = "box", + sprite = "DECORATION_BONESET01", + materialName = "decoration", + group = "decorations", + groupIndex = 10 + }, + DecorationBoneSet02 = { + type = "box", + sprite = "DECORATION_BONESET02", + materialName = "decoration", + group = "decorations", + groupIndex = 11 + }, + DecorationEstrade01 = { + type = "box", + sprite = "ESTRADE_FLAG", + materialName = "decoration", + group = "decorations", + groupIndex = 12 + }, + DecorationEstrade02 = { + type = "box", + sprite = "ESTRADE_THEATER", + materialName = "decoration", + group = "decorations", + groupIndex = 13 + }, + StaticBlockTheme01_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme01_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme01_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme01_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme01_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme01_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme02_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme02_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme02_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme02_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme02_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme02_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme03_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme03_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme03_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme03_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme03_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme03_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme04_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme04_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme04_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme04_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme04_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme04_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme05_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme05_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme05_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme05_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme05_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme05_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme06_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme06_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme06_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme06_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme06_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme06_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme07_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme07_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme07_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme07_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme07_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme07_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme08_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme08_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme08_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme08_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme08_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme08_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme09_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme09_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme09_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme09_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme09_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme09_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme10_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme10_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme10_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme10_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme10_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme10_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme11_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme11_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme11_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme11_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme11_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme11_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme12_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme12_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme12_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme12_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme12_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme12_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme13_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme13_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme13_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme13_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme13_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme13_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme14_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme14_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme14_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme14_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme14_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme14_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme15_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme15_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme15_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme15_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme15_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme15_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme16_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme16_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme16_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme16_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme16_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme16_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme17_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme17_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme17_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme17_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme17_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme17_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme18_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme18_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme18_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme18_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme18_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme18_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + ShootingPlatform01 = { + type = "box", + sprite = "SHOOTING_PLATFORM", + materialName = "immovable", + group = "platforms", + groupIndex = 1 + }, + Estrade01 = { + type = "box", + sprite = "ESTRADE_01", + materialName = "immovable", + group = "platforms", + groupIndex = 2 + }, + Estrade02 = { + type = "box", + sprite = "ESTRADE_02", + materialName = "immovable", + group = "platforms", + groupIndex = 3 + }, + Estrade03 = { + type = "box", + sprite = "ESTRADE_03", + materialName = "immovable", + group = "platforms", + groupIndex = 4 + }, + Estrade04 = { + type = "box", + sprite = "ESTRADE_04", + materialName = "immovable", + group = "platforms", + groupIndex = 5 + }, + ExtraBlockToilet = { + type = "box", + sprite = "BLOCK_EXTRA_TOILET", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 1 + }, + ExtraBlockFlag01 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 2 + }, + ExtraBlockFlag02 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 3 + }, + ExtraBlockTNT = { + type = "box", + sprite = "BLOCK_EXTRA_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 4, + strength = 10, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + ExtraBlockDice = { + type = "box", + sprite = "BLOCK_EXTRA_DICE_6", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 5, + strength = 30, + defence = 1, + damageSprites = { + damage1 = { + sprite = "BLOCK_EXTRA_DICE_6", + max = 100, + min = 84 + }, + damage2 = { + sprite = "BLOCK_EXTRA_DICE_5", + max = 84, + min = 68 + }, + damage3 = { + sprite = "BLOCK_EXTRA_DICE_4", + max = 68, + min = 52 + }, + damage4 = { + sprite = "BLOCK_EXTRA_DICE_3", + max = 52, + min = 36 + }, + damage5 = { + sprite = "BLOCK_EXTRA_DICE_2", + max = 36, + min = 20 + }, + damage6 = { + sprite = "BLOCK_EXTRA_DICE_1", + max = 20, + min = -1000 + } + } + }, + ExtraBlockStairs = { + type = "box", + sprite = "ESTRADE_STAIRS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 6 + }, + SpecialBlockSwing = { + type = "box", + sprite = "SWING_HOLDER_01", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 7 + }, + SpecialBlockStart = { + type = "box", + sprite = "SWING_BASKET_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 8, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleYellow = { + type = "box", + sprite = "POLE_YELLOW", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 9, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleRed = { + type = "box", + sprite = "POLE_RED", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 10, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraTire01 = { + type = "circle", + sprite = "BLOCK_TIRE_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 11, + strength = 200 + }, + ExtraTire02 = { + type = "circle", + sprite = "BLOCK_TIRE_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 12, + strength = 200 + }, + ExtraTire03 = { + type = "circle", + sprite = "BLOCK_TIRE_03", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 13, + strength = 200 + }, + ExtraDonut01 = { + type = "circle", + sprite = "BLOCK_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 14, + strength = 50 + }, + ExtraMelon = { + type = "circle", + sprite = "BLOCK_WATERMELON", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 15, + strength = 40 + }, + ExtraHam = { + type = "circle", + sprite = "BLOCK_HAM", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 16, + strength = 60 + }, + ExtraApple = { + type = "circle", + sprite = "BLOCK_APPLE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 17, + strength = 30 + }, + ExtraStrawberry = { + type = "circle", + sprite = "BLOCK_STRAWBERRY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 18, + strength = 30 + }, + ExtraBanana = { + type = "box", + sprite = "BLOCK_BANANA", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 19, + strength = 30 + }, + ExtraTreasureChest = { + type = "box", + sprite = "BLOCK_TREASURE_CHEST", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 20, + strength = 20 + }, + ExtraPillar = { + type = "box", + sprite = "BLOCK_PILLAR", + controllable = false, + density = 10, + defence = 40, + materialName = "extras", + group = "extras", + groupIndex = 21, + strength = 120 + }, + ExtraBeachBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 22, + strength = 15 + }, + ExtraBlockSmiley = { + type = "circle", + sprite = "BLOCK_SMILEY_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 23, + strength = 25, + damageSprites = { + damage1 = { + sprite = "BLOCK_SMILEY_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "BLOCK_SMILEY_3", + max = 50, + min = -1000 + } + } + }, + ExtraHolyGrail = { + type = "box", + sprite = "BLOCK_HOLYGRAIL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 24, + strength = 25 + }, + ExtraDiamond = { + type = "circle", + sprite = "BLOCK_DIAMOND", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 25, + strength = 25 + }, + ExtraRubberDuck = { + type = "circle", + sprite = "BLOCK_RUBBERDUCK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 26, + strength = 25 + }, + ExtraStolenEgg = { + type = "circle", + sprite = "BLOCK_STOLEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 27, + strength = 2000, + defence = 20000 + }, + ExtraStrongBall = { + type = "circle", + sprite = "BLOCK_STEEL_BALL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 28, + strength = 5000, + defence = 2000 + }, + ExtraRubberBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "rubber", + group = "extras", + groupIndex = 29, + defence = 50, + strength = 1000, + restitution = 1.1 + }, + ExtraTrampoline = { + type = "circle", + sprite = "BLOCK_SUPER_BALL", + materialName = "rubber", + group = "extras", + groupIndex = 30, + defence = 1000, + strength = 1000, + restitution = 5.5 + }, + ExtraBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + density = 8, + materialName = "extras", + group = "extras", + groupIndex = 31, + strength = 3000, + defence = 2000 + }, + ExtraTrampoline2 = { + type = "box", + sprite = "BLOCK_TRAMPOLINE_01", + materialName = "immovableRubber", + group = "extras", + groupIndex = 32, + defence = 1000, + strength = 1000, + restitution = 1.1 + }, + ExtraGoldenEgg = { + type = "circle", + sprite = "BLOCK_GOLDEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 33, + strength = 5, + defence = 1 + }, + ExtraRopeThick01 = { + type = "box", + sprite = "BLOCK_ROPE_THICK_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 34, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin01 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 35, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin02 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_2", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 36, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraBoomerangBird = { + radius = 1.1, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BOOMERANG", + density = 8, + materialName = "immovable", + group = "extras", + groupIndex = 37, + strength = 1000000, + defence = 1000000 + }, + BlockCarpet = { + type = "box", + sprite = "BLOCK_CARPET", + materialName = "extras", + group = "extras", + groupIndex = 38 + }, + ExtraHelmetSmall = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_SMALL", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 39, + defence = 300, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetSmall2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BLOCK_RUBBERDUCK", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 40, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BIG", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 41, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BIRD_BOOMERANG_STILL", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 42, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBoss = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BOSS", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 43, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraCowboyHelmet_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_BIG_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 44, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCowboyHelmetSmall_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_SMALL_1", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 45, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_1 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 46, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_2 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_2", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 47, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraBanditoHat_1 = { + type = "polygon", + vertices = { + {x = 0.4, y = 0.3}, + {x = 0.45, y = 0.2}, + {x = 0.55, y = 0.2}, + {x = 0.6, y = 0.3}, + {x = 0.6, y = 0.7}, + {x = 0.4, y = 0.7} + }, + sprite = "BANDITO_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 48, + defence = 30, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSuperBowl = { + type = "circle", + sprite = "B_EGG_SUPER_BOWL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 49, + strength = 5, + defence = 1, + density = 0 + }, + StaticFragileBlock01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 1, + destroyedScoreInc = 50 + }, + StaticFragileBlock02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 2, + destroyedScoreInc = 50 + }, + StaticFragileBlock03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 3, + destroyedScoreInc = 50 + }, + StaticFragileBlock04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 4, + destroyedScoreInc = 50 + }, + StaticFragileBlock05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 5, + destroyedScoreInc = 50 + }, + StaticFragileBlock06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 6, + destroyedScoreInc = 50 + }, + StaticBalloon01 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 1, + destroyedScoreInc = 100 + }, + StaticBalloon02 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 2, + destroyedScoreInc = 100 + }, + StaticBalloon03 = { + type = "box", + sprite = "BLOCK_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 3, + destroyedScoreInc = 100 + }, + StaticBalloon04 = { + type = "box", + sprite = "BLOCK_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 4, + destroyedScoreInc = 100 + }, + StaticBalloon05 = { + type = "box", + sprite = "BLOCK_BALLOON_3", + materialName = "clouds", + group = "clouds", + groupIndex = 5, + destroyedScoreInc = 100 + }, + StaticCloud01 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 6 + }, + StaticCloud02 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 7 + }, + StaticCloud03 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 8 + }, + StaticCloud04 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 9 + }, + Ground = { + type = "box", + sprite = "", + texture = "", + theme = "", + materialName = "staticGround", + group = "", + groupIndex = 1 + }, + ExtraCaveHat_1 = { + type = "box", + width = 1, + height = 0.5, + sprite = "CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 50, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_2 = { + type = "box", + width = 2, + height = 1.6, + sprite = "CAVE_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 51, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_3 = { + type = "box", + width = 2, + height = 1.5, + sprite = "CAVE_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 52, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraKingCaveHat_1 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "KING_CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 53, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_1 = { + type = "box", + width = 1.2, + height = 4.7, + sprite = "CAVE_SHOVEL_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 54, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_2 = { + type = "box", + width = 0.8, + height = 2.5, + sprite = "CAVE_SHOVEL_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 55, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_1 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 56, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_2 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 57, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraAmethyst = { + type = "box", + width = 2, + height = 1.6, + sprite = "BLOCK_AMETHYST", + materialName = "amethyst", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 58, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMETHYST_1" + }, + ExtraRuby = { + type = "box", + width = 1.3, + height = 2, + sprite = "BLOCK_RUBY", + materialName = "ruby", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 59, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_RUBY_1" + }, + ExtraAmber = { + type = "circle", + radius = 1, + sprite = "BLOCK_AMBER", + materialName = "amber", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 60, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + ExtraStalaktite_1 = { + type = "box", + width = 3, + height = 13.9, + sprite = "BLOCK_STALAKTITE_1", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 61, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_2 = { + type = "box", + width = 1, + height = 12.5, + sprite = "BLOCK_STALAKTITE_2", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 62, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_3 = { + type = "box", + width = 1.8, + height = 17.1, + sprite = "BLOCK_STALAKTITE_3", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 63, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip1 = { + type = "box", + width = 0.6, + height = 5, + sprite = "BLOCK_STALAKTITE_TIP_1", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 64, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip2 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_2", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 65, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip3 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_3", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 66, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip4 = { + type = "box", + width = 0.6, + height = 6, + sprite = "BLOCK_STALAKTITE_TIP_4", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 67, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayBalloon_1 = { + type = "circle", + radius = 1.2, + sprite = "BLOCK_BALLOON_BDAY", + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + strength = 10, + destroyedScoreInc = 500, + z_order = 5, + group = "extras", + groupIndex = 68 + }, + PartyHat_1 = { + type = "box", + width = 1.5, + height = 1.7, + sprite = "PARTY_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 69, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_2 = { + type = "box", + width = 1.6, + height = 1.7, + sprite = "PARTY_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 70, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_3 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 71, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_4 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_4", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 72, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayCandle_1 = { + type = "box", + width = 0.6, + height = 2.3, + sprite = "BDAY_CANDLE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 73, + defence = 10, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 500 + }, + BirthdayCake_1 = { + type = "box", + width = 2.5, + height = 2.9, + sprite = "CHOCO_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 74, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake1Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_2 = { + type = "box", + width = 3, + height = 3.8, + sprite = "PINK_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 75, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake2Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_3 = { + type = "box", + width = 4, + height = 2.2, + sprite = "MINT_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 76, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 100 + }, + BirthdayBalloon_2 = { + sprite = "BLOCK_BALLOON_1", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 77 + }, + BirthdayBalloon_3 = { + sprite = "BLOCK_BALLOON_2", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 78 + }, + BirthdayBalloon_4 = { + sprite = "BLOCK_BALLOON_3", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 79 + }, + SPECIAL_CAKE_1 = { + type = "box", + width = 2, + height = 2, + sprite = "SPECIAL_CAKE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 80, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + destroyedScoreInc = 100 + }, + MISC_FB_NET = { + type = "box", + sprite = "MISC_FB_NET_1", + materialName = "light", + group = "extras", + groupIndex = 71, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_NET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_NET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_NET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_STICK = { + type = "box", + sprite = "MISC_FB_STICK_1", + materialName = "wood", + group = "extras", + groupIndex = 72, + controllable = false, + density = 0.1, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_STICK_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_STICK_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_STICK_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_ROD = { + type = "box", + sprite = "MISC_FB_ROD_1", + materialName = "wood", + group = "extras", + groupIndex = 73, + controllable = false, + density = 0.001, + friction = 1, + defence = 10, + strength = 10, + restitution = 0, + z_order = 0, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_ROD_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_ROD_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_HAT = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 74, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAT_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_GLASSES = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.1, y = 0.7} + }, + sprite = "MISC_FB_GLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 75, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_GLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_GLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_GLASSES_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BUCKET = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.9, y = 0.3}, + {x = 0.8, y = 0.95}, + {x = 0.2, y = 0.95} + }, + sprite = "MISC_FB_BUCKET_1", + materialName = "light", + group = "extras", + groupIndex = 76, + controllable = false, + strength = 4, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BUCKET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BUCKET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BUCKET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SHOVEL = { + type = "box", + sprite = "MISC_FB_SHOVEL_1", + materialName = "light", + group = "extras", + groupIndex = 77, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SHOVEL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SHOVEL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SHOVEL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CASTLE = { + type = "box", + sprite = "MISC_FB_CASTLE_1", + materialName = "wood", + group = "extras", + groupIndex = 78, + controllable = false, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CASTLE_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CASTLE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TAPE = { + type = "box", + sprite = "MISC_FB_TAPE_1", + materialName = "extras", + group = "extras", + groupIndex = 79, + controllable = false, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + MISC_FB_HAMMER = { + type = "box", + sprite = "MISC_FB_HAMMER_1", + materialName = "rock", + group = "extras", + groupIndex = 80, + controllable = false, + density = 0.2, + friction = 1, + defence = 30, + strength = 20, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAMMER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_HAMMER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAMMER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CONE = { + type = "box", + sprite = "MISC_FB_CONE_1", + materialName = "wood", + group = "extras", + groupIndex = 81, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CONE_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_CONE_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CONE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_TOP = { + type = "box", + sprite = "MISC_FB_UMBRELLA_TOP_1", + materialName = "wood", + group = "extras", + groupIndex = 82, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_TOP_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_TOP_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_TOP_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_BOTTOM = { + type = "box", + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + materialName = "wood", + group = "extras", + groupIndex = 83, + controllable = false, + density = 0.01, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BARREL = { + type = "box", + sprite = "MISC_FB_BARREL_1", + materialName = "wood", + group = "extras", + groupIndex = 84, + controllable = false, + strength = 80, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BARREL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BARREL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BARREL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BOBBER = { + type = "box", + sprite = "MISC_FB_BOBBER_1", + materialName = "light", + group = "extras", + groupIndex = 85, + controllable = false, + strength = 5, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BOBBER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BOBBER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BOBBER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SMALL_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MISC_FB_SMALL_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 86, + controllable = false, + density = 0.3, + friction = 1, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SMALL_HAT_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SMALL_HAT_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SMALL_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TINYGLASSES = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_TINYGLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 87, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_TINYGLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_TINYGLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_TINYGLASSES_3", + max = 50, + min = 0 + } + } + }, + HORSE_BASE = { + type = "box", + sprite = "BLOCK_HORSE_BASE", + materialName = "extras", + group = "extras", + groupIndex = 88, + controllable = false, + strength = 80 + }, + BLOCK_GREEN_GOGGLES = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_GOGGLES", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 89, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_PILOTHELMET = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_PILOTHELMET", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 90, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_SPANNER_2 = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 91, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + GoldenSpanner = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_GOLDEN", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 92, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + BLOCK_GREEN_OILCANISTER = { + type = "box", + width = 1.5, + height = 2.7, + sprite = "BLOCK_GREEN_OILCANISTER", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 93, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_BAG = { + type = "circle", + radius = 1.3, + sprite = "BLOCK_GREEN_BAG", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 94, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + } +} +filename = "blocks.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/brocks.lua b/Angry Birds Project R/0.3.0/data/scripts/brocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..94a4d5261f5c949d8bf84fdbbc02790b9cda1228 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/brocks.lua @@ -0,0 +1,7203 @@ +collider_types = { + default = 0, + mighty_eagle = 1, + immovable = 2, + wind = 3 +} +shape_types = { + box = 0, + circle = 1, + polygon = 2 +} +materials = { + balloon = { + strength = 30, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + z_order = 1, + particles = "smokeBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "balloon_pop", + forceY = -30, + forceX = -1 + }, + wood = { + strength = 60, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + particles = "woodenBuff", + collisionSound = "wood_collision", + damageSound = "wood_damage", + destroyedSound = "wood_destroyed", + rollingSound = "wood_rolling" + }, + rock = { + strength = 120, + defence = 15, + friction = 4, + restitution = 0.1, + density = 4, + controllable = false, + particles = "rockBuff", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed", + rollingSound = "rock_rolling" + }, + light = { + strength = 40, + defence = 2, + friction = 0.7, + restitution = 0.2, + density = 0.75, + controllable = false, + particles = "lightBuff", + collisionSound = "light_collision", + damageSound = "light_damage", + destroyedSound = "light_destroyed", + rollingSound = "light_rolling" + }, + piglette = { + strength = 10, + defence = 1, + friction = 0.7, + restitution = 0.05, + density = 2, + controllable = false, + particles = "smokeBuff", + collisionSound = "piglette_collision", + damageSound = "piglette_damage", + destroyedSound = "piglette_destroyed" + }, + staticGround = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision" + }, + immovable = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + collider_type = collider_types.immovable + }, + immovableFragile = { + strength = 2, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "", + collisionSound = "ground_collision" + }, + clouds = { + strength = 0.1, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "balloon_pop" + }, + immovableRubber = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "trampoline" + }, + extras = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "wood damage a1" + }, + halloween = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + 5, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "halloween_destroyed" + }, + pumpkin = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "pumpkin_destroyed" + }, + lantern = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "flameBuff", + collisionSound = "light_collision", + destroyedSound = "lantern_break_a1" + }, + rubber = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ball_bounce" + }, + decoration = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false + }, + common = { + strength = 1, + defence = 1, + friction = 0.7, + restitution = 0.2, + density = 0.75, + particles = "lightBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "" + }, + stalaktite = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed" + }, + stalaktite_tip = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "stalaktite_break" + }, + amber = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amberBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + ruby = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "rubyBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + amethyst = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amethystBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + cake = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "birthday_cake" + }, + wind = { + friction = 0, + restitution = 0, + density = 0, + controllable = false, + collider_type = collider_types.wind + } +} +themes = { + settings = {keyCode = "T", themeAmount = 10}, + theme1 = { + index = 1, + music = "ambient_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_1_LAYER_1", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.6, + 2.9 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 146, + g = 204, + b = 222 + }, + groundColor = { + r = 14, + g = 74, + b = 95 + } + }, + theme5 = { + index = 9, + music = "ambient_theme3", + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES" + }, + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + PorkyParty = { + index = 10, + music = "pigtales", + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "PIG_TALES_PARALLAX_1", + 0.125, + 12 + }, + { + "", + "PIG_TALES_PARALLAX_2", + 0.5, + 4 + }, + { + "", + "PIG_TALES_PARALLAX_T_1" + 0.7, + 4 + }, + { + "", + "PIG_TALES_PARALLAX_T_2" + 0.8, + 4 + } + }, + fgLayers = { + { + "", + "PIG_TALES_FOREGROUND_1", + }, + { + "", + "PIG_TALES_FOREGROUND_2" + } + }, + color = { + r = 66, + g = 66, + b = 118 + }, + groundColor = { + r = 45, + g = 91, + b = 84 + } + }, + theme2 = { + index = 2, + music = "ambient_theme2", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButztonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme2boss = { + index = 3, + music = "pig_boss_1", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme23 = { + index = 4, + music = "pig_boss_2", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme19 = { + index = 6, + music = "beach_ambience", + graphicSetName = { + "THEME_12", + "THEME_12_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_12_THEME_GROUND_12", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_12_LAYER_1", + 0.1, + 1.3 + }, + { + "", + "BACKGROUND_12_LAYER_3", + 0.25, + 1.25 + }, + { + "", + "THEME_12_BG_LAYER_1", + 0.25, + 1.25, + true + } + }, + fgLayers = { + { + "", + "FOREGROUND_12_LAYER_1" + } + }, + color = { + r = 4, + g = 56, + b = 123 + }, + groundColor = { + r = 234, + g = 238, + b = 132 + }, + mainMenuScale = 1.5 + }, + theme20 = { + index = 7, + music = "ambience_waterfall", + graphicSetName = { + "THEME_13", + "THEME_13_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_13_THEME_GROUND_13", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_13_LAYER_1", + 0.1, + 1.5 + }, + { + "", + "BACKGROUND_13_LAYER_3", + 0.25, + 2, + false, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_2", + 0.375, + 2, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_5", + 0.65, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_13_LAYER_1" + } + }, + color = { + r = 248, + g = 114, + b = 98 + }, + groundColor = { + r = 34, + g = 68, + b = 0 + }, + mainMenuScale = 2 + }, + theme21 = { + index = 8, + music = "rain_ambience", + graphicSetName = {"THEME_15", "BLOCKS_FB"}, + texture = "THEME_15_THEME_GROUND_15", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_15", + 0.125, + 2 + }, + { + rect = { + r = 255, + g = 255, + b = 255, + a = 0 + } + }, + { + "", + "THEME_15_BG_LAYER_1", + 0.25, + 2 + }, + { + "", + "THEME_15_MASK", + 0.25, + 2 + }, + { + "", + "THEME_15_BG_LAYER_2", + 0.45, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_15_LAYER_1" + }, + { + "", + "FOREGROUND_15_LAYER_2", + 1.2 + } + }, + effects = { + { + type = "Thunder", + params = { + flash_layers = {2}, + shadow_layers = {4} + } + } + }, + color = { + r = 34, + g = 17, + b = 87 + }, + groundColor = { + r = 17, + g = 17, + b = 34 + }, + mainMenuScale = 2.5 + }, + theme22 = { + index = 999, + music = "beach_ambience", + graphicSetName = { + "THEME_14", + "BLOCKS_ABLAND" + }, + texture = "THEME_14_THEME_GROUND_14", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_16_LAYER_1", + 1.0E-5, + 1.5 + }, + { + "", + "THEME_14_BG_SUN", + 0, + 1 + }, + { + "", + "THEME_14_BG_LAYER_4_2", + 0.1, + 1, + v = 80 + }, + { + "", + "THEME_14_BG_LAYER_4", + 0.1, + 1.2, + v = 180 + }, + { + "", + "THEME_14_BG_LAYER_3", + 0.2, + 0.8 + }, + { + "", + "THEME_14_BG_LAYER_2", + 0.4, + 1.1 + }, + { + "", + "THEME_14_BG_LAYER_1", + 0.65, + 1 + }, + { + "", + "THEME_14_BG_LAYER_1_2", + 0.9, + 1 + } + }, + fgLayers = { + { + "", + "FOREGROUND_16_LAYER_1" + } + }, + color = { + r = 173, + g = 210, + b = 222 + }, + groundColor = { + r = 17, + g = 17, + b = 17 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + } +} +groups = { + staticBlocks = { + keyUp = "X", + keyDown = "Z", + firstIndex = 1, + lastIndex = 6 + }, + rockBlocks = { + keyUp = "2", + keyDown = "1", + firstIndex = 1, + lastIndex = 12 + }, + woodBlocks = { + keyUp = "W", + keyDown = "Q", + firstIndex = 1, + lastIndex = 12 + }, + lightBlocks = { + keyUp = "S", + keyDown = "A", + firstIndex = 1, + lastIndex = 12 + }, + birds = { + keyUp = "4", + keyDown = "3", + firstIndex = 1, + lastIndex = 20 + }, + piglettes = { + keyUp = "R", + keyDown = "E", + firstIndex = 1, + lastIndex = 11 + }, + extras = { + keyUp = "6", + keyDown = "5", + firstIndex = 1, + lastIndex = 131 + }, + decorations = { + keyUp = "V", + keyDown = "C", + firstIndex = 1, + lastIndex = 13 + }, + platforms = { + keyUp = "Y", + keyDown = "T", + firstIndex = 1, + lastIndex = 5 + }, + staticFragile = { + keyUp = "N", + keyDown = "M", + firstIndex = 1, + lastIndex = 6 + }, + clouds = { + keyUp = "H", + keyDown = "J", + firstIndex = 1, + lastIndex = 9 + }, + winds = { + keyUp = "I", + keyDown = "U", + firstIndex = 1, + lastIndex = 2 + } +} +damageFactors = { + DefaultDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlueBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 2.9, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1.9, + immovable = 1 + } + }, + YellowBirdDamageFactors = { + damageMultiplier = { + wood = 2.4, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlackBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 4, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + RedBigBirdDamageFactors = { + damageMultiplier = { + wood = 0.3, + rock = 0.3, + light = 0.3, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.8, + rock = 1.8, + light = 1.8, + immovable = 1 + } + }, + BoomerangBirdDamageFactors = { + damageMultiplier = { + wood = 1.6, + rock = 0.8, + light = 1.4, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.3, + rock = 1, + light = 1.3, + immovable = 1 + } + }, + GlobeBirdDamageFactors = { + damageMultiplier = { + wood = 3, + rock = 1.5, + light = 3, + immovable = 0, + staticGround = 0, + snowStaticFragile = 5 + }, + velocityMultiplier = { + wood = 4, + rock = 4, + light = 4, + immovable = 1 + } + }, + GlobeBirdBigDamageFactors = { + damageMultiplier = { + wood = 0, + rock = 0, + light = 0, + immovable = 0, + staticGround = 0, + snowStaticFragile = 0 + }, + velocityMultiplier = { + wood = 2, + rock = 2, + light = 2, + immovable = 1 + } + }, + MightyEagleBirdDamageFactors = { + damageMultiplier = { + wood = 1000000, + rock = 1000000, + light = 1000000, + immovable = 1000000, + staticGround = 0 + }, + velocityMultiplier = { + wood = 555, + rock = 555, + light = 555, + immovable = 555 + } + } +} +blocks = { + SmallBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + spriteFlying = "BIRD_BLUE", + spriteCollision = "BIRD_BLUE_COLLISION", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "10K_BLUE", + spriteYell = "BIRD_BLUE_YELL", + spriteBlink = "BIRD_BLUE_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 2, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_02_collision", + launchSound = "bird_02_flying", + specialSound = "special_group", + selectionSound = "bird_02_select", + unselectionSound = "bird_02_unselect", + specialty = "CLUSTER_BOMB", + tutorialInfo = "TUTORIAL_2", + useLegacyCollisionPath = true + }, + SmallPig = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BLUEPIG_IDLE", + spriteFlying = "BLUEPIG_HAPPY", + spriteCollision = "BLUEPIG_BLINK", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BLUEPIG_HAPPY", + spriteBlink = "BLUEPIG_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 15, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_group", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "CLUSTER_BOMB", + useLegacyCollisionPath = true + }, + RedBird = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "BIRD_RED", + spriteFlying = "BIRD_RED_FLYING", + spriteCollision = "BIRD_RED_COLLISION", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_RED_YELL", + spriteBlink = "BIRD_RED_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 1, + particles = "redBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "bird_01_collision", + launchSound = "bird_01_flying", + specialSound = "red_special", + selectionSound = "bird_01_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_1", + useLegacyCollisionPath = true + }, + RedPig = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "REDPIG_IDLE", + spriteFlying = "REDPIG_LAUNCH", + spriteCollision = "REDPIG_DEAD", + spriteAction = "REDPIG_LAUNCH", + spriteScore = "PIG_SCORE_10K", + spriteYell = "REDPIG_HAPPY", + spriteBlink = "REDPIG_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 13, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_1", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + useLegacyCollisionPath = true + }, + YellowBird = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_YELLOW", + spriteFlying = "BIRD_YELLOW_FLYING", + spriteCollision = "BIRD_YELLOW_COLLISION", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_YELLOW", + spriteYell = "BIRD_YELLOW_YELL", + spriteBlink = "BIRD_YELLOW_BLINK", + spriteSpecial = "BIRD_YELLOW_SPECIAL", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 3, + particles = "yellowBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_03_flying", + specialSound = "special_boost", + selectionSound = "bird_03_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOST", + tutorialInfo = "TUTORIAL_3", + useLegacyCollisionPath = true + }, + JetpackPig = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "CHUCKPIG_IDLE", + spriteFlying = "CHUCKPIG_LAUNCH", + spriteCollision = "CHUCKPIG_DEAD", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "PIG_SCORE_10K", + spriteYell = "CHUCKPIG_HAPPY", + spriteBlink = "CHUCKPIG_BLINK", + spriteSpecial = "CHUCKPIG_YEET", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 16, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_boost", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOOST", + useLegacyCollisionPath = true + }, + BlackBird = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BIRD_GREY", + spriteFlying = "BIRD_GREY_FLYING", + spriteCollision = "BIRD_GREY_FLYING", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "10K_BLACK", + spriteYell = "BIRD_GREY_YELL", + spriteBlink = "BIRD_GREY_BLINK", + spriteSpecial1 = "BIRD_GREY_1", + spriteSpecial2 = "BIRD_GREY_2", + spriteSpecial3 = "BIRD_GREY_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 5, + particles = "blackBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "bird_04_collision", + launchSound = "bomb_launch", + specialSound = "tnt_explodes", + selectionSound = "bird_04_select", + unselectionSound = "bird_04_unselect", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, +BombPig = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BOMBPIG_IDLE", + spriteFlying = "BOMBPIG_LAUNCH", + spriteCollision = "BOMBPIG_IDLE", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BOMBPIG_HAPPY", + spriteBlink = "BOMBPIG_BLINK", + spriteSpecial1 = "BOMBPIG_1", + spriteSpecial2 = "BOMBPIG_2", + spriteSpecial3 = "BOMBPIG_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 12, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "tnt_explodes", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + useLegacyCollisionPath = true + }, + BasicBird2 = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_GREEN", + spriteFlying = "BIRD_GREEN_FLYING", + spriteCollision = "BIRD_GREEN_COLLISION", + spriteAction = "HUD_ICON_EGG", + spriteScore = "10K_WHITE", + spriteYell = "BIRD_GREEN_YELL", + spriteBlink = "BIRD_GREEN_BLINK", + spriteSpecial = "BIRD_GREEN_SPECIAL", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 4, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bomberBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "bird_05_flying", + specialSound = "special_egg", + selectionSound = "bird_05_select", + unselectionSound = "bird_05_unselect", + specialty = "GRENADE", + projectile = "EggGranade", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + EggGranade = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "DROPPABLE_EGG", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "eggShells" + }, + Harvey = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "HARVEY_IDLE", + spriteFlying = "HARVEY_LAUNCH", + spriteCollision = "HARVEY_DEAD", + spriteAction = "HARVEY_DERP", + spriteScore = "PIG_SCORE_10K", + spriteYell = "HARVEY_DERP", + spriteBlink = "HARVEY_DERP", + spriteSpecial = "HARVEY_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 20, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "COURTNEY", + projectile = "Courtney", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + Courtney = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "COURTNEY_FALL", + spriteCollision = "COURTNEY_DEAD", + density = 3, + damageFactors = "BlackBirdDamageFactors", + controllable = false, + strength = 60, + particles = "smokeBuff", + collisionSound = "piglette_destroyed", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + BowlingBallPig = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "WHITEPIG_IDLE", + spriteFlying = "WHITEPIG_LAUNCH", + spriteCollision = "WHITEPIG_DEAD_EGG", + spriteAction = "HUD_ICON_EGG", + spriteScore = "PIG_SCORE_10K", + spriteYell = "WHITEPIG_HAPPY", + spriteBlink = "WHITEPIG_BLINK", + spriteSpecial = "WHITEPIG_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 14, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "GRENADE", + projectile = "BowlingBall", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + useLegacyCollisionPath = true + }, + BowlingBall = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BOWLING_BALL", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + RedBigBird = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "BIRD_BIG_BROTHER", + spriteFlying = "BIRD_BIG_BROTHER", + spriteCollision = "BIRD_BIG_BROTHER", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_BIG_BROTHER_YELL", + spriteBlink = "BIRD_BIG_BROTHER_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 6, + particles = "bigBrotherBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "big_brother_flying", + specialSound = "big_brother_special", + selectionSound = "big_brother_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_7" + }, + BigBork = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "TRENCPIG_IDLE", + spriteFlying = "TRENCPIG_HAPPY", + spriteCollision = "TRENCPIG_BLINK", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "PIG_SCORE_10K", + spriteYell = "TRENCPIG_HAPPY", + spriteBlink = "TRENCPIG_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 17, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_2", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + }, + BoomerangBird = { + radius = 1.5, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_BOOMERANG", + spriteFlying = "BIRD_BOOMERANG", + spriteCollision = "BIRD_BOOMERANG_COLLISION", + spriteYell = "BIRD_BOOMERANG_YELL", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_BOOMERANG", + spriteBlink = "BIRD_BOOMERANG_BLINK", + spriteSpecial = "BIRD_BOOMERANG_SPECIAL", + allowRoll = true, + density = 3, + damageFactors = "BoomerangBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 7, + particles = "boomerangBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_06_flying", + specialSound = "boomerang_activate", + selectionSound = "boomerang_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOMERANG", + boomerangHorizontalForce = -50, + boomerangVerticalForce = -350, + boomerangMaxHorizontalSpeed = 50, + flyVerticalForce = -60, + tutorialInfo = "TUTORIAL_6" + }, + MightyEagleBird = { + radius = 5, + friction = 0.1, + type = "circle", + restitution = 0.05, + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + spriteFlying = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteCollision = "BIRD_MIGHTY_EAGLE_MOTION", + spriteAction = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteScore = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteYell = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteBlink = "BIRD_MIGHTY_EAGLE_RADIAL", + allowRoll = true, + density = 100, + damageFactors = "MightyEagleBirdDamageFactors", + controllable = true, + strength = 60000, + group = "birds", + groupIndex = 8, + particles = "smokeBuff", + particlesAmountLimits = {1, 1}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "", + specialSound = "", + selectionSound = "", + unselectionSound = "", + specialty = "MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + explosionRadius = 100, + explosionForce = 20000, + explosionDamageRadius = 100, + explosionDamage = 1, + z_order = 999, + collisionFunction = "mightyEagleCollision", + frozenFunction = "mightyEagleFrozen", + updateFunction = "updateMightyEagle", + collider_type = collider_types.mighty_eagle + }, + BaitSardine = { + friction = 0.25, + type = "box", + restitution = 0.05, + sprite = "BAIT_SARDINE", + spriteFlying = "BAIT_SARDINE", + spriteCollision = "BAIT_SARDINE", + spriteAction = "BAIT_SARDINE", + spriteScore = "BAIT_SARDINE", + spriteYell = "BAIT_SARDINE", + spriteBlink = "BAIT_SARDINE", + allowRoll = true, + density = 1, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "common", + strength = 1, + group = "birds", + groupIndex = 9, + particles = "", + particlesAmountLimits = {0, 0}, + particlesTrail = "redBirdTrail", + collisionSound = "sardine_can_physics_a2", + launchSound = "sardine_can_shot", + specialSound = "mighty_eagle_yell", + selectionSound = "", + destroyedSound = "light_destroyed", + unselectionSound = "", + specialty = "SUMMON_MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + collisionFunction = "mightyEagleBaitCollision", + frozenFunction = "mightyEagleBaitFrozen", + updateFunction = "updateMightyEagleBait", + timerFunction = "mightyEagleAndBaitTimerUpdate" + }, + GlobeBird = { + definition = "GlobeBird", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 10, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"orangeBuff", "smokeBuff"}, + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "GlobeBirdBig", + sprite = "BIRD_PUFFER_1", + spriteFlying = "BIRD_PUFFER_1", + spriteCollision = "BIRD_PUFFER_1", + spriteYell = "BIRD_PUFFER_YELL", + spriteAction = "BIRD_PUFFER_1", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_BLINK", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect" + }, + GlobeBirdBig = { + definition = "GlobeBirdBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 11, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "orangeBuff", + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BIRD_PUFFER_2", + spriteFlying = "BIRD_PUFFER_2", + spriteCollision = "BIRD_PUFFER_2", + spriteYell = "BIRD_PUFFER_2", + spriteAction = "BIRD_PUFFER_2", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_2", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + BalloonPig = { + definition = "BalloonPig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 18, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"smokeBuff", "smokeBuff"}, + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "BalloonPigBig", + sprite = "BALLOONPIG_IDLE", + spriteFlying = "BALLOONPIG_HAPPY", + spriteCollision = "BALLOONPIG_BLINK", + spriteYell = "BALLOONPIG_HAPPY", + spriteAction = "BALLOONPIG_IDLE", + spriteScore = "PIG_SCORE_10K", + spriteBlink = "BALLOONPIG_BLINK", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "globe_special", + selectionSound = "piglette", + unselectionSound = "piglette" + }, + BalloonPigBig = { + definition = "BalloonPigBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 19, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "smokeBuff", + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BALLOONPIG_GLOBE", + spriteFlying = "BALLOONPIG_GLOBE", + spriteCollision = "BALLOONPIG_GLOBE", + spriteYell = "BALLOONPIG_GLOBE", + spriteAction = "BALLOONPIG_GLOBE", + spriteScore = "10K_ORANGE", + spriteBlink = "BALLOONPIG_GLOBE", + collisionSound = "piglette_collision", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + SmallPiglette = { + radius = 1.075, + type = "circle", + sprite = "PIGLETTE_SMALL_01", + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 4, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 1, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_SMALL_01", + blinkSprite = "PIGLETTE_SMALL_01_BLINK", + smileSprite = "PIGLETTE_SMALL_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_SMALL_02", + blinkSprite = "PIGLETTE_SMALL_02_BLINK", + smileSprite = "PIGLETTE_SMALL_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_SMALL_03", + blinkSprite = "PIGLETTE_SMALL_03_BLINK", + smileSprite = "PIGLETTE_SMALL_03_SMILE", + max = 50, + min = -1000 + } + } + }, + MediumPiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_MEDIUM_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 10, + defence = 1, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 2, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_MEDIUM_01", + blinkSprite = "PIGLETTE_MEDIUM_01_BLINK", + smileSprite = "PIGLETTE_MEDIUM_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_MEDIUM_02", + blinkSprite = "PIGLETTE_MEDIUM_02_BLINK", + smileSprite = "PIGLETTE_MEDIUM_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_MEDIUM_03", + blinkSprite = "PIGLETTE_MEDIUM_03_BLINK", + smileSprite = "PIGLETTE_MEDIUM_03_SMILE", + max = 50, + min = -1000 + } + } + }, + HelmetPiglette = { + radius = 1.95, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_HELMET_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 15, + defence = 8, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 3, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_HELMET_01", + blinkSprite = "PIGLETTE_HELMET_01_BLINK", + smileSprite = "PIGLETTE_HELMET_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_HELMET_02", + blinkSprite = "PIGLETTE_HELMET_02_BLINK", + smileSprite = "PIGLETTE_HELMET_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_HELMET_03", + blinkSprite = "PIGLETTE_HELMET_03_BLINK", + smileSprite = "PIGLETTE_HELMET_03_SMILE", + max = 50, + min = -1000 + } + } + }, + LargePiglette = { + radius = 2.325, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_BIG_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 20, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 4, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_BIG_01", + blinkSprite = "PIGLETTE_BIG_01_BLINK", + smileSprite = "PIGLETTE_BIG_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_BIG_02", + blinkSprite = "PIGLETTE_BIG_02_BLINK", + smileSprite = "PIGLETTE_BIG_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_BIG_03", + blinkSprite = "PIGLETTE_BIG_03_BLINK", + smileSprite = "PIGLETTE_BIG_03_SMILE", + max = 50, + min = -1000 + } + } + }, + Porkarappa = { + radius = 2, + friction = 0.3, + type = "circle", + sprite = "PORKARAPPA_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 110, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 9, + damageSprites = { + damage1 = { + sprite = "PORKARAPPA_IDLE", + blinkSprite = "PORKARAPPA_BLINK", + smileSprite = "PORKARAPPA_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PORKARAPPA_HURT1_IDLE", + blinkSprite = "PORKARAPPA_HURT1_BLINK", + smileSprite = "PORKARAPPA_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PORKARAPPA_HURT2_IDLE", + blinkSprite = "PORKARAPPA_HURT2_BLINK", + smileSprite = "PORKARAPPA_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + HandsomePiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "HANDSOMEPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 8, + damageSprites = { + damage1 = { + sprite = "HANDSOMEPIG_IDLE", + blinkSprite = "HANDSOMEPIG_BLINK", + smileSprite = "HANDSOMEPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HANDSOMEPIG_HURT1_IDLE", + blinkSprite = "HANDSOMEPIG_HURT1_BLINK", + smileSprite = "HANDSOMEPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HANDSOMEPIG_HURT2_IDLE", + blinkSprite = "HANDSOMEPIG_HURT2_FIX", + smileSprite = "HANDSOMEPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + GrandpaPiglette = { + radius = 2.2, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_GRANDPA_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 30, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 5, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_GRANDPA_01", + blinkSprite = "PIGLETTE_GRANDPA_01_BLINK", + smileSprite = "PIGLETTE_GRANDPA_04_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_GRANDPA_02", + blinkSprite = "PIGLETTE_GRANDPA_02_BLINK", + smileSprite = "PIGLETTE_GRANDPA_05_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_GRANDPA_03", + blinkSprite = "PIGLETTE_GRANDPA_03_BLINK", + smileSprite = "PIGLETTE_GRANDPA_06_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPiglette = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 6, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPigletteBoss = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 5000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 10, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + FATPIG = { + radius = 7.5, + friction = 0.3, + type = "circle", + sprite = "FATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 1000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 11, + damageSprites = { + damage1 = { + sprite = "FATPIG_IDLE", + blinkSprite = "FAT_PIG_BLINK", + smileSprite = "FAT_PIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "FATPIG_HURT1_IDLE", + blinkSprite = "FATPIG_IDLE_BLINK", + smileSprite = "FATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "FATPIG_HURT2_IDLE", + blinkSprite = "FATPIG_HURT2_BLINK", + smileSprite = "FATPIG_HURT2_BLINK", + max = 50, + min = -1000 + } + } + }, + + HatPiglette = { + radius = 1.71, + friction = 0.3, + type = "circle", + sprite = "HATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 200, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "HATPIG_IDLE", + blinkSprite = "HATPIG_BLINK", + smileSprite = "HATPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HATPIG_HURT1_IDLE", + blinkSprite = "HATPIG_HURT1_BLINK", + smileSprite = "HATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HATPIG_HURT2_IDLE", + blinkSprite = "HATPIG_HURT2_BLINK", + smileSprite = "HATPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + + WoodBlock1 = { + type = "box", + sprite = "BLOCK_WOOD_1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 1, + strength = 20, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_1", + max = 25, + min = -1000 + } + } + }, + WoodBlock2 = { + type = "box", + sprite = "BLOCK_WOOD_1_2", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 2, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_2", + max = 25, + min = -1000 + } + } + }, + Log = { + type = "box", + sprite = "LOG", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 95, + strength = 60, + damageSprites = { + damage1 = { + sprite = "LOG", + max = 100, + min = 75 + }, + damage2 = { + sprite = "LOG", + max = 75, + min = 50 + }, + damage3 = { + sprite = "LOG_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "LOG_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock3 = { + type = "box", + sprite = "BLOCK_WOOD_1_3", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 3, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_3", + max = 25, + min = -1000 + } + } + }, + WoodBlock4 = { + type = "box", + sprite = "BLOCK_WOOD_1_4", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 4, + strength = 50, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock5 = { + type = "box", + sprite = "BLOCK_WOOD_1_5", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 5, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_5", + max = 25, + min = -1000 + } + } + }, + WoodBlock6 = { + type = "box", + sprite = "BLOCK_WOOD_1_6", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 6, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_6", + max = 25, + min = -1000 + } + } + }, + WoodBlock7 = { + type = "circle", + sprite = "BLOCK_WOOD_1_7", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 7, + strength = 200, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_7", + max = 25, + min = -1000 + } + } + }, + BP_TNT = { + type = "box", + sprite = "BP_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 116, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + RIO_TNT = { + type = "box", + sprite = "TNTPACKAGE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 121, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + BP_WOOD = { + type = "box", + sprite = "BP_WOOD", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 117, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BP_WOOD", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_WOODHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_WOODHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_WOODHURT2", + max = 25, + min = -1000 + } + } + }, + RIOCRATE = { + type = "box", + sprite = "RIOCRATE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 122, + strength = 200, + damageSprites = { + damage1 = { + sprite = "RIOCRATE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATE_HURT", + max = 25, + min = -1000 + } + } + }, + RIOCRATESMALL = { + type = "box", + sprite = "RIOCRATE_SMALL", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 123, + strength = 100, + damageSprites = { + damage1 = { + sprite = "RIOCRATE_SMALL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE_SMALL", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATESMALL_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATESMALL_HURT", + max = 25, + min = -1000 + } + } + }, + BP_METAL = { + type = "box", + sprite = "BP_METAL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 118, + radius = 0.9, + strength = 220, + damageSprites = { + damage1 = { + sprite = "BP_METAL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_METALHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_METALHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_METALHURT2", + max = 25, + min = -1000 + } + } + }, + WOODEN_TIRE = { + type = "circle", + sprite = "WOODEN_TIRE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 115, + strength = 200, + damageSprites = { + damage1 = { + sprite = "WOODEN_TIRE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "WOODEN_TIRE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "WOODEN_TIRE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "WOODEN_TIRE_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock8 = { + type = "circle", + sprite = "BLOCK_WOOD_1_8", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 8, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_8", + max = 25, + min = -1000 + } + } + }, + WoodBlock9 = { + type = "box", + sprite = "BLOCK_WOOD_4X4_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 9, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4X4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock10 = { + type = "box", + sprite = "BLOCK_WOOD_10X1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 10, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_10X1_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 11, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 12, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock1 = { + type = "box", + sprite = "BLOCK_ROCK_1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 1, + strength = 30, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_1", + max = 25, + min = -1000 + } + } + }, + StoneBlock2 = { + type = "box", + sprite = "BLOCK_ROCK_1_2", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 2, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_2", + max = 25, + min = -1000 + } + } + }, + StoneBlock3 = { + type = "box", + sprite = "BLOCK_ROCK_1_3", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 3, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_3", + max = 25, + min = -1000 + } + } + }, + StoneBlock4 = { + type = "box", + sprite = "BLOCK_ROCK_1_4", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 4, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock5 = { + type = "box", + sprite = "BLOCK_ROCK_1_5", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 5, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_5", + max = 25, + min = -1000 + } + } + }, + StoneBlock6 = { + type = "box", + sprite = "BLOCK_ROCK_1_6", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 6, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_6", + max = 25, + min = -1000 + } + } + }, + StoneBlock7 = { + type = "circle", + sprite = "BLOCK_ROCK_1_7", + controllable = false, + materialName = "rock", + group = "rockBlocks", + strength = 600, + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_7", + max = 25, + min = -1000 + } + } + }, + StoneBlock8 = { + type = "circle", + sprite = "BLOCK_ROCK_1_8", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 8, + strength = 300, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_8", + max = 25, + min = -1000 + } + } + }, + StoneBlock9 = { + type = "box", + sprite = "BLOCK_ROCK_4X4_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 9, + strength = 160, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4X4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock10 = { + type = "box", + sprite = "BLOCK_ROCK_10X1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 10, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_10X1_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 11, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 12, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + LightBlock1 = { + type = "box", + sprite = "BLOCK_LIGHT_1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 1, + strength = 13, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_1", + max = 25, + min = -1000 + } + } + }, + LightBlock2 = { + type = "box", + sprite = "BLOCK_LIGHT_1_2", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 2, + strength = 26, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_2", + max = 25, + min = -1000 + } + } + }, + LightBlock3 = { + type = "box", + sprite = "BLOCK_LIGHT_1_3", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 3, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_3", + max = 25, + min = -1000 + } + } + }, + LightBlock4 = { + type = "box", + sprite = "BLOCK_LIGHT_1_4", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 4, + strength = 33, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock5 = { + type = "box", + sprite = "BLOCK_LIGHT_1_5", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 5, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_5", + max = 25, + min = -1000 + } + } + }, + LightBlock6 = { + type = "box", + sprite = "BLOCK_LIGHT_1_6", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 6, + strength = 47, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_6", + max = 25, + min = -1000 + } + } + }, + LightBlock7 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_7", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 7, + strength = 125, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_7", + max = 25, + min = -1000 + } + } + }, + LightBlock8 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_8", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 8, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_8", + max = 25, + min = -1000 + } + } + }, + LightBlock9 = { + type = "box", + sprite = "BLOCK_LIGHT_4X4_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 9, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4X4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock10 = { + type = "box", + sprite = "BLOCK_LIGHT_10X1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 10, + strength = 65, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_10X1_4", + max = 25, + min = -1000 + } + } + }, + LightBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 11, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + LightBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 12, + strength = 48, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + DecorationSpotsTheme01_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_01", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme01_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_02", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme01_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_03", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme02_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_01", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme02_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_02", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme02_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_03", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme03_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_01", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme03_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_02", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme03_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_03", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSkull01 = { + type = "box", + sprite = "DECORATION_SKULL01", + materialName = "decoration", + group = "decorations", + groupIndex = 4 + }, + DecorationSkull02 = { + type = "box", + sprite = "DECORATION_SKULL02", + materialName = "decoration", + group = "decorations", + groupIndex = 5 + }, + DecorationBone01 = { + type = "box", + sprite = "DECORATION_BONE01", + materialName = "decoration", + group = "decorations", + groupIndex = 6 + }, + DecorationBone02 = { + type = "box", + sprite = "DECORATION_BONE02", + materialName = "decoration", + group = "decorations", + groupIndex = 7 + }, + DecorationBone03 = { + type = "box", + sprite = "DECORATION_BONE03", + materialName = "decoration", + group = "decorations", + groupIndex = 8 + }, + DecorationBone04 = { + type = "box", + sprite = "DECORATION_BONE04", + materialName = "decoration", + group = "decorations", + groupIndex = 9 + }, + DecorationBoneSet01 = { + type = "box", + sprite = "DECORATION_BONESET01", + materialName = "decoration", + group = "decorations", + groupIndex = 10 + }, + DecorationBoneSet02 = { + type = "box", + sprite = "DECORATION_BONESET02", + materialName = "decoration", + group = "decorations", + groupIndex = 11 + }, + DecorationEstrade01 = { + type = "box", + sprite = "ESTRADE_FLAG", + materialName = "decoration", + group = "decorations", + groupIndex = 12 + }, + DecorationEstrade02 = { + type = "box", + sprite = "ESTRADE_THEATER", + materialName = "decoration", + group = "decorations", + groupIndex = 13 + }, + StaticBlockTheme01_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme01_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme01_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme01_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme01_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme01_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme02_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme02_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme02_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme02_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme02_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme02_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme03_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme03_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme03_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme03_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme03_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme03_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme04_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme04_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme04_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme04_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme04_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme04_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme05_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme05_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme05_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme05_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme05_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme05_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme06_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme06_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme06_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme06_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme06_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme06_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme07_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme07_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme07_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme07_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme07_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme07_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme08_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme08_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme08_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme08_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme08_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme08_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme09_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme09_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme09_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme09_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme09_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme09_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme10_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme10_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme10_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme10_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme10_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme10_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme11_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme11_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme11_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme11_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme11_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme11_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme12_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme12_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme12_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme12_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme12_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme12_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme13_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme13_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme13_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme13_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme13_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme13_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme14_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme14_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme14_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme14_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme14_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme14_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme15_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme15_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme15_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme15_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme15_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme15_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme16_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme16_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme16_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme16_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme16_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme16_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme17_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme17_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme17_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme17_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme17_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme17_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme18_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme18_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme18_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme18_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme18_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme18_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + ShootingPlatform01 = { + type = "box", + sprite = "SHOOTING_PLATFORM", + materialName = "immovable", + group = "platforms", + groupIndex = 1 + }, + Estrade01 = { + type = "box", + sprite = "ESTRADE_01", + materialName = "immovable", + group = "platforms", + groupIndex = 2 + }, + Estrade02 = { + type = "box", + sprite = "ESTRADE_02", + materialName = "immovable", + group = "platforms", + groupIndex = 3 + }, + Estrade03 = { + type = "box", + sprite = "ESTRADE_03", + materialName = "immovable", + group = "platforms", + groupIndex = 4 + }, + Estrade04 = { + type = "box", + sprite = "ESTRADE_04", + materialName = "immovable", + group = "platforms", + groupIndex = 5 + }, + ExtraBlockToilet = { + type = "box", + sprite = "BLOCK_EXTRA_TOILET", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 1 + }, + ExtraBlockFlag01 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 2 + }, + Krabby_Patty = { + type = "box", + sprite = "KRABBYPATTY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 97 + }, + PRINGLES = { + type = "box", + sprite = "PRINGLES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 98 + }, + ENGINE = { + type = "box", + sprite = "BP_ENGINE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 119 + }, + FRIES = { + type = "box", + sprite = "FRIES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 99 + }, + LUNCHBOX = { + type = "box", + sprite = "LUNCHBOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 100 + }, + CHIPS = { + type = "box", + sprite = "CHIPS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 101 + }, + GOLD_DONUT = { + type = "circle", + sprite = "GOLD_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + strength = 60, + groupIndex = 102 + }, + BP_GEAR = { + type = "circle", + sprite = "BP_GEAR", + controllable = false, + materialName = "extras", + group = "extras", + strength = 70, + groupIndex = 120 + }, + PIZZABOX = { + type = "box", + sprite = "PIZZABOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 103 + }, + PIZZABOX_STACK = { + type = "box", + sprite = "PIZZABOX_STACK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 104 + }, + KETCHUP = { + type = "box", + sprite = "KETCHUP", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 105 + }, + MUSTARD = { + type = "box", + sprite = "MUSTARD", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 106 + }, + RADIO = { + type = "box", + sprite = "RADIO", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 111 + }, + MICROPHONE = { + type = "box", + sprite = "MICROPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 112 + }, + ExtraBlockFlag02 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 3 + }, + ExtraBlockTNT = { + type = "box", + sprite = "BLOCK_EXTRA_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 4, + strength = 10, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + HardTNT = { + type = "box", + sprite = "HARDTNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 96, + strength = 75, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + ExtraBlockDice = { + type = "box", + sprite = "BLOCK_EXTRA_DICE_6", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 5, + strength = 30, + defence = 1, + damageSprites = { + damage1 = { + sprite = "BLOCK_EXTRA_DICE_6", + max = 100, + min = 84 + }, + damage2 = { + sprite = "BLOCK_EXTRA_DICE_5", + max = 84, + min = 68 + }, + damage3 = { + sprite = "BLOCK_EXTRA_DICE_4", + max = 68, + min = 52 + }, + damage4 = { + sprite = "BLOCK_EXTRA_DICE_3", + max = 52, + min = 36 + }, + damage5 = { + sprite = "BLOCK_EXTRA_DICE_2", + max = 36, + min = 20 + }, + damage6 = { + sprite = "BLOCK_EXTRA_DICE_1", + max = 20, + min = -1000 + } + } + }, + ExtraBlockStairs = { + type = "box", + sprite = "ESTRADE_STAIRS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 6 + }, + SpecialBlockSwing = { + type = "box", + sprite = "SWING_HOLDER_01", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 7 + }, + SpecialBlockStart = { + type = "box", + sprite = "SWING_BASKET_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 8, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleYellow = { + type = "box", + sprite = "POLE_YELLOW", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 9, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleRed = { + type = "box", + sprite = "POLE_RED", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 10, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraTire01 = { + type = "circle", + sprite = "BLOCK_TIRE_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 11, + strength = 200 + }, + ExtraTire02 = { + type = "circle", + sprite = "BLOCK_TIRE_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 12, + strength = 200 + }, + ExtraTire03 = { + type = "circle", + sprite = "BLOCK_TIRE_03", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 13, + strength = 200 + }, + ExtraDonut01 = { + type = "circle", + sprite = "BLOCK_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 14, + strength = 50 + }, + Hay = { + type = "circle", + sprite = "HAY", + radius = 2.8, + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 125, + strength = 75 + }, + WOODEN_NOSE = { + type = "circle", + sprite = "WOODEN_NOSE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 126, + strength = 85 + }, + TRACTOR_TIRE = { + type = "circle", + sprite = "TRACTOR_TIRE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 127, + strength = 70 + }, + WOODEN_ARROW = { + type = "box", + sprite = "WOOD_ARROW", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 128, + strength = 125 + }, + SCOPE = { + type = "box", + sprite = "SCOPE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 129, + strength = 50 + }, + MEGAPHONE = { + type = "box", + sprite = "MEGAPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 130, + strength = 50 + }, + ExtraMelon = { + type = "circle", + sprite = "BLOCK_WATERMELON", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 15, + strength = 40 + }, + ExtraHam = { + type = "circle", + sprite = "BLOCK_HAM", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 16, + strength = 60 + }, + ExtraApple = { + type = "circle", + sprite = "BLOCK_APPLE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 17, + strength = 30 + }, + ExtraStrawberry = { + type = "circle", + sprite = "BLOCK_STRAWBERRY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 18, + strength = 30 + }, + ExtraBanana = { + type = "box", + sprite = "BLOCK_BANANA", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 19, + strength = 30 + }, + ExtraTreasureChest = { + type = "box", + sprite = "BLOCK_TREASURE_CHEST", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 20, + strength = 20 + }, + ExtraPillar = { + type = "box", + sprite = "BLOCK_PILLAR", + controllable = false, + density = 10, + defence = 40, + materialName = "extras", + group = "extras", + groupIndex = 21, + strength = 120 + }, + ExtraBeachBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 22, + strength = 15 + }, + ExtraBlockSmiley = { + type = "circle", + sprite = "BLOCK_SMILEY_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 23, + strength = 25, + damageSprites = { + damage1 = { + sprite = "BLOCK_SMILEY_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "BLOCK_SMILEY_3", + max = 50, + min = -1000 + } + } + }, + ExtraHolyGrail = { + type = "box", + sprite = "BLOCK_HOLYGRAIL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 24, + strength = 25 + }, + ExtraDiamond = { + type = "circle", + sprite = "BLOCK_DIAMOND", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 25, + strength = 25 + }, + ExtraRubberDuck = { + type = "circle", + sprite = "BLOCK_RUBBERDUCK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 26, + strength = 25 + }, + ExtraStolenEgg = { + type = "circle", + sprite = "BLOCK_STOLEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 27, + strength = 2000, + defence = 20000 + }, + ExtraStrongBall = { + type = "circle", + sprite = "BLOCK_STEEL_BALL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 28, + strength = 5000, + defence = 2000 + }, + ExtraRubberBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "rubber", + group = "extras", + groupIndex = 29, + defence = 50, + strength = 1000, + restitution = 1.1 + }, + ExtraTrampoline = { + type = "circle", + sprite = "BLOCK_SUPER_BALL", + materialName = "rubber", + group = "extras", + groupIndex = 30, + defence = 1000, + strength = 1000, + restitution = 5.5 + }, + ExtraBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + density = 8, + materialName = "extras", + group = "extras", + groupIndex = 31, + strength = 3000, + defence = 2000 + }, + ExtraTrampoline2 = { + type = "box", + sprite = "BLOCK_TRAMPOLINE_01", + materialName = "immovableRubber", + group = "extras", + groupIndex = 32, + defence = 1000, + strength = 1000, + restitution = 1.1 + }, + ExtraGoldenEgg = { + type = "circle", + sprite = "BLOCK_GOLDEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 33, + strength = 5, + defence = 1 + }, + ExtraRopeThick01 = { + type = "box", + sprite = "BLOCK_ROPE_THICK_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 34, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin01 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 35, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin02 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_2", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 36, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraBoomerangBird = { + radius = 1.1, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BOOMERANG", + density = 8, + materialName = "immovable", + group = "extras", + groupIndex = 37, + strength = 1000000, + defence = 1000000 + }, + BlockCarpet = { + type = "box", + sprite = "BLOCK_CARPET", + materialName = "extras", + group = "extras", + groupIndex = 38 + }, + ExtraHelmetSmall = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_SMALL", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 39, + defence = 300, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetSmall2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BLOCK_RUBBERDUCK", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 40, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BIG", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 41, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BIRD_BOOMERANG_STILL", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 42, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBoss = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BOSS", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 43, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraCowboyHelmet_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_BIG_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 44, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + COOLHAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COOLHAT", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 113, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCowboyHelmetSmall_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_SMALL_1", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 45, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + MECHANIC_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MECHANIC_HAT", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 114, + defence = 20, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_1 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 46, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_2 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_2", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 47, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraBanditoHat_1 = { + type = "polygon", + vertices = { + {x = 0.4, y = 0.3}, + {x = 0.45, y = 0.2}, + {x = 0.55, y = 0.2}, + {x = 0.6, y = 0.3}, + {x = 0.6, y = 0.7}, + {x = 0.4, y = 0.7} + }, + sprite = "BANDITO_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 48, + defence = 30, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSuperBowl = { + type = "circle", + sprite = "B_EGG_SUPER_BOWL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 49, + strength = 5, + defence = 1, + density = 0 + }, + StaticFragileBlock01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 1, + destroyedScoreInc = 50 + }, + StaticFragileBlock02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 2, + destroyedScoreInc = 50 + }, + StaticFragileBlock03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 3, + destroyedScoreInc = 50 + }, + StaticFragileBlock04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 4, + destroyedScoreInc = 50 + }, + StaticFragileBlock05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 5, + destroyedScoreInc = 50 + }, + StaticFragileBlock06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 6, + destroyedScoreInc = 50 + }, + StaticBalloon01 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 1, + destroyedScoreInc = 100 + }, + StaticBalloon02 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 2, + destroyedScoreInc = 100 + }, + StaticBalloon03 = { + type = "box", + sprite = "BLOCK_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 3, + destroyedScoreInc = 100 + }, + StaticBalloon04 = { + type = "box", + sprite = "BLOCK_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 4, + destroyedScoreInc = 100 + }, + StaticBalloon05 = { + type = "box", + sprite = "BLOCK_BALLOON_3", + materialName = "clouds", + group = "clouds", + groupIndex = 5, + destroyedScoreInc = 100 + }, + StaticCloud01 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 6 + }, + StaticCloud02 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 7 + }, + StaticCloud03 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 8 + }, + StaticCloud04 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 9 + }, + BUSH_1 = { + type = "box", + sprite = "BUSH_1", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 107 + }, + SIGN_1 = { + type = "box", + sprite = "SIGN_HEAD", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 124 + }, + SIGN_2 = { + type = "box", + sprite = "SIGN_BASE", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 131 + }, + BUSH_2 = { + type = "box", + sprite = "BUSH_2", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 108 + }, + BUSH_3 = { + type = "box", + sprite = "BUSH_3", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 109 + }, + BUSH_4 = { + type = "box", + sprite = "BUSH_4", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 110 + }, + Ground = { + type = "box", + sprite = "", + texture = "", + theme = "", + materialName = "staticGround", + group = "", + groupIndex = 1 + }, + ExtraCaveHat_1 = { + type = "box", + width = 1, + height = 0.5, + sprite = "CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 50, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_2 = { + type = "box", + width = 2, + height = 1.6, + sprite = "CAVE_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 51, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_3 = { + type = "box", + width = 2, + height = 1.5, + sprite = "CAVE_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 52, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraKingCaveHat_1 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "KING_CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 53, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_1 = { + type = "box", + width = 1.2, + height = 4.7, + sprite = "CAVE_SHOVEL_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 54, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_2 = { + type = "box", + width = 0.8, + height = 2.5, + sprite = "CAVE_SHOVEL_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 55, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_1 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 56, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_2 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 57, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraAmethyst = { + type = "box", + width = 2, + height = 1.6, + sprite = "BLOCK_AMETHYST", + materialName = "amethyst", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 58, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMETHYST_1" + }, + ExtraRuby = { + type = "box", + width = 1.3, + height = 2, + sprite = "BLOCK_RUBY", + materialName = "ruby", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 59, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_RUBY_1" + }, + ExtraAmber = { + type = "circle", + radius = 1, + sprite = "BLOCK_AMBER", + materialName = "amber", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 60, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + ExtraStalaktite_1 = { + type = "box", + width = 3, + height = 13.9, + sprite = "BLOCK_STALAKTITE_1", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 61, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_2 = { + type = "box", + width = 1, + height = 12.5, + sprite = "BLOCK_STALAKTITE_2", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 62, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_3 = { + type = "box", + width = 1.8, + height = 17.1, + sprite = "BLOCK_STALAKTITE_3", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 63, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip1 = { + type = "box", + width = 0.6, + height = 5, + sprite = "BLOCK_STALAKTITE_TIP_1", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 64, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip2 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_2", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 65, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip3 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_3", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 66, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip4 = { + type = "box", + width = 0.6, + height = 6, + sprite = "BLOCK_STALAKTITE_TIP_4", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 67, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayBalloon_1 = { + type = "circle", + radius = 1.2, + sprite = "BLOCK_BALLOON_BDAY", + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + strength = 10, + destroyedScoreInc = 500, + z_order = 5, + group = "extras", + groupIndex = 68 + }, + PartyHat_1 = { + type = "box", + width = 1.5, + height = 1.7, + sprite = "PARTY_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 69, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_2 = { + type = "box", + width = 1.6, + height = 1.7, + sprite = "PARTY_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 70, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_3 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 71, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_4 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_4", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 72, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayCandle_1 = { + type = "box", + width = 0.6, + height = 2.3, + sprite = "BDAY_CANDLE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 73, + defence = 10, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 500 + }, + BirthdayCake_1 = { + type = "box", + width = 2.5, + height = 2.9, + sprite = "CHOCO_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 74, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake1Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_2 = { + type = "box", + width = 3, + height = 3.8, + sprite = "PINK_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 75, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake2Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_3 = { + type = "box", + width = 4, + height = 2.2, + sprite = "MINT_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 76, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 100 + }, + BirthdayBalloon_2 = { + sprite = "BLOCK_BALLOON_1", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 77 + }, + BirthdayBalloon_3 = { + sprite = "BLOCK_BALLOON_2", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 78 + }, + BirthdayBalloon_4 = { + sprite = "BLOCK_BALLOON_3", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 79 + }, + SPECIAL_CAKE_1 = { + type = "box", + width = 2, + height = 2, + sprite = "SPECIAL_CAKE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 80, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + destroyedScoreInc = 100 + }, + MISC_FB_NET = { + type = "box", + sprite = "MISC_FB_NET_1", + materialName = "light", + group = "extras", + groupIndex = 71, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_NET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_NET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_NET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_STICK = { + type = "box", + sprite = "MISC_FB_STICK_1", + materialName = "wood", + group = "extras", + groupIndex = 72, + controllable = false, + density = 0.1, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_STICK_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_STICK_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_STICK_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_ROD = { + type = "box", + sprite = "MISC_FB_ROD_1", + materialName = "wood", + group = "extras", + groupIndex = 73, + controllable = false, + density = 0.001, + friction = 1, + defence = 10, + strength = 10, + restitution = 0, + z_order = 0, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_ROD_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_ROD_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_HAT = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 74, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAT_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_GLASSES = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.1, y = 0.7} + }, + sprite = "MISC_FB_GLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 75, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_GLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_GLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_GLASSES_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BUCKET = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.9, y = 0.3}, + {x = 0.8, y = 0.95}, + {x = 0.2, y = 0.95} + }, + sprite = "MISC_FB_BUCKET_1", + materialName = "light", + group = "extras", + groupIndex = 76, + controllable = false, + strength = 4, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BUCKET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BUCKET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BUCKET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SHOVEL = { + type = "box", + sprite = "MISC_FB_SHOVEL_1", + materialName = "light", + group = "extras", + groupIndex = 77, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SHOVEL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SHOVEL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SHOVEL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CASTLE = { + type = "box", + sprite = "MISC_FB_CASTLE_1", + materialName = "wood", + group = "extras", + groupIndex = 78, + controllable = false, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CASTLE_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CASTLE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TAPE = { + type = "box", + sprite = "MISC_FB_TAPE_1", + materialName = "extras", + group = "extras", + groupIndex = 79, + controllable = false, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + MISC_FB_HAMMER = { + type = "box", + sprite = "MISC_FB_HAMMER_1", + materialName = "rock", + group = "extras", + groupIndex = 80, + controllable = false, + density = 0.2, + friction = 1, + defence = 30, + strength = 20, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAMMER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_HAMMER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAMMER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CONE = { + type = "box", + sprite = "MISC_FB_CONE_1", + materialName = "wood", + group = "extras", + groupIndex = 81, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CONE_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_CONE_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CONE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_TOP = { + type = "box", + sprite = "MISC_FB_UMBRELLA_TOP_1", + materialName = "wood", + group = "extras", + groupIndex = 82, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_TOP_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_TOP_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_TOP_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_BOTTOM = { + type = "box", + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + materialName = "wood", + group = "extras", + groupIndex = 83, + controllable = false, + density = 0.01, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BARREL = { + type = "box", + sprite = "MISC_FB_BARREL_1", + materialName = "wood", + group = "extras", + groupIndex = 84, + controllable = false, + strength = 80, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BARREL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BARREL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BARREL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BOBBER = { + type = "box", + sprite = "MISC_FB_BOBBER_1", + materialName = "light", + group = "extras", + groupIndex = 85, + controllable = false, + strength = 5, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BOBBER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BOBBER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BOBBER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SMALL_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MISC_FB_SMALL_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 86, + controllable = false, + density = 0.3, + friction = 1, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SMALL_HAT_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SMALL_HAT_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SMALL_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TINYGLASSES = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_TINYGLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 87, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_TINYGLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_TINYGLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_TINYGLASSES_3", + max = 50, + min = 0 + } + } + }, + HORSE_BASE = { + type = "box", + sprite = "BLOCK_HORSE_BASE", + materialName = "extras", + group = "extras", + groupIndex = 88, + controllable = false, + strength = 80 + }, + BLOCK_GREEN_GOGGLES = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_GOGGLES", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 89, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_PILOTHELMET = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_PILOTHELMET", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 90, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_SPANNER_2 = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 91, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + GoldenSpanner = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_GOLDEN", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 92, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + BLOCK_GREEN_OILCANISTER = { + type = "box", + width = 1.5, + height = 2.7, + sprite = "BLOCK_GREEN_OILCANISTER", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 93, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_BAG = { + type = "circle", + radius = 1.3, + sprite = "BLOCK_GREEN_BAG", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 94, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + } + +} +filename = "blocks.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/brocks.lua.bak b/Angry Birds Project R/0.3.0/data/scripts/brocks.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..8e8e154f0e3fb32041443495706fedc5d41388a8 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/brocks.lua.bak @@ -0,0 +1,7148 @@ +collider_types = { + default = 0, + mighty_eagle = 1, + immovable = 2, + wind = 3 +} +shape_types = { + box = 0, + circle = 1, + polygon = 2 +} +materials = { + balloon = { + strength = 30, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + z_order = 1, + particles = "smokeBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "balloon_pop", + forceY = -30, + forceX = -1 + }, + wood = { + strength = 60, + defence = 2.5, + friction = 4, + restitution = 0.2, + density = 1.5, + controllable = false, + particles = "woodenBuff", + collisionSound = "wood_collision", + damageSound = "wood_damage", + destroyedSound = "wood_destroyed", + rollingSound = "wood_rolling" + }, + rock = { + strength = 120, + defence = 15, + friction = 4, + restitution = 0.1, + density = 4, + controllable = false, + particles = "rockBuff", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed", + rollingSound = "rock_rolling" + }, + light = { + strength = 40, + defence = 2, + friction = 0.7, + restitution = 0.2, + density = 0.75, + controllable = false, + particles = "lightBuff", + collisionSound = "light_collision", + damageSound = "light_damage", + destroyedSound = "light_destroyed", + rollingSound = "light_rolling" + }, + piglette = { + strength = 10, + defence = 1, + friction = 0.7, + restitution = 0.05, + density = 2, + controllable = false, + particles = "smokeBuff", + collisionSound = "piglette_collision", + damageSound = "piglette_damage", + destroyedSound = "piglette_destroyed" + }, + staticGround = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision" + }, + immovable = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + collider_type = collider_types.immovable + }, + immovableFragile = { + strength = 2, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "", + collisionSound = "ground_collision" + }, + clouds = { + strength = 0.1, + defence = 1, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "balloon_pop" + }, + immovableRubber = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false, + particles = "smokeBuff", + collisionSound = "trampoline" + }, + extras = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "wood damage a1" + }, + halloween = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + 5, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "halloween_destroyed" + }, + pumpkin = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 1, + controllable = false, + particles = "pumpkinBuff", + collisionSound = "ground_collision", + destroyedSound = "pumpkin_destroyed" + }, + lantern = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "flameBuff", + collisionSound = "light_collision", + destroyedSound = "lantern_break_a1" + }, + rubber = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ball_bounce" + }, + decoration = { + strength = 30, + defence = 100000, + friction = 0.8, + restitution = 0, + density = 0, + controllable = false + }, + common = { + strength = 1, + defence = 1, + friction = 0.7, + restitution = 0.2, + density = 0.75, + particles = "lightBuff", + collisionSound = "", + damageSound = "", + destroyedSound = "" + }, + stalaktite = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "rock_destroyed" + }, + stalaktite_tip = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "stalaktiteBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "stalaktite_break" + }, + amber = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amberBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + ruby = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "rubyBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + amethyst = { + strength = 20, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "amethystBreak", + collisionSound = "rock_collision", + damageSound = "rock_damage", + destroyedSound = "jewel_break" + }, + cake = { + strength = 40, + defence = 5, + friction = 0.7, + restitution = 0.4, + density = 0.75, + controllable = false, + particles = "smokeBuff", + collisionSound = "ground_collision", + destroyedSound = "birthday_cake" + }, + wind = { + friction = 0, + restitution = 0, + density = 0, + controllable = false, + collider_type = collider_types.wind + } +} +themes = { + settings = {keyCode = "T", themeAmount = 9}, + theme1 = { + index = 1, + music = "ambient_theme1", + graphicSetName = { + "THEME_01", + "THEME_01_COMPOSPRITES" + }, + texture = "THEME_01_THEME_GROUND_1", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_1_LAYER_1", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.6, + 2.9 + }, + { + "", + "THEME_1_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_1_LAYER_1" + }, + { + "", + "FOREGROUND_1_LAYER_2" + } + }, + color = { + r = 146, + g = 204, + b = 222 + }, + groundColor = { + r = 14, + g = 74, + b = 95 + } + }, + theme5 = { + index = 9, + music = "ambient_theme3", + graphicSetName = { + "THEME_05", + "THEME_05_COMPOSPRITES" + }, + texture = "THEME_05_THEME_GROUND_5", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_5_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_5_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_5_BG_LAYER_3", + 1, + 1.8 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_5_LAYER_1" + }, + { + "INGAME_PARALLAX_5", + "FOREGROUND_5_LAYER_2" + } + }, + color = { + r = 241, + g = 226, + b = 140 + }, + groundColor = { + r = 68, + g = 39, + b = 2 + } + }, + theme2 = { + index = 2, + music = "ambient_theme2", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme2boss = { + index = 3, + music = "pig_boss_1", + graphicSetName = { + "THEME_02", + "THEME_02_COMPOSPRITES" + }, + texture = "THEME_02_THEME_GROUND_2", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "INGAME_SKIES_1", + "BACKGROUND_2_LAYER_1", + 0.125, + 2 + }, + { + "", + "THEME_16_BG_LAYER_3", + 0.05, + 2.4, + v = -150 + }, + { + "", + "THEME_16_BG_LAYER_2", + 0.1, + 1.9, + v = -200 + }, + { + "", + "THEME_2_BG_LAYER_2", + 0.5, + 2 + }, + { + "", + "THEME_2_BG_LAYER_3", + 1, + 1.5 + } + }, + fgLayers = { + { + "INGAME_GROUNDS_1", + "FOREGROUND_2_LAYER_1" + }, + { + "", + "FOREGROUND_2_LAYER_2" + } + }, + color = { + r = 193, + g = 231, + b = 239 + }, + groundColor = { + r = 10, + g = 19, + b = 15 + } + }, + theme23 = { + index = 4, + music = "pig_boss_2", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + }, + theme19 = { + index = 6, + music = "beach_ambience", + graphicSetName = { + "THEME_12", + "THEME_12_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_12_THEME_GROUND_12", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_12_LAYER_1", + 0.1, + 1.3 + }, + { + "", + "BACKGROUND_12_LAYER_3", + 0.25, + 1.25 + }, + { + "", + "THEME_12_BG_LAYER_1", + 0.25, + 1.25, + true + } + }, + fgLayers = { + { + "", + "FOREGROUND_12_LAYER_1" + } + }, + color = { + r = 4, + g = 56, + b = 123 + }, + groundColor = { + r = 234, + g = 238, + b = 132 + }, + mainMenuScale = 1.5 + }, + theme20 = { + index = 7, + music = "ambience_waterfall", + graphicSetName = { + "THEME_13", + "THEME_13_COMPOSPRITES", + "BLOCKS_FB" + }, + texture = "THEME_13_THEME_GROUND_13", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_13_LAYER_1", + 0.1, + 1.5 + }, + { + "", + "BACKGROUND_13_LAYER_3", + 0.25, + 2, + false, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_2", + 0.375, + 2, + 800 + }, + { + "", + "BACKGROUND_13_LAYER_5", + 0.65, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_13_LAYER_1" + } + }, + color = { + r = 248, + g = 114, + b = 98 + }, + groundColor = { + r = 34, + g = 68, + b = 0 + }, + mainMenuScale = 2 + }, + theme21 = { + index = 8, + music = "rain_ambience", + graphicSetName = {"THEME_15", "BLOCKS_FB"}, + texture = "THEME_15_THEME_GROUND_15", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_15", + 0.125, + 2 + }, + { + rect = { + r = 255, + g = 255, + b = 255, + a = 0 + } + }, + { + "", + "THEME_15_BG_LAYER_1", + 0.25, + 2 + }, + { + "", + "THEME_15_MASK", + 0.25, + 2 + }, + { + "", + "THEME_15_BG_LAYER_2", + 0.45, + 1.5 + } + }, + fgLayers = { + { + "", + "FOREGROUND_15_LAYER_1" + }, + { + "", + "FOREGROUND_15_LAYER_2", + 1.2 + } + }, + effects = { + { + type = "Thunder", + params = { + flash_layers = {2}, + shadow_layers = {4} + } + } + }, + color = { + r = 34, + g = 17, + b = 87 + }, + groundColor = { + r = 17, + g = 17, + b = 34 + }, + mainMenuScale = 2.5 + }, + theme22 = { + index = 999, + music = "beach_ambience", + graphicSetName = { + "THEME_14", + "BLOCKS_ABLAND" + }, + texture = "THEME_14_THEME_GROUND_14", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "BACKGROUND_16_LAYER_1", + 1.0E-5, + 1.5 + }, + { + "", + "THEME_14_BG_SUN", + 0, + 1 + }, + { + "", + "THEME_14_BG_LAYER_4_2", + 0.1, + 1, + v = 80 + }, + { + "", + "THEME_14_BG_LAYER_4", + 0.1, + 1.2, + v = 180 + }, + { + "", + "THEME_14_BG_LAYER_3", + 0.2, + 0.8 + }, + { + "", + "THEME_14_BG_LAYER_2", + 0.4, + 1.1 + }, + { + "", + "THEME_14_BG_LAYER_1", + 0.65, + 1 + }, + { + "", + "THEME_14_BG_LAYER_1_2", + 0.9, + 1 + } + }, + fgLayers = { + { + "", + "FOREGROUND_16_LAYER_1" + } + }, + color = { + r = 173, + g = 210, + b = 222 + }, + groundColor = { + r = 17, + g = 17, + b = 17 + } + }, + theme23boss2 = { + index = 5, + music = "beach_ambience", + graphicSetName = { + "THEME_16", + "BLOCKS_GREEN" + }, + texture = "THEME_16_THEME_16_GROUND", + playButtonSprite = { + group = "TEXTS_BASIC", + id = "TEXT_PLAY_SPRITE" + }, + bgLayers = { + { + "", + "INGAME_SKIES_16", + 0, + 2 + }, + { + "", + "THEME_16_BACKGROUND_LAYER_1", + 0.5, + 2.3 + }, + { + "", + "THEME_16_BG_LAYER_1", + 0.9, + 0.8 + } + }, + fgLayers = { + { + "", + "THEME_16_FOREGROUND_SAND" + }, + { + "", + "THEME_16_FOREGROUND_FOAM", + 1, + 1, + v = -5 + }, + { + "", + "THEME_16_FOREGROUND_SEA", + 1, + 1, + v = -5 + } + }, + effects = { + { + type = "Waves", + params = { + water_layer = { + index = 3, + sprite = "THEME_16_FOREGROUND_SEA" + }, + foam_layer = { + index = 2, + sprite = "THEME_16_FOREGROUND_FOAM" + }, + ground_layer = { + index = 1, + sprite = "THEME_16_FOREGROUND_SAND" + } + } + } + }, + color = { + r = 53, + g = 174, + b = 198 + }, + groundColor = { + r = 68, + g = 170, + b = 153 + } + } +} +groups = { + staticBlocks = { + keyUp = "X", + keyDown = "Z", + firstIndex = 1, + lastIndex = 6 + }, + rockBlocks = { + keyUp = "2", + keyDown = "1", + firstIndex = 1, + lastIndex = 12 + }, + woodBlocks = { + keyUp = "W", + keyDown = "Q", + firstIndex = 1, + lastIndex = 12 + }, + lightBlocks = { + keyUp = "S", + keyDown = "A", + firstIndex = 1, + lastIndex = 12 + }, + birds = { + keyUp = "4", + keyDown = "3", + firstIndex = 1, + lastIndex = 20 + }, + piglettes = { + keyUp = "R", + keyDown = "E", + firstIndex = 1, + lastIndex = 11 + }, + extras = { + keyUp = "6", + keyDown = "5", + firstIndex = 1, + lastIndex = 131 + }, + decorations = { + keyUp = "V", + keyDown = "C", + firstIndex = 1, + lastIndex = 13 + }, + platforms = { + keyUp = "Y", + keyDown = "T", + firstIndex = 1, + lastIndex = 5 + }, + staticFragile = { + keyUp = "N", + keyDown = "M", + firstIndex = 1, + lastIndex = 6 + }, + clouds = { + keyUp = "H", + keyDown = "J", + firstIndex = 1, + lastIndex = 9 + }, + winds = { + keyUp = "I", + keyDown = "U", + firstIndex = 1, + lastIndex = 2 + } +} +damageFactors = { + DefaultDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlueBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 1, + light = 2.9, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1.9, + immovable = 1 + } + }, + YellowBirdDamageFactors = { + damageMultiplier = { + wood = 2.4, + rock = 1, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + BlackBirdDamageFactors = { + damageMultiplier = { + wood = 1, + rock = 4, + light = 1, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1, + rock = 1, + light = 1, + immovable = 1 + } + }, + RedBigBirdDamageFactors = { + damageMultiplier = { + wood = 0.3, + rock = 0.3, + light = 0.3, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.8, + rock = 1.8, + light = 1.8, + immovable = 1 + } + }, + BoomerangBirdDamageFactors = { + damageMultiplier = { + wood = 1.6, + rock = 0.8, + light = 1.4, + immovable = 0, + staticGround = 0 + }, + velocityMultiplier = { + wood = 1.3, + rock = 1, + light = 1.3, + immovable = 1 + } + }, + GlobeBirdDamageFactors = { + damageMultiplier = { + wood = 3, + rock = 1.5, + light = 3, + immovable = 0, + staticGround = 0, + snowStaticFragile = 5 + }, + velocityMultiplier = { + wood = 4, + rock = 4, + light = 4, + immovable = 1 + } + }, + GlobeBirdBigDamageFactors = { + damageMultiplier = { + wood = 0, + rock = 0, + light = 0, + immovable = 0, + staticGround = 0, + snowStaticFragile = 0 + }, + velocityMultiplier = { + wood = 2, + rock = 2, + light = 2, + immovable = 1 + } + }, + MightyEagleBirdDamageFactors = { + damageMultiplier = { + wood = 1000000, + rock = 1000000, + light = 1000000, + immovable = 1000000, + staticGround = 0 + }, + velocityMultiplier = { + wood = 555, + rock = 555, + light = 555, + immovable = 555 + } + } +} +blocks = { + SmallBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + spriteFlying = "BIRD_BLUE", + spriteCollision = "BIRD_BLUE_COLLISION", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "10K_BLUE", + spriteYell = "BIRD_BLUE_YELL", + spriteBlink = "BIRD_BLUE_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 2, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_02_collision", + launchSound = "bird_02_flying", + specialSound = "special_group", + selectionSound = "bird_02_select", + unselectionSound = "bird_02_unselect", + specialty = "CLUSTER_BOMB", + tutorialInfo = "TUTORIAL_2", + useLegacyCollisionPath = true + }, + SmallPig = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BLUEPIG_IDLE", + spriteFlying = "BLUEPIG_HAPPY", + spriteCollision = "BLUEPIG_BLINK", + spriteAction = "HUD_ICON_SPLIT", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BLUEPIG_HAPPY", + spriteBlink = "BLUEPIG_BLINK", + allowRoll = true, + density = 4.5, + damageFactors = "BlueBirdDamageFactors", + controllable = true, + materialName = "light", + strength = 60, + group = "birds", + groupIndex = 15, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_group", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "CLUSTER_BOMB", + useLegacyCollisionPath = true + }, + RedBird = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "BIRD_RED", + spriteFlying = "BIRD_RED_FLYING", + spriteCollision = "BIRD_RED_COLLISION", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_RED_YELL", + spriteBlink = "BIRD_RED_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 1, + particles = "redBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "bird_01_collision", + launchSound = "bird_01_flying", + specialSound = "red_special", + selectionSound = "bird_01_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_1", + useLegacyCollisionPath = true + }, + RedPig = { + radius = 0.85, + friction = 0.3, + type = "circle", + restitution = 0.43, + sprite = "REDPIG_IDLE", + spriteFlying = "REDPIG_LAUNCH", + spriteCollision = "REDPIG_DEAD", + spriteAction = "REDPIG_LAUNCH", + spriteScore = "PIG_SCORE_10K", + spriteYell = "REDPIG_HAPPY", + spriteBlink = "REDPIG_BLINK", + allowRoll = true, + density = 6, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 13, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_1", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + useLegacyCollisionPath = true + }, + YellowBird = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_YELLOW", + spriteFlying = "BIRD_YELLOW_FLYING", + spriteCollision = "BIRD_YELLOW_COLLISION", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_YELLOW", + spriteYell = "BIRD_YELLOW_YELL", + spriteBlink = "BIRD_YELLOW_BLINK", + spriteSpecial = "BIRD_YELLOW_SPECIAL", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 3, + particles = "yellowBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_03_flying", + specialSound = "special_boost", + selectionSound = "bird_03_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOST", + tutorialInfo = "TUTORIAL_3", + useLegacyCollisionPath = true + }, + JetpackPig = { + radius = 0.8, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "CHUCKPIG_IDLE", + spriteFlying = "CHUCKPIG_LAUNCH", + spriteCollision = "CHUCKPIG_DEAD", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "PIG_SCORE_10K", + spriteYell = "CHUCKPIG_HAPPY", + spriteBlink = "CHUCKPIG_BLINK", + spriteSpecial = "CHUCKPIG_YEET", + allowRoll = true, + density = 6, + damageFactors = "YellowBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 16, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_boost", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOOST", + useLegacyCollisionPath = true + }, + BlackBird = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BIRD_GREY", + spriteFlying = "BIRD_GREY_FLYING", + spriteCollision = "BIRD_GREY_FLYING", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "10K_BLACK", + spriteYell = "BIRD_GREY_YELL", + spriteBlink = "BIRD_GREY_BLINK", + spriteSpecial1 = "BIRD_GREY_1", + spriteSpecial2 = "BIRD_GREY_2", + spriteSpecial3 = "BIRD_GREY_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 5, + particles = "blackBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "bird_04_collision", + launchSound = "bomb_launch", + specialSound = "tnt_explodes", + selectionSound = "bird_04_select", + unselectionSound = "bird_04_unselect", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + tutorialInfo = "TUTORIAL_4", + useLegacyCollisionPath = true + }, +BombPig = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.03, + sprite = "BOMBPIG_IDLE", + spriteFlying = "BOMBPIG_LAUNCH", + spriteCollision = "BOMBPIG_IDLE", + spriteAction = "HUD_ICON_EXPLOSION", + spriteScore = "PIG_SCORE_10K", + spriteYell = "BOMBPIG_HAPPY", + spriteBlink = "BOMBPIG_BLINK", + spriteSpecial1 = "BOMBPIG_1", + spriteSpecial2 = "BOMBPIG_2", + spriteSpecial3 = "BOMBPIG_3", + density = 6, + damageFactors = "BlackBirdDamageFactors", + controllable = true, + materialName = "rock", + strength = 60, + group = "birds", + groupIndex = 12, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bombBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "tnt_explodes", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "BOMB", + explosionRadius = 15, + explosionForce = 40000, + explosionDamageRadius = 5, + explosionDamage = 300, + useLegacyCollisionPath = true + }, + BasicBird2 = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_GREEN", + spriteFlying = "BIRD_GREEN_FLYING", + spriteCollision = "BIRD_GREEN_COLLISION", + spriteAction = "HUD_ICON_EGG", + spriteScore = "10K_WHITE", + spriteYell = "BIRD_GREEN_YELL", + spriteBlink = "BIRD_GREEN_BLINK", + spriteSpecial = "BIRD_GREEN_SPECIAL", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 4, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "bomberBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "bird_05_flying", + specialSound = "special_egg", + selectionSound = "bird_05_select", + unselectionSound = "bird_05_unselect", + specialty = "GRENADE", + projectile = "EggGranade", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + EggGranade = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "DROPPABLE_EGG", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "eggShells" + }, + Harvey = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "HARVEY_IDLE", + spriteFlying = "HARVEY_LAUNCH", + spriteCollision = "HARVEY_DEAD", + spriteAction = "HARVEY_DERP", + spriteScore = "PIG_SCORE_10K", + spriteYell = "HARVEY_DERP", + spriteBlink = "HARVEY_DERP", + spriteSpecial = "HARVEY_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 20, + particles = "blueBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "blueBirdTrail", + collisionSound = "bird_05_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "COURTNEY", + projectile = "Courtney", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + tutorialInfo = "TUTORIAL_5", + useLegacyCollisionPath = true + }, + Courtney = { + radius = 1, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "COURTNEY_FALL", + spriteCollision = "COURTNEY_DEAD", + density = 3, + damageFactors = "BlackBirdDamageFactors", + controllable = false, + strength = 60, + particles = "smokeBuff", + collisionSound = "piglette_destroyed", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + BowlingBallPig = { + radius = 1.3, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "WHITEPIG_IDLE", + spriteFlying = "WHITEPIG_LAUNCH", + spriteCollision = "WHITEPIG_DEAD_EGG", + spriteAction = "HUD_ICON_EGG", + spriteScore = "PIG_SCORE_10K", + spriteYell = "WHITEPIG_HAPPY", + spriteBlink = "WHITEPIG_BLINK", + spriteSpecial = "WHITEPIG_DEAD", + density = 4.5, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 14, + particles = "greenBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "smokeBuff", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "special_egg", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "GRENADE", + projectile = "BowlingBall", + explosionRadius = 10, + explosionForce = 20000, + explosionDamageRadius = 5, + explosionDamage = 200, + useLegacyCollisionPath = true + }, + BowlingBall = { + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BOWLING_BALL", + density = 3, + damageFactors = "DefaultDamageFactors", + controllable = true, + strength = 60, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 10000, + explosionDamageRadius = 8, + explosionDamage = 400, + useLegacyCollisionPath = true, + particles = "smokeBuff" + }, + RedBigBird = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "BIRD_BIG_BROTHER", + spriteFlying = "BIRD_BIG_BROTHER", + spriteCollision = "BIRD_BIG_BROTHER", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "10K_RED", + spriteYell = "BIRD_BIG_BROTHER_YELL", + spriteBlink = "BIRD_BIG_BROTHER_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 6, + particles = "bigBrotherBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "big_brother_flying", + specialSound = "big_brother_special", + selectionSound = "big_brother_select", + unselectionSound = "bird_01_unselect", + specialty = "SOUND", + tutorialInfo = "TUTORIAL_7" + }, + BigBork = { + radius = 1.8, + friction = 0.3, + type = "circle", + restitution = 0.45, + sprite = "TRENCPIG_IDLE", + spriteFlying = "TRENCPIG_HAPPY", + spriteCollision = "TRENCPIG_BLINK", + spriteAction = "HUD_ICON_NOTE", + spriteScore = "PIG_SCORE_10K", + spriteYell = "TRENCPIG_HAPPY", + spriteBlink = "TRENCPIG_BLINK", + allowRoll = true, + density = 10, + damageFactors = "RedBigBirdDamageFactors", + controllable = true, + strength = 60, + group = "birds", + groupIndex = 17, + particles = "smokeBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "redBirdTrail", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "pig_singing_2", + selectionSound = "piglette", + unselectionSound = "piglette", + specialty = "SOUND", + }, + BoomerangBird = { + radius = 1.5, + friction = 0.3, + type = "circle", + restitution = 0.23, + sprite = "BIRD_BOOMERANG", + spriteFlying = "BIRD_BOOMERANG", + spriteCollision = "BIRD_BOOMERANG_COLLISION", + spriteYell = "BIRD_BOOMERANG_YELL", + spriteAction = "HUD_ICON_BOOST", + spriteScore = "10K_BOOMERANG", + spriteBlink = "BIRD_BOOMERANG_BLINK", + spriteSpecial = "BIRD_BOOMERANG_SPECIAL", + allowRoll = true, + density = 3, + damageFactors = "BoomerangBirdDamageFactors", + controllable = true, + materialName = "wood", + strength = 60, + group = "birds", + groupIndex = 7, + particles = "boomerangBuff", + particlesAmountLimits = {12, 20}, + particlesTrail = "yellowBirdTrail", + collisionSound = "bird_03_collision", + launchSound = "bird_06_flying", + specialSound = "boomerang_activate", + selectionSound = "boomerang_select", + unselectionSound = "bird_03_unselect", + specialty = "BOOMERANG", + boomerangHorizontalForce = -50, + boomerangVerticalForce = -350, + boomerangMaxHorizontalSpeed = 50, + flyVerticalForce = -60, + tutorialInfo = "TUTORIAL_6" + }, + MightyEagleBird = { + radius = 5, + friction = 0.1, + type = "circle", + restitution = 0.05, + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + spriteFlying = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteCollision = "BIRD_MIGHTY_EAGLE_MOTION", + spriteAction = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteScore = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteYell = "BIRD_MIGHTY_EAGLE_RADIAL", + spriteBlink = "BIRD_MIGHTY_EAGLE_RADIAL", + allowRoll = true, + density = 100, + damageFactors = "MightyEagleBirdDamageFactors", + controllable = true, + strength = 60000, + group = "birds", + groupIndex = 8, + particles = "smokeBuff", + particlesAmountLimits = {1, 1}, + particlesTrail = "redBirdTrail", + collisionSound = "big_brother_collision", + launchSound = "", + specialSound = "", + selectionSound = "", + unselectionSound = "", + specialty = "MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + explosionRadius = 100, + explosionForce = 20000, + explosionDamageRadius = 100, + explosionDamage = 1, + z_order = 999, + collisionFunction = "mightyEagleCollision", + frozenFunction = "mightyEagleFrozen", + updateFunction = "updateMightyEagle", + collider_type = collider_types.mighty_eagle + }, + BaitSardine = { + friction = 0.25, + type = "box", + restitution = 0.05, + sprite = "BAIT_SARDINE", + spriteFlying = "BAIT_SARDINE", + spriteCollision = "BAIT_SARDINE", + spriteAction = "BAIT_SARDINE", + spriteScore = "BAIT_SARDINE", + spriteYell = "BAIT_SARDINE", + spriteBlink = "BAIT_SARDINE", + allowRoll = true, + density = 1, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "common", + strength = 1, + group = "birds", + groupIndex = 9, + particles = "", + particlesAmountLimits = {0, 0}, + particlesTrail = "redBirdTrail", + collisionSound = "sardine_can_physics_a2", + launchSound = "sardine_can_shot", + specialSound = "mighty_eagle_yell", + selectionSound = "", + destroyedSound = "light_destroyed", + unselectionSound = "", + specialty = "SUMMON_MIGHTY_EAGLE", + tutorialInfo = "TUTORIAL_8", + collisionFunction = "mightyEagleBaitCollision", + frozenFunction = "mightyEagleBaitFrozen", + updateFunction = "updateMightyEagleBait", + timerFunction = "mightyEagleAndBaitTimerUpdate" + }, + GlobeBird = { + definition = "GlobeBird", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 10, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"orangeBuff", "smokeBuff"}, + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "GlobeBirdBig", + sprite = "BIRD_PUFFER_1", + spriteFlying = "BIRD_PUFFER_1", + spriteCollision = "BIRD_PUFFER_1", + spriteYell = "BIRD_PUFFER_YELL", + spriteAction = "BIRD_PUFFER_1", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_BLINK", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect" + }, + GlobeBirdBig = { + definition = "GlobeBirdBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 11, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "orangeBuff", + particlesTrail = "redBirdTrail", + tutorialInfo = "TUTORIAL_9", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BIRD_PUFFER_2", + spriteFlying = "BIRD_PUFFER_2", + spriteCollision = "BIRD_PUFFER_2", + spriteYell = "BIRD_PUFFER_2", + spriteAction = "BIRD_PUFFER_2", + spriteScore = "10K_ORANGE", + spriteBlink = "BIRD_PUFFER_2", + collisionSound = "globe_hit", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + BalloonPig = { + definition = "BalloonPig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + scale = 0.3, + radius = 0.85, + friction = 0.3, + restitution = 0.25, + density = 5, + allowRoll = true, + group = "birds", + groupIndex = 18, + damageFactors = "GlobeBirdDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = {"smokeBuff", "smokeBuff"}, + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + specialty = "GLOBE", + explosionRadius = 8, + explosionForce = 45000, + explosionDamageRadius = 5, + explosionDamage = 0, + puffedDefinition = "BalloonPigBig", + sprite = "BALLOONPIG_IDLE", + spriteFlying = "BALLOONPIG_HAPPY", + spriteCollision = "BALLOONPIG_BLINK", + spriteYell = "BALLOONPIG_HAPPY", + spriteAction = "BALLOONPIG_IDLE", + spriteScore = "PIG_SCORE_10K", + spriteBlink = "BALLOONPIG_BLINK", + collisionSound = "piglette_collision", + launchSound = "pig_launch", + specialSound = "globe_special", + selectionSound = "piglette", + unselectionSound = "piglette" + }, + BalloonPigBig = { + definition = "BalloonPigBig", + type = "circle", + bounceAmplitudeMultiplier = 1, + bounceFrequencyMultiplier = 1, + radius = 7.5, + friction = 0.5, + restitution = 0, + density = 0.1, + allowRoll = true, + group = "birds", + groupIndex = 19, + damageFactors = "DefaultDamageFactors", + controllable = true, + materialName = "stone", + strength = 60, + particles = "smokeBuff", + particlesTrail = "smokeBuff", + useLegacyCollisionPath = true, + rotateWhileFlying = true, + z_order = 2, + isPuffed = true, + explosionRadius = 8, + explosionForce = 15000, + explosionDamageRadius = 5, + explosionDamage = 0, + sprite = "BALLOONPIG_GLOBE", + spriteFlying = "BALLOONPIG_GLOBE", + spriteCollision = "BALLOONPIG_GLOBE", + spriteYell = "BALLOONPIG_GLOBE", + spriteAction = "BALLOONPIG_GLOBE", + spriteScore = "10K_ORANGE", + spriteBlink = "BALLOONPIG_GLOBE", + collisionSound = "piglette_collision", + launchSound = "Globe_Bird_Launch_3", + specialSound = "globe_special", + selectionSound = "Globe_Bird_Selection_1", + unselectionSound = "bird_03_unselect", + removeSound = "Globe_Bird_Death_remove_1" + }, + SmallPiglette = { + radius = 1.075, + type = "circle", + sprite = "PIGLETTE_SMALL_01", + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 4, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 1, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_SMALL_01", + blinkSprite = "PIGLETTE_SMALL_01_BLINK", + smileSprite = "PIGLETTE_SMALL_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_SMALL_02", + blinkSprite = "PIGLETTE_SMALL_02_BLINK", + smileSprite = "PIGLETTE_SMALL_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_SMALL_03", + blinkSprite = "PIGLETTE_SMALL_03_BLINK", + smileSprite = "PIGLETTE_SMALL_03_SMILE", + max = 50, + min = -1000 + } + } + }, + MediumPiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_MEDIUM_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 10, + defence = 1, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 2, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_MEDIUM_01", + blinkSprite = "PIGLETTE_MEDIUM_01_BLINK", + smileSprite = "PIGLETTE_MEDIUM_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_MEDIUM_02", + blinkSprite = "PIGLETTE_MEDIUM_02_BLINK", + smileSprite = "PIGLETTE_MEDIUM_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_MEDIUM_03", + blinkSprite = "PIGLETTE_MEDIUM_03_BLINK", + smileSprite = "PIGLETTE_MEDIUM_03_SMILE", + max = 50, + min = -1000 + } + } + }, + HelmetPiglette = { + radius = 1.95, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_HELMET_01", + density = 2, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 15, + defence = 8, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 3, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_HELMET_01", + blinkSprite = "PIGLETTE_HELMET_01_BLINK", + smileSprite = "PIGLETTE_HELMET_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_HELMET_02", + blinkSprite = "PIGLETTE_HELMET_02_BLINK", + smileSprite = "PIGLETTE_HELMET_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_HELMET_03", + blinkSprite = "PIGLETTE_HELMET_03_BLINK", + smileSprite = "PIGLETTE_HELMET_03_SMILE", + max = 50, + min = -1000 + } + } + }, + LargePiglette = { + radius = 2.325, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_BIG_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 20, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 4, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_BIG_01", + blinkSprite = "PIGLETTE_BIG_01_BLINK", + smileSprite = "PIGLETTE_BIG_01_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_BIG_02", + blinkSprite = "PIGLETTE_BIG_02_BLINK", + smileSprite = "PIGLETTE_BIG_02_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_BIG_03", + blinkSprite = "PIGLETTE_BIG_03_BLINK", + smileSprite = "PIGLETTE_BIG_03_SMILE", + max = 50, + min = -1000 + } + } + }, + Porkarappa = { + radius = 2, + friction = 0.3, + type = "circle", + sprite = "PORKARAPPA_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 110, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 9, + damageSprites = { + damage1 = { + sprite = "PORKARAPPA_IDLE", + blinkSprite = "PORKARAPPA_BLINK", + smileSprite = "PORKARAPPA_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PORKARAPPA_HURT1_IDLE", + blinkSprite = "PORKARAPPA_HURT1_BLINK", + smileSprite = "PORKARAPPA_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PORKARAPPA_HURT2_IDLE", + blinkSprite = "PORKARAPPA_HURT2_BLINK", + smileSprite = "PORKARAPPA_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + HandsomePiglette = { + radius = 1.85, + friction = 0.3, + type = "circle", + sprite = "HANDSOMEPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 8, + damageSprites = { + damage1 = { + sprite = "HANDSOMEPIG_IDLE", + blinkSprite = "HANDSOMEPIG_BLINK", + smileSprite = "HANDSOMEPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HANDSOMEPIG_HURT1_IDLE", + blinkSprite = "HANDSOMEPIG_HURT1_BLINK", + smileSprite = "HANDSOMEPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HANDSOMEPIG_HURT2_IDLE", + blinkSprite = "HANDSOMEPIG_HURT2_FIX", + smileSprite = "HANDSOMEPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + GrandpaPiglette = { + radius = 2.2, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_GRANDPA_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + strength = 30, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 5, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_GRANDPA_01", + blinkSprite = "PIGLETTE_GRANDPA_01_BLINK", + smileSprite = "PIGLETTE_GRANDPA_04_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_GRANDPA_02", + blinkSprite = "PIGLETTE_GRANDPA_02_BLINK", + smileSprite = "PIGLETTE_GRANDPA_05_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_GRANDPA_03", + blinkSprite = "PIGLETTE_GRANDPA_03_BLINK", + smileSprite = "PIGLETTE_GRANDPA_06_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPiglette = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 100, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 6, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + KingPigletteBoss = { + radius = 2.825, + friction = 0.3, + type = "circle", + sprite = "PIGLETTE_KING_01", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 5000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 10, + damageSprites = { + damage1 = { + sprite = "PIGLETTE_KING_01", + blinkSprite = "PIGLETTE_KING_01_BLINK", + smileSprite = "PIGLETTE_KING_07_SMILE", + max = 100, + min = 90 + }, + damage2 = { + sprite = "PIGLETTE_KING_02", + blinkSprite = "PIGLETTE_KING_02_BLINK", + smileSprite = "PIGLETTE_KING_08_SMILE", + max = 90, + min = 50 + }, + damage3 = { + sprite = "PIGLETTE_KING_03", + blinkSprite = "PIGLETTE_KING_03_BLINK", + smileSprite = "PIGLETTE_KING_09_SMILE", + max = 50, + min = -1000 + } + } + }, + FATPIG = { + radius = 7.5, + friction = 0.3, + type = "circle", + sprite = "FATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 1000, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 11, + damageSprites = { + damage1 = { + sprite = "FATPIG_IDLE", + blinkSprite = "FAT_PIG_BLINK", + smileSprite = "FAT_PIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "FATPIG_HURT1_IDLE", + blinkSprite = "FATPIG_IDLE_BLINK", + smileSprite = "FATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "FATPIG_HURT2_IDLE", + blinkSprite = "FATPIG_HURT2_BLINK", + smileSprite = "FATPIG_HURT2_BLINK", + max = 50, + min = -1000 + } + } + }, + + HatPiglette = { + radius = 1.71, + friction = 0.3, + type = "circle", + sprite = "HATPIG_IDLE", + density = 1, + controllable = false, + levelGoal = true, + materialName = "piglette", + defence = 0, + strength = 200, + particles = "smokeBuff", + spriteScore = "5K_GREEN", + group = "piglettes", + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "HATPIG_IDLE", + blinkSprite = "HATPIG_BLINK", + smileSprite = "HATPIG_WIN", + max = 100, + min = 90 + }, + damage2 = { + sprite = "HATPIG_HURT1_IDLE", + blinkSprite = "HATPIG_HURT1_BLINK", + smileSprite = "HATPIG_HURT1_WIN", + max = 90, + min = 50 + }, + damage3 = { + sprite = "HATPIG_HURT2_IDLE", + blinkSprite = "HATPIG_HURT2_BLINK", + smileSprite = "HATPIG_HURT2_WIN", + max = 50, + min = -1000 + } + } + }, + + WoodBlock1 = { + type = "box", + sprite = "BLOCK_WOOD_1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 1, + strength = 20, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_1", + max = 25, + min = -1000 + } + } + }, + WoodBlock2 = { + type = "box", + sprite = "BLOCK_WOOD_1_2", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 2, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_2", + max = 25, + min = -1000 + } + } + }, + Log = { + type = "box", + sprite = "LOG", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 95, + strength = 60, + damageSprites = { + damage1 = { + sprite = "LOG", + max = 100, + min = 75 + }, + damage2 = { + sprite = "LOG", + max = 75, + min = 50 + }, + damage3 = { + sprite = "LOG_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "LOG_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock3 = { + type = "box", + sprite = "BLOCK_WOOD_1_3", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 3, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_3", + max = 25, + min = -1000 + } + } + }, + WoodBlock4 = { + type = "box", + sprite = "BLOCK_WOOD_1_4", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 4, + strength = 50, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock5 = { + type = "box", + sprite = "BLOCK_WOOD_1_5", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 5, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_5", + max = 25, + min = -1000 + } + } + }, + WoodBlock6 = { + type = "box", + sprite = "BLOCK_WOOD_1_6", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 6, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_6", + max = 25, + min = -1000 + } + } + }, + WoodBlock7 = { + type = "circle", + sprite = "BLOCK_WOOD_1_7", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 7, + strength = 200, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_7", + max = 25, + min = -1000 + } + } + }, + BP_TNT = { + type = "box", + sprite = "BP_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 116, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + RIO_TNT = { + type = "box", + sprite = "TNTPACKAGE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 121, + strength = 15, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + BP_WOOD = { + type = "box", + sprite = "BP_WOOD", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 117, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BP_WOOD", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_WOODHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_WOODHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_WOODHURT2", + max = 25, + min = -1000 + } + } + }, + RIOCRATE = { + type = "box", + sprite = "RIOCRATE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 122, + strength = 200, + damageSprites = { + damage1 = { + sprite = "RIOCRATE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATE_HURT", + max = 25, + min = -1000 + } + } + }, + RIOCRATESMALL = { + type = "box", + sprite = "RIOCRATE_SMALL", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 123, + strength = 100, + damageSprites = { + damage1 = { + sprite = "RIOCRATE_SMALL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "RIOCRATE_SMALL", + max = 75, + min = 50 + }, + damage3 = { + sprite = "RIOCRATESMALL_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "RIOCRATESMALL_HURT", + max = 25, + min = -1000 + } + } + }, + BP_METAL = { + type = "box", + sprite = "BP_METAL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 118, + radius = 0.9, + strength = 220, + damageSprites = { + damage1 = { + sprite = "BP_METAL", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BP_METALHURT1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BP_METALHURT1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BP_METALHURT2", + max = 25, + min = -1000 + } + } + }, + WOODEN_TIRE = { + type = "circle", + sprite = "WOODEN_TIRE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 115, + strength = 200, + damageSprites = { + damage1 = { + sprite = "WOODEN_TIRE", + max = 100, + min = 75 + }, + damage2 = { + sprite = "WOODEN_TIRE", + max = 75, + min = 50 + }, + damage3 = { + sprite = "WOODEN_TIRE_HURT", + max = 50, + min = 25 + }, + damage4 = { + sprite = "WOODEN_TIRE_HURT", + max = 25, + min = -1000 + } + } + }, + WoodBlock8 = { + type = "circle", + sprite = "BLOCK_WOOD_1_8", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 8, + strength = 150, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4_8", + max = 25, + min = -1000 + } + } + }, + WoodBlock9 = { + type = "box", + sprite = "BLOCK_WOOD_4X4_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 9, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_4X4_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock10 = { + type = "box", + sprite = "BLOCK_WOOD_10X1_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 10, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_10X1_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 11, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + WoodBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + controllable = false, + materialName = "wood", + group = "woodBlocks", + groupIndex = 12, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_WOOD_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock1 = { + type = "box", + sprite = "BLOCK_ROCK_1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 1, + strength = 30, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_1", + max = 25, + min = -1000 + } + } + }, + StoneBlock2 = { + type = "box", + sprite = "BLOCK_ROCK_1_2", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 2, + strength = 60, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_2", + max = 25, + min = -1000 + } + } + }, + StoneBlock3 = { + type = "box", + sprite = "BLOCK_ROCK_1_3", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 3, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_3", + max = 25, + min = -1000 + } + } + }, + StoneBlock4 = { + type = "box", + sprite = "BLOCK_ROCK_1_4", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 4, + strength = 80, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock5 = { + type = "box", + sprite = "BLOCK_ROCK_1_5", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 5, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_5", + max = 25, + min = -1000 + } + } + }, + StoneBlock6 = { + type = "box", + sprite = "BLOCK_ROCK_1_6", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 6, + strength = 120, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_6", + max = 25, + min = -1000 + } + } + }, + StoneBlock7 = { + type = "circle", + sprite = "BLOCK_ROCK_1_7", + controllable = false, + materialName = "rock", + group = "rockBlocks", + strength = 600, + groupIndex = 7, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_7", + max = 25, + min = -1000 + } + } + }, + StoneBlock8 = { + type = "circle", + sprite = "BLOCK_ROCK_1_8", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 8, + strength = 300, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4_8", + max = 25, + min = -1000 + } + } + }, + StoneBlock9 = { + type = "box", + sprite = "BLOCK_ROCK_4X4_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 9, + strength = 160, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_4X4_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock10 = { + type = "box", + sprite = "BLOCK_ROCK_10X1_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 10, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_10X1_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 11, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + StoneBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + controllable = false, + materialName = "rock", + group = "rockBlocks", + groupIndex = 12, + strength = 140, + damageSprites = { + damage1 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_ROCK_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + LightBlock1 = { + type = "box", + sprite = "BLOCK_LIGHT_1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 1, + strength = 13, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_1", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_1", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_1", + max = 25, + min = -1000 + } + } + }, + LightBlock2 = { + type = "box", + sprite = "BLOCK_LIGHT_1_2", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 2, + strength = 26, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_2", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_2", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_2", + max = 25, + min = -1000 + } + } + }, + LightBlock3 = { + type = "box", + sprite = "BLOCK_LIGHT_1_3", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 3, + strength = 40, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_3", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_3", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_3", + max = 25, + min = -1000 + } + } + }, + LightBlock4 = { + type = "box", + sprite = "BLOCK_LIGHT_1_4", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 4, + strength = 33, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_4", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_4", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_4", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock5 = { + type = "box", + sprite = "BLOCK_LIGHT_1_5", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 5, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_5", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_5", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_5", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_5", + max = 25, + min = -1000 + } + } + }, + LightBlock6 = { + type = "box", + sprite = "BLOCK_LIGHT_1_6", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 6, + strength = 47, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_6", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_6", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_6", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_6", + max = 25, + min = -1000 + } + } + }, + LightBlock7 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_7", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 7, + strength = 125, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_7", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_7", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_7", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_7", + max = 25, + min = -1000 + } + } + }, + LightBlock8 = { + type = "circle", + sprite = "BLOCK_LIGHT_1_8", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 8, + strength = 100, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_1_8", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_2_8", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_3_8", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4_8", + max = 25, + min = -1000 + } + } + }, + LightBlock9 = { + type = "box", + sprite = "BLOCK_LIGHT_4X4_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 9, + strength = 70, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_4X4_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_4X4_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_4X4_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_4X4_4", + max = 25, + min = -1000 + } + } + }, + LightBlock10 = { + type = "box", + sprite = "BLOCK_LIGHT_10X1_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 10, + strength = 65, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_10X1_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_10X1_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_10X1_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_10X1_4", + max = 25, + min = -1000 + } + } + }, + LightBlock11 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 11, + strength = 53, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_L_4", + max = 25, + min = -1000 + } + } + }, + LightBlock12 = { + type = "polygon", + vertices = { + {x = 0.5, y = 0}, + {x = 1, y = 1}, + {x = 0, y = 1} + }, + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + controllable = false, + materialName = "light", + group = "lightBlocks", + groupIndex = 12, + strength = 48, + damageSprites = { + damage1 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_3", + max = 50, + min = 25 + }, + damage4 = { + sprite = "BLOCK_LIGHT_TRIANGLE_M_4", + max = 25, + min = -1000 + } + } + }, + DecorationSpotsTheme01_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_01", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme01_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_02", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme01_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME1_03", + theme = "theme1", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme02_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_01", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme02_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_02", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme02_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME2_03", + theme = "theme2", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSpotsTheme03_01 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_01", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 1 + }, + DecorationSpotsTheme03_02 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_02", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 2 + }, + DecorationSpotsTheme03_03 = { + type = "box", + sprite = "DECORATION_SPOTS_THEME3_03", + theme = "theme3", + materialName = "decoration", + group = "decorations", + groupIndex = 3 + }, + DecorationSkull01 = { + type = "box", + sprite = "DECORATION_SKULL01", + materialName = "decoration", + group = "decorations", + groupIndex = 4 + }, + DecorationSkull02 = { + type = "box", + sprite = "DECORATION_SKULL02", + materialName = "decoration", + group = "decorations", + groupIndex = 5 + }, + DecorationBone01 = { + type = "box", + sprite = "DECORATION_BONE01", + materialName = "decoration", + group = "decorations", + groupIndex = 6 + }, + DecorationBone02 = { + type = "box", + sprite = "DECORATION_BONE02", + materialName = "decoration", + group = "decorations", + groupIndex = 7 + }, + DecorationBone03 = { + type = "box", + sprite = "DECORATION_BONE03", + materialName = "decoration", + group = "decorations", + groupIndex = 8 + }, + DecorationBone04 = { + type = "box", + sprite = "DECORATION_BONE04", + materialName = "decoration", + group = "decorations", + groupIndex = 9 + }, + DecorationBoneSet01 = { + type = "box", + sprite = "DECORATION_BONESET01", + materialName = "decoration", + group = "decorations", + groupIndex = 10 + }, + DecorationBoneSet02 = { + type = "box", + sprite = "DECORATION_BONESET02", + materialName = "decoration", + group = "decorations", + groupIndex = 11 + }, + DecorationEstrade01 = { + type = "box", + sprite = "ESTRADE_FLAG", + materialName = "decoration", + group = "decorations", + groupIndex = 12 + }, + DecorationEstrade02 = { + type = "box", + sprite = "ESTRADE_THEATER", + materialName = "decoration", + group = "decorations", + groupIndex = 13 + }, + StaticBlockTheme01_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme01_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme01_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme01_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme01_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme01_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme1", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme02_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme02_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme02_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme02_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme02_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme02_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme2", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme03_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme03_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme03_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme03_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme03_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme03_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme3", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme04_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme04_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme04_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme04_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme04_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme04_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme4", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme05_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme05_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme05_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme05_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme05_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme05_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_05_THEME_GROUND_5", + theme = "theme5", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme06_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme06_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme06_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme06_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme06_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme06_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme6", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme07_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme07_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme07_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme07_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme07_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme07_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme7", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme08_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme08_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme08_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme08_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme08_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme08_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_08_THEME_GROUND_8", + theme = "theme8", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme09_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme09_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme09_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme09_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme09_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme09_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_01_THEME_GROUND_1", + theme = "theme9", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme10_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme10_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme10_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme10_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme10_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme10_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_02_THEME_GROUND_2", + theme = "theme10", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme11_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme11_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme11_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme11_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme11_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme11_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme11", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme12_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme12_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme12_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme12_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme12_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme12_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_03_THEME_GROUND_3", + theme = "theme12", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme13_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme13_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme13_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme13_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme13_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme13_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_04_THEME_GROUND_4", + theme = "theme13", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme14_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme14_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme14_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme14_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme14_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme14_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_06_THEME_GROUND_6", + theme = "theme14", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme15_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme15_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme15_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme15_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme15_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme15_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_07_THEME_GROUND_7", + theme = "theme15", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme16_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme16_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme16_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme16_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme16_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme16_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_09_THEME_GROUND_9", + theme = "theme16", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme17_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme17_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme17_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme17_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme17_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme17_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_10_THEME_GROUND_CAVE", + theme = "theme17", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + StaticBlockTheme18_01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 1 + }, + StaticBlockTheme18_02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 2 + }, + StaticBlockTheme18_03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 3 + }, + StaticBlockTheme18_04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 4 + }, + StaticBlockTheme18_05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 5 + }, + StaticBlockTheme18_06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + texture = "THEME_GROUND_TEXTURE_BIRTHDAY", + theme = "theme18", + materialName = "immovable", + group = "staticBlocks", + groupIndex = 6 + }, + ShootingPlatform01 = { + type = "box", + sprite = "SHOOTING_PLATFORM", + materialName = "immovable", + group = "platforms", + groupIndex = 1 + }, + Estrade01 = { + type = "box", + sprite = "ESTRADE_01", + materialName = "immovable", + group = "platforms", + groupIndex = 2 + }, + Estrade02 = { + type = "box", + sprite = "ESTRADE_02", + materialName = "immovable", + group = "platforms", + groupIndex = 3 + }, + Estrade03 = { + type = "box", + sprite = "ESTRADE_03", + materialName = "immovable", + group = "platforms", + groupIndex = 4 + }, + Estrade04 = { + type = "box", + sprite = "ESTRADE_04", + materialName = "immovable", + group = "platforms", + groupIndex = 5 + }, + ExtraBlockToilet = { + type = "box", + sprite = "BLOCK_EXTRA_TOILET", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 1 + }, + ExtraBlockFlag01 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 2 + }, + Krabby_Patty = { + type = "box", + sprite = "KRABBYPATTY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 97 + }, + PRINGLES = { + type = "box", + sprite = "PRINGLES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 98 + }, + ENGINE = { + type = "box", + sprite = "BP_ENGINE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 119 + }, + FRIES = { + type = "box", + sprite = "FRIES", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 99 + }, + LUNCHBOX = { + type = "box", + sprite = "LUNCHBOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 100 + }, + CHIPS = { + type = "box", + sprite = "CHIPS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 101 + }, + GOLD_DONUT = { + type = "circle", + sprite = "GOLD_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + strength = 60, + groupIndex = 102 + }, + BP_GEAR = { + type = "circle", + sprite = "BP_GEAR", + controllable = false, + materialName = "extras", + group = "extras", + strength = 70, + groupIndex = 120 + }, + PIZZABOX = { + type = "box", + sprite = "PIZZABOX", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 103 + }, + PIZZABOX_STACK = { + type = "box", + sprite = "PIZZABOX_STACK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 104 + }, + KETCHUP = { + type = "box", + sprite = "KETCHUP", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 105 + }, + MUSTARD = { + type = "box", + sprite = "MUSTARD", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 106 + }, + RADIO = { + type = "box", + sprite = "RADIO", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 111 + }, + MICROPHONE = { + type = "box", + sprite = "MICROPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 112 + }, + ExtraBlockFlag02 = { + type = "box", + sprite = "BLOCK_EXTRA_FLAG_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 3 + }, + ExtraBlockTNT = { + type = "box", + sprite = "BLOCK_EXTRA_TNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 4, + strength = 10, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + HardTNT = { + type = "box", + sprite = "HARDTNT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 96, + strength = 75, + defence = 1, + particles = "explosionBuff", + specialty = "BOMB", + explosionRadius = 10, + explosionForce = 30000, + explosionDamageRadius = 5, + explosionDamage = 150 + }, + ExtraBlockDice = { + type = "box", + sprite = "BLOCK_EXTRA_DICE_6", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 5, + strength = 30, + defence = 1, + damageSprites = { + damage1 = { + sprite = "BLOCK_EXTRA_DICE_6", + max = 100, + min = 84 + }, + damage2 = { + sprite = "BLOCK_EXTRA_DICE_5", + max = 84, + min = 68 + }, + damage3 = { + sprite = "BLOCK_EXTRA_DICE_4", + max = 68, + min = 52 + }, + damage4 = { + sprite = "BLOCK_EXTRA_DICE_3", + max = 52, + min = 36 + }, + damage5 = { + sprite = "BLOCK_EXTRA_DICE_2", + max = 36, + min = 20 + }, + damage6 = { + sprite = "BLOCK_EXTRA_DICE_1", + max = 20, + min = -1000 + } + } + }, + ExtraBlockStairs = { + type = "box", + sprite = "ESTRADE_STAIRS", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 6 + }, + SpecialBlockSwing = { + type = "box", + sprite = "SWING_HOLDER_01", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 7 + }, + SpecialBlockStart = { + type = "box", + sprite = "SWING_BASKET_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 8, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleYellow = { + type = "box", + sprite = "POLE_YELLOW", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 9, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraPoleRed = { + type = "box", + sprite = "POLE_RED", + controllable = false, + materialName = "immovable", + group = "extras", + groupIndex = 10, + strength = 10, + defence = 1000000, + collision = false + }, + ExtraTire01 = { + type = "circle", + sprite = "BLOCK_TIRE_01", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 11, + strength = 200 + }, + ExtraTire02 = { + type = "circle", + sprite = "BLOCK_TIRE_02", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 12, + strength = 200 + }, + ExtraTire03 = { + type = "circle", + sprite = "BLOCK_TIRE_03", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 13, + strength = 200 + }, + ExtraDonut01 = { + type = "circle", + sprite = "BLOCK_DONUT", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 14, + strength = 50 + }, + Hay = { + type = "circle", + sprite = "HAY", + radius = 2.8, + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 125, + strength = 75 + }, + WOODEN_NOSE = { + type = "circle", + sprite = "WOODEN_NOSE", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 126, + strength = 85 + }, + TRACTOR_TIRE = { + type = "circle", + sprite = "TRACTOR_TIRE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 127, + strength = 70 + }, + WOODEN_ARROW = { + type = "box", + sprite = "WOOD_ARROW", + controllable = false, + materialName = "wood", + group = "extras", + groupIndex = 128, + strength = 125 + }, + SCOPE = { + type = "box", + sprite = "SCOPE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 129, + strength = 50 + }, + MEGAPHONE = { + type = "box", + sprite = "MEGAPHONE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 130, + strength = 50 + }, + ExtraMelon = { + type = "circle", + sprite = "BLOCK_WATERMELON", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 15, + strength = 40 + }, + ExtraHam = { + type = "circle", + sprite = "BLOCK_HAM", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 16, + strength = 60 + }, + ExtraApple = { + type = "circle", + sprite = "BLOCK_APPLE", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 17, + strength = 30 + }, + ExtraStrawberry = { + type = "circle", + sprite = "BLOCK_STRAWBERRY", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 18, + strength = 30 + }, + ExtraBanana = { + type = "box", + sprite = "BLOCK_BANANA", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 19, + strength = 30 + }, + ExtraTreasureChest = { + type = "box", + sprite = "BLOCK_TREASURE_CHEST", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 20, + strength = 20 + }, + ExtraPillar = { + type = "box", + sprite = "BLOCK_PILLAR", + controllable = false, + density = 10, + defence = 40, + materialName = "extras", + group = "extras", + groupIndex = 21, + strength = 120 + }, + ExtraBeachBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 22, + strength = 15 + }, + ExtraBlockSmiley = { + type = "circle", + sprite = "BLOCK_SMILEY_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 23, + strength = 25, + damageSprites = { + damage1 = { + sprite = "BLOCK_SMILEY_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "BLOCK_SMILEY_3", + max = 50, + min = -1000 + } + } + }, + ExtraHolyGrail = { + type = "box", + sprite = "BLOCK_HOLYGRAIL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 24, + strength = 25 + }, + ExtraDiamond = { + type = "circle", + sprite = "BLOCK_DIAMOND", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 25, + strength = 25 + }, + ExtraRubberDuck = { + type = "circle", + sprite = "BLOCK_RUBBERDUCK", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 26, + strength = 25 + }, + ExtraStolenEgg = { + type = "circle", + sprite = "BLOCK_STOLEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 27, + strength = 2000, + defence = 20000 + }, + ExtraStrongBall = { + type = "circle", + sprite = "BLOCK_STEEL_BALL", + controllable = false, + materialName = "rock", + group = "extras", + groupIndex = 28, + strength = 5000, + defence = 2000 + }, + ExtraRubberBall = { + type = "circle", + sprite = "BLOCK_BEACHBALL", + controllable = false, + materialName = "rubber", + group = "extras", + groupIndex = 29, + defence = 50, + strength = 1000, + restitution = 1.1 + }, + ExtraTrampoline = { + type = "circle", + sprite = "BLOCK_SUPER_BALL", + materialName = "rubber", + group = "extras", + groupIndex = 30, + defence = 1000, + strength = 1000, + restitution = 5.5 + }, + ExtraBlueBird = { + radius = 0.6, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BLUE", + density = 8, + materialName = "extras", + group = "extras", + groupIndex = 31, + strength = 3000, + defence = 2000 + }, + ExtraTrampoline2 = { + type = "box", + sprite = "BLOCK_TRAMPOLINE_01", + materialName = "immovableRubber", + group = "extras", + groupIndex = 32, + defence = 1000, + strength = 1000, + restitution = 1.1 + }, + ExtraGoldenEgg = { + type = "circle", + sprite = "BLOCK_GOLDEN_EGG", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 33, + strength = 5, + defence = 1 + }, + ExtraRopeThick01 = { + type = "box", + sprite = "BLOCK_ROPE_THICK_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 34, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin01 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_1", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 35, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraRopeThin02 = { + type = "box", + sprite = "BLOCK_ROPE_THIN_2", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 36, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + ExtraBoomerangBird = { + radius = 1.1, + friction = 0.3, + type = "circle", + restitution = 0.25, + sprite = "BIRD_BOOMERANG", + density = 8, + materialName = "immovable", + group = "extras", + groupIndex = 37, + strength = 1000000, + defence = 1000000 + }, + BlockCarpet = { + type = "box", + sprite = "BLOCK_CARPET", + materialName = "extras", + group = "extras", + groupIndex = 38 + }, + ExtraHelmetSmall = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_SMALL", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 39, + defence = 300, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetSmall2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BLOCK_RUBBERDUCK", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 40, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BIG", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 41, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBig2 = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.2}, + {x = 0.4, y = 0.1}, + {x = 0.8, y = 0.1}, + {x = 1, y = 0.2}, + {x = 1, y = 0.4}, + {x = 0.2, y = 0.4} + }, + sprite = "BIRD_BOOMERANG_STILL", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 42, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraHelmetBoss = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.5}, + {x = 0.2, y = 0.5} + }, + sprite = "HELMET_BOSS", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 43, + defence = 300, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 50 + }, + ExtraCowboyHelmet_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_BIG_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 44, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + COOLHAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COOLHAT", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 113, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCowboyHelmetSmall_1 = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "COWBOY_HAT_SMALL_1", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 45, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + MECHANIC_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MECHANIC_HAT", + materialName = "extras", + group = "extras", + density = 0.3, + friction = 1, + groupIndex = 114, + defence = 20, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_1 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 46, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSheriffHat_2 = { + type = "polygon", + vertices = { + {x = 0.35, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.7, y = 0.3}, + {x = 0.7, y = 0.6}, + {x = 0.35, y = 0.6} + }, + sprite = "SHERIFF_HAT_2", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 47, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraBanditoHat_1 = { + type = "polygon", + vertices = { + {x = 0.4, y = 0.3}, + {x = 0.45, y = 0.2}, + {x = 0.55, y = 0.2}, + {x = 0.6, y = 0.3}, + {x = 0.6, y = 0.7}, + {x = 0.4, y = 0.7} + }, + sprite = "BANDITO_HAT_1", + materialName = "extras", + group = "extras", + density = 0.5, + friction = 1, + groupIndex = 48, + defence = 30, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraSuperBowl = { + type = "circle", + sprite = "B_EGG_SUPER_BOWL", + controllable = false, + materialName = "extras", + group = "extras", + groupIndex = 49, + strength = 5, + defence = 1, + density = 0 + }, + StaticFragileBlock01 = { + type = "box", + sprite = "GROUND_BLOCK_01", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 1, + destroyedScoreInc = 50 + }, + StaticFragileBlock02 = { + type = "box", + sprite = "GROUND_BLOCK_02", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 2, + destroyedScoreInc = 50 + }, + StaticFragileBlock03 = { + type = "box", + sprite = "GROUND_BLOCK_03", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 3, + destroyedScoreInc = 50 + }, + StaticFragileBlock04 = { + type = "box", + sprite = "GROUND_BLOCK_04", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 4, + destroyedScoreInc = 50 + }, + StaticFragileBlock05 = { + type = "box", + sprite = "GROUND_BLOCK_05", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 5, + destroyedScoreInc = 50 + }, + StaticFragileBlock06 = { + type = "box", + sprite = "GROUND_BLOCK_06", + materialName = "immovableFragile", + group = "staticFragile", + groupIndex = 6, + destroyedScoreInc = 50 + }, + StaticBalloon01 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 1, + destroyedScoreInc = 100 + }, + StaticBalloon02 = { + type = "box", + sprite = "BLOCK_PIG_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 2, + destroyedScoreInc = 100 + }, + StaticBalloon03 = { + type = "box", + sprite = "BLOCK_BALLOON_1", + materialName = "clouds", + group = "clouds", + groupIndex = 3, + destroyedScoreInc = 100 + }, + StaticBalloon04 = { + type = "box", + sprite = "BLOCK_BALLOON_2", + materialName = "clouds", + group = "clouds", + groupIndex = 4, + destroyedScoreInc = 100 + }, + StaticBalloon05 = { + type = "box", + sprite = "BLOCK_BALLOON_3", + materialName = "clouds", + group = "clouds", + groupIndex = 5, + destroyedScoreInc = 100 + }, + StaticCloud01 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 6 + }, + StaticCloud02 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 7 + }, + StaticCloud03 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 8 + }, + StaticCloud04 = { + type = "box", + sprite = "BLOCK_BANANA", + materialName = "immovable", + group = "clouds", + groupIndex = 9 + }, + BUSH_1 = { + type = "box", + sprite = "BUSH_1", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 107 + }, + SIGN_1 = { + type = "box", + sprite = "SIGN_HEAD", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 124 + }, + SIGN_2 = { + type = "box", + sprite = "SIGN_BASE", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 131 + }, + BUSH_2 = { + type = "box", + sprite = "BUSH_2", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 108 + }, + BUSH_3 = { + type = "box", + sprite = "BUSH_3", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 109 + }, + BUSH_4 = { + type = "box", + sprite = "BUSH_4", + materialName = "immovable", + group = "extras", + collision = false, + groupIndex = 110 + }, + Ground = { + type = "box", + sprite = "", + texture = "", + theme = "", + materialName = "staticGround", + group = "", + groupIndex = 1 + }, + ExtraCaveHat_1 = { + type = "box", + width = 1, + height = 0.5, + sprite = "CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 50, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_2 = { + type = "box", + width = 2, + height = 1.6, + sprite = "CAVE_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 51, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveHat_3 = { + type = "box", + width = 2, + height = 1.5, + sprite = "CAVE_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 52, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraKingCaveHat_1 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "KING_CAVE_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 53, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_1 = { + type = "box", + width = 1.2, + height = 4.7, + sprite = "CAVE_SHOVEL_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 54, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCaveShovel_2 = { + type = "box", + width = 0.8, + height = 2.5, + sprite = "CAVE_SHOVEL_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 55, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_1 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 56, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraCavePickaxe_2 = { + type = "polygon", + vertices = { + {x = 0, y = 0}, + {x = 1, y = 0}, + {x = 0.5, y = 1} + }, + sprite = "CAVE_PICKAXE_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 57, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraAmethyst = { + type = "box", + width = 2, + height = 1.6, + sprite = "BLOCK_AMETHYST", + materialName = "amethyst", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 58, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMETHYST_1" + }, + ExtraRuby = { + type = "box", + width = 1.3, + height = 2, + sprite = "BLOCK_RUBY", + materialName = "ruby", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 59, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_RUBY_1" + }, + ExtraAmber = { + type = "circle", + radius = 1, + sprite = "BLOCK_AMBER", + materialName = "amber", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 60, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + ExtraStalaktite_1 = { + type = "box", + width = 3, + height = 13.9, + sprite = "BLOCK_STALAKTITE_1", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 61, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_2 = { + type = "box", + width = 1, + height = 12.5, + sprite = "BLOCK_STALAKTITE_2", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 62, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_3 = { + type = "box", + width = 1.8, + height = 17.1, + sprite = "BLOCK_STALAKTITE_3", + particles = "stalaktiteWhiteBreak", + materialName = "stalaktite", + group = "extras", + density = 0, + friction = 1, + groupIndex = 63, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip1 = { + type = "box", + width = 0.6, + height = 5, + sprite = "BLOCK_STALAKTITE_TIP_1", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 64, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip2 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_2", + materialName = "stalaktite_tip", + group = "extras", + density = 60, + friction = 1, + groupIndex = 65, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip3 = { + type = "box", + width = 0.6, + height = 4, + sprite = "BLOCK_STALAKTITE_TIP_3", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 66, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + ExtraStalaktite_Tip4 = { + type = "box", + width = 0.6, + height = 6, + sprite = "BLOCK_STALAKTITE_TIP_4", + materialName = "stalaktite_tip", + particles = "stalaktiteWhiteBreak", + group = "extras", + density = 60, + friction = 1, + groupIndex = 67, + defence = 50, + strength = 400, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayBalloon_1 = { + type = "circle", + radius = 1.2, + sprite = "BLOCK_BALLOON_BDAY", + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + strength = 10, + destroyedScoreInc = 500, + z_order = 5, + group = "extras", + groupIndex = 68 + }, + PartyHat_1 = { + type = "box", + width = 1.5, + height = 1.7, + sprite = "PARTY_HAT_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 69, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_2 = { + type = "box", + width = 1.6, + height = 1.7, + sprite = "PARTY_HAT_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 70, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_3 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_3", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 71, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + PartyHat_4 = { + type = "box", + width = 2.2, + height = 1.7, + sprite = "PARTY_HAT_4", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 72, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BirthdayCandle_1 = { + type = "box", + width = 0.6, + height = 2.3, + sprite = "BDAY_CANDLE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 73, + defence = 10, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 500 + }, + BirthdayCake_1 = { + type = "box", + width = 2.5, + height = 2.9, + sprite = "CHOCO_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 74, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake1Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_2 = { + type = "box", + width = 3, + height = 3.8, + sprite = "PINK_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 75, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake2Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 3000 + }, + BirthdayCake_3 = { + type = "box", + width = 4, + height = 2.2, + sprite = "MINT_CAKE_1", + materialName = "cake", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 76, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + spriteScore = "CAKE_SCORE_1", + destroyedScoreInc = 100 + }, + BirthdayBalloon_2 = { + sprite = "BLOCK_BALLOON_1", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 77 + }, + BirthdayBalloon_3 = { + sprite = "BLOCK_BALLOON_2", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 78 + }, + BirthdayBalloon_4 = { + sprite = "BLOCK_BALLOON_3", + type = "circle", + radius = 1.2, + particles = "blueBuff", + controllable = false, + materialName = "balloon", + defence = 1, + collision = true, + destroyedScoreInc = 100, + strength = 10, + z_order = 5, + group = "extras", + groupIndex = 79 + }, + SPECIAL_CAKE_1 = { + type = "box", + width = 2, + height = 2, + sprite = "SPECIAL_CAKE_1", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 80, + defence = 5, + strength = 10, + restitution = 0, + z_order = 5, + particles = {"cake3Break", "smokeBuff"}, + destroyedScoreInc = 100 + }, + MISC_FB_NET = { + type = "box", + sprite = "MISC_FB_NET_1", + materialName = "light", + group = "extras", + groupIndex = 71, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_NET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_NET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_NET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_STICK = { + type = "box", + sprite = "MISC_FB_STICK_1", + materialName = "wood", + group = "extras", + groupIndex = 72, + controllable = false, + density = 0.1, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_STICK_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_STICK_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_STICK_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_ROD = { + type = "box", + sprite = "MISC_FB_ROD_1", + materialName = "wood", + group = "extras", + groupIndex = 73, + controllable = false, + density = 0.001, + friction = 1, + defence = 10, + strength = 10, + restitution = 0, + z_order = 0, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_ROD_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_ROD_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_HAT = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.8, y = 0.3}, + {x = 0.8, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 74, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAT_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_GLASSES = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.1, y = 0.7} + }, + sprite = "MISC_FB_GLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 75, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_GLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_GLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_GLASSES_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BUCKET = { + type = "polygon", + vertices = { + {x = 0.1, y = 0.3}, + {x = 0.9, y = 0.3}, + {x = 0.8, y = 0.95}, + {x = 0.2, y = 0.95} + }, + sprite = "MISC_FB_BUCKET_1", + materialName = "light", + group = "extras", + groupIndex = 76, + controllable = false, + strength = 4, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BUCKET_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BUCKET_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BUCKET_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SHOVEL = { + type = "box", + sprite = "MISC_FB_SHOVEL_1", + materialName = "light", + group = "extras", + groupIndex = 77, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SHOVEL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SHOVEL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SHOVEL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CASTLE = { + type = "box", + sprite = "MISC_FB_CASTLE_1", + materialName = "wood", + group = "extras", + groupIndex = 78, + controllable = false, + density = 0.5, + friction = 1, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CASTLE_1", + max = 100, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CASTLE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TAPE = { + type = "box", + sprite = "MISC_FB_TAPE_1", + materialName = "extras", + group = "extras", + groupIndex = 79, + controllable = false, + strength = 5, + defence = 1, + destroyedScoreInc = 100 + }, + MISC_FB_HAMMER = { + type = "box", + sprite = "MISC_FB_HAMMER_1", + materialName = "rock", + group = "extras", + groupIndex = 80, + controllable = false, + density = 0.2, + friction = 1, + defence = 30, + strength = 20, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_HAMMER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_HAMMER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_HAMMER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_CONE = { + type = "box", + sprite = "MISC_FB_CONE_1", + materialName = "wood", + group = "extras", + groupIndex = 81, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_CONE_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_CONE_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_CONE_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_TOP = { + type = "box", + sprite = "MISC_FB_UMBRELLA_TOP_1", + materialName = "wood", + group = "extras", + groupIndex = 82, + controllable = false, + density = 0.1, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_TOP_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_TOP_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_TOP_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_UMBRELLA_BOTTOM = { + type = "box", + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + materialName = "wood", + group = "extras", + groupIndex = 83, + controllable = false, + density = 0.01, + friction = 1, + defence = 10, + strength = 5, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_UMBRELLA_BOTTOM_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BARREL = { + type = "box", + sprite = "MISC_FB_BARREL_1", + materialName = "wood", + group = "extras", + groupIndex = 84, + controllable = false, + strength = 80, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BARREL_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BARREL_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BARREL_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_BOBBER = { + type = "box", + sprite = "MISC_FB_BOBBER_1", + materialName = "light", + group = "extras", + groupIndex = 85, + controllable = false, + strength = 5, + damageSprites = { + damage1 = { + sprite = "MISC_FB_BOBBER_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_BOBBER_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_BOBBER_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_SMALL_HAT = { + type = "polygon", + vertices = { + {x = 0.3, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.65, y = 0.3}, + {x = 0.65, y = 0.5}, + {x = 0.3, y = 0.5} + }, + sprite = "MISC_FB_SMALL_HAT_1", + materialName = "extras", + group = "extras", + groupIndex = 86, + controllable = false, + density = 0.3, + friction = 1, + defence = 10, + strength = 10, + restitution = 0.1, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_SMALL_HAT_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_SMALL_HAT_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_SMALL_HAT_3", + max = 50, + min = 0 + } + } + }, + MISC_FB_TINYGLASSES = { + type = "polygon", + vertices = { + {x = 0.2, y = 0.3}, + {x = 0.4, y = 0.2}, + {x = 0.6, y = 0.2}, + {x = 0.85, y = 0.3}, + {x = 0.85, y = 0.7}, + {x = 0.2, y = 0.7} + }, + sprite = "MISC_FB_TINYGLASSES_1", + materialName = "extras", + group = "extras", + groupIndex = 87, + controllable = false, + density = 0.1, + friction = 1, + defence = 4, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100, + damageSprites = { + damage1 = { + sprite = "MISC_FB_TINYGLASSES_1", + max = 100, + min = 75 + }, + damage2 = { + sprite = "MISC_FB_TINYGLASSES_2", + max = 75, + min = 50 + }, + damage3 = { + sprite = "MISC_FB_TINYGLASSES_3", + max = 50, + min = 0 + } + } + }, + HORSE_BASE = { + type = "box", + sprite = "BLOCK_HORSE_BASE", + materialName = "extras", + group = "extras", + groupIndex = 88, + controllable = false, + strength = 80 + }, + BLOCK_GREEN_GOGGLES = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_GOGGLES", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 89, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_PILOTHELMET = { + type = "box", + width = 2, + height = 1, + sprite = "BLOCK_GREEN_PILOTHELMET", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 90, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_SPANNER_2 = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_2", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 91, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + GoldenSpanner = { + type = "box", + width = 1, + height = 4, + sprite = "BLOCK_GREEN_SPANNER_GOLDEN", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 92, + defence = 2, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 3000, + spriteScore = "GEM_SCORE_AMBER_1" + }, + BLOCK_GREEN_OILCANISTER = { + type = "box", + width = 1.5, + height = 2.7, + sprite = "BLOCK_GREEN_OILCANISTER", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 93, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + }, + BLOCK_GREEN_BAG = { + type = "circle", + radius = 1.3, + sprite = "BLOCK_GREEN_BAG", + materialName = "extras", + group = "extras", + density = 0.1, + friction = 1, + groupIndex = 94, + defence = 20, + strength = 10, + restitution = 0, + z_order = 5, + destroyedScoreInc = 100 + } + +} +filename = "blocks.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/cutscene.lua b/Angry Birds Project R/0.3.0/data/scripts/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..745ba37cd2a47a4f2c71c117101dedf2019d1cc5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/cutscene.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/cutscenes.lua b/Angry Birds Project R/0.3.0/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..745ba37cd2a47a4f2c71c117101dedf2019d1cc5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/cutsene.lua b/Angry Birds Project R/0.3.0/data/scripts/cutsene.lua new file mode 100644 index 0000000000000000000000000000000000000000..5ced97a39a0124eee4da06b88ee6cf0cf8c62bec --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/cutsene.lua @@ -0,0 +1,1865 @@ +pack1_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_1_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} + skim_milk_intro = { + { + time = 0, + action = "fitheight", + image = "SKIM_MILK_INTRO" + }, + { + time = 0, + action = "setreferencesize", + image = "SKIM_MILK_INTRO", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "SKIM_MILK_INTRO", + x = 512, + y = 300, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} + } +world2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack2_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_2_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world4_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world5_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_END", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 11.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 11.7, + action = "deletesprite", + name = "eye" + }, + { + time = 12.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 12.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 14.7, action = "end"} +} +pack3_intro = { + { + time = 0, + action = "set_bg_colour", + r = 14, + g = 212, + b = 255 + }, + { + time = 0, + action = "fitwidth", + image = "STORY_3_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_BEGINNING", + width = 1024, + height = 1369 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "set_scroll_position", + scroll_cursor = {x = 0, y = 1}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 1 + } + }, + { + time = 4, + action = "scroll", + duration = 9.9, + type = "cubic_in_out", + scroll_cursor = {x = 0, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 0 + } + }, + {time = 16, action = "end"} +} +world6_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world7_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world8_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 3.5, + action = "scroll", + duration = 3, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 10, + action = "createsprite", + name = "eye", + image = "KING_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 11, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 13, action = "end"} +} +pack4_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_4_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.822, + y = 0 + } + }, + { + time = 16.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 18.7, + action = "playsound", + sound = "big_brother_awakens", + loop = false, + volume = 1, + track = 7 + }, + {time = 21.7, action = "end"} +} +world9_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world10_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world11_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack5_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_5_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world12_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world13_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world14_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack6_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_6_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world15_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world16_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world17_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE4", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.9, action = "end"} +} +pack7_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_7_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world18_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_7_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack8_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_8_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_BEGINNING", + width = 3032, + height = 672 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.78, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +worldS1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack9_intro = { + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_BEGINNING", + width = 2655, + height = 655 + }, + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_BEGINNING" + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.9, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world19_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_MIDDLE" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_MIDDLE", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_MIDDLE", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +filename = "cutscenes.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/cutsene.lua.bak b/Angry Birds Project R/0.3.0/data/scripts/cutsene.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..637a50b938a5c273f2f262d359620406a1e07ff9 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/cutsene.lua.bak @@ -0,0 +1,1865 @@ +pack1_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_1_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} + skim_milk_intro = { + { + time = 0, + action = "fitheight", + image = "SKIM_MILK_INTRO" + }, + { + time = 0, + action = "setreferencesize", + image = "SKIM_MILK_INTRO", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} + } +world2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_1_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_1_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_1_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack2_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_2_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world4_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world5_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_2_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_2_END", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_2_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 11.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 11.7, + action = "deletesprite", + name = "eye" + }, + { + time = 12.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_HOAX_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 12.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 14.7, action = "end"} +} +pack3_intro = { + { + time = 0, + action = "set_bg_colour", + r = 14, + g = 212, + b = 255 + }, + { + time = 0, + action = "fitwidth", + image = "STORY_3_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_BEGINNING", + width = 1024, + height = 1369 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "set_scroll_position", + scroll_cursor = {x = 0, y = 1}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 1 + } + }, + { + time = 4, + action = "scroll", + duration = 9.9, + type = "cubic_in_out", + scroll_cursor = {x = 0, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0, + y = 0 + } + }, + {time = 16, action = "end"} +} +world6_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world7_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world8_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_3_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_3_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_3_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 0, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 3.5, + action = "scroll", + duration = 3, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 10, + action = "createsprite", + name = "eye", + image = "KING_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KING_EYE_1", + x = 0, + y = 0, + z = 1 + }, + { + time = 11, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 13, action = "end"} +} +pack4_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_4_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.822, + y = 0 + } + }, + { + time = 16.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 18.7, + action = "playsound", + sound = "big_brother_awakens", + loop = false, + volume = 1, + track = 7 + }, + {time = 21.7, action = "end"} +} +world9_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world10_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world11_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_4_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_4_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_4_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "deletesprite", + name = "eye" + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "KING_EYE_CAGE_2", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack5_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_5_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 9, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world12_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world13_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world14_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_5_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_5_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_5_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.7, + action = "createsprite", + name = "eye", + image = "SOMBRERO_PIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.3, action = "end"} +} +pack6_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_6_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world15_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world16_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +world17_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_6_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_6_END", + width = 1325, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_6_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 7.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 8.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE4", + x = 0, + y = 0, + z = 1 + }, + { + time = 9.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE2", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + { + time = 10.8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE3", + x = 0, + y = 0, + z = 1 + }, + {time = 12.9, action = "end"} +} +pack7_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_7_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_BEGINNING", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 4.5, + action = "scroll", + duration = 8.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world18_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_7_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_7_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_7_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack8_intro = { + { + time = 0, + action = "fitheight", + image = "STORY_8_BEGINNING" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_BEGINNING", + width = 3032, + height = 672 + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.78, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +worldS1_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_1" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_1", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_1", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS2_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_MIDDLE_2" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_MIDDLE_2", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_MIDDLE_2", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +worldS3_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_8_END" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_8_END", + width = 2048, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_outro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_8_END", + x = 0, + y = 0, + z = 0 + }, + { + time = 2.5, + action = "scroll", + duration = 5, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + { + time = 8, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_2", + x = 0, + y = 0, + z = 1 + }, + { + time = 9, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.3, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_4", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "createsprite", + name = "eye", + image = "KINGPIG_EYE_3", + x = 0, + y = 0, + z = 1 + }, + { + time = 10.5, + action = "playsound", + sound = "piglette_oink_story", + loop = false, + volume = 1, + track = 0 + }, + {time = 12.5, action = "end"} +} +pack9_intro = { + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_BEGINNING", + width = 2655, + height = 655 + }, + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_BEGINNING" + }, + { + time = 0, + action = "playsound", + sound = "birds_intro", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_BEGINNING", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 9.6, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 0.9, + y = 0 + } + }, + {time = 15.6, action = "end"} +} +world19_complete = { + { + time = 0, + action = "fitheight", + image = "STORY_GREEN_MIDDLE" + }, + { + time = 0, + action = "setreferencesize", + image = "STORY_GREEN_MIDDLE", + width = 1438, + height = 659 + }, + { + time = 0, + action = "playsound", + sound = "birds_boss", + loop = false, + volume = 1, + track = 1 + }, + { + time = 0, + action = "createsprite", + name = "background", + image = "STORY_GREEN_MIDDLE", + x = 0, + y = 0, + z = 0 + }, + { + time = 3.5, + action = "scroll", + duration = 2, + type = "cubic_in_out", + scroll_cursor = {x = 1, y = 0}, + scroll_target = { + type = "sprite", + sprite = "background", + x = 1, + y = 0 + } + }, + {time = 7.5, action = "end"} +} +filename = "cutscenes.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/dynamic/default.lua b/Angry Birds Project R/0.3.0/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/episodes.lua b/Angry Birds Project R/0.3.0/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..0759e5919b861489a40f4467d0ba713595347bb0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/episodes_free.lua b/Angry Birds Project R/0.3.0/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/epissodes.lua b/Angry Birds Project R/0.3.0/data/scripts/epissodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..7687d943395cef076482fc55423f5da3e5f0315b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/epissodes.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/fixthescript.lua b/Angry Birds Project R/0.3.0/data/scripts/fixthescript.lua new file mode 100644 index 0000000000000000000000000000000000000000..e581219c95fd76d7d65e2dc211a700a8a8e09592 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/fixthescript.lua @@ -0,0 +1,393 @@ +g_level_scripts = {} +g_goldenEggKeyboardControl = deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl +g_goldenEggKeys = { + "O", + "P", + "E", + "N" +} +g_goldenEggKeyCount = 0 +if deviceModel == "freebox" then + g_rokuCursorVisible = true + g_goldenEggKeys = {"KEY_5"} +end +g_level_scripts.Level5 = { + onLoadLevel = function() + g_goldenEggKeyCount = 0 + end, + onUpdate = function(_ARG_0_, _ARG_1_) + if g_goldenEggKeys[g_goldenEggKeyCount + 1] and keyPressed[g_goldenEggKeys[g_goldenEggKeyCount + 1]] and objects.world.ExtraTreasureChest_1 ~= nil then + g_goldenEggKeyCount = g_goldenEggKeyCount + 1 + end + if (doubleClick == true and not g_goldenEggKeyboardControl or g_goldenEggKeyCount == #g_goldenEggKeys and g_goldenEggKeyboardControl) and objects.world.ExtraTreasureChest_1 ~= nil and (distance(cursorPhysics.x, cursorPhysics.y, objects.world.ExtraTreasureChest_1.x, objects.world.ExtraTreasureChest_1.y) < 2.5 or g_goldenEggKeyboardControl) then + goldenEggAchieved("LevelGE_15") + end + end +} +g_level_scripts.Level34 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraBeachBall_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_2") + end + end +} +g_level_scripts.LevelP2_64 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_5") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_5") + end + end +} +g_level_scripts.LevelP2_67 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_3") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_3") + end + end +} +g_level_scripts.LevelP3_271 = { + onLoadLevel = function() + if settingsWrapper:isBoomerangBirdAchieved() then + _UPVALUE0_("ExtraBoomerangBird_1") + end + end, + onInitLevelComplete = function() + if not settingsWrapper:isBoomerangBirdAchieved() then + showBoomerangBirdPopup = true + end + end, + onBeforeLevelEnding = function() + if showBoomerangBirdPopup == true then + showBoomerangBirdPopup = false + levelCompleteTimer = levelCompleteTimer + 3.6 + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP + }) + settingsWrapper:setBoomerangBirdAchieved() + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP_SHOWN + }) + end + end +} +g_level_scripts.LevelP3_220 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "StaticBalloon03_2" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_6") + end + end +} +g_level_scripts.LevelP3_313 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_8") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_8") + end + end +} +g_level_scripts.LevelP4_426 = { + onLoadLevel = function() + if settingsWrapper:isBoomerangBird2Achieved() then + _UPVALUE0_("ExtraBoomerangBird_1") + end + end, + onInitLevelComplete = function() + if not settingsWrapper:isBoomerangBird2Achieved() then + showBoomerangBirdPopup = true + end + end, + onBeforeLevelEnding = function() + if showBoomerangBirdPopup == true then + showBoomerangBirdPopup = false + levelCompleteTimer = levelCompleteTimer + 3.6 + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP + }) + settingsWrapper:setBoomerangBird2Achieved() + eventManager:notify({ + id = events.EID_BOOMERANG_BIRD_POPUP_SHOWN + }) + end + end +} +g_level_scripts.LevelP4_440 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_9") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_9") + end + end +} +g_level_scripts.LevelP4_444 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraRubberDuck_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_10") + end + end +} +g_level_scripts.LevelP4_478 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_11") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_11") + end + end +} +g_level_scripts.LevelP5_357 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraHolyGrail_4" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_16") + end + end +} +g_level_scripts.LevelP5_650 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_17") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_17") + end + end +} +g_level_scripts.LevelP5_354 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_19") then + _UPVALUE0_("ExtraSuperBowl_2") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraSuperBowl_2" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_19") + end + end +} +g_level_scripts.LevelP5_364 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_18") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_18") + end + end +} +g_level_scripts.Level695 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_20") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_20") + end + end +} +g_level_scripts.Level697 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_21") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_21") + end + end +} +g_level_scripts.LevelP6_7 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_23") then + _UPVALUE0_("ExtraTreasureChest_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraTreasureChest_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_23") + end + end +} +g_level_scripts.LevelH564 = { + onLoadLevel = function() + if settingsWrapper:isGoldenEggUnlocked("LevelGE_24") then + _UPVALUE0_("ExtraGoldenEgg_1") + end + end, + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "ExtraGoldenEgg_1" and not eagleBaitLaunched then + goldenEggAchieved("LevelGE_24") + end + end +} +g_level_scripts.LevelH900 = { + onRemoveBlock = function(_ARG_0_) + if _ARG_0_.name == "SPECIAL_CAKE_1_1" and not eagleBaitLaunched then + if not settingsWrapper:isCakeCollected() then + settingsWrapper:setCakeCollected() + eventManager:notify({ + id = events.EID_REWARD_POPUP, + sprite = "GOLDEN_EGG_SPECIAL_CAKE", + sound = "star_collect" + }) + end + eventManager:notify({ + id = events.EID_CAKE_COLLECTED + }) + end + end +} +g_level_scripts.SOUNDBOARD1 = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("SOUNDBOARD1") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "SOUNDBOARD1" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Soundboard:new() + } + }) + end +} +g_level_scripts.RADIO = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("RADIO") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "RADIO" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Radio:new() + } + }) + end +} +g_level_scripts.KEYBOARD = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("KEYBOARD") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "KEYBOARD" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Keyboard:new() + } + }) + end +} +g_level_scripts.SEQUENCER = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("SEQUENCER") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "SEQUENCER" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Sequencer:new() + } + }) + end +} +g_level_scripts.ACCORDION = { + onPrepareOverride = function() + settingsWrapper:setGoldenEggPlayed("ACCORDION") + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = "ACCORDION" + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadAssets({ + "GOLDEN_EGGS" + }) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = soundboards.Accordion:new() + } + }) + end +} +g_level_scripts.LevelGE_20 = { + onLoadLevel = function() + if loadedObjects.world.StaticBlockTheme17_06_1 and loadedObjects.world.WoodBlock1_1 and loadedObjects.world.WoodBlock1_2 and loadedObjects.world.LightBlock1_1 then + loadedObjects.world.WoodBlock1_1.x = loadedObjects.world.StaticBlockTheme17_06_1.x + _G.math.cos((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.WoodBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.WoodBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + loadedObjects.world.WoodBlock1_1.y = loadedObjects.world.StaticBlockTheme17_06_1.y + _G.math.sin((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.WoodBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.WoodBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + loadedObjects.world.WoodBlock1_2.x = loadedObjects.world.WoodBlock1_1.x + loadedObjects.world.WoodBlock1_2.y = loadedObjects.world.WoodBlock1_1.y + loadedObjects.world.LightBlock1_1.x = loadedObjects.world.StaticBlockTheme17_06_1.x + _G.math.cos((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.LightBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.LightBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + loadedObjects.world.LightBlock1_1.y = loadedObjects.world.StaticBlockTheme17_06_1.y + _G.math.sin((getCurrentTime().minutes / 60 + getCurrentTime().seconds / 3600) * _G.math.pi * 2 - _G.math.pi * 0.5) * _G.math.sqrt(_G.math.pow(loadedObjects.world.LightBlock1_1.x - loadedObjects.world.StaticBlockTheme17_06_1.x, 2) + _G.math.pow(loadedObjects.world.LightBlock1_1.y - loadedObjects.world.StaticBlockTheme17_06_1.y, 2)) + end + end +} +filename = "level_scripts.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/game_conf.lua b/Angry Birds Project R/0.3.0/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..5df0120a71cd1bc15b04b47319485fc7d113f80e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/0.3.0/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/gamelogic.lua b/Angry Birds Project R/0.3.0/data/scripts/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..4f682fb589f0ee854736ae44c48b3828ebe96c73 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/gamelogic.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/iap.lua b/Angry Birds Project R/0.3.0/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/item.lua b/Angry Birds Project R/0.3.0/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/item.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/level_scripts.lua b/Angry Birds Project R/0.3.0/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d24a9f21ee35703ce5b2908d0da63278dbc5c61 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/limityourstars.lua b/Angry Birds Project R/0.3.0/data/scripts/limityourstars.lua new file mode 100644 index 0000000000000000000000000000000000000000..f5fe68d2e54b8c1442756e6ff14b533a7318dcaa Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/limityourstars.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/loadgroups.lua b/Angry Birds Project R/0.3.0/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..af1ea39b22cfbb6a12edff714c069ca749ac4be4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/loadgroups.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menu_flow.lua b/Angry Birds Project R/0.3.0/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus.lua b/Angry Birds Project R/0.3.0/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..59a1623c65cce1c4a89fdca5817e02a7c4c3138d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/accordion.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/ad.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/ad.lua new file mode 100644 index 0000000000000000000000000000000000000000..5bcef1e06d6e3bb4fe6b74b956cf7466b6f1ad58 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/menus/ad.lua @@ -0,0 +1,88 @@ +function magicPlacesButtonExists() + for _FORV_3_ = 1, #g_extra_pages.post do + if g_extra_pages.post[_FORV_3_].name == "magic_button" then + return true + end + end + return _FOR_ +end +ClassicEpisodeSelection = EpisodeSelection:inherit() +function ClassicEpisodeSelection.init(_ARG_0_) + EpisodeSelection.init(_ARG_0_) + if eventManager then + eventManager:addEventListener(events.EID_SERVICE_AVAILABILITY_CHANGED, _ARG_0_) + end +end +function ClassicEpisodeSelection.createMagicPlacesEpisodeButton(_ARG_0_) + _G.table.insert(g_extra_pages.post, 1, { + name = "magic_button", + image = "BTN_EP_MAGIC", + returnValue = "GOTO_MAGIC_MAP" + }) +end +function ClassicEpisodeSelection.onEntry(_ARG_0_) + _ARG_0_.GEClicks = 0 + EpisodeSelection.onEntry(_ARG_0_) + if _G.magicplaces then + if not magicPlacesButtonExists() then + _ARG_0_.createMagicPlacesEpisodeButton() + eventManager:notify({ + id = events.EID_EPISODE_EXTRAS_CHANGED + }) + end + if _ARG_0_:getChild("episodeButtons"):getChild("magic_button") ~= nil then + if _ARG_0_:getChild("episodeButtons"):getChild("magic_button"):getChild("score") == nil then + if deviceModel == "ipad" then + elseif deviceModel == "iphone" and screenWidth >= 960 then + end + ui.Text:new().name = "score" + ui.Text:new().font = "FONT_LS_SMALL" + ui.Text:new().y = _ARG_0_:getChild("episodeButtons"):getChild("magic_button").h / 2 - _ARG_0_:getChild("episodeButtons"):getChild("magic_button").h / (_ARG_0_:getChild("episodeButtons"):getChild("magic_button").h / _ARG_0_:getChild("episodeButtons"):getChild("magic_button").w) / 4.4 - _ARG_0_:getChild("episodeButtons"):getChild("magic_button").h * -0.02 + _ARG_0_:getChild("episodeButtons"):getChild("magic_button"):addChild((ui.Text:new())) + end + ui.Text:new().text = _G.magicplaces.numOfVisitedPlaces() + end + if 0 < settingsWrapper:getGameStarts() and not settingsWrapper:isMagicPlacesStartedBefore() then + settingsWrapper:setMagicPlacesStartedBefore() + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + targetEpisode = #_ARG_0_:getChild("episodeButtons").episodes + }) + _ARG_0_.magic_particles_after = 1 + end + end +end +function ClassicEpisodeSelection.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_2_ > screenWidth * 0.45 and _ARG_2_ < screenWidth * 0.55 and _ARG_3_ > screenHeight * 0.85 and _ARG_3_ < screenHeight * 0.95 then + if _ARG_1_ == "LRELEASE" then + _ARG_0_.GEClicks = _ARG_0_.GEClicks or 0 + _ARG_0_.GEClicks = _ARG_0_.GEClicks + 1 + if _ARG_0_.GEClicks > 1 and not settingsWrapper:isGoldenEggUnlocked("LevelGE_1") then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_1" + }) + end + end + else + _ARG_0_.GEClicks = 0 + end + return EpisodeSelection.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function ClassicEpisodeSelection.eventTriggered(_ARG_0_, _ARG_1_) + EpisodeSelection.eventTriggered(_ARG_0_, _ARG_1_) + if _ARG_1_.id == events.EID_SERVICE_AVAILABILITY_CHANGED and _ARG_1_.serviceName == "magicplaces" and _ARG_1_.available == true and not magicPlacesButtonExists() then + _ARG_0_.createMagicPlacesEpisodeButton() + end +end +function ClassicEpisodeSelection.update(_ARG_0_, _ARG_1_, _ARG_2_) + EpisodeSelection.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.magic_particles_after then + _ARG_0_.magic_particles_after = _ARG_0_.magic_particles_after - _ARG_1_ + if _ARG_0_.magic_particles_after <= 0 then + _G.particles.addParticles("superSlingBurst", 40, _ARG_0_:getChild("magic_button").x - _ARG_0_:getChild("episodeButtons"):getCurrentX(), _ARG_0_:getChild("magic_button").y, _ARG_0_:getChild("magic_button").w, _ARG_0_:getChild("magic_button").h, 0, false, true) + _ARG_0_.magic_particles_after = nil + end + end +end +filename = "episode_selection.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/credits.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca7385aa225ca06ca373de193032e33f33b2278a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..177933c69f0897918edeab0c29393f31d8d45bc7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/episode_selection_extra.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/keyboard.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/radio.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfea2b463142d3e149f8295f505cad64f25de36e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/select.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/select.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f18b66fb9099c3ed0794ee664dbaf50e2465368 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/select.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/sequencer.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/soundboard.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/menus/splashes.lua b/Angry Birds Project R/0.3.0/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/mightyEagle.lua b/Angry Birds Project R/0.3.0/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/options.lua b/Angry Birds Project R/0.3.0/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..84e1d4c22c2a160f1a0dba9426289cab50612378 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/options.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/page.lua b/Angry Birds Project R/0.3.0/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/page.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/particles.lua b/Angry Birds Project R/0.3.0/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..316a7255b2edf210a30b82d132ff67079d1057d6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/select_profiles.lua b/Angry Birds Project R/0.3.0/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/starLimits.lua b/Angry Birds Project R/0.3.0/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..7baf74addff3209b9f67690df144bc3b03684870 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/starrylimits.lua b/Angry Birds Project R/0.3.0/data/scripts/starrylimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..ec49adb168e0dd6ac61eb8b16ee6df54bbc1b872 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/starrylimits.lua @@ -0,0 +1,2247 @@ +Level743 = { + silverScore = 79000, + goldScore = 86000, + eagleScore = 108000, + rovioScore = 3000 +} +W1_1 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 108000, + rovioScore = 3000 +} +Level744 = { + silverScore = 71000, + goldScore = 78000, + eagleScore = 106000, + rovioScore = 3000 +} +Level745 = { + silverScore = 109000, + goldScore = 116000, + eagleScore = 131000, + rovioScore = 3000 +} +Level746 = { + silverScore = 70000, + goldScore = 77000, + eagleScore = 110000, + rovioScore = 3000 +} +Level747 = { + silverScore = 120000, + goldScore = 127000, + eagleScore = 126000, + rovioScore = 3000 +} +Level748 = { + silverScore = 75000, + goldScore = 82000, + eagleScore = 100000, + rovioScore = 3000 +} +Level749 = { + silverScore = 131000, + goldScore = 138000, + eagleScore = 158000, + rovioScore = 3000 +} +Level750 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 109000, + rovioScore = 3000 +} +Level751 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 107000, + rovioScore = 3000 +} +Level764 = { + silverScore = 96000, + goldScore = 103000, + eagleScore = 111000, + rovioScore = 3000 +} +Level765 = { + silverScore = 57000, + goldScore = 64000, + eagleScore = 76000, + rovioScore = 3000 +} +Level766 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 95000, + rovioScore = 3000 +} +Level767 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 113000, + rovioScore = 3000 +} +Level768 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 129000, + rovioScore = 3000 +} +Level769 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 125000, + rovioScore = 3000 +} +LevelH552 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 85000, + rovioScore = 84000 +} +LevelH555 = { + silverScore = 72000, + goldScore = 79000, + eagleScore = 107000, + rovioScore = 100000 +} +LevelH556 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 74000, + rovioScore = 78000 +} +LevelH560 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 69000, + rovioScore = 90000 +} +LevelH561 = { + silverScore = 140000, + goldScore = 150000, + eagleScore = 138000, + rovioScore = 188000 +} +LevelH564 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 88000, + rovioScore = 96000 +} +LevelH565 = { + silverScore = 66000, + goldScore = 74000, + eagleScore = 115000, + rovioScore = 100000 +} +LevelH566 = { + silverScore = 81000, + goldScore = 88000, + eagleScore = 112000, + rovioScore = 102000 +} +LevelH567 = { + silverScore = 74000, + goldScore = 81000, + eagleScore = 110000, + rovioScore = 95000 +} +LevelH806 = { + silverScore = 71000, + goldScore = 78000, + eagleScore = 95000, + rovioScore = 88000 +} +LevelH800 = { + silverScore = 124000, + goldScore = 131000, + eagleScore = 183000, + rovioScore = 136000 +} +LevelH801 = { + silverScore = 91000, + goldScore = 96000, + eagleScore = 132000, + rovioScore = 107000 +} +LevelH802 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 110000, + rovioScore = 100000 +} +LevelH804 = { + silverScore = 67000, + goldScore = 75000, + eagleScore = 95000, + rovioScore = 90000 +} +LevelH900 = { + silverScore = 117000, + goldScore = 125000, + eagleScore = 318000, + rovioScore = 144000 +} +LevelP5_610 = { + silverScore = 67000, + goldScore = 74000, + eagleScore = 92000, + rovioScore = 77000 +} +LevelP5_356 = { + silverScore = 74000, + goldScore = 83000, + eagleScore = 93000, + rovioScore = 88000 +} +LevelP5_615 = { + silverScore = 45000, + goldScore = 52000, + eagleScore = 86000, + rovioScore = 56000 +} +LevelP5_616 = { + silverScore = 72000, + goldScore = 79000, + eagleScore = 102000, + rovioScore = 85000 +} +LevelP5_620 = { + silverScore = 67000, + goldScore = 75000, + eagleScore = 117000, + rovioScore = 83000 +} +LevelP5_341 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 70000, + rovioScore = 68000 +} +LevelP5_339 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 80000, + rovioScore = 72000 +} +LevelP5_628 = { + silverScore = 53000, + goldScore = 59000, + eagleScore = 77000, + rovioScore = 65000 +} +LevelP5_634 = { + silverScore = 89000, + goldScore = 95000, + eagleScore = 116000, + rovioScore = 100000 +} +LevelP5_640 = { + silverScore = 75000, + goldScore = 84000, + eagleScore = 145000, + rovioScore = 92000 +} +LevelP5_347 = { + silverScore = 65000, + goldScore = 73000, + eagleScore = 81000, + rovioScore = 78000 +} +LevelP5_357 = { + silverScore = 69000, + goldScore = 78000, + eagleScore = 97000, + rovioScore = 90000 +} +LevelP5_343 = { + silverScore = 66000, + goldScore = 75000, + eagleScore = 92000, + rovioScore = 88000 +} +LevelP5_352 = { + silverScore = 72000, + goldScore = 80000, + eagleScore = 136000, + rovioScore = 100000 +} +LevelP5_350 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 163000, + rovioScore = 163000 +} +LevelP5_345 = { + silverScore = 67000, + goldScore = 76000, + eagleScore = 95000, + rovioScore = 82000 +} +LevelP5_363 = { + silverScore = 73000, + goldScore = 80000, + eagleScore = 102000, + rovioScore = 95000 +} +LevelP5_631 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 79000, + rovioScore = 81000 +} +LevelP5_355 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 100000, + rovioScore = 96000 +} +LevelP5_348 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 94000, + rovioScore = 110000 +} +LevelP5_366 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 100000, + rovioScore = 107000 +} +LevelP5_635 = { + silverScore = 138000, + goldScore = 145000, + eagleScore = 187000, + rovioScore = 157000 +} +LevelP5_669 = { + silverScore = 51000, + goldScore = 58000, + eagleScore = 82000, + rovioScore = 66000 +} +LevelP5_623 = { + silverScore = 69000, + goldScore = 76000, + eagleScore = 85000, + rovioScore = 82000 +} +LevelP5_650 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 80000, + rovioScore = 65000 +} +LevelP5_664 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 87000, + rovioScore = 98000 +} +LevelP5_354 = { + silverScore = 82000, + goldScore = 90000, + eagleScore = 105000, + rovioScore = 102000 +} +LevelP5_360 = { + silverScore = 46000, + goldScore = 53000, + eagleScore = 86000, + rovioScore = 70000 +} +LevelP5_672 = { + silverScore = 70000, + goldScore = 76000, + eagleScore = 132000, + rovioScore = 85000 +} +LevelP5_361 = { + silverScore = 118000, + goldScore = 125000, + eagleScore = 148000, + rovioScore = 150000 +} +LevelP5_340 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 80000, + rovioScore = 68000 +} +LevelP5_342 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 75000, + rovioScore = 70000 +} +LevelP5_351 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 121000, + rovioScore = 115000 +} +LevelP5_359 = { + silverScore = 115000, + goldScore = 125000, + eagleScore = 138000, + rovioScore = 145000 +} +LevelP5_362 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 126000, + rovioScore = 108000 +} +LevelP5_364 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 122000, + rovioScore = 140000 +} +LevelP5_367 = { + silverScore = 108000, + goldScore = 117000, + eagleScore = 121000, + rovioScore = 123000 +} +LevelP5_627 = { + silverScore = 51000, + goldScore = 58000, + eagleScore = 82000, + rovioScore = 63000 +} +LevelP5_648 = { + silverScore = 61000, + goldScore = 68000, + eagleScore = 91000, + rovioScore = 73000 +} +LevelP5_651 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 87000, + rovioScore = 92000 +} +LevelP5_656 = { + silverScore = 89000, + goldScore = 96000, + eagleScore = 108000, + rovioScore = 104000 +} +LevelP5_662 = { + silverScore = 75000, + goldScore = 83000, + eagleScore = 145000, + rovioScore = 100000 +} +LevelP5_663 = { + silverScore = 64000, + goldScore = 71000, + eagleScore = 112000, + rovioScore = 84000 +} +LevelP5_668 = { + silverScore = 93000, + goldScore = 100000, + eagleScore = 133000, + rovioScore = 112000 +} +LevelP5_671 = { + silverScore = 102000, + goldScore = 109000, + eagleScore = 109000, + rovioScore = 115000 +} +LevelFB_1 = { + silverScore = 105000, + goldScore = 112000, + eagleScore = 133000, + rovioScore = 117000 +} +LevelFB_2 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 80000, + rovioScore = 66000 +} +LevelFB_3 = { + silverScore = 80000, + goldScore = 89000, + eagleScore = 96000, + rovioScore = 94000 +} +LevelP6_1 = { + silverScore = 100000, + goldScore = 107000, + eagleScore = 160000, + rovioScore = 110000 +} +LevelP6_2 = { + silverScore = 105000, + goldScore = 113000, + eagleScore = 169000, + rovioScore = 119000 +} +LevelP6_8 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 121000, + rovioScore = 95000 +} +Level707 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 135000, + rovioScore = 102000 +} +LevelP6_16 = { + silverScore = 101000, + goldScore = 108000, + eagleScore = 114000, + rovioScore = 122000 +} +Level711 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 128000, + rovioScore = 143000 +} +LevelP6_28 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 105000, + rovioScore = 77000 +} +LevelP6_22 = { + silverScore = 93000, + goldScore = 100000, + eagleScore = 130000, + rovioScore = 108000 +} +LevelP6_26 = { + silverScore = 108000, + goldScore = 115000, + eagleScore = 131000, + rovioScore = 140000 +} +Level695 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 142000, + rovioScore = 124000 +} +Level702 = { + silverScore = 80000, + goldScore = 87000, + eagleScore = 115000, + rovioScore = 93000 +} +LevelP6_12 = { + silverScore = 112000, + goldScore = 119000, + eagleScore = 122000, + rovioScore = 126000 +} +Level708 = { + silverScore = 118000, + goldScore = 125000, + eagleScore = 153000, + rovioScore = 133000 +} +Level709 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 144000, + rovioScore = 113000 +} +LevelP6_20 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 173000, + rovioScore = 162000 +} +LevelP6_4 = { + silverScore = 90000, + goldScore = 97000, + eagleScore = 130000, + rovioScore = 109000 +} +Level697 = { + silverScore = 98000, + goldScore = 105000, + eagleScore = 126000, + rovioScore = 109000 +} +LevelP6_13 = { + silverScore = 94000, + goldScore = 101000, + eagleScore = 170000, + rovioScore = 106000 +} +Level704 = { + silverScore = 178000, + goldScore = 185000, + eagleScore = 196000, + rovioScore = 189000 +} +LevelP6_19 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 158000, + rovioScore = 146000 +} +LevelP6_15 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 174000, + rovioScore = 145000 +} +LevelP6_29 = { + silverScore = 86000, + goldScore = 93000, + eagleScore = 102000, + rovioScore = 98000 +} +Level703 = { + silverScore = 146000, + goldScore = 153000, + eagleScore = 182000, + rovioScore = 156000 +} +Level705 = { + silverScore = 100000, + goldScore = 107000, + eagleScore = 130000, + rovioScore = 112000 +} +LevelP6_23 = { + silverScore = 76000, + goldScore = 83000, + eagleScore = 110000, + rovioScore = 96000 +} +LevelP6_25 = { + silverScore = 64000, + goldScore = 71000, + eagleScore = 90000, + rovioScore = 75000 +} +LevelP6_3 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 140000, + rovioScore = 112000 +} +LevelP6_5 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 131000, + rovioScore = 63000 +} +LevelP6_11 = { + silverScore = 95000, + goldScore = 102000, + eagleScore = 173000, + rovioScore = 109000 +} +Level701 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 145000, + rovioScore = 153000 +} +Level713_1 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 148000, + rovioScore = 99000 +} +Level707_1 = { + silverScore = 116000, + goldScore = 123000, + eagleScore = 116000, + rovioScore = 130000 +} +Level698_1 = { + silverScore = 108000, + goldScore = 115000, + eagleScore = 171000, + rovioScore = 150000 +} +LevelP6_30 = { + silverScore = 61000, + goldScore = 68000, + eagleScore = 82000, + rovioScore = 74000 +} +LevelP6_27 = { + silverScore = 91000, + goldScore = 98000, + eagleScore = 105000, + rovioScore = 99000 +} +LevelP6_21 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 101000, + rovioScore = 94000 +} +LevelP6_17 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 133000, + rovioScore = 98000 +} +LevelP6_18 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 146000, + rovioScore = 117000 +} +LevelP6_24 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 130000, + rovioScore = 100000 +} +LevelP6_9 = { + silverScore = 120000, + goldScore = 127000, + eagleScore = 161000, + rovioScore = 150000 +} +LevelP6_6 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 100000, + rovioScore = 105000 +} +LevelP6_10 = { + silverScore = 89000, + goldScore = 96000, + eagleScore = 146000, + rovioScore = 129000 +} +LevelP6_14 = { + silverScore = 98000, + goldScore = 105000, + eagleScore = 155000, + rovioScore = 135000 +} +LevelP6_7 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 148000, + rovioScore = 105000 +} +Level711_1 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 170000, + rovioScore = 123000 +} +LevelP4_421 = { + silverScore = 19000, + goldScore = 22000, + eagleScore = 28000, + rovioScore = 23000 +} +LevelP4_423 = { + silverScore = 27000, + goldScore = 32000, + eagleScore = 53000, + rovioScore = 35000 +} +LevelP4_424 = { + silverScore = 35000, + goldScore = 40000, + eagleScore = 56000, + rovioScore = 45000 +} +LevelP4_425 = { + silverScore = 40000, + goldScore = 45000, + eagleScore = 75000, + rovioScore = 54000 +} +LevelP4_426 = { + silverScore = 27000, + goldScore = 32000, + eagleScore = 51000, + rovioScore = 38000 +} +LevelP4_427 = { + silverScore = 42000, + goldScore = 47000, + eagleScore = 59000, + rovioScore = 51000 +} +LevelP4_428 = { + silverScore = 65000, + goldScore = 74000, + eagleScore = 84000, + rovioScore = 80000 +} +LevelP4_429 = { + silverScore = 47000, + goldScore = 58000, + eagleScore = 60000, + rovioScore = 61000 +} +LevelP4_431 = { + silverScore = 35000, + goldScore = 42000, + eagleScore = 69000, + rovioScore = 48000 +} +LevelP4_432 = { + silverScore = 69000, + goldScore = 77000, + eagleScore = 85000, + rovioScore = 83000 +} +LevelP4_433 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 78000, + rovioScore = 59000 +} +LevelP4_436 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 74000, + rovioScore = 70000 +} +LevelP4_439 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 86000, + rovioScore = 81000 +} +LevelP4_440 = { + silverScore = 58000, + goldScore = 68000, + eagleScore = 84000, + rovioScore = 75000 +} +LevelP4_441 = { + silverScore = 73000, + goldScore = 83000, + eagleScore = 87000, + rovioScore = 90000 +} +LevelP4_442 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 90000, + rovioScore = 73000 +} +LevelP4_443 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 115000, + rovioScore = 99000 +} +LevelP4_444 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 90000, + rovioScore = 82000 +} +LevelP4_445 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 120000, + rovioScore = 102000 +} +LevelP4_448 = { + silverScore = 75000, + goldScore = 83000, + eagleScore = 103000, + rovioScore = 90000 +} +LevelP4_449 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 105000, + rovioScore = 110000 +} +LevelP4_451 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 101000, + rovioScore = 91000 +} +LevelP4_452 = { + silverScore = 65000, + goldScore = 73000, + eagleScore = 85000, + rovioScore = 78000 +} +LevelP4_453 = { + silverScore = 56000, + goldScore = 63000, + eagleScore = 78000, + rovioScore = 69000 +} +LevelP4_454 = { + silverScore = 63000, + goldScore = 70000, + eagleScore = 79000, + rovioScore = 75000 +} +LevelP4_455 = { + silverScore = 115000, + goldScore = 125000, + eagleScore = 129000, + rovioScore = 132000 +} +LevelP4_457 = { + silverScore = 63000, + goldScore = 70000, + eagleScore = 93000, + rovioScore = 81000 +} +LevelP4_458 = { + silverScore = 68000, + goldScore = 78000, + eagleScore = 115000, + rovioScore = 82000 +} +LevelP4_459 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 112000, + rovioScore = 115000 +} +LevelP4_462 = { + silverScore = 90000, + goldScore = 105000, + eagleScore = 95000, + rovioScore = 108000 +} +LevelP4_463 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 138000, + rovioScore = 124000 +} +LevelP4_464 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 120000, + rovioScore = 114000 +} +LevelP4_465 = { + silverScore = 123000, + goldScore = 130000, + eagleScore = 156000, + rovioScore = 140000 +} +LevelP4_466 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 105000, + rovioScore = 94000 +} +LevelP4_467 = { + silverScore = 107000, + goldScore = 116000, + eagleScore = 151000, + rovioScore = 132000 +} +LevelP4_468 = { + silverScore = 90000, + goldScore = 98000, + eagleScore = 105000, + rovioScore = 104000 +} +LevelP4_469 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 131000, + rovioScore = 123000 +} +LevelP4_470 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 142000, + rovioScore = 128000 +} +LevelP4_471 = { + silverScore = 88000, + goldScore = 96000, + eagleScore = 126000, + rovioScore = 107000 +} +LevelP4_472 = { + silverScore = 66000, + goldScore = 73000, + eagleScore = 101000, + rovioScore = 78000 +} +LevelP4_473 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 110000, + rovioScore = 94000 +} +LevelP4_474 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 115000, + rovioScore = 86000 +} +LevelP4_475 = { + silverScore = 85000, + goldScore = 95000, + eagleScore = 131000, + rovioScore = 108000 +} +LevelP4_477 = { + silverScore = 82000, + goldScore = 90000, + eagleScore = 131000, + rovioScore = 96000 +} +LevelP4_478 = { + silverScore = 85000, + goldScore = 95000, + eagleScore = 113000, + rovioScore = 105000 +} +LevelS001 = { + silverScore = 53000, + goldScore = 66000, + rovioScore = 74000, + eagleScore = 51000 +} +LevelS002 = { + silverScore = 44000, + goldScore = 54000, + rovioScore = 59000, + eagleScore = 41000 +} +LevelS003 = { + silverScore = 74000, + goldScore = 84000, + rovioScore = 93000, + eagleScore = 86000 +} +LevelS004 = { + silverScore = 67000, + goldScore = 77000, + rovioScore = 80000, + eagleScore = 77000 +} +LevelS005 = { + silverScore = 100000, + goldScore = 110000, + rovioScore = 112000, + eagleScore = 98000 +} +LevelS006 = { + silverScore = 90000, + goldScore = 96000, + rovioScore = 101000, + eagleScore = 97000 +} +LevelS007 = { + silverScore = 42000, + goldScore = 48000, + rovioScore = 52000, + eagleScore = 43000 +} +LevelS008 = { + silverScore = 66000, + goldScore = 76000, + rovioScore = 83000, + eagleScore = 82000 +} +LevelS009 = { + silverScore = 85000, + goldScore = 95000, + rovioScore = 100000, + eagleScore = 98000 +} +LevelS010 = { + silverScore = 70000, + goldScore = 80000, + rovioScore = 83000, + eagleScore = 86000 +} +LevelS011 = { + silverScore = 67000, + goldScore = 77000, + rovioScore = 87000, + eagleScore = 79000 +} +LevelS012 = { + silverScore = 80000, + goldScore = 90000, + rovioScore = 101000, + eagleScore = 106000 +} +LevelS013 = { + silverScore = 80000, + goldScore = 90000, + rovioScore = 96000, + eagleScore = 97000 +} +LevelS014 = { + silverScore = 81000, + goldScore = 91000, + rovioScore = 98000, + eagleScore = 96000 +} +LevelS015 = { + silverScore = 80000, + goldScore = 88000, + rovioScore = 89000, + eagleScore = 94000 +} +LevelS016 = { + silverScore = 62000, + goldScore = 67000, + rovioScore = 73000, + eagleScore = 88000 +} +LevelS017 = { + silverScore = 92000, + goldScore = 102000, + rovioScore = 110000, + eagleScore = 104000 +} +LevelS018 = { + silverScore = 48000, + goldScore = 55000, + rovioScore = 59000, + eagleScore = 48000 +} +LevelS019 = { + silverScore = 46000, + goldScore = 51000, + rovioScore = 54000, + eagleScore = 94000 +} +LevelS020 = { + silverScore = 85000, + goldScore = 93000, + rovioScore = 102000, + eagleScore = 110000 +} +LevelS021 = { + silverScore = 80000, + goldScore = 88000, + rovioScore = 92000, + eagleScore = 95000 +} +LevelS022 = { + silverScore = 50000, + goldScore = 56000, + rovioScore = 60000, + eagleScore = 85000 +} +LevelS023 = { + silverScore = 75000, + goldScore = 82000, + rovioScore = 87000, + eagleScore = 105000 +} +LevelS024 = { + silverScore = 85000, + goldScore = 95000, + rovioScore = 102000, + eagleScore = 131000 +} +LevelS025 = { + silverScore = 49000, + goldScore = 54000, + rovioScore = 66000, + eagleScore = 70000 +} +LevelS026 = { + silverScore = 105000, + goldScore = 112000, + rovioScore = 122000, + eagleScore = 125000 +} +LevelS027 = { + silverScore = 80000, + goldScore = 89000, + rovioScore = 94000, + eagleScore = 109000 +} +LevelS028 = { + silverScore = 75000, + goldScore = 82000, + rovioScore = 85000, + eagleScore = 119000 +} +LevelS029 = { + silverScore = 82000, + goldScore = 90000, + rovioScore = 104000, + eagleScore = 115000 +} +LevelS030 = { + silverScore = 85000, + goldScore = 92000, + rovioScore = 92000, + eagleScore = 114000 +} +LevelS031 = { + silverScore = 80000, + goldScore = 86000, + eagleScore = 113000 +} +LevelS032 = { + silverScore = 91000, + goldScore = 101000, + eagleScore = 150000 +} +LevelS033 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 104000 +} +LevelS034 = { + silverScore = 120000, + goldScore = 132000, + eagleScore = 203000 +} +LevelS035 = { + silverScore = 80000, + goldScore = 87000, + eagleScore = 119000 +} +LevelS036 = { + silverScore = 109000, + goldScore = 116000, + eagleScore = 152000 +} +LevelS037 = { + silverScore = 79000, + goldScore = 86000, + eagleScore = 115000 +} +LevelS038 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 143000 +} +LevelS039 = { + silverScore = 97000, + goldScore = 107000, + eagleScore = 120000 +} +LevelS040 = { + silverScore = 52000, + goldScore = 62000, + eagleScore = 96000 +} +LevelS041 = { + silverScore = 95000, + goldScore = 103000, + eagleScore = 120000 +} +LevelS042 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 117000 +} +LevelS043 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 102000 +} +LevelS044 = { + silverScore = 102000, + goldScore = 110000, + eagleScore = 140000 +} +LevelS045 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 140000 +} +LevelP3_306 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 146000, + rovioScore = 126000 +} +LevelP3_149 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 73000, + rovioScore = 92000 +} +LevelP3_307 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 102000, + rovioScore = 120000 +} +LevelP3_312 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 73000, + rovioScore = 95000 +} +LevelP3_311 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 100000, + rovioScore = 121000 +} +LevelP3_310 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 106000, + rovioScore = 130000 +} +LevelP3_309 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 100000, + rovioScore = 117000 +} +LevelP3_308 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 139000, + rovioScore = 148000 +} +LevelP3_296 = { + silverScore = 135000, + goldScore = 145000, + eagleScore = 127000, + rovioScore = 153000 +} +LevelP3_301 = { + silverScore = 92000, + goldScore = 102000, + eagleScore = 116000, + rovioScore = 108000 +} +LevelP3_168 = { + silverScore = 135000, + goldScore = 145000, + eagleScore = 172000, + rovioScore = 156000 +} +LevelP3_217 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 112000, + rovioScore = 108000 +} +LevelP3_221 = { + silverScore = 55000, + goldScore = 60000, + eagleScore = 89000, + rovioScore = 68000 +} +LevelP3_297 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 114000, + rovioScore = 103000 +} +LevelP3_313 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 427000, + rovioScore = 149000 +} +LevelP3_166 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 123000, + rovioScore = 127000 +} +LevelP3_237 = { + silverScore = 125000, + goldScore = 135000, + eagleScore = 147000, + rovioScore = 142000 +} +LevelP3_298 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 101000, + rovioScore = 85000 +} +LevelP3_299 = { + silverScore = 120000, + goldScore = 130000, + eagleScore = 122000, + rovioScore = 142000 +} +LevelP3_303 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 92000, + rovioScore = 96000 +} +LevelP3_214 = { + silverScore = 69000, + goldScore = 75000, + eagleScore = 83000, + rovioScore = 84000 +} +LevelP3_159 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 122000, + rovioScore = 103000 +} +LevelP3_164 = { + silverScore = 80000, + goldScore = 90000, + eagleScore = 115000, + rovioScore = 100000 +} +LevelP3_216 = { + silverScore = 56000, + goldScore = 64000, + eagleScore = 94000, + rovioScore = 68000 +} +LevelP3_302 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 109000, + rovioScore = 117000 +} +LevelP3_219 = { + silverScore = 90000, + goldScore = 98000, + eagleScore = 124000, + rovioScore = 104000 +} +LevelP3_163 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 95000, + rovioScore = 96000 +} +LevelP3_160 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 95000, + rovioScore = 64000 +} +LevelP3_161 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 78000, + rovioScore = 71000 +} +LevelP3_304 = { + silverScore = 140000, + goldScore = 150000, + eagleScore = 165000, + rovioScore = 162000 +} +LevelP3_212 = { + silverScore = 50000, + goldScore = 58000, + eagleScore = 77000, + rovioScore = 69000 +} +LevelP3_134 = { + silverScore = 62000, + goldScore = 72000, + eagleScore = 73000, + rovioScore = 77000 +} +LevelP3_162 = { + silverScore = 53000, + goldScore = 63000, + eagleScore = 66000, + rovioScore = 73000 +} +LevelP3_271 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 88000, + rovioScore = 92000 +} +LevelP3_224 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 51000, + rovioScore = 70000 +} +LevelP3_253 = { + silverScore = 68000, + goldScore = 78000, + eagleScore = 72000, + rovioScore = 82000 +} +LevelP3_225 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 115000, + rovioScore = 120000 +} +LevelP3_232 = { + silverScore = 80000, + goldScore = 88000, + eagleScore = 155000, + rovioScore = 92000 +} +LevelP3_150 = { + silverScore = 94000, + goldScore = 100000, + eagleScore = 96000, + rovioScore = 108000 +} +LevelP3_211 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 116000, + rovioScore = 87000 +} +LevelP3_223 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 96000, + rovioScore = 105000 +} +LevelP3_226 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 118000, + rovioScore = 110000 +} +LevelP3_215 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 84000, + rovioScore = 86000 +} +LevelP3_220 = { + silverScore = 82000, + goldScore = 92000, + eagleScore = 84000, + rovioScore = 96000 +} +LevelP3_231 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 150000, + rovioScore = 129000 +} +LevelLite7 = {silverScore = 50000, goldScore = 57000} +LevelLite8 = {silverScore = 50000, goldScore = 56000} +LevelLite9 = {silverScore = 65000, goldScore = 75000} +LevelLite10 = {silverScore = 78000, goldScore = 88000} +LevelLite11 = {silverScore = 55000, goldScore = 60000} +LevelLite12 = {silverScore = 68000, goldScore = 77000} +LevelLite13 = {silverScore = 63000, goldScore = 72000} +LevelLite14 = {silverScore = 90000, goldScore = 100000} +LevelLite15 = {silverScore = 70000, goldScore = 80000} +LevelLite16 = {silverScore = 80000, goldScore = 90000} +LevelLite17 = {silverScore = 50000, goldScore = 60000} +LevelLite18 = {silverScore = 57000, goldScore = 65000} +LevelP2_210 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 91000, + rovioScore = 91000 +} +LevelP2_122 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 95000, + rovioScore = 86000 +} +LevelP2_115 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 100000, + rovioScore = 64000 +} +LevelP2_114 = { + silverScore = 73000, + goldScore = 83000, + eagleScore = 89000, + rovioScore = 89000 +} +LevelP2_108 = { + silverScore = 30000, + goldScore = 40000, + eagleScore = 47000, + rovioScore = 52000 +} +LevelP2_104 = { + silverScore = 68000, + goldScore = 76000, + eagleScore = 81000, + rovioScore = 81000 +} +LevelP2_103 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 53000, + rovioScore = 70000 +} +LevelP2_101 = { + silverScore = 48000, + goldScore = 55000, + rovioScore = 1000 +} +LevelP2_100 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 68000, + rovioScore = 51000 +} +LevelP2_99 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 83000, + rovioScore = 77000 +} +LevelP2_98 = { + silverScore = 50000, + goldScore = 58000, + eagleScore = 67000, + rovioScore = 64000 +} +LevelP2_97 = { + silverScore = 88000, + goldScore = 97000, + eagleScore = 110000, + rovioScore = 107000 +} +LevelP2_96 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 78000, + rovioScore = 63000 +} +LevelP2_95 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 81000, + rovioScore = 102000 +} +LevelP2_94 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 88000, + rovioScore = 71000 +} +LevelP2_93 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 114000, + rovioScore = 111000 +} +LevelP2_92 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 96000, + rovioScore = 86000 +} +LevelP2_91 = { + silverScore = 50000, + goldScore = 56000, + eagleScore = 90000, + rovioScore = 60000 +} +LevelP2_90 = { + silverScore = 160000, + goldScore = 175000, + eagleScore = 171000, + rovioScore = 179000 +} +LevelP2_89 = { + silverScore = 55000, + goldScore = 65000, + eagleScore = 87000, + rovioScore = 71000 +} +LevelP2_88 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 67000, + rovioScore = 58000 +} +LevelP2_87 = { + silverScore = 85000, + goldScore = 100000, + eagleScore = 86000, + rovioScore = 112000 +} +LevelP2_86 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 99000, + rovioScore = 66000 +} +LevelP2_85 = { + silverScore = 35000, + goldScore = 45000, + eagleScore = 60000, + rovioScore = 54000 +} +LevelP2_84 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 67000, + rovioScore = 51000 +} +LevelP2_83 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 80000, + rovioScore = 88000 +} +LevelP2_82 = { + silverScore = 60000, + goldScore = 75000, + eagleScore = 90000, + rovioScore = 93000 +} +LevelP2_81 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 63000, + rovioScore = 52000 +} +LevelP2_80 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 77000, + rovioScore = 61000 +} +LevelP2_79 = { + silverScore = 68000, + goldScore = 77000, + eagleScore = 91000, + rovioScore = 83000 +} +LevelP2_78 = { + silverScore = 48000, + goldScore = 55000, + eagleScore = 70000, + rovioScore = 58000 +} +LevelP2_77 = { + silverScore = 23000, + goldScore = 30000, + eagleScore = 40000, + rovioScore = 33000 +} +LevelP2_76 = { + silverScore = 70000, + goldScore = 85000, + eagleScore = 99000, + rovioScore = 92000 +} +LevelP2_74 = { + silverScore = 64000, + goldScore = 72000, + eagleScore = 115000, + rovioScore = 86000 +} +LevelP2_73 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 103000, + rovioScore = 92000 +} +LevelP2_72 = { + silverScore = 105000, + goldScore = 113000, + eagleScore = 124000, + rovioScore = 115000 +} +LevelP2_71 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 75000, + rovioScore = 64000 +} +LevelP2_69 = { + silverScore = 87000, + goldScore = 93000, + eagleScore = 103000, + rovioScore = 99000 +} +LevelP2_68 = { + silverScore = 98000, + goldScore = 107000, + eagleScore = 119000, + rovioScore = 111000 +} +LevelP2_67 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 119000, + rovioScore = 125000 +} +LevelP2_66 = { + silverScore = 85000, + goldScore = 94000, + eagleScore = 103000, + rovioScore = 106000 +} +LevelP2_65 = { + silverScore = 45000, + goldScore = 55000, + eagleScore = 69000, + rovioScore = 59000 +} +LevelP2_64 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 67000, + rovioScore = 78000 +} +Level27 = { + silverScore = 30000, + goldScore = 36000, + eagleScore = 61000, + rovioScore = 43000 +} +Level44 = { + silverScore = 55000, + goldScore = 75000, + eagleScore = 76000, + rovioScore = 80000 +} +Level17 = { + silverScore = 40000, + goldScore = 53000, + eagleScore = 65000, + rovioScore = 55000 +} +Level1 = { + silverScore = 40000, + goldScore = 45000, + eagleScore = 17000, + rovioScore = 45000 +} +Level11 = { + silverScore = 80000, + goldScore = 86000, + eagleScore = 17000, + rovioScore = 33000 +} +Level9 = { + silverScore = 54000, + goldScore = 57000, + eagleScore = 58000, + rovioScore = 60000 +} +Level20 = { + silverScore = 53000, + goldScore = 70000, + eagleScore = 75000, + rovioScore = 89000 +} +Level36 = { + silverScore = 54000, + goldScore = 62000, + eagleScore = 68000, + rovioScore = 74000 +} +Level35 = { + silverScore = 43000, + goldScore = 60000, + eagleScore = 63000, + rovioScore = 63000 +} +Level95 = { + silverScore = 59000, + goldScore = 68000, + eagleScore = 86000, + rovioScore = 85000 +} +Level96 = { + silverScore = 58000, + goldScore = 75000, + eagleScore = 84000, + rovioScore = 83000 +} +Level53 = { + silverScore = 31000, + goldScore = 41000, + eagleScore = 19400, + rovioScore = 43000 +} +Level45 = { + silverScore = 55000, + goldScore = 65000, + eagleScore = 68000, + rovioScore = 73000 +} +Level51 = { + silverScore = 45000, + goldScore = 50000, + eagleScore = 53000, + rovioScore = 62000 +} +Level81 = { + silverScore = 90000, + goldScore = 107000, + eagleScore = 135000, + rovioScore = 128000 +} +Level59 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 71000, + rovioScore = 62000 +} +Level3 = { + silverScore = 55000, + goldScore = 75000, + eagleScore = 19000, + rovioScore = 29000 +} +Level89 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 116000, + rovioScore = 118000 +} +Level88 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 100000, + rovioScore = 87000 +} +Level57 = { + silverScore = 47000, + goldScore = 60000, + eagleScore = 29000, + rovioScore = 61000 +} +Level85 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 75000, + rovioScore = 72000 +} +Level24 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 52000, + rovioScore = 55000 +} +Level34 = { + silverScore = 48000, + goldScore = 60000, + eagleScore = 58000, + rovioScore = 66000 +} +Level16 = { + silverScore = 25000, + goldScore = 35000, + eagleScore = 39000, + rovioScore = 37000 +} +Level18 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 87000, + rovioScore = 62000 +} +Level12 = { + silverScore = 11000, + goldScore = 125000, + eagleScore = 87000, + rovioScore = 62000 +} +Level91 = { + silverScore = 46000, + goldScore = 55000, + eagleScore = 45000, + rovioScore = 57000 +} +Level23 = { + silverScore = 37000, + goldScore = 50000, + eagleScore = 48000, + rovioScore = 62000 +} +Level32 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 59000, + rovioScore = 70000 +} +Level52 = { + silverScore = 52000, + goldScore = 60000, + eagleScore = 66000, + rovioScore = 68000 +} +Level79 = { + silverScore = 33000, + goldScore = 40000, + eagleScore = 40000, + rovioScore = 48000 +} +Level22 = { + silverScore = 50000, + goldScore = 63000, + eagleScore = 89000, + rovioScore = 66000 +} +Level5 = { + silverScore = 76000, + goldScore = 82000, + eagleScore = 39000, + rovioScore = 56000 +} +Level12 = { + silverScore = 32000, + goldScore = 41000, + eagleScore = 50000, + rovioScore = 51000 +} +Level15 = { + silverScore = 195000, + goldScore = 200000, + eagleScore = 47000, + rovioScore = 66000 +} +Level8 = { + silverScore = 85000, + goldScore = 90000, + eagleScore = 45000, + rovioScore = 69000 +} +Level30 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 67000, + rovioScore = 62000 +} +Level28 = { + silverScore = 47000, + goldScore = 57000, + eagleScore = 65000, + rovioScore = 69000 +} +Level29 = { + silverScore = 33000, + goldScore = 39000, + eagleScore = 55000, + rovioScore = 40000 +} +Level13 = { + silverScore = 95000, + goldScore = 102000, + eagleScore = 41000, + rovioScore = 60000 +} +Level75 = { + silverScore = 42000, + goldScore = 50000, + eagleScore = 59000, + rovioScore = 55000 +} +Level21 = { + silverScore = 45000, + goldScore = 53000, + eagleScore = 85000, + rovioScore = 56000 +} +Level31 = { + silverScore = 43000, + goldScore = 50000, + eagleScore = 37000, + rovioScore = 59000 +} +Level87 = { + silverScore = 80000, + goldScore = 89000, + eagleScore = 88000, + rovioScore = 111000 +} +Level66 = { + silverScore = 42000, + goldScore = 50000, + eagleScore = 71000, + rovioScore = 80000 +} +Level26 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 73000, + rovioScore = 59000 +} +Level41 = { + silverScore = 20000, + goldScore = 28000, + eagleScore = 28000, + rovioScore = 29000 +} +Level40 = { + silverScore = 44000, + goldScore = 50000, + eagleScore = 63000, + rovioScore = 52000 +} +Level42 = { + silverScore = 90000, + goldScore = 102000, + eagleScore = 96000, + rovioScore = 117000 +} +Level77 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 35000, + rovioScore = 61000 +} +Level58 = { + silverScore = 55000, + goldScore = 70000, + eagleScore = 86000, + rovioScore = 75000 +} +Level2 = { + silverScore = 45000, + goldScore = 55000, + eagleScore = 28000, + rovioScore = 44000 +} +Level7 = { + silverScore = 57000, + goldScore = 64000, + eagleScore = 50000, + rovioScore = 56000 +} +Level72 = { + silverScore = 35000, + goldScore = 47000, + eagleScore = 52000, + rovioScore = 51000 +} +Level6 = { + silverScore = 70000, + goldScore = 75000, + eagleScore = 65900, + rovioScore = 68000 +} +Level4 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 42000, + rovioScore = 46000 +} +Level82 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 102000, + rovioScore = 97000 +} +Level38 = { + silverScore = 51000, + goldScore = 69000, + eagleScore = 91000, + rovioScore = 90000 +} +Level39 = { + silverScore = 62000, + goldScore = 70000, + eagleScore = 64000, + rovioScore = 81000 +} +Level43 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 60000, + rovioScore = 65000 +} +Level90 = { + silverScore = 40000, + goldScore = 52000, + eagleScore = 80000, + rovioScore = 59000 +} +Level76 = { + silverScore = 32000, + goldScore = 40000, + eagleScore = 49000, + rovioScore = 43000 +} +Level49 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 86000, + rovioScore = 84000 +} +Level10 = { + silverScore = 95000, + goldScore = 100000, + eagleScore = 49000, + rovioScore = 49000 +} +Level14 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 45000, + rovioScore = 58000 +} +LevelGE_1 = {silverScore = 1000, goldScore = 2000} +LevelGE_2 = {silverScore = 1000, goldScore = 2000} +LevelGE_3 = {silverScore = 1000, goldScore = 2000} +LevelGE_4 = {silverScore = 1000, goldScore = 2000} +LevelGE_5 = {silverScore = 1000, goldScore = 2000} +LevelGE_6 = {silverScore = 1000, goldScore = 2000} +LevelGE_7 = {silverScore = 1000, goldScore = 2000} +LevelGE_8 = {silverScore = 1000, goldScore = 2000} +LevelGE_9 = {silverScore = 1000, goldScore = 2000} +LevelGE_10 = {silverScore = 1000, goldScore = 2000} +LevelGE_11 = {silverScore = 1000, goldScore = 2000} +LevelGE_12 = {silverScore = 1000, goldScore = 2000} +LevelGE_13 = {silverScore = 1000, goldScore = 2000} +LevelGE_14 = {silverScore = 1000, goldScore = 2000} +LevelGE_15 = {silverScore = 1000, goldScore = 2000} +LevelGE_16 = {silverScore = 1000, goldScore = 2000} +LevelGE_17 = {silverScore = 1000, goldScore = 2000} +LevelGE_18 = {silverScore = 1000, goldScore = 2000} +LevelGE_19 = {silverScore = 1000, goldScore = 2000} +LevelGE_20 = {silverScore = 1000, goldScore = 2000} +LevelGE_21 = {silverScore = 1000, goldScore = 2000} +LevelGE_22 = {silverScore = 1000, goldScore = 2000} +LevelGE_23 = {silverScore = 1000, goldScore = 2000} +LevelGE_24 = {silverScore = 1000, goldScore = 2000} +LevelLite1 = {silverScore = 30000, goldScore = 32000} +LevelLite2 = {silverScore = 35000, goldScore = 40000} +LevelLite3 = {silverScore = 40000, goldScore = 48000} +LevelLite4 = {silverScore = 53000, goldScore = 60000} +LevelLite5 = {silverScore = 72000, goldScore = 79000} +LevelLite6 = {silverScore = 42000, goldScore = 49000} +LevelLite7 = {silverScore = 54000, goldScore = 47000} +LevelLite8 = {silverScore = 90000, goldScore = 100000} +LevelLite9 = {silverScore = 70000, goldScore = 80000} +LevelLite10 = {silverScore = 80000, goldScore = 90000} +LevelLite11 = {silverScore = 73000, goldScore = 80000} +LevelLite12 = {silverScore = 57000, goldScore = 65000} +LevelLite13 = {silverScore = 68000, goldScore = 75000} +LevelLite14 = {silverScore = 53000, goldScore = 61000} +LevelLite15 = {silverScore = 76000, goldScore = 86000} +LevelLite16 = {silverScore = 69000, goldScore = 76000} +LevelLite17 = {silverScore = 37000, goldScore = 44000} +LevelLite18 = {silverScore = 57000, goldScore = 64000} +LevelLite19 = {silverScore = 63000, goldScore = 70000} +LevelLite20 = {silverScore = 50000, goldScore = 57000} +LevelLite21 = {silverScore = 53000, goldScore = 60000} +LevelLite22 = {silverScore = 61000, goldScore = 68000} +LevelLite23 = {silverScore = 92000, goldScore = 98000} +LevelLite24 = {silverScore = 78000, goldScore = 85000} +filename = "starLimits.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/starrylimits.lua.bak b/Angry Birds Project R/0.3.0/data/scripts/starrylimits.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..b11459b0a1932fed8b57b7ba003e2b6dad34cb99 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts/starrylimits.lua.bak @@ -0,0 +1,2247 @@ +Level743 = { + silverScore = 79000, + goldScore = 86000, + eagleScore = 108000, + rovioScore = 3000 +} +W1_1 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 108000, + rovioScore = 3000 +} +Level744 = { + silverScore = 71000, + goldScore = 78000, + eagleScore = 106000, + rovioScore = 3000 +} +Level745 = { + silverScore = 109000, + goldScore = 116000, + eagleScore = 131000, + rovioScore = 3000 +} +Level746 = { + silverScore = 70000, + goldScore = 77000, + eagleScore = 110000, + rovioScore = 3000 +} +Level747 = { + silverScore = 120000, + goldScore = 127000, + eagleScore = 126000, + rovioScore = 3000 +} +Level748 = { + silverScore = 75000, + goldScore = 82000, + eagleScore = 100000, + rovioScore = 3000 +} +Level749 = { + silverScore = 131000, + goldScore = 138000, + eagleScore = 158000, + rovioScore = 3000 +} +Level750 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 109000, + rovioScore = 3000 +} +Level751 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 107000, + rovioScore = 3000 +} +Level764 = { + silverScore = 96000, + goldScore = 103000, + eagleScore = 111000, + rovioScore = 3000 +} +Level765 = { + silverScore = 57000, + goldScore = 64000, + eagleScore = 76000, + rovioScore = 3000 +} +Level766 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 95000, + rovioScore = 3000 +} +Level767 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 113000, + rovioScore = 3000 +} +Level768 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 129000, + rovioScore = 3000 +} +Level769 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 125000, + rovioScore = 3000 +} +LevelH552 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 85000, + rovioScore = 84000 +} +LevelH555 = { + silverScore = 72000, + goldScore = 79000, + eagleScore = 107000, + rovioScore = 100000 +} +LevelH556 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 74000, + rovioScore = 78000 +} +LevelH560 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 69000, + rovioScore = 90000 +} +LevelH561 = { + silverScore = 140000, + goldScore = 150000, + eagleScore = 138000, + rovioScore = 188000 +} +LevelH564 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 88000, + rovioScore = 96000 +} +LevelH565 = { + silverScore = 66000, + goldScore = 74000, + eagleScore = 115000, + rovioScore = 100000 +} +LevelH566 = { + silverScore = 81000, + goldScore = 88000, + eagleScore = 112000, + rovioScore = 102000 +} +LevelH567 = { + silverScore = 74000, + goldScore = 81000, + eagleScore = 110000, + rovioScore = 95000 +} +LevelH806 = { + silverScore = 71000, + goldScore = 78000, + eagleScore = 95000, + rovioScore = 88000 +} +LevelH800 = { + silverScore = 124000, + goldScore = 131000, + eagleScore = 183000, + rovioScore = 136000 +} +LevelH801 = { + silverScore = 91000, + goldScore = 96000, + eagleScore = 132000, + rovioScore = 107000 +} +LevelH802 = { + silverScore = 84000, + goldScore = 91000, + eagleScore = 110000, + rovioScore = 100000 +} +LevelH804 = { + silverScore = 67000, + goldScore = 75000, + eagleScore = 95000, + rovioScore = 90000 +} +LevelH900 = { + silverScore = 117000, + goldScore = 125000, + eagleScore = 318000, + rovioScore = 144000 +} +LevelP5_610 = { + silverScore = 67000, + goldScore = 74000, + eagleScore = 92000, + rovioScore = 77000 +} +LevelP5_356 = { + silverScore = 74000, + goldScore = 83000, + eagleScore = 93000, + rovioScore = 88000 +} +LevelP5_615 = { + silverScore = 45000, + goldScore = 52000, + eagleScore = 86000, + rovioScore = 56000 +} +LevelP5_616 = { + silverScore = 72000, + goldScore = 79000, + eagleScore = 102000, + rovioScore = 85000 +} +LevelP5_620 = { + silverScore = 67000, + goldScore = 75000, + eagleScore = 117000, + rovioScore = 83000 +} +LevelP5_341 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 70000, + rovioScore = 68000 +} +LevelP5_339 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 80000, + rovioScore = 72000 +} +LevelP5_628 = { + silverScore = 53000, + goldScore = 59000, + eagleScore = 77000, + rovioScore = 65000 +} +LevelP5_634 = { + silverScore = 89000, + goldScore = 95000, + eagleScore = 116000, + rovioScore = 100000 +} +LevelP5_640 = { + silverScore = 75000, + goldScore = 84000, + eagleScore = 145000, + rovioScore = 92000 +} +LevelP5_347 = { + silverScore = 65000, + goldScore = 73000, + eagleScore = 81000, + rovioScore = 78000 +} +LevelP5_357 = { + silverScore = 69000, + goldScore = 78000, + eagleScore = 97000, + rovioScore = 90000 +} +LevelP5_343 = { + silverScore = 66000, + goldScore = 75000, + eagleScore = 92000, + rovioScore = 88000 +} +LevelP5_352 = { + silverScore = 72000, + goldScore = 80000, + eagleScore = 136000, + rovioScore = 100000 +} +LevelP5_350 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 163000, + rovioScore = 163000 +} +LevelP5_345 = { + silverScore = 67000, + goldScore = 76000, + eagleScore = 95000, + rovioScore = 82000 +} +LevelP5_363 = { + silverScore = 73000, + goldScore = 80000, + eagleScore = 102000, + rovioScore = 95000 +} +LevelP5_631 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 79000, + rovioScore = 81000 +} +LevelP5_355 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 100000, + rovioScore = 96000 +} +LevelP5_348 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 94000, + rovioScore = 110000 +} +LevelP5_366 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 100000, + rovioScore = 107000 +} +LevelP5_635 = { + silverScore = 138000, + goldScore = 145000, + eagleScore = 187000, + rovioScore = 157000 +} +LevelP5_669 = { + silverScore = 51000, + goldScore = 58000, + eagleScore = 82000, + rovioScore = 66000 +} +LevelP5_623 = { + silverScore = 69000, + goldScore = 76000, + eagleScore = 85000, + rovioScore = 82000 +} +LevelP5_650 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 80000, + rovioScore = 65000 +} +LevelP5_664 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 87000, + rovioScore = 98000 +} +LevelP5_354 = { + silverScore = 82000, + goldScore = 90000, + eagleScore = 105000, + rovioScore = 102000 +} +LevelP5_360 = { + silverScore = 46000, + goldScore = 53000, + eagleScore = 86000, + rovioScore = 70000 +} +LevelP5_672 = { + silverScore = 70000, + goldScore = 76000, + eagleScore = 132000, + rovioScore = 85000 +} +LevelP5_361 = { + silverScore = 118000, + goldScore = 125000, + eagleScore = 148000, + rovioScore = 150000 +} +LevelP5_340 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 80000, + rovioScore = 68000 +} +LevelP5_342 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 75000, + rovioScore = 70000 +} +LevelP5_351 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 121000, + rovioScore = 115000 +} +LevelP5_359 = { + silverScore = 115000, + goldScore = 125000, + eagleScore = 138000, + rovioScore = 145000 +} +LevelP5_362 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 126000, + rovioScore = 108000 +} +LevelP5_364 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 122000, + rovioScore = 140000 +} +LevelP5_367 = { + silverScore = 108000, + goldScore = 117000, + eagleScore = 121000, + rovioScore = 123000 +} +LevelP5_627 = { + silverScore = 51000, + goldScore = 58000, + eagleScore = 82000, + rovioScore = 63000 +} +LevelP5_648 = { + silverScore = 61000, + goldScore = 68000, + eagleScore = 91000, + rovioScore = 73000 +} +LevelP5_651 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 87000, + rovioScore = 92000 +} +LevelP5_656 = { + silverScore = 89000, + goldScore = 96000, + eagleScore = 108000, + rovioScore = 104000 +} +LevelP5_662 = { + silverScore = 75000, + goldScore = 83000, + eagleScore = 145000, + rovioScore = 100000 +} +LevelP5_663 = { + silverScore = 64000, + goldScore = 71000, + eagleScore = 112000, + rovioScore = 84000 +} +LevelP5_668 = { + silverScore = 93000, + goldScore = 100000, + eagleScore = 133000, + rovioScore = 112000 +} +LevelP5_671 = { + silverScore = 102000, + goldScore = 109000, + eagleScore = 109000, + rovioScore = 115000 +} +LevelFB_1 = { + silverScore = 105000, + goldScore = 112000, + eagleScore = 133000, + rovioScore = 117000 +} +LevelFB_2 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 80000, + rovioScore = 66000 +} +LevelFB_3 = { + silverScore = 80000, + goldScore = 89000, + eagleScore = 96000, + rovioScore = 94000 +} +LevelP6_1 = { + silverScore = 100000, + goldScore = 107000, + eagleScore = 160000, + rovioScore = 110000 +} +LevelP6_2 = { + silverScore = 105000, + goldScore = 113000, + eagleScore = 169000, + rovioScore = 119000 +} +LevelP6_8 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 121000, + rovioScore = 95000 +} +Level707 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 135000, + rovioScore = 102000 +} +LevelP6_16 = { + silverScore = 101000, + goldScore = 108000, + eagleScore = 114000, + rovioScore = 122000 +} +Level711 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 128000, + rovioScore = 143000 +} +LevelP6_28 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 105000, + rovioScore = 77000 +} +LevelP6_22 = { + silverScore = 93000, + goldScore = 100000, + eagleScore = 130000, + rovioScore = 108000 +} +LevelP6_26 = { + silverScore = 108000, + goldScore = 115000, + eagleScore = 131000, + rovioScore = 140000 +} +Level695 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 142000, + rovioScore = 124000 +} +Level702 = { + silverScore = 80000, + goldScore = 87000, + eagleScore = 115000, + rovioScore = 93000 +} +LevelP6_12 = { + silverScore = 112000, + goldScore = 119000, + eagleScore = 122000, + rovioScore = 126000 +} +Level708 = { + silverScore = 118000, + goldScore = 125000, + eagleScore = 153000, + rovioScore = 133000 +} +Level709 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 144000, + rovioScore = 113000 +} +LevelP6_20 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 173000, + rovioScore = 162000 +} +LevelP6_4 = { + silverScore = 90000, + goldScore = 97000, + eagleScore = 130000, + rovioScore = 109000 +} +Level697 = { + silverScore = 98000, + goldScore = 105000, + eagleScore = 126000, + rovioScore = 109000 +} +LevelP6_13 = { + silverScore = 94000, + goldScore = 101000, + eagleScore = 170000, + rovioScore = 106000 +} +Level704 = { + silverScore = 178000, + goldScore = 185000, + eagleScore = 196000, + rovioScore = 189000 +} +LevelP6_19 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 158000, + rovioScore = 146000 +} +LevelP6_15 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 174000, + rovioScore = 145000 +} +LevelP6_29 = { + silverScore = 86000, + goldScore = 93000, + eagleScore = 102000, + rovioScore = 98000 +} +Level703 = { + silverScore = 146000, + goldScore = 153000, + eagleScore = 182000, + rovioScore = 156000 +} +Level705 = { + silverScore = 100000, + goldScore = 107000, + eagleScore = 130000, + rovioScore = 112000 +} +LevelP6_23 = { + silverScore = 76000, + goldScore = 83000, + eagleScore = 110000, + rovioScore = 96000 +} +LevelP6_25 = { + silverScore = 64000, + goldScore = 71000, + eagleScore = 90000, + rovioScore = 75000 +} +LevelP6_3 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 140000, + rovioScore = 112000 +} +LevelP6_5 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 131000, + rovioScore = 63000 +} +LevelP6_11 = { + silverScore = 95000, + goldScore = 102000, + eagleScore = 173000, + rovioScore = 109000 +} +Level701 = { + silverScore = 133000, + goldScore = 140000, + eagleScore = 145000, + rovioScore = 153000 +} +Level713_1 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 148000, + rovioScore = 99000 +} +Level707_1 = { + silverScore = 116000, + goldScore = 123000, + eagleScore = 116000, + rovioScore = 130000 +} +Level698_1 = { + silverScore = 108000, + goldScore = 115000, + eagleScore = 171000, + rovioScore = 150000 +} +LevelP6_30 = { + silverScore = 61000, + goldScore = 68000, + eagleScore = 82000, + rovioScore = 74000 +} +LevelP6_27 = { + silverScore = 91000, + goldScore = 98000, + eagleScore = 105000, + rovioScore = 99000 +} +LevelP6_21 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 101000, + rovioScore = 94000 +} +LevelP6_17 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 133000, + rovioScore = 98000 +} +LevelP6_18 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 146000, + rovioScore = 117000 +} +LevelP6_24 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 130000, + rovioScore = 100000 +} +LevelP6_9 = { + silverScore = 120000, + goldScore = 127000, + eagleScore = 161000, + rovioScore = 150000 +} +LevelP6_6 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 100000, + rovioScore = 105000 +} +LevelP6_10 = { + silverScore = 89000, + goldScore = 96000, + eagleScore = 146000, + rovioScore = 129000 +} +LevelP6_14 = { + silverScore = 98000, + goldScore = 105000, + eagleScore = 155000, + rovioScore = 135000 +} +LevelP6_7 = { + silverScore = 88000, + goldScore = 95000, + eagleScore = 148000, + rovioScore = 105000 +} +Level711_1 = { + silverScore = 106000, + goldScore = 113000, + eagleScore = 170000, + rovioScore = 123000 +} +LevelP4_421 = { + silverScore = 19000, + goldScore = 22000, + eagleScore = 28000, + rovioScore = 23000 +} +LevelP4_423 = { + silverScore = 27000, + goldScore = 32000, + eagleScore = 53000, + rovioScore = 35000 +} +LevelP4_424 = { + silverScore = 35000, + goldScore = 40000, + eagleScore = 56000, + rovioScore = 45000 +} +LevelP4_425 = { + silverScore = 40000, + goldScore = 45000, + eagleScore = 75000, + rovioScore = 54000 +} +LevelP4_426 = { + silverScore = 27000, + goldScore = 32000, + eagleScore = 51000, + rovioScore = 38000 +} +LevelP4_427 = { + silverScore = 42000, + goldScore = 47000, + eagleScore = 59000, + rovioScore = 51000 +} +LevelP4_428 = { + silverScore = 65000, + goldScore = 74000, + eagleScore = 84000, + rovioScore = 80000 +} +LevelP4_429 = { + silverScore = 47000, + goldScore = 58000, + eagleScore = 60000, + rovioScore = 61000 +} +LevelP4_431 = { + silverScore = 35000, + goldScore = 42000, + eagleScore = 69000, + rovioScore = 48000 +} +LevelP4_432 = { + silverScore = 69000, + goldScore = 77000, + eagleScore = 85000, + rovioScore = 83000 +} +LevelP4_433 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 78000, + rovioScore = 59000 +} +LevelP4_436 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 74000, + rovioScore = 70000 +} +LevelP4_439 = { + silverScore = 68000, + goldScore = 75000, + eagleScore = 86000, + rovioScore = 81000 +} +LevelP4_440 = { + silverScore = 58000, + goldScore = 68000, + eagleScore = 84000, + rovioScore = 75000 +} +LevelP4_441 = { + silverScore = 73000, + goldScore = 83000, + eagleScore = 87000, + rovioScore = 90000 +} +LevelP4_442 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 90000, + rovioScore = 73000 +} +LevelP4_443 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 115000, + rovioScore = 99000 +} +LevelP4_444 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 90000, + rovioScore = 82000 +} +LevelP4_445 = { + silverScore = 83000, + goldScore = 90000, + eagleScore = 120000, + rovioScore = 102000 +} +LevelP4_448 = { + silverScore = 75000, + goldScore = 83000, + eagleScore = 103000, + rovioScore = 90000 +} +LevelP4_449 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 105000, + rovioScore = 110000 +} +LevelP4_451 = { + silverScore = 78000, + goldScore = 85000, + eagleScore = 101000, + rovioScore = 91000 +} +LevelP4_452 = { + silverScore = 65000, + goldScore = 73000, + eagleScore = 85000, + rovioScore = 78000 +} +LevelP4_453 = { + silverScore = 56000, + goldScore = 63000, + eagleScore = 78000, + rovioScore = 69000 +} +LevelP4_454 = { + silverScore = 63000, + goldScore = 70000, + eagleScore = 79000, + rovioScore = 75000 +} +LevelP4_455 = { + silverScore = 115000, + goldScore = 125000, + eagleScore = 129000, + rovioScore = 132000 +} +LevelP4_457 = { + silverScore = 63000, + goldScore = 70000, + eagleScore = 93000, + rovioScore = 81000 +} +LevelP4_458 = { + silverScore = 68000, + goldScore = 78000, + eagleScore = 115000, + rovioScore = 82000 +} +LevelP4_459 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 112000, + rovioScore = 115000 +} +LevelP4_462 = { + silverScore = 90000, + goldScore = 105000, + eagleScore = 95000, + rovioScore = 108000 +} +LevelP4_463 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 138000, + rovioScore = 124000 +} +LevelP4_464 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 120000, + rovioScore = 114000 +} +LevelP4_465 = { + silverScore = 123000, + goldScore = 130000, + eagleScore = 156000, + rovioScore = 140000 +} +LevelP4_466 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 105000, + rovioScore = 94000 +} +LevelP4_467 = { + silverScore = 107000, + goldScore = 116000, + eagleScore = 151000, + rovioScore = 132000 +} +LevelP4_468 = { + silverScore = 90000, + goldScore = 98000, + eagleScore = 105000, + rovioScore = 104000 +} +LevelP4_469 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 131000, + rovioScore = 123000 +} +LevelP4_470 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 142000, + rovioScore = 128000 +} +LevelP4_471 = { + silverScore = 88000, + goldScore = 96000, + eagleScore = 126000, + rovioScore = 107000 +} +LevelP4_472 = { + silverScore = 66000, + goldScore = 73000, + eagleScore = 101000, + rovioScore = 78000 +} +LevelP4_473 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 110000, + rovioScore = 94000 +} +LevelP4_474 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 115000, + rovioScore = 86000 +} +LevelP4_475 = { + silverScore = 85000, + goldScore = 95000, + eagleScore = 131000, + rovioScore = 108000 +} +LevelP4_477 = { + silverScore = 82000, + goldScore = 90000, + eagleScore = 131000, + rovioScore = 96000 +} +LevelP4_478 = { + silverScore = 85000, + goldScore = 95000, + eagleScore = 113000, + rovioScore = 105000 +} +LevelS001 = { + silverScore = 53000, + goldScore = 66000, + rovioScore = 74000, + eagleScore = 51000 +} +LevelS002 = { + silverScore = 44000, + goldScore = 54000, + rovioScore = 59000, + eagleScore = 41000 +} +LevelS003 = { + silverScore = 74000, + goldScore = 84000, + rovioScore = 93000, + eagleScore = 86000 +} +LevelS004 = { + silverScore = 67000, + goldScore = 77000, + rovioScore = 80000, + eagleScore = 77000 +} +LevelS005 = { + silverScore = 100000, + goldScore = 110000, + rovioScore = 112000, + eagleScore = 98000 +} +LevelS006 = { + silverScore = 90000, + goldScore = 96000, + rovioScore = 101000, + eagleScore = 97000 +} +LevelS007 = { + silverScore = 42000, + goldScore = 48000, + rovioScore = 52000, + eagleScore = 43000 +} +LevelS008 = { + silverScore = 66000, + goldScore = 76000, + rovioScore = 83000, + eagleScore = 82000 +} +LevelS009 = { + silverScore = 85000, + goldScore = 95000, + rovioScore = 100000, + eagleScore = 98000 +} +LevelS010 = { + silverScore = 70000, + goldScore = 80000, + rovioScore = 83000, + eagleScore = 86000 +} +LevelS011 = { + silverScore = 67000, + goldScore = 77000, + rovioScore = 87000, + eagleScore = 79000 +} +LevelS012 = { + silverScore = 80000, + goldScore = 90000, + rovioScore = 101000, + eagleScore = 106000 +} +LevelS013 = { + silverScore = 80000, + goldScore = 90000, + rovioScore = 96000, + eagleScore = 97000 +} +LevelS014 = { + silverScore = 81000, + goldScore = 91000, + rovioScore = 98000, + eagleScore = 96000 +} +LevelS015 = { + silverScore = 80000, + goldScore = 88000, + rovioScore = 89000, + eagleScore = 94000 +} +LevelS016 = { + silverScore = 62000, + goldScore = 67000, + rovioScore = 73000, + eagleScore = 88000 +} +LevelS017 = { + silverScore = 92000, + goldScore = 102000, + rovioScore = 110000, + eagleScore = 104000 +} +LevelS018 = { + silverScore = 48000, + goldScore = 55000, + rovioScore = 59000, + eagleScore = 48000 +} +LevelS019 = { + silverScore = 46000, + goldScore = 51000, + rovioScore = 54000, + eagleScore = 94000 +} +LevelS020 = { + silverScore = 85000, + goldScore = 93000, + rovioScore = 102000, + eagleScore = 110000 +} +LevelS021 = { + silverScore = 80000, + goldScore = 88000, + rovioScore = 92000, + eagleScore = 95000 +} +LevelS022 = { + silverScore = 50000, + goldScore = 56000, + rovioScore = 60000, + eagleScore = 85000 +} +LevelS023 = { + silverScore = 75000, + goldScore = 82000, + rovioScore = 87000, + eagleScore = 105000 +} +LevelS024 = { + silverScore = 85000, + goldScore = 95000, + rovioScore = 102000, + eagleScore = 131000 +} +LevelS025 = { + silverScore = 49000, + goldScore = 54000, + rovioScore = 66000, + eagleScore = 70000 +} +LevelS026 = { + silverScore = 105000, + goldScore = 112000, + rovioScore = 122000, + eagleScore = 125000 +} +LevelS027 = { + silverScore = 80000, + goldScore = 89000, + rovioScore = 94000, + eagleScore = 109000 +} +LevelS028 = { + silverScore = 75000, + goldScore = 82000, + rovioScore = 85000, + eagleScore = 119000 +} +LevelS029 = { + silverScore = 82000, + goldScore = 90000, + rovioScore = 104000, + eagleScore = 115000 +} +LevelS030 = { + silverScore = 85000, + goldScore = 92000, + rovioScore = 92000, + eagleScore = 114000 +} +LevelS031 = { + silverScore = 80000, + goldScore = 86000, + eagleScore = 113000 +} +LevelS032 = { + silverScore = 91000, + goldScore = 101000, + eagleScore = 150000 +} +LevelS033 = { + silverScore = 85000, + goldScore = 92000, + eagleScore = 104000 +} +LevelS034 = { + silverScore = 120000, + goldScore = 132000, + eagleScore = 203000 +} +LevelS035 = { + silverScore = 80000, + goldScore = 87000, + eagleScore = 119000 +} +LevelS036 = { + silverScore = 109000, + goldScore = 116000, + eagleScore = 152000 +} +LevelS037 = { + silverScore = 79000, + goldScore = 86000, + eagleScore = 115000 +} +LevelS038 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 143000 +} +LevelS039 = { + silverScore = 97000, + goldScore = 107000, + eagleScore = 120000 +} +LevelS040 = { + silverScore = 52000, + goldScore = 62000, + eagleScore = 96000 +} +LevelS041 = { + silverScore = 95000, + goldScore = 103000, + eagleScore = 120000 +} +LevelS042 = { + silverScore = 92000, + goldScore = 100000, + eagleScore = 117000 +} +LevelS043 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 102000 +} +LevelS044 = { + silverScore = 102000, + goldScore = 110000, + eagleScore = 140000 +} +LevelS045 = { + silverScore = 103000, + goldScore = 110000, + eagleScore = 140000 +} +LevelP3_306 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 146000, + rovioScore = 126000 +} +LevelP3_149 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 73000, + rovioScore = 92000 +} +LevelP3_307 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 102000, + rovioScore = 120000 +} +LevelP3_312 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 73000, + rovioScore = 95000 +} +LevelP3_311 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 100000, + rovioScore = 121000 +} +LevelP3_310 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 106000, + rovioScore = 130000 +} +LevelP3_309 = { + silverScore = 95000, + goldScore = 105000, + eagleScore = 100000, + rovioScore = 117000 +} +LevelP3_308 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 139000, + rovioScore = 148000 +} +LevelP3_296 = { + silverScore = 135000, + goldScore = 145000, + eagleScore = 127000, + rovioScore = 153000 +} +LevelP3_301 = { + silverScore = 92000, + goldScore = 102000, + eagleScore = 116000, + rovioScore = 108000 +} +LevelP3_168 = { + silverScore = 135000, + goldScore = 145000, + eagleScore = 172000, + rovioScore = 156000 +} +LevelP3_217 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 112000, + rovioScore = 108000 +} +LevelP3_221 = { + silverScore = 55000, + goldScore = 60000, + eagleScore = 89000, + rovioScore = 68000 +} +LevelP3_297 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 114000, + rovioScore = 103000 +} +LevelP3_313 = { + silverScore = 130000, + goldScore = 140000, + eagleScore = 427000, + rovioScore = 149000 +} +LevelP3_166 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 123000, + rovioScore = 127000 +} +LevelP3_237 = { + silverScore = 125000, + goldScore = 135000, + eagleScore = 147000, + rovioScore = 142000 +} +LevelP3_298 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 101000, + rovioScore = 85000 +} +LevelP3_299 = { + silverScore = 120000, + goldScore = 130000, + eagleScore = 122000, + rovioScore = 142000 +} +LevelP3_303 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 92000, + rovioScore = 96000 +} +LevelP3_214 = { + silverScore = 69000, + goldScore = 75000, + eagleScore = 83000, + rovioScore = 84000 +} +LevelP3_159 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 122000, + rovioScore = 103000 +} +LevelP3_164 = { + silverScore = 80000, + goldScore = 90000, + eagleScore = 115000, + rovioScore = 100000 +} +LevelP3_216 = { + silverScore = 56000, + goldScore = 64000, + eagleScore = 94000, + rovioScore = 68000 +} +LevelP3_302 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 109000, + rovioScore = 117000 +} +LevelP3_219 = { + silverScore = 90000, + goldScore = 98000, + eagleScore = 124000, + rovioScore = 104000 +} +LevelP3_163 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 95000, + rovioScore = 96000 +} +LevelP3_160 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 95000, + rovioScore = 64000 +} +LevelP3_161 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 78000, + rovioScore = 71000 +} +LevelP3_304 = { + silverScore = 140000, + goldScore = 150000, + eagleScore = 165000, + rovioScore = 162000 +} +LevelP3_212 = { + silverScore = 50000, + goldScore = 58000, + eagleScore = 77000, + rovioScore = 69000 +} +LevelP3_134 = { + silverScore = 62000, + goldScore = 72000, + eagleScore = 73000, + rovioScore = 77000 +} +LevelP3_162 = { + silverScore = 53000, + goldScore = 63000, + eagleScore = 66000, + rovioScore = 73000 +} +LevelP3_271 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 88000, + rovioScore = 92000 +} +LevelP3_224 = { + silverScore = 58000, + goldScore = 65000, + eagleScore = 51000, + rovioScore = 70000 +} +LevelP3_253 = { + silverScore = 68000, + goldScore = 78000, + eagleScore = 72000, + rovioScore = 82000 +} +LevelP3_225 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 115000, + rovioScore = 120000 +} +LevelP3_232 = { + silverScore = 80000, + goldScore = 88000, + eagleScore = 155000, + rovioScore = 92000 +} +LevelP3_150 = { + silverScore = 94000, + goldScore = 100000, + eagleScore = 96000, + rovioScore = 108000 +} +LevelP3_211 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 116000, + rovioScore = 87000 +} +LevelP3_223 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 96000, + rovioScore = 105000 +} +LevelP3_226 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 118000, + rovioScore = 110000 +} +LevelP3_215 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 84000, + rovioScore = 86000 +} +LevelP3_220 = { + silverScore = 82000, + goldScore = 92000, + eagleScore = 84000, + rovioScore = 96000 +} +LevelP3_231 = { + silverScore = 110000, + goldScore = 120000, + eagleScore = 150000, + rovioScore = 129000 +} +LevelLite7 = {silverScore = 50000, goldScore = 57000} +LevelLite8 = {silverScore = 50000, goldScore = 56000} +LevelLite9 = {silverScore = 65000, goldScore = 75000} +LevelLite10 = {silverScore = 78000, goldScore = 88000} +LevelLite11 = {silverScore = 55000, goldScore = 60000} +LevelLite12 = {silverScore = 68000, goldScore = 77000} +LevelLite13 = {silverScore = 63000, goldScore = 72000} +LevelLite14 = {silverScore = 90000, goldScore = 100000} +LevelLite15 = {silverScore = 70000, goldScore = 80000} +LevelLite16 = {silverScore = 80000, goldScore = 90000} +LevelLite17 = {silverScore = 50000, goldScore = 60000} +LevelLite18 = {silverScore = 57000, goldScore = 65000} +LevelP2_210 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 91000, + rovioScore = 91000 +} +LevelP2_122 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 95000, + rovioScore = 86000 +} +LevelP2_115 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 100000, + rovioScore = 64000 +} +LevelP2_114 = { + silverScore = 73000, + goldScore = 83000, + eagleScore = 89000, + rovioScore = 89000 +} +LevelP2_108 = { + silverScore = 30000, + goldScore = 40000, + eagleScore = 47000, + rovioScore = 52000 +} +LevelP2_104 = { + silverScore = 68000, + goldScore = 76000, + eagleScore = 81000, + rovioScore = 81000 +} +LevelP2_103 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 53000, + rovioScore = 70000 +} +LevelP2_101 = { + silverScore = 48000, + goldScore = 55000, + rovioScore = 1000 +} +LevelP2_100 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 68000, + rovioScore = 51000 +} +LevelP2_99 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 83000, + rovioScore = 77000 +} +LevelP2_98 = { + silverScore = 50000, + goldScore = 58000, + eagleScore = 67000, + rovioScore = 64000 +} +LevelP2_97 = { + silverScore = 88000, + goldScore = 97000, + eagleScore = 110000, + rovioScore = 107000 +} +LevelP2_96 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 78000, + rovioScore = 63000 +} +LevelP2_95 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 81000, + rovioScore = 102000 +} +LevelP2_94 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 88000, + rovioScore = 71000 +} +LevelP2_93 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 114000, + rovioScore = 111000 +} +LevelP2_92 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 96000, + rovioScore = 86000 +} +LevelP2_91 = { + silverScore = 50000, + goldScore = 56000, + eagleScore = 90000, + rovioScore = 60000 +} +LevelP2_90 = { + silverScore = 160000, + goldScore = 175000, + eagleScore = 171000, + rovioScore = 179000 +} +LevelP2_89 = { + silverScore = 55000, + goldScore = 65000, + eagleScore = 87000, + rovioScore = 71000 +} +LevelP2_88 = { + silverScore = 50000, + goldScore = 57000, + eagleScore = 67000, + rovioScore = 58000 +} +LevelP2_87 = { + silverScore = 85000, + goldScore = 100000, + eagleScore = 86000, + rovioScore = 112000 +} +LevelP2_86 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 99000, + rovioScore = 66000 +} +LevelP2_85 = { + silverScore = 35000, + goldScore = 45000, + eagleScore = 60000, + rovioScore = 54000 +} +LevelP2_84 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 67000, + rovioScore = 51000 +} +LevelP2_83 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 80000, + rovioScore = 88000 +} +LevelP2_82 = { + silverScore = 60000, + goldScore = 75000, + eagleScore = 90000, + rovioScore = 93000 +} +LevelP2_81 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 63000, + rovioScore = 52000 +} +LevelP2_80 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 77000, + rovioScore = 61000 +} +LevelP2_79 = { + silverScore = 68000, + goldScore = 77000, + eagleScore = 91000, + rovioScore = 83000 +} +LevelP2_78 = { + silverScore = 48000, + goldScore = 55000, + eagleScore = 70000, + rovioScore = 58000 +} +LevelP2_77 = { + silverScore = 23000, + goldScore = 30000, + eagleScore = 40000, + rovioScore = 33000 +} +LevelP2_76 = { + silverScore = 70000, + goldScore = 85000, + eagleScore = 99000, + rovioScore = 92000 +} +LevelP2_74 = { + silverScore = 64000, + goldScore = 72000, + eagleScore = 115000, + rovioScore = 86000 +} +LevelP2_73 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 103000, + rovioScore = 92000 +} +LevelP2_72 = { + silverScore = 105000, + goldScore = 113000, + eagleScore = 124000, + rovioScore = 115000 +} +LevelP2_71 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 75000, + rovioScore = 64000 +} +LevelP2_69 = { + silverScore = 87000, + goldScore = 93000, + eagleScore = 103000, + rovioScore = 99000 +} +LevelP2_68 = { + silverScore = 98000, + goldScore = 107000, + eagleScore = 119000, + rovioScore = 111000 +} +LevelP2_67 = { + silverScore = 105000, + goldScore = 115000, + eagleScore = 119000, + rovioScore = 125000 +} +LevelP2_66 = { + silverScore = 85000, + goldScore = 94000, + eagleScore = 103000, + rovioScore = 106000 +} +LevelP2_65 = { + silverScore = 45000, + goldScore = 55000, + eagleScore = 69000, + rovioScore = 59000 +} +LevelP2_64 = { + silverScore = 60000, + goldScore = 70000, + eagleScore = 67000, + rovioScore = 78000 +} +Level27 = { + silverScore = 30000, + goldScore = 36000, + eagleScore = 61000, + rovioScore = 43000 +} +Level44 = { + silverScore = 55000, + goldScore = 75000, + eagleScore = 76000, + rovioScore = 80000 +} +Level17 = { + silverScore = 40000, + goldScore = 53000, + eagleScore = 65000, + rovioScore = 55000 +} +Level1 = { + silverScore = 40000, + goldScore = 45000, + eagleScore = 17000, + rovioScore = 45000 +} +Level11 = { + silverScore = 80000, + goldScore = 86000, + eagleScore = 17000, + rovioScore = 33000 +} +Level9 = { + silverScore = 54000, + goldScore = 57000, + eagleScore = 58000, + rovioScore = 60000 +} +Level20 = { + silverScore = 53000, + goldScore = 70000, + eagleScore = 75000, + rovioScore = 89000 +} +Level36 = { + silverScore = 54000, + goldScore = 62000, + eagleScore = 68000, + rovioScore = 74000 +} +Level35 = { + silverScore = 43000, + goldScore = 60000, + eagleScore = 63000, + rovioScore = 63000 +} +Level95 = { + silverScore = 59000, + goldScore = 68000, + eagleScore = 86000, + rovioScore = 85000 +} +Level96 = { + silverScore = 58000, + goldScore = 75000, + eagleScore = 84000, + rovioScore = 83000 +} +Level53 = { + silverScore = 31000, + goldScore = 41000, + eagleScore = 19400, + rovioScore = 43000 +} +Level45 = { + silverScore = 55000, + goldScore = 65000, + eagleScore = 68000, + rovioScore = 73000 +} +Level51 = { + silverScore = 45000, + goldScore = 50000, + eagleScore = 53000, + rovioScore = 62000 +} +Level81 = { + silverScore = 90000, + goldScore = 107000, + eagleScore = 135000, + rovioScore = 128000 +} +Level59 = { + silverScore = 50000, + goldScore = 55000, + eagleScore = 71000, + rovioScore = 62000 +} +Level3 = { + silverScore = 55000, + goldScore = 75000, + eagleScore = 19000, + rovioScore = 29000 +} +Level89 = { + silverScore = 100000, + goldScore = 110000, + eagleScore = 116000, + rovioScore = 118000 +} +Level88 = { + silverScore = 70000, + goldScore = 80000, + eagleScore = 100000, + rovioScore = 87000 +} +Level57 = { + silverScore = 47000, + goldScore = 60000, + eagleScore = 29000, + rovioScore = 61000 +} +Level85 = { + silverScore = 55000, + goldScore = 62000, + eagleScore = 75000, + rovioScore = 72000 +} +Level24 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 52000, + rovioScore = 55000 +} +Level34 = { + silverScore = 48000, + goldScore = 60000, + eagleScore = 58000, + rovioScore = 66000 +} +Level16 = { + silverScore = 25000, + goldScore = 35000, + eagleScore = 39000, + rovioScore = 37000 +} +Level18 = { + silverScore = 53000, + goldScore = 60000, + eagleScore = 87000, + rovioScore = 62000 +} +Level12 = { + silverScore = 11000, + goldScore = 125000, + eagleScore = 87000, + rovioScore = 62000 +} +Level91 = { + silverScore = 46000, + goldScore = 55000, + eagleScore = 45000, + rovioScore = 57000 +} +Level23 = { + silverScore = 37000, + goldScore = 50000, + eagleScore = 48000, + rovioScore = 62000 +} +Level32 = { + silverScore = 50000, + goldScore = 60000, + eagleScore = 59000, + rovioScore = 70000 +} +Level52 = { + silverScore = 52000, + goldScore = 60000, + eagleScore = 66000, + rovioScore = 68000 +} +Level79 = { + silverScore = 33000, + goldScore = 40000, + eagleScore = 40000, + rovioScore = 48000 +} +Level22 = { + silverScore = 50000, + goldScore = 63000, + eagleScore = 89000, + rovioScore = 66000 +} +Level5 = { + silverScore = 76000, + goldScore = 82000, + eagleScore = 39000, + rovioScore = 56000 +} +Level12 = { + silverScore = 32000, + goldScore = 41000, + eagleScore = 50000, + rovioScore = 51000 +} +Level15 = { + silverScore = 195000, + goldScore = 200000, + eagleScore = 47000, + rovioScore = 66000 +} +Level8 = { + silverScore = 85000, + goldScore = 90000, + eagleScore = 45000, + rovioScore = 69000 +} +Level30 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 67000, + rovioScore = 62000 +} +Level28 = { + silverScore = 47000, + goldScore = 57000, + eagleScore = 65000, + rovioScore = 69000 +} +Level29 = { + silverScore = 33000, + goldScore = 39000, + eagleScore = 55000, + rovioScore = 40000 +} +Level13 = { + silverScore = 95000, + goldScore = 102000, + eagleScore = 41000, + rovioScore = 60000 +} +Level75 = { + silverScore = 42000, + goldScore = 50000, + eagleScore = 59000, + rovioScore = 55000 +} +Level21 = { + silverScore = 45000, + goldScore = 53000, + eagleScore = 85000, + rovioScore = 56000 +} +Level31 = { + silverScore = 43000, + goldScore = 50000, + eagleScore = 37000, + rovioScore = 59000 +} +Level87 = { + silverScore = 80000, + goldScore = 89000, + eagleScore = 88000, + rovioScore = 111000 +} +Level66 = { + silverScore = 42000, + goldScore = 50000, + eagleScore = 71000, + rovioScore = 80000 +} +Level26 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 73000, + rovioScore = 59000 +} +Level41 = { + silverScore = 20000, + goldScore = 28000, + eagleScore = 28000, + rovioScore = 29000 +} +Level40 = { + silverScore = 44000, + goldScore = 50000, + eagleScore = 63000, + rovioScore = 52000 +} +Level42 = { + silverScore = 90000, + goldScore = 102000, + eagleScore = 96000, + rovioScore = 117000 +} +Level77 = { + silverScore = 40000, + goldScore = 50000, + eagleScore = 35000, + rovioScore = 61000 +} +Level58 = { + silverScore = 55000, + goldScore = 70000, + eagleScore = 86000, + rovioScore = 75000 +} +Level2 = { + silverScore = 45000, + goldScore = 55000, + eagleScore = 28000, + rovioScore = 44000 +} +Level7 = { + silverScore = 57000, + goldScore = 64000, + eagleScore = 50000, + rovioScore = 56000 +} +Level72 = { + silverScore = 35000, + goldScore = 47000, + eagleScore = 52000, + rovioScore = 51000 +} +Level6 = { + silverScore = 70000, + goldScore = 86000, + eagleScore = 65900, + rovioScore = 68000 +} +Level4 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 42000, + rovioScore = 46000 +} +Level82 = { + silverScore = 75000, + goldScore = 85000, + eagleScore = 102000, + rovioScore = 97000 +} +Level38 = { + silverScore = 51000, + goldScore = 69000, + eagleScore = 91000, + rovioScore = 90000 +} +Level39 = { + silverScore = 62000, + goldScore = 70000, + eagleScore = 64000, + rovioScore = 81000 +} +Level43 = { + silverScore = 55000, + goldScore = 63000, + eagleScore = 60000, + rovioScore = 65000 +} +Level90 = { + silverScore = 40000, + goldScore = 52000, + eagleScore = 80000, + rovioScore = 59000 +} +Level76 = { + silverScore = 32000, + goldScore = 40000, + eagleScore = 49000, + rovioScore = 43000 +} +Level49 = { + silverScore = 65000, + goldScore = 75000, + eagleScore = 86000, + rovioScore = 84000 +} +Level10 = { + silverScore = 95000, + goldScore = 100000, + eagleScore = 49000, + rovioScore = 49000 +} +Level14 = { + silverScore = 90000, + goldScore = 100000, + eagleScore = 45000, + rovioScore = 58000 +} +LevelGE_1 = {silverScore = 1000, goldScore = 2000} +LevelGE_2 = {silverScore = 1000, goldScore = 2000} +LevelGE_3 = {silverScore = 1000, goldScore = 2000} +LevelGE_4 = {silverScore = 1000, goldScore = 2000} +LevelGE_5 = {silverScore = 1000, goldScore = 2000} +LevelGE_6 = {silverScore = 1000, goldScore = 2000} +LevelGE_7 = {silverScore = 1000, goldScore = 2000} +LevelGE_8 = {silverScore = 1000, goldScore = 2000} +LevelGE_9 = {silverScore = 1000, goldScore = 2000} +LevelGE_10 = {silverScore = 1000, goldScore = 2000} +LevelGE_11 = {silverScore = 1000, goldScore = 2000} +LevelGE_12 = {silverScore = 1000, goldScore = 2000} +LevelGE_13 = {silverScore = 1000, goldScore = 2000} +LevelGE_14 = {silverScore = 1000, goldScore = 2000} +LevelGE_15 = {silverScore = 1000, goldScore = 2000} +LevelGE_16 = {silverScore = 1000, goldScore = 2000} +LevelGE_17 = {silverScore = 1000, goldScore = 2000} +LevelGE_18 = {silverScore = 1000, goldScore = 2000} +LevelGE_19 = {silverScore = 1000, goldScore = 2000} +LevelGE_20 = {silverScore = 1000, goldScore = 2000} +LevelGE_21 = {silverScore = 1000, goldScore = 2000} +LevelGE_22 = {silverScore = 1000, goldScore = 2000} +LevelGE_23 = {silverScore = 1000, goldScore = 2000} +LevelGE_24 = {silverScore = 1000, goldScore = 2000} +LevelLite1 = {silverScore = 30000, goldScore = 32000} +LevelLite2 = {silverScore = 35000, goldScore = 40000} +LevelLite3 = {silverScore = 40000, goldScore = 48000} +LevelLite4 = {silverScore = 53000, goldScore = 60000} +LevelLite5 = {silverScore = 72000, goldScore = 79000} +LevelLite6 = {silverScore = 42000, goldScore = 49000} +LevelLite7 = {silverScore = 54000, goldScore = 47000} +LevelLite8 = {silverScore = 90000, goldScore = 100000} +LevelLite9 = {silverScore = 70000, goldScore = 80000} +LevelLite10 = {silverScore = 80000, goldScore = 90000} +LevelLite11 = {silverScore = 73000, goldScore = 80000} +LevelLite12 = {silverScore = 57000, goldScore = 65000} +LevelLite13 = {silverScore = 68000, goldScore = 75000} +LevelLite14 = {silverScore = 53000, goldScore = 61000} +LevelLite15 = {silverScore = 76000, goldScore = 86000} +LevelLite16 = {silverScore = 69000, goldScore = 76000} +LevelLite17 = {silverScore = 37000, goldScore = 44000} +LevelLite18 = {silverScore = 57000, goldScore = 64000} +LevelLite19 = {silverScore = 63000, goldScore = 70000} +LevelLite20 = {silverScore = 50000, goldScore = 57000} +LevelLite21 = {silverScore = 53000, goldScore = 60000} +LevelLite22 = {silverScore = 61000, goldScore = 68000} +LevelLite23 = {silverScore = 92000, goldScore = 98000} +LevelLite24 = {silverScore = 78000, goldScore = 85000} +filename = "starLimits.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/0.3.0/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/0.3.0/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..c9e58a57080c0ae98e89eb7145407dc4b078e077 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/0.3.0/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/0.3.0/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts/thatwasntpartofthescript.lua b/Angry Birds Project R/0.3.0/data/scripts/thatwasntpartofthescript.lua new file mode 100644 index 0000000000000000000000000000000000000000..4ec498a4c11fb6094a13eb6e51f4e2dc18e84c17 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts/thatwasntpartofthescript.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/EventManager.lua b/Angry Birds Project R/0.3.0/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/default_conf.lua b/Angry Birds Project R/0.3.0/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ed430eeda0e65636cd64613ab51aa9c64f5ef43 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/0.3.0/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d88bfe75d899bc9e110ac6c81740c1c5532c77b Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/events.lua b/Angry Birds Project R/0.3.0/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..164bdc4820ebea20fc7be8faad3fa38c0bf7a543 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/gamelogic.lua b/Angry Birds Project R/0.3.0/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..4f682fb589f0ee854736ae44c48b3828ebe96c73 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/0.3.0/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/level_effects.lua b/Angry Birds Project R/0.3.0/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f1e0922fce554168278c665ecc637771d56c1cc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/level_utils.lua b/Angry Birds Project R/0.3.0/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..58553501351d5c899e2aaa72982297e6adb24aae Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..2fc6ddd2710c0977629227ea87535b0c9f92d467 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c3685e99422c02b603d0241d1aaa1491bb62e0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/about.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/about.lua new file mode 100644 index 0000000000000000000000000000000000000000..a49a402e4f581d5c35c55a4aa3be485b507c47e5 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts_common/menus/about.lua @@ -0,0 +1,217 @@ +Credits = MainMenuRoot:inherit() +function Credits.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + ui.ImageButton:new().name = "backButton" + ui.ImageButton:new():setImage("ARROW_LEFT") + ui.ImageButton:new().returnValue = "RETURN_TO_MAIN_MENU" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new().clickSound = "menu_back" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Frame:new().name = "creditsFrame" + _ARG_0_:addChild((ui.Frame:new())) + ui.Image:new().name = "birds1" + ui.Image:new():setImage("ABOUT_BIRDS_1") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds2" + ui.Image:new():setImage("ABOUT_BIRDS_2") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds3" + ui.Image:new():setImage("ABOUT_BIRDS_3") + ui.Frame:new():addChild((ui.Image:new())) + if g_hasWebBrowser then + ui.ImageButton:new().name = "privacyButton" + ui.ImageButton:new():setImage("BUTTON_PRIVACY") + ui.ImageButton:new().returnValue = "GOTO_PRIVACY_POLICY" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "eulaButton" + ui.ImageButton:new():setImage("BUTTON_EULA") + ui.ImageButton:new().returnValue = "GOTO_EULA" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + end + ui.Text:new({font = getFontBasic}).name = "textAbout" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + _ARG_0_:setupAboutText() + ui.Text:new({font = getFontBasic}).name = "textCredits" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Text:new({font = getFontBasic}).text = "TEXT_CREDITS" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + if applyChinaRestictions then + ui.Image:new().name = "textAdditionalCredits" + ui.Image:new():setImage("TOM_CREDITS_S60") + ui.Frame:new():addChild((ui.Image:new())) + end + if g_hasWebBrowser then + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "privacyButton", + [4] = "eulaButton", + [5] = "birds2", + [6] = "textCredits", + [7] = "birds3" + } + else + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "birds2", + [4] = "textCredits", + [5] = "birds3" + } + end + if deviceModel == "s60" and applyChinaRestictions then + _G.table.insert(_ARG_0_.items, 7, "textAdditionalCredits") + end +end +function Credits.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "credits", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function Credits.setupAboutText(_ARG_0_) + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT" + if deviceModel == "iphone" or deviceModel == "iphone4" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CLICKGAMER" + end + if deviceModel == "ipad" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CHILLINGO" + end + if deviceModel == "s60" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_S60" + end + if deviceModel == "palm" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_PALM" + end + if deviceModel == "android" then + if isHDVersion then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + else + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID" + end + end + if deviceModel == "blackberry" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + end + _ARG_0_:getChild("textAbout").text = _G.res.getString("TEXTS_BASIC", _ARG_0_:getChild("textAbout").text) + _ARG_0_:getChild("textAbout").text = _G.string.gsub(_ARG_0_:getChild("textAbout").text, "(%$GAME_VERSION)", gameVersionNumber .. " (" .. svnRevisionNumber .. ") - " .. customerString) + _ARG_0_:getChild("textAbout"):clip() +end +function Credits.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + _ARG_0_.state = "RELEASED" + _ARG_0_.scroll = 0 + _ARG_0_.extra_velocity = 0 + _ARG_0_:getChild("textCredits"):clip() +end +function Credits.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + _ARG_0_:setupAboutText() + _ARG_0_.total_height = 0 + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.items) do + if _FORV_6_ > 1 then + _ARG_0_.total_height = _ARG_0_.total_height + screenHeight * 0.05 + end + _ARG_0_:getChild(_FORV_7_).x = screenWidth * 0.5 + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_.total_height + if _ARG_0_:getChild(_FORV_7_).text then + if deviceModel == "freebox" then + _ARG_0_:getChild(_FORV_7_).scaleX = 1.5 + _ARG_0_:getChild(_FORV_7_).scaleY = 1.5 + end + setFont(_ARG_0_:getChild(_FORV_7_).font) + _ARG_0_:getChild(_FORV_7_).textBoxSize = _G.math.min(screenWidth * 0.77, _G.res.getFontLeading() * 1.5 * 20) + _ARG_0_:getChild(_FORV_7_):clip() + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines + elseif _ARG_0_:getChild(_FORV_7_).image then + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) + end + end + _ARG_0_:getChild("backButton"):refresh() + _ARG_0_:getChild("backButton").x = _ARG_0_:getChild("backButton").w * 0.5 + g_layoutMargin.x + _ARG_0_:getChild("backButton").y = screenHeight - _ARG_0_:getChild("backButton").h * 0.5 - g_layoutMargin.y + if deviceModel == "roku" then + _ARG_0_:getChild("backButton").y = _ARG_0_:getChild("backButton").h * 0.5 + g_layoutMargin.y + end +end +function Credits.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "RELEASED" then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_1_ * screenHeight * 0.125 + _ARG_0_.extra_velocity * _ARG_1_ + if _G.math.abs(_ARG_0_.extra_velocity) > 0 then + if _ARG_0_.extra_velocity < 0 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity >= 0 then + _ARG_0_.extra_velocity = 0 + end + else + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity - screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity <= 0 then + _ARG_0_.extra_velocity = 0 + end + end + end + else + _ARG_0_.scroll = _ARG_0_.scroll + (_ARG_0_.last_y or _ARG_0_.drag_start) - cursor.y + _ARG_0_.last_y = cursor.y + end + if _ARG_0_.scroll >= _ARG_0_.total_height + screenHeight then + _ARG_0_.scroll = _ARG_0_.scroll - _ARG_0_.total_height - screenHeight + elseif _ARG_0_.scroll < 0 then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_0_.total_height + screenHeight + end + _ARG_0_:getChild("creditsFrame").y = screenHeight - _ARG_0_.scroll +end +function Credits.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "KEY_MENU" or _ARG_2_ == "ESCAPE") then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + end + if _ARG_1_ == "HOLD" and (_ARG_2_ == "DOWN" or _ARG_2_ == "UP") then + if _G.math.abs(_ARG_0_.extra_velocity) < screenHeight then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * (_ARG_2_ == "UP" and -1 or 1) * screenHeight * 16 + end + end +end +function Credits.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == nil then + if _ARG_1_ == "LPRESS" and _ARG_0_.state == "RELEASED" then + _ARG_0_.state = "DRAGGING" + _ARG_0_.drag_start = cursor.y + _ARG_0_.drag_start_time = g_time + _ARG_0_.last_y = cursor.y + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "RETURN_TO_MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_PRIVACY_POLICY" then + gotoPrivacyPolicy() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EULA" then + gotoEula() + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.state == "DRAGGING" then + _ARG_0_.state = "RELEASED" + if g_time - _ARG_0_.drag_start_time ~= 0 then + _ARG_0_.extra_velocity = (_ARG_0_.drag_start - cursor.y) / (g_time - _ARG_0_.drag_start_time) + else + _ARG_0_.extra_velocity = 0 + end + elseif _ARG_1_ == "WHEEL" and _ARG_0_.state == "RELEASED" and _G.math.abs(_ARG_0_.extra_velocity) < screenHeight * 8 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * -cursor.wheel * screenHeight * 16 + end + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +filename = "credits.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8d162faff205e33758c6d85a45accbb52665b3f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/ads.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/ads.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0bd4329f1c9d8ecd122ecacf0dcde39e3270915 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/ads.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/advertisa.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/advertisa.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/adverts.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/adverts.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..9871f7e2ce23fa1d7b06a1edbb361008fedcac39 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/credit.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/credit.lua new file mode 100644 index 0000000000000000000000000000000000000000..450519ff739d5c5f81cb7764a667842b40a171e6 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/credit.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/credits.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d3ba679ed45a448df8e3aa563134f393c194831 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e068dde7d9eda40d0c11e466003629b779bc37f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/cutsenes.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/cutsenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..763528e56e9079385e543cb806052626c416e19a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts_common/menus/cutsenes.lua @@ -0,0 +1,304 @@ +CutScene = ui.Frame:inherit() +function CutScene.new(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + _ARG_3_ or {}.cutscene = _ARG_1_ + _ARG_3_ or {}.data = cutscenes[_ARG_1_] + _ARG_3_ or {}.end_event = _ARG_2_ + _ARG_3_ or {}.name = "CutScene" + return ui.Frame.new(_ARG_0_, _ARG_3_ or {}) +end +function CutScene.init(_ARG_0_) + ui.Frame.init(_ARG_0_) + ui.ImageButton:new().name = "skip_button" + if deviceModel == "android" and screenHeight < 320 then + ui.ImageButton:new():setImage("BUTTON_SKIP_CUTSCENE_QVGA") + else + ui.ImageButton:new():setImage("BUTTON_SKIP_CUTSCENE") + end + ui.ImageButton:new():setVisible(false) + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function CutScene.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function CutScene.onEntry(_ARG_0_) + _ARG_0_.scroll_x = 0 + _ARG_0_.scroll_y = 0 + _ARG_0_.scale = 1 + _ARG_0_.offset_x = 0 + _ARG_0_.offset_y = 0 + _ARG_0_.x_multiplier = 1 + _ARG_0_.y_multiplier = 1 + _ARG_0_.dataPosition = 1 + _ARG_0_.timeElapsed = 0 + _ARG_0_.sprites = {} + _ARG_0_.fit = "none" + _ARG_0_.result = nil + _ARG_0_.no_scroll = false + _ARG_0_.borders = true + _ARG_0_.draw_game = false + ui.Frame.onEntry(_ARG_0_) + _G.res.stopAllAudio() + if keyHold.LBUTTON then + _ARG_0_.ldown = true + end + if settingsWrapper:canSkipCutscene(_ARG_0_.cutscene) then + _ARG_0_:getChild("skip_button"):setVisible(true) + end + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function CutScene.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.timeElapsed = _ARG_0_.timeElapsed + _ARG_1_ + while _ARG_0_.data[_ARG_0_.dataPosition] and _ARG_0_.data[_ARG_0_.dataPosition].time <= _ARG_0_.timeElapsed do + _ARG_0_:processCommand(_ARG_0_.data[_ARG_0_.dataPosition]) + _ARG_0_.dataPosition = _ARG_0_.dataPosition + 1 + end + if _ARG_0_.scroll and not _ARG_0_.no_scroll then + if _ARG_0_.scroll.type == "linear" then + elseif _ARG_0_.scroll.type == "cubic_in_out" then + end + if 1 <= tweenEaseCubicInOut(_ARG_0_.timeElapsed - _ARG_0_.scroll.begin_time, 0, 1, _ARG_0_.scroll.end_time - _ARG_0_.scroll.begin_time) then + _ARG_0_.scroll = nil + _ARG_0_.scroll_x = _ARG_0_.scroll.end_x + _ARG_0_.scroll_y = _ARG_0_.scroll.end_y + else + _ARG_0_.scroll_x = _ARG_0_.scroll.begin_x + tweenEaseCubicInOut(_ARG_0_.timeElapsed - _ARG_0_.scroll.begin_time, 0, 1, _ARG_0_.scroll.end_time - _ARG_0_.scroll.begin_time) * (_ARG_0_.scroll.end_x - _ARG_0_.scroll.begin_x) + _ARG_0_.scroll_y = _ARG_0_.scroll.begin_y + tweenEaseCubicInOut(_ARG_0_.timeElapsed - _ARG_0_.scroll.begin_time, 0, 1, _ARG_0_.scroll.end_time - _ARG_0_.scroll.begin_time) * (_ARG_0_.scroll.end_y - _ARG_0_.scroll.begin_y) + end + end + ui.Frame.update(_ARG_0_, _ARG_1_, _ARG_2_) +end +function CutScene.processCommand(_ARG_0_, _ARG_1_) + if _ARG_1_.action == "playsound" then + _G.res.playAudio(_ARG_1_.sound, _ARG_1_.volume or 1, _ARG_1_.loop or false, _ARG_1_.track) + elseif _ARG_1_.action == "createsprite" then + _ARG_0_.sprites[_ARG_1_.name] = { + image = _ARG_1_.image, + layer = _ARG_1_.layer or 0, + x = _ARG_1_.x * _ARG_0_.x_multiplier, + y = _ARG_1_.y * _ARG_0_.y_multiplier, + z = _ARG_1_.z or 0, + flip_x = _ARG_1_.flip_x or false, + flip_y = _ARG_1_.flip_y or false, + scale_x = _ARG_1_.scale_x or 1, + scale_y = _ARG_1_.scale_y or 1, + angle = _ARG_1_.angle or 0 + } + elseif _ARG_1_.action == "deletesprite" then + _ARG_0_.sprites[_ARG_1_.name] = nil + elseif _ARG_1_.action == "set_bg_colour" then + setBGColor(_ARG_1_.r, _ARG_1_.g, _ARG_1_.b) + _ARG_0_.backgroundColour = { + r = _ARG_1_.r, + g = _ARG_1_.g, + b = _ARG_1_.b, + a = 1 + } + elseif _ARG_1_.action == "fitheight" then + _ARG_0_.fit = "height" + if _ARG_1_.image then + _ARG_0_.ref_height, _ARG_0_.ref_width = _ARG_0_:getCompoSpriteBounds(_ARG_1_.image or _ARG_0_.sprites[_ARG_1_.sprite].image) + else + _ARG_0_.ref_width = _ARG_1_.width + _ARG_0_.ref_height = _ARG_1_.height + end + _ARG_0_:layout() + print("fitting cutscene to h=" .. _ARG_0_.ref_height .. " scale=" .. _ARG_0_.scale .. "\n") + elseif _ARG_1_.action == "fitwidth" then + _ARG_0_.fit = "width" + if _ARG_1_.image then + _ARG_0_.ref_height, _ARG_0_.ref_width = _ARG_0_:getCompoSpriteBounds(_ARG_1_.image or _ARG_0_.sprites[_ARG_1_.sprite].image) + else + _ARG_0_.ref_width = _ARG_1_.width + _ARG_0_.ref_height = _ARG_1_.height + end + _ARG_0_:layout() + print("fitting cutscene to w=" .. _ARG_0_.ref_width .. " scale=" .. _ARG_0_.scale .. "\n") + elseif _ARG_1_.action == "setreferencesize" then + _ARG_0_.x_multiplier = _G.res.getSpriteBounds(_ARG_1_.image) / _ARG_1_.width + _ARG_0_.y_multiplier = _G.res.getSpriteBounds(_ARG_1_.image) / _ARG_1_.height + elseif _ARG_1_.action == "createnonfullscreencutscene" then + _ARG_0_.sprites[_ARG_1_.name] = { + image = _ARG_1_.image, + layer = _ARG_1_.layer or 0, + x = _ARG_1_.x * screenWidth, + y = _ARG_1_.y * screenHeight, + z = _ARG_1_.z or 0, + flip_x = _ARG_1_.flip_x or false, + flip_y = _ARG_1_.flip_y or false, + scale_x = _ARG_1_.scale_x or 1, + scale_y = _ARG_1_.scale_y or 1, + angle = _ARG_1_.angle or 0 + } + if _ARG_1_.button then + _ARG_0_.sprites[_ARG_1_.button] = { + image = _ARG_1_.button, + layer = _ARG_1_.layer or 0, + x = _ARG_1_.x * screenWidth + _G.res.getSpriteBounds(_ARG_1_.image) * 0.3, + y = _ARG_1_.y * screenHeight + _G.res.getSpriteBounds(_ARG_1_.image) * 0.5, + z = _ARG_1_.z + 0.01 or 0.01, + flip_x = _ARG_1_.flip_x or false, + flip_y = _ARG_1_.flip_y or false, + scale_x = _ARG_1_.scale_x or 1, + scale_y = _ARG_1_.scale_y or 1, + angle = _ARG_1_.angle or 0 + } + end + elseif _ARG_1_.action == "set_scroll_position" then + _ARG_0_.scroll_x = _ARG_0_.sprites[_ARG_1_.scroll_target.sprite].x + _ARG_1_.scroll_target.x * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - _ARG_1_.scroll_cursor.x * (screenWidth / _ARG_0_.scale - _ARG_0_.offset_x * 2) + _ARG_0_.scroll_y = _ARG_0_.sprites[_ARG_1_.scroll_target.sprite].y + _ARG_1_.scroll_target.y * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - _ARG_1_.scroll_cursor.y * (screenHeight / _ARG_0_.scale - _ARG_0_.offset_y * 2) + print("setting scroll position to [" .. _ARG_0_.scroll_x .. ";" .. _ARG_0_.scroll_y .. "]\n") + elseif _ARG_1_.action == "scroll" then + print("CURSOR: " .. _ARG_0_.scroll_x + _ARG_1_.scroll_cursor.x * ((g_cutsceneFilm and _G.math.max(screenWidth, g_cutsceneDimensions.width) or screenWidth) / _ARG_0_.scale - _ARG_0_.offset_x * 2) .. "; TARGET: " .. _ARG_0_.sprites[_ARG_1_.scroll_target.sprite].x + _ARG_1_.scroll_target.x * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) .. "\n") + _ARG_0_.scroll = { + begin_x = _ARG_0_.scroll_x, + end_x = _ARG_0_.scroll_x + (_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].x + _ARG_1_.scroll_target.x * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - (_ARG_0_.scroll_x + _ARG_1_.scroll_cursor.x * ((g_cutsceneFilm and _G.math.max(screenWidth, g_cutsceneDimensions.width) or screenWidth) / _ARG_0_.scale - _ARG_0_.offset_x * 2))), + begin_y = _ARG_0_.scroll_y, + end_y = _ARG_0_.scroll_y + (_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].y + _ARG_1_.scroll_target.y * _ARG_0_:getCompoSpriteBounds(_ARG_0_.sprites[_ARG_1_.scroll_target.sprite].image) - (_ARG_0_.scroll_y + _ARG_1_.scroll_cursor.y * ((g_cutsceneFilm and _G.math.max(screenHeight, g_cutsceneDimensions.height) or screenHeight) / _ARG_0_.scale - _ARG_0_.offset_y * 2))), + begin_time = _ARG_1_.time, + end_time = _ARG_1_.time + _ARG_1_.duration, + type = _ARG_1_.type or "linear" + } + elseif _ARG_1_.action == "end" then + settingsWrapper:setCutsceneWatched(_ARG_0_.cutscene) + saveLuaFileWrapper("settings.lua", "settings", true) + if _ARG_0_.end_event then + eventManager:notify(_ARG_0_.end_event) + end + elseif _ARG_1_.action == "toggle_borders" then + _ARG_0_.borders = _ARG_1_.value + elseif _ARG_1_.action == "toggle_draw_game" then + _ARG_0_.draw_game = _ARG_1_.value + end +end +function CutScene.getCompoSpriteBounds(_ARG_0_, _ARG_1_) + return _G.res.getSpriteBounds(_ARG_1_) +end +function CutScene.layout(_ARG_0_) + _ARG_0_.offset_x = 0 + _ARG_0_.offset_y = 0 + _ARG_0_.scale = 1 + _ARG_0_.no_scroll = false + if _ARG_0_.fit == "height" then + if _ARG_0_.ref_height * g_cutscene_asset_scale > screenHeight then + _ARG_0_.scale = screenHeight / (_ARG_0_.ref_height * g_cutscene_asset_scale) + _ARG_0_.offset_y = 0 + else + _ARG_0_.scale = 1 + _ARG_0_.offset_y = (screenHeight - _ARG_0_.ref_height * g_cutscene_asset_scale) * 0.5 + end + if _ARG_0_.ref_width * g_cutscene_asset_scale < screenWidth and not g_cutsceneFilm then + _ARG_0_.offset_x = (screenWidth - _ARG_0_.ref_width * g_cutscene_asset_scale) * 0.5 + _ARG_0_.no_scroll = true + end + elseif _ARG_0_.fit == "width" then + if _ARG_0_.ref_width * g_cutscene_asset_scale > screenWidth then + _ARG_0_.scale = screenWidth / (_ARG_0_.ref_width * g_cutscene_asset_scale) + _ARG_0_.offset_x = 0 + else + _ARG_0_.scale = 1 + _ARG_0_.offset_x = (screenWidth - _ARG_0_.ref_width * g_cutscene_asset_scale) * 0.5 + end + end + if g_cutsceneFilm then + if screenWidth > g_cutsceneDimensions.width then + _ARG_0_.offset_x = (screenWidth - g_cutsceneDimensions.width) * 0.5 + end + if screenHeight > g_cutsceneDimensions.height then + _ARG_0_.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + elseif screenHeight < g_cutsceneDimensions.height then + _ARG_0_.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + end + print(" film strip mode, offset x=" .. _G.tostring(_ARG_0_.offset_x) .. " y=" .. _G.tostring(_ARG_0_.offset_y) .. "\n") + _ARG_0_.scale = 1 + end + _ARG_0_:getChild("skip_button").x = screenWidth - _G.res.getSpriteBounds(_ARG_0_:getChild("skip_button").image) * 0.55 - g_layoutMargin.x + _ARG_0_:getChild("skip_button").y = screenHeight - _G.res.getSpriteBounds(_ARG_0_:getChild("skip_button").image) * 0.55 - g_layoutMargin.y + _ARG_0_.scale = _ARG_0_.scale * g_cutscene_asset_scale + ui.Frame.layout(_ARG_0_) +end +function CutScene.onExit(_ARG_0_) + _G.res.stopAllAudio() + ui.Frame.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function CutScene.draw(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.draw_game then + drawGame() + end + if g_cutsceneFilm then + setRenderState(0, 0, _G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1), (_G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1))) + _G.res.drawSprite("CUTSCENE_BG", screenWidth * 0.5 / _G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1), screenHeight * 0.5 / _G.math.max(_G.math.max(screenWidth, screenHeight) / _G.math.min(_G.res.getSpriteBounds("CUTSCENE_BG")), 1)) + end + for _FORV_7_, _FORV_8_ in _G.pairs(_ARG_0_.sprites) do + _G.table.insert({}, _FORV_8_) + end + _G.table.sort({}, function(_ARG_0_, _ARG_1_) + return _ARG_0_.z < _ARG_1_.z + end) + setRenderState(0, 0, 1, 1) + if not g_cutsceneFilm and 0 < _ARG_0_.offset_y and _ARG_0_.borders then + drawRect(0, 0, 0, 1, 0, 0, screenWidth, _G.math.ceil(_ARG_0_.offset_y), false) + drawRect(0, 0, 0, 1, 0, _G.math.floor(screenHeight - _ARG_0_.offset_y), screenWidth, screenHeight, false) + end + if not g_cutsceneFilm and 0 < _ARG_0_.offset_x and _ARG_0_.borders then + drawRect(0, 0, 0, 1, 0, 0, _G.math.ceil(_ARG_0_.offset_x), screenHeight, false) + drawRect(0, 0, 0, 1, _G.math.floor(screenWidth - _ARG_0_.offset_x), 0, screenWidth, screenHeight, false) + _G.res.setClipRect(_ARG_0_.offset_x, 0, screenWidth - 2 * _ARG_0_.offset_x, screenHeight) + end + if g_cutsceneFilm and _ARG_0_.backgroundColour then + drawRect(_ARG_0_.backgroundColour.r / 255, _ARG_0_.backgroundColour.g / 255, _ARG_0_.backgroundColour.b / 255, 1, _ARG_0_.offset_x, _ARG_0_.offset_y, screenWidth - _ARG_0_.offset_x, screenHeight - _ARG_0_.offset_y, false) + end + if 0 < _ARG_0_.offset_y or 0 < _ARG_0_.offset_x then + _G.res.setClipRect(_ARG_0_.offset_x, _ARG_0_.offset_y, screenWidth - 2 * _ARG_0_.offset_x, screenHeight - 2 * _ARG_0_.offset_y) + end + for _FORV_12_ = 1, #{} do + if {}[_FORV_12_].flip_x then + end + if {}[_FORV_12_].flip_y then + end + setRenderState(-_G.math.floor(_ARG_0_.scroll_x) + _ARG_0_.offset_x + {}[_FORV_12_].x * _ARG_0_.scale / (_ARG_0_.scale * -1), -_G.math.floor(_ARG_0_.scroll_y) + _ARG_0_.offset_y / g_cutscene_asset_scale + {}[_FORV_12_].y * _ARG_0_.scale / (_ARG_0_.scale * -1), _ARG_0_.scale * -1, _ARG_0_.scale * -1, {}[_FORV_12_].angle, _G.res.getSpritePivot({}[_FORV_12_].image)) + _G.res.drawSprite({}[_FORV_12_].image, 0, 0) + end + setRenderState(0, 0, 1, 1, 0, 0, 0) + _G.res.setClipRect(0, 0, screenWidth, screenHeight) + if g_cutsceneFilm then + _G.res.drawSprite("CUTSCENE_FILMSTRIP_TOP", screenWidth * 0.5, _ARG_0_.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_BOTTOM", screenWidth * 0.5, screenHeight - _ARG_0_.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_LEFT", _ARG_0_.offset_x, _ARG_0_.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_RIGHT", screenWidth - _ARG_0_.offset_x, _ARG_0_.offset_y) + end + ui.Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +function CutScene.skip(_ARG_0_) + _G.res.stopAllAudio() + settingsWrapper:setCutsceneWatched(_ARG_0_.cutscene) + eventManager:notify(_ARG_0_.end_event) +end +if not g_isAccelerometerControl then + function CutScene.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" and (settingsWrapper:canSkipCutscene(_ARG_0_.cutscene) or cheatsEnabled) then + if _ARG_0_.ldown then + _ARG_0_.ldown = nil + else + _ARG_0_:skip() + end + end + return ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function CutScene.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + function CutScene.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "FORWARD" and (settingsWrapper:canSkipCutscene(_ARG_0_.cutscene) or cheatsEnabled) then + _ARG_0_:skip() + end + end +end +filename = "cutscene.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..3359c975c75cb51420616f0fb4fdc8df1c2980b7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..931742e304deea1ff3adea2f7d2e7ee16986f4eb Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..c11c750975d07f10dab7bbc23cd7b5ef9efa7dc7 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..67dc11d940875d5520fac91a2ecbfe528cb7a98f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/loading.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..ecf52854ba123b83206e78013d81f73e2ebd8bd3 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..d152b9cec47870a5a911b12d5ed499c7ae59e10e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/maine.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/maine.lua new file mode 100644 index 0000000000000000000000000000000000000000..7066efc9f5100237d8e7cfdeefed824ee53971ce --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts_common/menus/maine.lua @@ -0,0 +1,1134 @@ +MainMenuRoot = ui.Frame:inherit() +g_bird_animations = {} +g_bird_sprites = {} +function MainMenuRoot.init(_ARG_0_) + _ARG_0_.name = "mainMenuRoot" + _ARG_0_.backgroundColour = { + r = 11, + g = 101, + b = 76, + a = 255 + } +end +function MainMenuRoot.onEntry(_ARG_0_) + ui.Frame.onEntry(_ARG_0_) + if settingsWrapper:getCurrentMainMenuTheme() and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()] and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color then + _ARG_0_.backgroundColour = { + r = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.r, + g = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.g, + b = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.b, + a = 255 + } + end + _ARG_0_:buildBirdList() +end +function MainMenuRoot.buildBirdList(_ARG_0_) + g_bird_sprites = {} + for _FORV_6_, _FORV_7_ in _G.pairs((settingsWrapper:getTutorials())) do + if _FORV_6_ == "BAIT_SARDINE" then + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 1, + scale = 1 + }) + else + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 0, + scale = 1 + }) + end + end + if #g_bird_sprites == 0 then + _G.table.insert(g_bird_sprites, { + sprite = "BIRD_RED", + reward = 0, + scale = 1 + }) + end + for _FORV_7_, _FORV_8_ in _G.ipairs(g_episodeIds) do + for _FORV_13_ = 1, #g_episodes[_FORV_8_].pages do + if not g_episodes[_FORV_8_].pages[_FORV_13_].extra and not g_episodes[_FORV_8_].pages[_FORV_13_].disregard_in_rewards then + end + end + _FOR_.projectile = 1 + if g_episodes[_FORV_8_].reward_three_stars and settingsWrapper:isEpisodeThreeStarred(_FORV_8_) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + elseif g_episodes[_FORV_8_].reward_completion and isEpisodeCompleted(g_episodes[_FORV_8_]) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + end + end + if calculateAllFeathers() >= 200 then + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + end +end +function MainMenuRoot.layout(_ARG_0_) + _ARG_0_.current_zoom_level = settingsWrapper:getCurrentZoomLevelMainMenu() + _ARG_0_.camera_top = -2 * screenHeight / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.605)) + _G.res.getSpriteBounds("BUTTON_EMPTY") * 2.15 / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.5)) + setWorldScale(0.5 * screenHeight / 400 / (_ARG_0_.current_zoom_level * 0.66)) + setTheme((settingsWrapper:getCurrentMainMenuTheme())) + setLevelEffects((settingsWrapper:getCurrentMainMenuTheme())) + if blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].menuWater then + objects.waterLevel = 20 + else + objects.waterLevel = nil + end + ui.Frame.layout(_ARG_0_) +end +function MainMenuRoot.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) + _ARG_0_:drawSelf() + ui.Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) +end +function MainMenuRoot.drawSelf(_ARG_0_) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + _ARG_0_:drawBirds() + drawForegroundNative() +end +function MainMenuRoot.drawBirds(_ARG_0_) + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 3 then + setRenderState(0, 0, _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.7 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.7 * (screenHeight / 640)) - screenHeight * 0.2 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 4 then + setRenderState(0, 0, _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.8 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.8 * (screenHeight / 640)) - screenHeight * 0.125 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 5 then + setRenderState(0, 0, _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.9 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.9 * (screenHeight / 640)))) + end + end +end +function MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.Frame.update(_ARG_0_, _ARG_1_, _ARG_2_) + setTopLeft(50 * _ARG_2_, _ARG_0_.camera_top) + _ARG_0_:animateBirds(_ARG_1_) + if _G.res.isAudioPlaying(currentMainMenuSong) == false and currentMainMenuSong ~= nil then + _G.res.playAudio(currentMainMenuSong, 0.8, true, 7) + end + updateLevelEffects(_ARG_1_, _ARG_2_) +end +function MainMenuRoot.animateBirds(_ARG_0_, _ARG_1_) + if #g_bird_sprites * 0.75 > #g_bird_animations and _G.math.random(1, 5) == 1 then + if _G.math.random(3, 5) == 1 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 1 then + elseif g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 2 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite == "BIRD_PUFFER_1" then + else + end + _G.table.insert(g_bird_animations, { + sprite = g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite, + yell_sprite = "BIRD_PINK_BLINK", + angle = 0, + angleSpeed = _G.math.random() * _G.math.pi * 1.5, + x = _G.math.random(screenWidth * 0.1, screenWidth * 0.9), + y = screenHeight + 30 * screenHeight / 320, + xVel = 0, + yVel = _G.math.random(-250, -150) * (_G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale) * (screenHeight / 320 + 1) * 0.175, + scale = _G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale, + layer = _G.math.random(3, 5), + spriteHeight = _G.res.getSpriteBounds("", g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite) + }) + end + for _FORV_7_ = #g_bird_animations, 1, -1 do + if g_bird_animations[_FORV_7_].reward == 2 then + g_bird_animations[_FORV_7_].angle = _G.math.sin(g_bird_animations[_FORV_7_].angleSpeed) * 0.15 + g_bird_animations[_FORV_7_].angleSpeed = (g_bird_animations[_FORV_7_].angleSpeed + _ARG_1_ * 2) % (_G.math.pi * 2) + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x - g_bird_animations[_FORV_7_].angle * g_bird_animations[_FORV_7_].layer * _ARG_1_ * 30 + else + g_bird_animations[_FORV_7_].yVel = g_bird_animations[_FORV_7_].yVel + 150 * _ARG_1_ + g_bird_animations[_FORV_7_].angle = g_bird_animations[_FORV_7_].angle + g_bird_animations[_FORV_7_].angleSpeed * _ARG_1_ + end + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x + g_bird_animations[_FORV_7_].xVel * _ARG_1_ + g_bird_animations[_FORV_7_].y = g_bird_animations[_FORV_7_].y + g_bird_animations[_FORV_7_].yVel * _ARG_1_ + if g_bird_animations[_FORV_7_].y > screenHeight + 50 * screenHeight / 320 or (g_bird_animations[_FORV_7_].reward == 2 or g_bird_animations[_FORV_7_].reward == 2) and g_bird_animations[_FORV_7_].y < -g_bird_animations[_FORV_7_].spriteHeight then + _G.table.remove(g_bird_animations, _FORV_7_) + end + end +end +MainMenuSlider = ui.BackgroundBox:inherit() +function MainMenuSlider.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_:setState("CLOSED") + _ARG_0_.slide_amount = 0 + _ARG_0_.components = { + topLeft = "MENU_SLIDER_BG_TOP_LEFT", + left = "MENU_SLIDER_BG_LEFT", + right = "MENU_SLIDER_BG_RIGHT", + topRight = "MENU_SLIDER_BG_TOP_RIGHT", + topMiddle = "MENU_SLIDER_BG_TOP_MIDDLE", + center = "MENU_SLIDER_BG_CENTER" + } + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "BOTTOM" + _ARG_0_.element_width = 0 + _ARG_0_.element_height = 0 + _ARG_0_.element_gap = 0 + _ARG_0_.bottom_margin = 0 + _ARG_0_.width = 0 + _ARG_0_.height = 0 +end +function MainMenuSlider.setState(_ARG_0_, _ARG_1_) + _ARG_0_.state = _ARG_1_ + _ARG_0_.visible = _ARG_1_ ~= "CLOSED" + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.children) do + _FORV_7_.visible = _ARG_1_ ~= "CLOSED" + end +end +function MainMenuSlider.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") +end +function MainMenuSlider.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_:setState("CLOSING") + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_:setState("OPENING") + end +end +function MainMenuSlider.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.height = _ARG_0_.height + _ARG_1_ * screenHeight * 0.8 + if #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin <= _ARG_0_.height then + _ARG_0_.height = #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin + _ARG_0_:setState("OPEN") + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.height = _ARG_0_.height - _ARG_1_ * screenHeight * 0.8 + if _ARG_0_.height < 0 then + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") + end + end + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "CLOSING" or _ARG_0_.state == "CLOSED" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -_ARG_0_.height + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if 0 <= _ARG_0_.children[_FORV_7_].y then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + elseif _ARG_0_.state == "OPENING" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -(#_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin) + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if -_ARG_0_.children[_FORV_7_].y > _ARG_0_.height then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + end + _FOR_.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenuSlider.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_0_.state == "OPEN" then + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +ToggleIndicator = ui.Image:inherit() +function ToggleIndicator.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.onEntry(_ARG_0_) + ui.Image.onEntry(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_.state = "CLOSING" + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_.state = "OPENING" + end +end +function ToggleIndicator.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.angle = _ARG_0_.angle + _ARG_1_ * 16 + if _ARG_0_.angle >= 3.14159 then + _ARG_0_.angle = 3.14159 + _ARG_0_.state = "OPEN" + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.angle = _ARG_0_.angle - _ARG_1_ * 16 + if _ARG_0_.angle < 0 then + _ARG_0_.angle = 0 + _ARG_0_.state = "CLOSED" + end + end +end +AdSplashPage = ui.Image:inherit() +function AdSplashPage.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_:setImage("MAIN_MENU_AD_IMAGE") + ui.ImageButton:new().name = "ok_button" + ui.ImageButton:new():setImage("MENU_YES") + ui.ImageButton:new().returnValue = "OPEN_AD_SPLASH_LINK" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "cancel_button" + ui.ImageButton:new():setImage("MENU_NO") + ui.ImageButton:new().returnValue = "CLOSE_AD_SPLASH" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AdSplashPage.layout(_ARG_0_) + ui.Image.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_:getChild("ok_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 - 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("ok_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 + _ARG_0_:getChild("cancel_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * -0.5 + 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("cancel_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 +end +function AdSplashPage.draw(_ARG_0_, _ARG_1_, _ARG_2_) + setRenderState(0, 0, 1, 1) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.Image.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +function AdSplashPage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) then + return ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return "BLOCK", nil, _ARG_0_ +end +LoginButton = ui.ImageButton:inherit() +function LoginButton.init(_ARG_0_) + ui.ImageButton.init(_ARG_0_) + _ARG_0_.state = "NOT_REGISTERED" +end +function LoginButton.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.ImageButton.update(_ARG_0_) + if _ARG_0_.state == "NOT_REGISTERED" then + _ARG_0_.animation_timer = (_ARG_0_.animation_timer or 0) + _ARG_1_ + if 2 > _ARG_0_.animation_timer then + elseif _ARG_0_.animation_timer >= 2 + 1 then + _ARG_0_.animation_timer = 0 + end + _ARG_0_.scaleY, _ARG_0_.scaleX = tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1), tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1) + end +end +function LoginButton.setState(_ARG_0_, _ARG_1_) + if _ARG_1_ == "NOT_REGISTERED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "NOT_LOGGED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "LOGGED" then + _ARG_0_:setImage("BUTTON_LOG_OUT") + end + _ARG_0_.scaleX = 1 + _ARG_0_.scaleY = 1 + _ARG_0_.state = _ARG_1_ +end +MainMenu = MainMenuRoot:inherit() +function MainMenu.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + if deviceModel == "s60" then + ui.ImageButton:new().name = "closeButton" + ui.ImageButton:new():setImage("BUTTON_CLOSE") + ui.ImageButton:new().returnValue = "EXIT" + _ARG_0_:addChild((ui.ImageButton:new())) + end + _ARG_0_.quadClickCount = 0 + _ARG_0_.quadClickTimer = 0 + MainMenuSlider:new().name = "optionsSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + _ARG_0_:createOptionsSliderButtons((MainMenuSlider:new())) + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + ui.BackgroundBox:new().name = "playButton" + ui.BackgroundBox:new().components = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } + ui.BackgroundBox:new().hanchor = "HCENTER" + ui.BackgroundBox:new().vanchor = "VCENTER" + ui.BackgroundBox:new().onPointerEvent = function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" and _ARG_2_ >= _ARG_0_.x - _ARG_0_.width * 0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y - _ARG_0_.height * 0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + _G.res.playAudio("menu_confirm", 1, false) + return "PLAY", nil, _ARG_0_ + end + end + else + ui.ImageButton:new().name = "playButton" + ui.ImageButton:new().returnValue = "PLAY" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + end + _ARG_0_:addChild((ui.ImageButton:new())) + _ARG_0_.playEvent = { + id = events.EID_CHANGE_SCENE, + target = "PLAY", + from = "MAIN_MENU" + } + ui.ImageButton:new().name = "playText" + ui.ImageButton:new().returnValue = "GOTO_EPISODE_SELECTION" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new():addChild((ui.ImageButton:new())) + ui.Image:new().name = "gameLogo" + ui.Image:new():setImage("MENU_LOGO") + _ARG_0_:addChild((ui.Image:new())) + ui.ImageButton:new().name = "optionsButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_OPTIONS" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "optionsImage" + ToggleIndicator:new():setImage("BUTTON_OPTIONS") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + if not _UPVALUE0_ then + MainMenuSlider:new().name = "externalSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + ui.ImageButton:new().name = "externalButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_EXTERNAL" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "externalImage" + ToggleIndicator:new():setImage("BUTTON_SLIDER") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + _ARG_0_:createExternalSliderButtons((MainMenuSlider:new())) + end + _ARG_0_.mid_buttons = {} + ui.ImageButton:new().name = "eagleButton" + ui.ImageButton:new():setImage("BUTTON_EAGLE_BUY") + ui.ImageButton:new().returnValue = "GOTO_EAGLE_PAGE" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "magicPlacesButton" + ui.ImageButton:new():setImage("BTN_MAGIC") + ui.ImageButton:new().returnValue = "GOTO_MAGIC_MAP" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + if not releaseBuild and showEditor then + ui.ImageButton:new().name = "editorButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "GOTO_EDITOR" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "editorText" + ui.Text:new({font = getFontBasic}).text = "EDITOR" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if cheatsEnabled and g_ABsync_enabled then + ui.ImageButton:new().name = "sync_button" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "CLOUD_SYNC" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "sync_text" + ui.Text:new({font = getFontBasic}).text = "SYNC" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:initGameCenter() + end + if ABIDEnabled then + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):setImage("BUTTON_EMPTY") + _ARG_0_:addChild((ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }))) + ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }):clip() + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):addChild((ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }))) + end + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "exit_button" + ui.ImageButton:new():setImage("MENU_QUIT_EN") + ui.ImageButton:new().returnValue = "EXIT" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled or deviceModel == "s60" then + ui.ImageButton:new().name = "update_button" + if deviceModel ~= "s60" then + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + else + ui.ImageButton:new():setImage("BUTTON_UPDATE") + end + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + if deviceModel ~= "s60" then + ui.ImageButton:new():setVisible(false) + end + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_registrationEnabled then + ui.ImageButton:new().name = "register_button" + ui.ImageButton:new():setImage("BUTTON_ACTIVATE_FULL") + ui.ImageButton:new().returnValue = "OPEN_REGISTER_WINDOW" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled then + ui.ImageButton:new().name = "update_button" + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setVisible(false) + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_ABsync_enabled and g_cloudsync_available then + LoginButton:new().name = "rovio_login_button" + LoginButton:new().returnValue = "ROVIO_LOGIN" + LoginButton:new():setState("NOT_LOGGED") + LoginButton:new().activateOnRelease = true + _ARG_0_:addChild((LoginButton:new())) + end + if not g_loadTimed then + g_loadTimed = true + logFlurryTimerEvent("Loading time - splash to menu") + end +end +function MainMenu.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mainMenuRoot", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenu.createOptionsSliderButtons(_ARG_0_, _ARG_1_) + if g_allowLowQualityGraphics then + ui.ToggleButton:new().name = "qualityButton" + ui.ToggleButton:new():setImage({ + "BUTTON_LQ", + "BUTTON_LOW_QUALITY" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_QUALITY" + if settingsWrapper:isGfxLowQuality() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + if iOS and isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + ui.ImageButton:new().name = "iap_restore_button" + ui.ImageButton:new():setImage("BUTTON_EAGLE_RESTORE") + ui.ImageButton:new().returnValue = "IAP_RESTORE_CLICKED" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if g_powerups_enabled then + ui.ToggleButton:new().name = "childlockButton" + ui.ToggleButton:new():setImage({ + "BUTTON_MENU_POWERUP", + "BUTTON_CHILDLOCK_ON" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_CHILDLOCK" + if settingsWrapper:isChildlockOn() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + ui.ImageButton:new().name = "creditsButton" + ui.ImageButton:new():setImage("BUTTON_ABOUT_SMALL") + ui.ImageButton:new().returnValue = "GOTO_CREDITS" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ToggleButton:new().name = "soundButton" + ui.ToggleButton:new():setImage({ + "BUTTON_SOUNDS_SMALL", + "BUTTON_MAINMENU_SFX_OFF" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_SOUND" + _ARG_1_:addChild((ui.ToggleButton:new())) + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "fullscreen_button" + ui.ImageButton:new():setImage("BUTTON_FULLSCREEN") + ui.ImageButton:new().returnValue = "TOGGLE_FULLSCREEN" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end +end +function MainMenu.createExternalSliderButtons(_ARG_0_, _ARG_1_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:createGameCenterExternalSliderButtons(_ARG_1_) + end + if not _UPVALUE0_ then + ui.ImageButton:new().name = "youtubeButton" + ui.ImageButton:new():setImage("BUTTON_TRAILER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TRAILER" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if not _UPVALUE0_ then + if not applyChinaRestictions then + ui.ImageButton:new().name = "facebookButton" + ui.ImageButton:new():setImage("BUTTON_FACEBOOK_SMALL") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK" + ui.ImageButton:new().name = "twitterButton" + ui.ImageButton:new():setImage("BUTTON_TWITTER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TWITTER" + _ARG_1_:addChild((ui.ImageButton:new())) + _ARG_1_:addChild((ui.ImageButton:new())) + else + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_2_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TENCENT_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_1_SMALL") + ui.ImageButton:new().returnValue = "GOTO_SINA_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "qzonetButton" + ui.ImageButton:new():setImage("BUTTON_QZONE_SMALL") + ui.ImageButton:new().returnValue = "GOTO_QZONE" + _ARG_1_:addChild((ui.ImageButton:new())) + end + end +end +function MainMenu.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + eventManager:notify({ + id = events.EID_MAIN_MENU_ENTERED + }) + _ARG_0_:refreshMiddleButtons() + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + end + _ARG_0_:getChild("optionsButton"):getChild("optionsImage").angle = 0 + if not _UPVALUE0_ then + _ARG_0_:getChild("externalButton"):getChild("externalImage").angle = 0 + end + eventManager:addEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:addEventListener(events.EID_SERVICE_AVAILABILITY_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + eventManager:addEventListener(events.EID_ID_SYNC_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:addEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + _ARG_0_:getChild("update_button"):setVisible(g_updateAvailable) + end + if not g_mainMenuAdChecked and iOS then + if releaseBuild then + else + end + if 60 < getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getMainMenuAdLastCheckedTime()) then + print(" Initiating main menu ad check with URL: " .. (MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) .. "\n") + mainMenuAdChecked = true + checkMainMenuAd(MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) + settingsWrapper:setMainMenuAdLastCheckedTime(getCurrentTime()) + else + print(" Too short a time from last main menu ad check, not checking now\n") + end + end + if g_startup_rewards and _G.tonumber(g_startup_rewards) and 0 < _G.tonumber(g_startup_rewards) and g_powerups_enabled then + addPowerups("slingscope", g_startup_rewards) + addPowerups("birdquake", g_startup_rewards) + addPowerups("kingsling", g_startup_rewards) + addPowerups("superseed", g_startup_rewards) + settingsWrapper:setRewardCollected("firststart") + g_startup_rewards = nil + end + if g_ABsync_enabled and g_cloudsync_available then + if rovioProfile.id then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif settingsWrapper:getBoundId() ~= "" then + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + else + _ARG_0_:getChild("rovio_login_button"):setState("NOT_REGISTERED") + end + end +end +function MainMenu.onExit(_ARG_0_) + MainMenuRoot.onExit(_ARG_0_) + eventManager:removeEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:removeEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:removeEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:removeEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + end +end +function MainMenu.refreshMiddleButtons(_ARG_0_) + _ARG_0_.mid_buttons = {} + if g_ABsync_enabled and g_cloudsync_available then + _G.table.insert(_ARG_0_.mid_buttons, "rovio_login_button") + end + if isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + _G.table.insert(_ARG_0_.mid_buttons, "eagleButton") + _ARG_0_:getChild("eagleButton").visible = true + else + _ARG_0_:getChild("eagleButton").visible = false + end + if g_registrationEnabled then + if not g_isRegistered then + _G.table.insert(_ARG_0_.mid_buttons, "register_button") + _ARG_0_:getChild("register_button").visible = true + else + _ARG_0_:getChild("register_button").visible = false + end + end + if g_magic_places_enabled and _G.magicplaces then + _G.table.insert(_ARG_0_.mid_buttons, "magicPlacesButton") + _ARG_0_:getChild("magicPlacesButton").visible = true + else + _ARG_0_:getChild("magicPlacesButton").visible = false + end + _ARG_0_:layout() +end +function MainMenu.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + if deviceModel == "s60" then + _ARG_0_:getChild("closeButton").x = screenWidth - g_layoutMargin.x + _ARG_0_:getChild("closeButton").y = g_layoutMargin.y + end + _ARG_0_:getChild("playButton").x = screenWidth * 0.5 + _ARG_0_:getChild("playButton").y = screenHeight * 0.555 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + if _G.type(blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].playButtonSprite) == "table" then + end + else + end + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + _ARG_0_:getChild("playButton"):getChild("playText"):setImage("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").width = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").height = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") * 1.7 + else + _ARG_0_:getChild("playButton"):setImage("MENU_PLAY_SMALL_EN") + end + _ARG_0_:getChild("gameLogo").x = screenWidth * 0.5 + _ARG_0_:getChild("gameLogo").y = screenHeight * 0.021875 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + _ARG_0_:getChild("optionsSlider").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + else + _ARG_0_:getChild("optionsSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + end + _ARG_0_:getChild("optionsSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("optionsSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsButton").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsButton").y = _ARG_0_:getChild("optionsSlider").y + if not _UPVALUE0_ then + _ARG_0_:getChild("externalSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.x + _ARG_0_:getChild("externalSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("externalSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalButton").x = _ARG_0_:getChild("externalSlider").x + _ARG_0_:getChild("externalButton").y = _ARG_0_:getChild("externalSlider").y + end + if deviceModel == "windows" or deviceModel == "osx" then + _ARG_0_:getChild("exit_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + _ARG_0_:getChild("exit_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if g_updateCheckEnabled or deviceModel == "s60" then + _ARG_0_:getChild("update_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + _ARG_0_:getChild("update_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + for _FORV_15_, _FORV_16_ in _G.ipairs(_ARG_0_.mid_buttons) do + end + for _FORV_16_, _FORV_17_ in _G.ipairs(_ARG_0_.mid_buttons) do + _ARG_0_:getChild(_FORV_17_).x = screenWidth * 0.5 - (#_ARG_0_.mid_buttons - 1) * (screenWidth * 0.01) * 0.5 - _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_16_).image) * 0.5 + _G.res.getSpritePivot(_ARG_0_:getChild(_FORV_17_).image) + _ARG_0_:getChild(_FORV_17_).y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if not releaseBuild and showEditor then + _ARG_0_:getChild("editorButton").x = screenWidth * 0.75 + _ARG_0_:getChild("editorButton").y = screenHeight * 0.7 + end + if cheatsEnabled and g_ABsync_enabled then + _ARG_0_:getChild("sync_button").x = screenWidth * 0.75 + _ARG_0_:getChild("sync_button").y = screenHeight * 0.7 - _ARG_0_:getChild("sync_button").h * 1.1 + end + if ABIDEnabled then + _ARG_0_:getChild("ABID_button").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsSlider").width * 2 + _ARG_0_:getChild("ABID_button").y = _ARG_0_:getChild("optionsSlider").y + _ARG_0_:getChild("ABID_text"):clip() + _ARG_0_:getChild("ABID_text").x = 0 + _ARG_0_:getChild("ABID_text").y = 0 + end +end +function MainMenu.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:updateGameCenter(_ARG_1_, _ARG_2_) + end + if mainMenuAdReadyToBeShown then + mainMenuAdReadyToBeShown = false + _ARG_0_:showAdPopup() + settingsWrapper:setMainMenuAdTimeStamp(mainMenuAdTimeStamp) + end + if cheatsEnabled then + if keyPressed.F1 then + print("unlocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 200) + end + end + end + if _FOR_.F2 then + print("relocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 1) + end + end + _FOR_() + end + end + _ARG_0_.quadClickTimer = _ARG_0_.quadClickTimer - _ARG_1_ +end +function MainMenu.showAdPopup(_ARG_0_) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AdSplashPage:new() + }) +end +function MainMenu.updatePrompt(_ARG_0_) + g_updatePrompted = true + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = [[ +New update available! +Download now?]], + confirmOnLeft = deviceModel == "windows", + confirm_event = { + id = events.EID_UPDATE_GAME + } + })) +end +function MainMenu.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if not MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) and _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "ESCAPE") and deviceModel ~= "roku" and deviceModel ~= "freebox" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + end + return MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenu.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if releaseBuild ~= true and _ARG_2_ > screenWidth - 50 and _ARG_3_ < 50 then + settingsWrapper:setMightyEagleEnabled() + end + if _ARG_2_ > screenWidth * 0.92 and _ARG_3_ < screenHeight * 0.08 and cheatsEnabled and _ARG_1_ == "LRELEASE" then + if _ARG_0_.quadClickTimer > 0 or _ARG_0_.quadClickCount == 0 then + _ARG_0_.quadClickCount = _ARG_0_.quadClickCount + 1 + if _ARG_0_.quadClickCount == 4 then + _ARG_0_.quadClickCount = 0 + for _FORV_10_, _FORV_11_ in _G.pairs(g_achievements) do + achievementProcessor:addToAchievementUnlockQueue(_FORV_10_, true) + end + end + else + _ARG_0_.quadClickCount = 1 + end + _ARG_0_.quadClickTimer = 0.5 + end + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "PLAY" then + eventManager:notify(_ARG_0_.playEvent) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_CREDITS" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS", + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_PAGE" then + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_MAGIC_MAP" then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EDITOR" then + menuManager:changeRoot(EditorPage:new()) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOUD_SYNC" then + g_last_sync_time = nil + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_ACHIEVEMENTS" then + _ARG_0_:gotoAchievements() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_LEADERBOARDS" then + _ARG_0_:gotoLeaderboards() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_OPTIONS" then + _ARG_0_:getChild("optionsSlider"):toggle() + _ARG_0_:getChild("optionsButton"):getChild("optionsImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_EXTERNAL" then + _ARG_0_:getChild("externalSlider"):toggle() + _ARG_0_:getChild("externalButton"):getChild("externalImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_SOUND" then + changeAudio() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_CHILDLOCK" then + if not settingsWrapper:isChildlockOn() then + powerupChildLockPrompt({ + content = "TEXT_POWERUP_PARENTAL", + image_scale = 0.5 + }) + end + settingsWrapper:toggleChildlock() + eventManager:notify({ + id = events.EID_PARENTAL_LOCK_TOGGLED, + toggled_on = _G.tostring(settingsWrapper:isChildlockOn()) + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ROVIO_LOGIN" then + if not rovioProfile.id then + if settingsWrapper:getBoundId() == "" then + notificationsFrame:addChild(ABsync.SyncIntroductionFrame:new()) + else + ABsync.showLoadScreen("sign_in") + end + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = _G.string.format(_G.res.getString("TEXTS_BASIC", "TEXT_ROVIO_ID_SIGN_OUT"), rovioProfile.email), + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + _UPVALUE0_.logging_out = true + ABsync.showLoadScreen() + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_QUALITY" then + changeGFXQuality() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_FULLSCREEN" then + eventManager:notify({ + id = events.EID_TOGGLE_FULLSCREEN + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "IAP_RESTORE_CLICKED" then + if settingsWrapper:isMightyEagleEnabled() then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY" + })) + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_RESTORE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + iapRestoreItems("iosEagleRestoreCallback") + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TRAILER" then + gotoAngryBirdsTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_TRAILER" then + gotoMightyEagleTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_FACEBOOK" then + gotoFacebook() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TWITTER" then + gotoTwitter() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_SINA_WEIBO" then + gotoSinaWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TENCENT_WEIBO" then + gotoTencentWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_QZONE" then + gotoQzone() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_RENREN" then + gotoRenren() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ABID_CLICKED" then + eventManager:notify({ + id = events.EID_ABID_CLICKED + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EXIT" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_REGISTER_WINDOW" then + eventManager:notify({ + id = events.EID_SHOW_REGISTRATION_DIALOG, + from = "MAIN_MENU", + success_call = function() + _UPVALUE0_:refreshMiddleButtons() + end + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "UPDATE_GAME" then + if deviceModel == "s60" then + _G.res.openURL(ROVIO_UPDATE_URL_S60 .. _G.res.getLocale()) + else + _ARG_0_:updatePrompt() + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_AD_SPLASH_LINK" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + if _G.magicplaces and _G.string.find(mainMenuAdUrl, "magicplaces") ~= nil then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + else + openURL(generateRedirectURL(g_variant, mainMenuAdUrl)) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_AD_SPLASH" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP" then + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + releaseImages({ + "LEVELSELECTION", + "TUTORIALS" + }) + _G.res.createBitmapFont(fontPath .. "/" .. _UPVALUE0_ .. "/FONT_SHOP_AMOUNT.dat") + loadAssets({"SHOP"}) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = ProductPage:new({ + from = "MAIN_MENU", + product = g_shop_products[1] + }) + } + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP_DISABLED" then + powerupChildLockPrompt({image_scale = 0.5}) + elseif _ARG_1_ ~= "HOVER" then + for _FORV_10_ = 1, #g_bird_animations do + if g_bird_animations[_FORV_10_].layer == 5 then + g_bird_animations[_FORV_10_].renderState = true + if _ARG_0_:checkBirdBounds(g_bird_animations[_FORV_10_], cursor.x, cursor.y) and g_bird_animations[_FORV_10_].yelling ~= true and _G.string.sub(g_bird_animations[_FORV_10_].sprite, 1, 4) == "BIRD" then + g_bird_animations[_FORV_10_].yelling = true + _G.res.playAudio({ + BIRD_RED = "bird_01_flying", + BIRD_BLUE = "bird_02_flying", + BIRD_YELLOW = "bird_03_flying", + BIRD_GREY = "bird_04_flying", + BIRD_GREEN = "bird_05_flying", + BIRD_BIG_BROTHER = "big_brother_flying", + BIRD_BOOMERANG = "bird_06_flying", + BIRD_PUFFER_1 = "Globe_Bird_Launch_3", + BIRD_PINK = "pink_activate_01" + }[g_bird_animations[_FORV_10_].sprite], 1, false, 0) + g_bird_animations[_FORV_10_].sprite = g_bird_animations[_FORV_10_].yell_sprite + end + end + end + else + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return nil, nil, nil +end +function MainMenu.eventTriggered(_ARG_0_, _ARG_1_) + if _ARG_1_.id == events.EID_UPDATE_AVAILABLE then + _ARG_0_:getChild("update_button"):setVisible(true) + _ARG_0_:updatePrompt() + elseif _ARG_1_.id == events.EID_AUDIO_STATE_CHANGED then + if _ARG_1_.from == "KEYBOARD_COMMAND" then + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + end + end + elseif _ARG_1_.id == events.EID_IAP_ITEMS_RESTORED then + _ARG_0_:refreshMiddleButtons() + elseif _ARG_1_.id == events.EID_SERVICE_AVAILABILITY_CHANGED then + if _ARG_1_.serviceName == "magicplaces" and _ARG_1_.available == true then + _ARG_0_:refreshMiddleButtons() + end + elseif _ARG_1_.id == events.EID_ROVIO_ID_LOGIN_SUCCESS then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif _ARG_1_.id == events.EID_ID_SYNC_SUCCESS and _ARG_0_.logging_out then + logoutRovioId() + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + _ARG_0_.logging_out = false + notifyEventManager(events.EID_ROVIO_ID_LOGOUT) + end +end +function MainMenu.checkBirdBounds(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_.scale ~= nil then + end + if _ARG_1_.scale ~= 1 then + end + if _ARG_1_.scale ~= 1 then + end + return _ARG_3_ >= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_3_ <= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ >= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ <= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 +end +MainMenuEaglePage = MainMenuRoot:inherit() +function MainMenuEaglePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenuEaglePage.init(_ARG_0_) + _ARG_0_:addChild((MEPage:new())) +end +function MainMenuEaglePage.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) +end +function MainMenuEaglePage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EAGLE_PURCHASE_CLICKED" then + goToMightyEaglePaymentPage(false) + end + return ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function MainMenuEaglePage.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BACK" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end +end +MainMenuEaglePurchasePage = MainMenuRoot:inherit() +function MainMenuEaglePurchasePage.init(_ARG_0_) + _ARG_0_:addChild((EaglePurchasePage:new())) +end +function MainMenuEaglePurchasePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +filename = "main_menu.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/maine.lua.bak b/Angry Birds Project R/0.3.0/data/scripts_common/menus/maine.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..0537ca76c48ddf7cddf71067dbf0825463f8e5ea --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts_common/menus/maine.lua.bak @@ -0,0 +1,1134 @@ +MainMenuRoot = ui.Frame:inherit() +g_bird_animations = {} +g_bird_sprites = {} +function MainMenuRoot.init(_ARG_0_) + _ARG_0_.name = "mainMenuRoot" + _ARG_0_.backgroundColour = { + r = 11, + g = 101, + b = 76, + a = 255 + } +end +function MainMenuRoot.onEntry(_ARG_0_) + ui.Frame.onEntry(_ARG_0_) + if settingsWrapper:getCurrentMainMenuTheme() and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()] and blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color then + _ARG_0_.backgroundColour = { + r = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.r, + g = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.g, + b = blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].color.b, + a = 255 + } + end + _ARG_0_:buildBirdList() +end +function MainMenuRoot.buildBirdList(_ARG_0_) + g_bird_sprites = {} + for _FORV_6_, _FORV_7_ in _G.pairs((settingsWrapper:getTutorials())) do + if _FORV_6_ == "BAIT_SARDINE" then + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 1, + scale = 1 + }) + else + _G.table.insert(g_bird_sprites, { + sprite = _FORV_6_, + reward = 0, + scale = 1 + }) + end + end + if #g_bird_sprites == 0 then + _G.table.insert(g_bird_sprites, { + sprite = "BIRD_RED", + reward = 0, + scale = 1 + }) + end + for _FORV_7_, _FORV_8_ in _G.ipairs(g_episodeIds) do + for _FORV_13_ = 1, #g_episodes[_FORV_8_].pages do + if not g_episodes[_FORV_8_].pages[_FORV_13_].extra and not g_episodes[_FORV_8_].pages[_FORV_13_].disregard_in_rewards then + end + end + _FOR_.projectile = 1 + if g_episodes[_FORV_8_].reward_three_stars and settingsWrapper:isEpisodeThreeStarred(_FORV_8_) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_three_stars.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_three_stars.type], + scale = 0.5 + }) + elseif g_episodes[_FORV_8_].reward_completion and isEpisodeCompleted(g_episodes[_FORV_8_]) then + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = g_episodes[_FORV_8_].reward_completion.sprite, + reward = {balloon = 2}[g_episodes[_FORV_8_].reward_completion.type], + scale = 0.5 + }) + end + end + if calculateAllFeathers() >= 200 then + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + _G.table.insert(g_bird_sprites, { + sprite = "REWARD_EAGLE", + reward = 1, + scale = 0.5 + }) + end +end +function MainMenuRoot.layout(_ARG_0_) + _ARG_0_.current_zoom_level = settingsWrapper:getCurrentZoomLevelMainMenu() + _ARG_0_.camera_top = -2 * screenHeight / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.605)) + _G.res.getSpriteBounds("BUTTON_EMPTY") * 2.15 / (screenHeight / (450 * _ARG_0_.current_zoom_level * 0.5)) + setWorldScale(0.5 * screenHeight / 400 / (_ARG_0_.current_zoom_level * 0.66)) + setTheme((settingsWrapper:getCurrentMainMenuTheme())) + setLevelEffects((settingsWrapper:getCurrentMainMenuTheme())) + if blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].menuWater then + objects.waterLevel = 20 + else + objects.waterLevel = nil + end + ui.Frame.layout(_ARG_0_) +end +function MainMenuRoot.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) + _ARG_0_:drawSelf() + ui.Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) +end +function MainMenuRoot.drawSelf(_ARG_0_) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + _ARG_0_:drawBirds() + drawForegroundNative() +end +function MainMenuRoot.drawBirds(_ARG_0_) + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 3 then + setRenderState(0, 0, _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.scale * 0.7 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.7 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.7 * (screenHeight / 640)) - screenHeight * 0.2 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 4 then + setRenderState(0, 0, _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.scale * 0.8 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.8 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.8 * (screenHeight / 640)) - screenHeight * 0.125 / _FORV_5_.scale)) + end + end + for _FORV_4_, _FORV_5_ in _G.pairs(g_bird_animations) do + if _FORV_5_.layer == 5 then + setRenderState(0, 0, _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.scale * 0.9 * (screenHeight / 640), _FORV_5_.angle, _G.res.getSpritePivot(_FORV_5_.sheet, _FORV_5_.sprite)) + _G.res.drawSprite(_FORV_5_.sheet, _FORV_5_.sprite, _G.math.floor(_FORV_5_.x / (_FORV_5_.scale * 0.9 * (screenHeight / 640))), _G.math.floor(_FORV_5_.y / (_FORV_5_.scale * 0.9 * (screenHeight / 640)))) + end + end +end +function MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.Frame.update(_ARG_0_, _ARG_1_, _ARG_2_) + setTopLeft(50 * _ARG_2_, _ARG_0_.camera_top) + _ARG_0_:animateBirds(_ARG_1_) + if _G.res.isAudioPlaying(currentMainMenuSong) == false and currentMainMenuSong ~= nil then + _G.res.playAudio(currentMainMenuSong, 0.8, true, 7) + end + updateLevelEffects(_ARG_1_, _ARG_2_) +end +function MainMenuRoot.animateBirds(_ARG_0_, _ARG_1_) + if #g_bird_sprites * 0.75 > #g_bird_animations and _G.math.random(1, 5) == 1 then + if _G.math.random(3, 5) == 1 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 1 then + elseif g_bird_sprites[_G.math.random(#g_bird_sprites)].reward == 2 then + end + if g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite == "BIRD_PUFFER_1" then + else + end + _G.table.insert(g_bird_animations, { + sprite = g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite, + yell_sprite = "BIRD_PINK_BLINK", + angle = 0, + angleSpeed = _G.math.random() * _G.math.pi * 1.5, + x = _G.math.random(screenWidth * 0.1, screenWidth * 0.9), + y = screenHeight + 30 * screenHeight / 320, + xVel = 0, + yVel = _G.math.random(-250, -150) * (_G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale) * (screenHeight / 320 + 1) * 0.175, + scale = _G.math.random(3, 5) * 0.2 * g_bird_sprites[_G.math.random(#g_bird_sprites)].scale, + layer = _G.math.random(3, 5), + spriteHeight = _G.res.getSpriteBounds("", g_bird_sprites[_G.math.random(#g_bird_sprites)].sprite) + }) + end + for _FORV_7_ = #g_bird_animations, 1, -1 do + if g_bird_animations[_FORV_7_].reward == 2 then + g_bird_animations[_FORV_7_].angle = _G.math.sin(g_bird_animations[_FORV_7_].angleSpeed) * 0.15 + g_bird_animations[_FORV_7_].angleSpeed = (g_bird_animations[_FORV_7_].angleSpeed + _ARG_1_ * 2) % (_G.math.pi * 2) + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x - g_bird_animations[_FORV_7_].angle * g_bird_animations[_FORV_7_].layer * _ARG_1_ * 30 + else + g_bird_animations[_FORV_7_].yVel = g_bird_animations[_FORV_7_].yVel + 150 * _ARG_1_ + g_bird_animations[_FORV_7_].angle = g_bird_animations[_FORV_7_].angle + g_bird_animations[_FORV_7_].angleSpeed * _ARG_1_ + end + g_bird_animations[_FORV_7_].x = g_bird_animations[_FORV_7_].x + g_bird_animations[_FORV_7_].xVel * _ARG_1_ + g_bird_animations[_FORV_7_].y = g_bird_animations[_FORV_7_].y + g_bird_animations[_FORV_7_].yVel * _ARG_1_ + if g_bird_animations[_FORV_7_].y > screenHeight + 50 * screenHeight / 320 or (g_bird_animations[_FORV_7_].reward == 2 or g_bird_animations[_FORV_7_].reward == 2) and g_bird_animations[_FORV_7_].y < -g_bird_animations[_FORV_7_].spriteHeight then + _G.table.remove(g_bird_animations, _FORV_7_) + end + end +end +MainMenuSlider = ui.BackgroundBox:inherit() +function MainMenuSlider.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_:setState("CLOSED") + _ARG_0_.slide_amount = 0 + _ARG_0_.components = { + topLeft = "MENU_SLIDER_BG_TOP_LEFT", + left = "MENU_SLIDER_BG_LEFT", + right = "MENU_SLIDER_BG_RIGHT", + topRight = "MENU_SLIDER_BG_TOP_RIGHT", + topMiddle = "MENU_SLIDER_BG_TOP_MIDDLE", + center = "MENU_SLIDER_BG_CENTER" + } + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "BOTTOM" + _ARG_0_.element_width = 0 + _ARG_0_.element_height = 0 + _ARG_0_.element_gap = 0 + _ARG_0_.bottom_margin = 0 + _ARG_0_.width = 0 + _ARG_0_.height = 0 +end +function MainMenuSlider.setState(_ARG_0_, _ARG_1_) + _ARG_0_.state = _ARG_1_ + _ARG_0_.visible = _ARG_1_ ~= "CLOSED" + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.children) do + _FORV_7_.visible = _ARG_1_ ~= "CLOSED" + end +end +function MainMenuSlider.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") +end +function MainMenuSlider.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_:setState("CLOSING") + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_:setState("OPENING") + end +end +function MainMenuSlider.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.height = _ARG_0_.height + _ARG_1_ * screenHeight * 0.8 + if #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin <= _ARG_0_.height then + _ARG_0_.height = #_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin + _ARG_0_:setState("OPEN") + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.height = _ARG_0_.height - _ARG_1_ * screenHeight * 0.8 + if _ARG_0_.height < 0 then + _ARG_0_.height = 0 + _ARG_0_:setState("CLOSED") + end + end + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "CLOSING" or _ARG_0_.state == "CLOSED" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -_ARG_0_.height + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if 0 <= _ARG_0_.children[_FORV_7_].y then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + elseif _ARG_0_.state == "OPENING" then + for _FORV_7_ = 1, #_ARG_0_.children do + _ARG_0_.children[_FORV_7_].y = -(#_ARG_0_.children * _ARG_0_.element_height + (#_ARG_0_.children - 1) * _ARG_0_.element_gap + _ARG_0_.bottom_margin) + (_FORV_7_ - 1) * (_ARG_0_.element_gap + _ARG_0_.element_height) + _ARG_0_.element_height * 0.5 + if -_ARG_0_.children[_FORV_7_].y > _ARG_0_.height then + _ARG_0_.children[_FORV_7_].y = 0 + end + end + end + _FOR_.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenuSlider.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_0_.state == "OPEN" then + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +ToggleIndicator = ui.Image:inherit() +function ToggleIndicator.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.onEntry(_ARG_0_) + ui.Image.onEntry(_ARG_0_) + _ARG_0_.state = "CLOSED" +end +function ToggleIndicator.toggle(_ARG_0_) + if _ARG_0_.state == "OPEN" or _ARG_0_.state == "OPENING" then + _ARG_0_.state = "CLOSING" + elseif _ARG_0_.state == "CLOSED" or _ARG_0_.state == "CLOSING" then + _ARG_0_.state = "OPENING" + end +end +function ToggleIndicator.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "OPENING" then + _ARG_0_.angle = _ARG_0_.angle + _ARG_1_ * 16 + if _ARG_0_.angle >= 3.14159 then + _ARG_0_.angle = 3.14159 + _ARG_0_.state = "OPEN" + end + elseif _ARG_0_.state == "CLOSING" then + _ARG_0_.angle = _ARG_0_.angle - _ARG_1_ * 16 + if _ARG_0_.angle < 0 then + _ARG_0_.angle = 0 + _ARG_0_.state = "CLOSED" + end + end +end +AdSplashPage = ui.Image:inherit() +function AdSplashPage.init(_ARG_0_) + ui.Image.init(_ARG_0_) + _ARG_0_:setImage("MAIN_MENU_AD_IMAGE") + ui.ImageButton:new().name = "ok_button" + ui.ImageButton:new():setImage("MENU_YES") + ui.ImageButton:new().returnValue = "OPEN_AD_SPLASH_LINK" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "cancel_button" + ui.ImageButton:new():setImage("MENU_NO") + ui.ImageButton:new().returnValue = "CLOSE_AD_SPLASH" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AdSplashPage.layout(_ARG_0_) + ui.Image.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_:getChild("ok_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 - 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("ok_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 + _ARG_0_:getChild("cancel_button").x = _G.res.getSpriteBounds(_ARG_0_.image) * -0.5 + 0.12 * _G.res.getSpriteBounds(_ARG_0_:getChild("ok_button").image) + _ARG_0_:getChild("cancel_button").y = _G.res.getSpriteBounds(_ARG_0_.image) * 0.5 +end +function AdSplashPage.draw(_ARG_0_, _ARG_1_, _ARG_2_) + setRenderState(0, 0, 1, 1) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.Image.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +function AdSplashPage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) then + return ui.Image.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return "BLOCK", nil, _ARG_0_ +end +LoginButton = ui.ImageButton:inherit() +function LoginButton.init(_ARG_0_) + ui.ImageButton.init(_ARG_0_) + _ARG_0_.state = "NOT_REGISTERED" +end +function LoginButton.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.ImageButton.update(_ARG_0_) + if _ARG_0_.state == "NOT_REGISTERED" then + _ARG_0_.animation_timer = (_ARG_0_.animation_timer or 0) + _ARG_1_ + if 2 > _ARG_0_.animation_timer then + elseif _ARG_0_.animation_timer >= 2 + 1 then + _ARG_0_.animation_timer = 0 + end + _ARG_0_.scaleY, _ARG_0_.scaleX = tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1), tweenEaseCubicInOut(_ARG_0_.animation_timer - 2, 1, -0.2, 1) + end +end +function LoginButton.setState(_ARG_0_, _ARG_1_) + if _ARG_1_ == "NOT_REGISTERED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "NOT_LOGGED" then + _ARG_0_:setImage("BUTTON_SYNC_BIG") + elseif _ARG_1_ == "LOGGED" then + _ARG_0_:setImage("BUTTON_LOG_OUT") + end + _ARG_0_.scaleX = 1 + _ARG_0_.scaleY = 1 + _ARG_0_.state = _ARG_1_ +end +MainMenu = MainMenuRoot:inherit() +function MainMenu.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + if deviceModel == "s60" then + ui.ImageButton:new().name = "closeButton" + ui.ImageButton:new():setImage("BUTTON_CLOSE") + ui.ImageButton:new().returnValue = "EXIT" + _ARG_0_:addChild((ui.ImageButton:new())) + end + _ARG_0_.quadClickCount = 0 + _ARG_0_.quadClickTimer = 0 + MainMenuSlider:new().name = "optionsSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + _ARG_0_:createOptionsSliderButtons((MainMenuSlider:new())) + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + ui.BackgroundBox:new().name = "playButton" + ui.BackgroundBox:new().components = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } + ui.BackgroundBox:new().hanchor = "HCENTER" + ui.BackgroundBox:new().vanchor = "VCENTER" + ui.BackgroundBox:new().onPointerEvent = function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" and _ARG_2_ >= _ARG_0_.x - _ARG_0_.width * 0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y - _ARG_0_.height * 0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + _G.res.playAudio("menu_confirm", 1, false) + return "PLAY", nil, _ARG_0_ + end + end + else + ui.ImageButton:new().name = "playButton", + ui.ImageButton:new().returnValue = "PLAY" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + end + _ARG_0_:addChild((ui.ImageButton:new())) + _ARG_0_.playEvent = { + id = events.EID_CHANGE_SCENE, + target = "PLAY", + from = "MAIN_MENU" + } + ui.ImageButton:new().name = "playText" + ui.ImageButton:new().returnValue = "GOTO_EPISODE_SELECTION" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new():addChild((ui.ImageButton:new())) + ui.Image:new().name = "gameLogo" + ui.Image:new():setImage("MENU_LOGO") + _ARG_0_:addChild((ui.Image:new())) + ui.ImageButton:new().name = "optionsButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_OPTIONS" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "optionsImage" + ToggleIndicator:new():setImage("BUTTON_OPTIONS") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + if not _UPVALUE0_ then + MainMenuSlider:new().name = "externalSlider" + _ARG_0_:addChild((MainMenuSlider:new())) + ui.ImageButton:new().name = "externalButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "TOGGLE_EXTERNAL" + _ARG_0_:addChild((ui.ImageButton:new())) + ToggleIndicator:new().name = "externalImage" + ToggleIndicator:new():setImage("BUTTON_SLIDER") + ui.ImageButton:new():addChild((ToggleIndicator:new())) + _ARG_0_:createExternalSliderButtons((MainMenuSlider:new())) + end + _ARG_0_.mid_buttons = {} + ui.ImageButton:new().name = "eagleButton" + ui.ImageButton:new():setImage("BUTTON_EAGLE_BUY") + ui.ImageButton:new().returnValue = "GOTO_EAGLE_PAGE" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "magicPlacesButton" + ui.ImageButton:new():setImage("BTN_MAGIC") + ui.ImageButton:new().returnValue = "GOTO_MAGIC_MAP" + ui.ImageButton:new().visible = false + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + if not releaseBuild and showEditor then + ui.ImageButton:new().name = "editorButton" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "GOTO_EDITOR" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "editorText" + ui.Text:new({font = getFontBasic}).text = "EDITOR" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if cheatsEnabled and g_ABsync_enabled then + ui.ImageButton:new().name = "sync_button" + ui.ImageButton:new():setImage("BUTTON_EMPTY") + ui.ImageButton:new().returnValue = "CLOUD_SYNC" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Text:new({font = getFontBasic}).name = "sync_text" + ui.Text:new({font = getFontBasic}).text = "SYNC" + ui.Text:new({font = getFontBasic}).scaleX = 0.75 + ui.Text:new({font = getFontBasic}).scaleY = 0.75 + ui.ImageButton:new():addChild((ui.Text:new({font = getFontBasic}))) + end + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:initGameCenter() + end + if ABIDEnabled then + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):setImage("BUTTON_EMPTY") + _ARG_0_:addChild((ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }))) + ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }):clip() + ui.ImageButton:new({ + name = "ABID_button", + returnValue = "ABID_CLICKED" + }):addChild((ui.Text:new({ + name = "ABID_text", + font = getFontBasic, + text = "ABID" + }))) + end + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "exit_button" + ui.ImageButton:new():setImage("MENU_QUIT_EN") + ui.ImageButton:new().returnValue = "EXIT" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled or deviceModel == "s60" then + ui.ImageButton:new().name = "update_button" + if deviceModel ~= "s60" then + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + else + ui.ImageButton:new():setImage("BUTTON_UPDATE") + end + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + if deviceModel ~= "s60" then + ui.ImageButton:new():setVisible(false) + end + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_registrationEnabled then + ui.ImageButton:new().name = "register_button" + ui.ImageButton:new():setImage("BUTTON_ACTIVATE_FULL") + ui.ImageButton:new().returnValue = "OPEN_REGISTER_WINDOW" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_updateCheckEnabled then + ui.ImageButton:new().name = "update_button" + ui.ImageButton:new():setImage("BUTTON_CLASSIC_ONLINE") + ui.ImageButton:new().returnValue = "UPDATE_GAME" + ui.ImageButton:new().clickSound = "menu_confirm" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setVisible(false) + _ARG_0_:addChild((ui.ImageButton:new())) + end + if g_ABsync_enabled and g_cloudsync_available then + LoginButton:new().name = "rovio_login_button" + LoginButton:new().returnValue = "ROVIO_LOGIN" + LoginButton:new():setState("NOT_LOGGED") + LoginButton:new().activateOnRelease = true + _ARG_0_:addChild((LoginButton:new())) + end + if not g_loadTimed then + g_loadTimed = true + logFlurryTimerEvent("Loading time - splash to menu") + end +end +function MainMenu.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mainMenuRoot", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenu.createOptionsSliderButtons(_ARG_0_, _ARG_1_) + if g_allowLowQualityGraphics then + ui.ToggleButton:new().name = "qualityButton" + ui.ToggleButton:new():setImage({ + "BUTTON_LQ", + "BUTTON_LOW_QUALITY" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_QUALITY" + if settingsWrapper:isGfxLowQuality() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + if iOS and isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + ui.ImageButton:new().name = "iap_restore_button" + ui.ImageButton:new():setImage("BUTTON_EAGLE_RESTORE") + ui.ImageButton:new().returnValue = "IAP_RESTORE_CLICKED" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if g_powerups_enabled then + ui.ToggleButton:new().name = "childlockButton" + ui.ToggleButton:new():setImage({ + "BUTTON_MENU_POWERUP", + "BUTTON_CHILDLOCK_ON" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_CHILDLOCK" + if settingsWrapper:isChildlockOn() then + ui.ToggleButton:new():setState(2) + end + _ARG_1_:addChild((ui.ToggleButton:new())) + end + ui.ImageButton:new().name = "creditsButton" + ui.ImageButton:new():setImage("BUTTON_ABOUT_SMALL") + ui.ImageButton:new().returnValue = "GOTO_CREDITS" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ToggleButton:new().name = "soundButton" + ui.ToggleButton:new():setImage({ + "BUTTON_SOUNDS_SMALL", + "BUTTON_MAINMENU_SFX_OFF" + }) + ui.ToggleButton:new().returnValue = "TOGGLE_SOUND" + _ARG_1_:addChild((ui.ToggleButton:new())) + if deviceModel == "windows" or deviceModel == "osx" then + ui.ImageButton:new().name = "fullscreen_button" + ui.ImageButton:new():setImage("BUTTON_FULLSCREEN") + ui.ImageButton:new().returnValue = "TOGGLE_FULLSCREEN" + ui.ImageButton:new().clickSound = "menu_confirm" + _ARG_1_:addChild((ui.ImageButton:new())) + end +end +function MainMenu.createExternalSliderButtons(_ARG_0_, _ARG_1_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:createGameCenterExternalSliderButtons(_ARG_1_) + end + if not _UPVALUE0_ then + ui.ImageButton:new().name = "youtubeButton" + ui.ImageButton:new():setImage("BUTTON_TRAILER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TRAILER" + _ARG_1_:addChild((ui.ImageButton:new())) + end + if not _UPVALUE0_ then + if not applyChinaRestictions then + ui.ImageButton:new().name = "facebookButton" + ui.ImageButton:new():setImage("BUTTON_FACEBOOK_SMALL") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK" + ui.ImageButton:new().name = "twitterButton" + ui.ImageButton:new():setImage("BUTTON_TWITTER_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TWITTER" + _ARG_1_:addChild((ui.ImageButton:new())) + _ARG_1_:addChild((ui.ImageButton:new())) + else + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_2_SMALL") + ui.ImageButton:new().returnValue = "GOTO_TENCENT_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "tencentButton" + ui.ImageButton:new():setImage("BUTTON_WEIBO_1_SMALL") + ui.ImageButton:new().returnValue = "GOTO_SINA_WEIBO" + _ARG_1_:addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "qzonetButton" + ui.ImageButton:new():setImage("BUTTON_QZONE_SMALL") + ui.ImageButton:new().returnValue = "GOTO_QZONE" + _ARG_1_:addChild((ui.ImageButton:new())) + end + end +end +function MainMenu.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + eventManager:notify({ + id = events.EID_MAIN_MENU_ENTERED + }) + _ARG_0_:refreshMiddleButtons() + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + end + _ARG_0_:getChild("optionsButton"):getChild("optionsImage").angle = 0 + if not _UPVALUE0_ then + _ARG_0_:getChild("externalButton"):getChild("externalImage").angle = 0 + end + eventManager:addEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:addEventListener(events.EID_SERVICE_AVAILABILITY_CHANGED, _ARG_0_) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + eventManager:addEventListener(events.EID_ID_SYNC_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:addEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + _ARG_0_:getChild("update_button"):setVisible(g_updateAvailable) + end + if not g_mainMenuAdChecked and iOS then + if releaseBuild then + else + end + if 60 < getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getMainMenuAdLastCheckedTime()) then + print(" Initiating main menu ad check with URL: " .. (MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) .. "\n") + mainMenuAdChecked = true + checkMainMenuAd(MAIN_MENU_AD_URL .. "&ts=" .. settingsWrapper:getMainMenuAdTimeStamp()) + settingsWrapper:setMainMenuAdLastCheckedTime(getCurrentTime()) + else + print(" Too short a time from last main menu ad check, not checking now\n") + end + end + if g_startup_rewards and _G.tonumber(g_startup_rewards) and 0 < _G.tonumber(g_startup_rewards) and g_powerups_enabled then + addPowerups("slingscope", g_startup_rewards) + addPowerups("birdquake", g_startup_rewards) + addPowerups("kingsling", g_startup_rewards) + addPowerups("superseed", g_startup_rewards) + settingsWrapper:setRewardCollected("firststart") + g_startup_rewards = nil + end + if g_ABsync_enabled and g_cloudsync_available then + if rovioProfile.id then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif settingsWrapper:getBoundId() ~= "" then + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + else + _ARG_0_:getChild("rovio_login_button"):setState("NOT_REGISTERED") + end + end +end +function MainMenu.onExit(_ARG_0_) + MainMenuRoot.onExit(_ARG_0_) + eventManager:removeEventListener(events.EID_AUDIO_STATE_CHANGED, _ARG_0_) + eventManager:removeEventListener(events.EID_IAP_ITEMS_RESTORED, _ARG_0_) + eventManager:removeEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, _ARG_0_) + if g_updateCheckEnabled then + eventManager:removeEventListener(events.EID_UPDATE_AVAILABLE, _ARG_0_) + end +end +function MainMenu.refreshMiddleButtons(_ARG_0_) + _ARG_0_.mid_buttons = {} + if g_ABsync_enabled and g_cloudsync_available then + _G.table.insert(_ARG_0_.mid_buttons, "rovio_login_button") + end + if isIapEnabled() and not settingsWrapper:isMightyEagleEnabled() then + _G.table.insert(_ARG_0_.mid_buttons, "eagleButton") + _ARG_0_:getChild("eagleButton").visible = true + else + _ARG_0_:getChild("eagleButton").visible = false + end + if g_registrationEnabled then + if not g_isRegistered then + _G.table.insert(_ARG_0_.mid_buttons, "register_button") + _ARG_0_:getChild("register_button").visible = true + else + _ARG_0_:getChild("register_button").visible = false + end + end + if g_magic_places_enabled and _G.magicplaces then + _G.table.insert(_ARG_0_.mid_buttons, "magicPlacesButton") + _ARG_0_:getChild("magicPlacesButton").visible = true + else + _ARG_0_:getChild("magicPlacesButton").visible = false + end + _ARG_0_:layout() +end +function MainMenu.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + if deviceModel == "s60" then + _ARG_0_:getChild("closeButton").x = screenWidth - g_layoutMargin.x + _ARG_0_:getChild("closeButton").y = g_layoutMargin.y + end + _ARG_0_:getChild("playButton").x = screenWidth * 0.5 + _ARG_0_:getChild("playButton").y = screenHeight * 0.555 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + if _G.type(blockTable.themes[settingsWrapper:getCurrentMainMenuTheme()].playButtonSprite) == "table" then + end + else + end + if not _ARG_0_.forcePlayButtonImage and deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + _ARG_0_:getChild("playButton"):getChild("playText"):setImage("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").width = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") + _ARG_0_:getChild("playButton").height = _G.res.getSpriteBounds("MENU_PLAY_SMALL_EN") * 1.7 + else + _ARG_0_:getChild("playButton"):setImage("MENU_PLAY_SMALL_EN") + end + _ARG_0_:getChild("gameLogo").x = screenWidth * 0.5 + _ARG_0_:getChild("gameLogo").y = screenHeight * 0.021875 + if deviceModel ~= "windows" and deviceModel ~= "osx" then + _ARG_0_:getChild("optionsSlider").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + else + _ARG_0_:getChild("optionsSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + end + _ARG_0_:getChild("optionsSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("optionsSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsSlider").element_height, _ARG_0_:getChild("optionsSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("optionsButton").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsButton").y = _ARG_0_:getChild("optionsSlider").y + if not _UPVALUE0_ then + _ARG_0_:getChild("externalSlider").x = screenWidth - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.x + _ARG_0_:getChild("externalSlider").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + _ARG_0_:getChild("externalSlider").width = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.5 + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalSlider").element_height, _ARG_0_:getChild("externalSlider").bottom_margin = _G.res.getSpriteBounds("BUTTON_ABOUT_SMALL") + _ARG_0_:getChild("externalButton").x = _ARG_0_:getChild("externalSlider").x + _ARG_0_:getChild("externalButton").y = _ARG_0_:getChild("externalSlider").y + end + if deviceModel == "windows" or deviceModel == "osx" then + _ARG_0_:getChild("exit_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 + g_layoutMargin.x + _ARG_0_:getChild("exit_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if g_updateCheckEnabled or deviceModel == "s60" then + _ARG_0_:getChild("update_button").x = _G.res.getSpriteBounds("BUTTON_EMPTY") * 1.65 - g_layoutMargin.x + _ARG_0_:getChild("update_button").y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + for _FORV_15_, _FORV_16_ in _G.ipairs(_ARG_0_.mid_buttons) do + end + for _FORV_16_, _FORV_17_ in _G.ipairs(_ARG_0_.mid_buttons) do + _ARG_0_:getChild(_FORV_17_).x = screenWidth * 0.5 - (#_ARG_0_.mid_buttons - 1) * (screenWidth * 0.01) * 0.5 - _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_16_).image) * 0.5 + _G.res.getSpritePivot(_ARG_0_:getChild(_FORV_17_).image) + _ARG_0_:getChild(_FORV_17_).y = screenHeight - _G.res.getSpriteBounds("BUTTON_EMPTY") * 0.55 - g_layoutMargin.y + end + if not releaseBuild and showEditor then + _ARG_0_:getChild("editorButton").x = screenWidth * 0.75 + _ARG_0_:getChild("editorButton").y = screenHeight * 0.7 + end + if cheatsEnabled and g_ABsync_enabled then + _ARG_0_:getChild("sync_button").x = screenWidth * 0.75 + _ARG_0_:getChild("sync_button").y = screenHeight * 0.7 - _ARG_0_:getChild("sync_button").h * 1.1 + end + if ABIDEnabled then + _ARG_0_:getChild("ABID_button").x = _ARG_0_:getChild("optionsSlider").x + _ARG_0_:getChild("optionsSlider").width * 2 + _ARG_0_:getChild("ABID_button").y = _ARG_0_:getChild("optionsSlider").y + _ARG_0_:getChild("ABID_text"):clip() + _ARG_0_:getChild("ABID_text").x = 0 + _ARG_0_:getChild("ABID_text").y = 0 + end +end +function MainMenu.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if gameCenterSupported or not releaseBuild and iOS then + _ARG_0_:updateGameCenter(_ARG_1_, _ARG_2_) + end + if mainMenuAdReadyToBeShown then + mainMenuAdReadyToBeShown = false + _ARG_0_:showAdPopup() + settingsWrapper:setMainMenuAdTimeStamp(mainMenuAdTimeStamp) + end + if cheatsEnabled then + if keyPressed.F1 then + print("unlocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 200) + end + end + end + if _FOR_.F2 then + print("relocking levels\n") + for _FORV_6_ = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[_FORV_6_]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[_FORV_6_], 1) + end + end + _FOR_() + end + end + _ARG_0_.quadClickTimer = _ARG_0_.quadClickTimer - _ARG_1_ +end +function MainMenu.showAdPopup(_ARG_0_) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AdSplashPage:new() + }) +end +function MainMenu.updatePrompt(_ARG_0_) + g_updatePrompted = true + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = [[ +New update available! +Download now?]], + confirmOnLeft = deviceModel == "windows", + confirm_event = { + id = events.EID_UPDATE_GAME + } + })) +end +function MainMenu.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if not MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) and _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "ESCAPE") and deviceModel ~= "roku" and deviceModel ~= "freebox" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + end + return MainMenuRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) +end +function MainMenu.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if releaseBuild ~= true and _ARG_2_ > screenWidth - 50 and _ARG_3_ < 50 then + settingsWrapper:setMightyEagleEnabled() + end + if _ARG_2_ > screenWidth * 0.92 and _ARG_3_ < screenHeight * 0.08 and cheatsEnabled and _ARG_1_ == "LRELEASE" then + if _ARG_0_.quadClickTimer > 0 or _ARG_0_.quadClickCount == 0 then + _ARG_0_.quadClickCount = _ARG_0_.quadClickCount + 1 + if _ARG_0_.quadClickCount == 4 then + _ARG_0_.quadClickCount = 0 + for _FORV_10_, _FORV_11_ in _G.pairs(g_achievements) do + achievementProcessor:addToAchievementUnlockQueue(_FORV_10_, true) + end + end + else + _ARG_0_.quadClickCount = 1 + end + _ARG_0_.quadClickTimer = 0.5 + end + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "PLAY" then + eventManager:notify(_ARG_0_.playEvent) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_CREDITS" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS", + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_PAGE" then + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_MAGIC_MAP" then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EDITOR" then + menuManager:changeRoot(EditorPage:new()) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOUD_SYNC" then + g_last_sync_time = nil + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_ACHIEVEMENTS" then + _ARG_0_:gotoAchievements() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_LEADERBOARDS" then + _ARG_0_:gotoLeaderboards() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_OPTIONS" then + _ARG_0_:getChild("optionsSlider"):toggle() + _ARG_0_:getChild("optionsButton"):getChild("optionsImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_EXTERNAL" then + _ARG_0_:getChild("externalSlider"):toggle() + _ARG_0_:getChild("externalButton"):getChild("externalImage"):toggle() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_SOUND" then + changeAudio() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_CHILDLOCK" then + if not settingsWrapper:isChildlockOn() then + powerupChildLockPrompt({ + content = "TEXT_POWERUP_PARENTAL", + image_scale = 0.5 + }) + end + settingsWrapper:toggleChildlock() + eventManager:notify({ + id = events.EID_PARENTAL_LOCK_TOGGLED, + toggled_on = _G.tostring(settingsWrapper:isChildlockOn()) + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ROVIO_LOGIN" then + if not rovioProfile.id then + if settingsWrapper:getBoundId() == "" then + notificationsFrame:addChild(ABsync.SyncIntroductionFrame:new()) + else + ABsync.showLoadScreen("sign_in") + end + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = _G.string.format(_G.res.getString("TEXTS_BASIC", "TEXT_ROVIO_ID_SIGN_OUT"), rovioProfile.email), + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + _UPVALUE0_.logging_out = true + ABsync.showLoadScreen() + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_QUALITY" then + changeGFXQuality() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "TOGGLE_FULLSCREEN" then + eventManager:notify({ + id = events.EID_TOGGLE_FULLSCREEN + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "IAP_RESTORE_CLICKED" then + if settingsWrapper:isMightyEagleEnabled() then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY" + })) + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_RESTORE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = function() + iapRestoreItems("iosEagleRestoreCallback") + end + })) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TRAILER" then + gotoAngryBirdsTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EAGLE_TRAILER" then + gotoMightyEagleTrailer() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_FACEBOOK" then + gotoFacebook() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TWITTER" then + gotoTwitter() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_SINA_WEIBO" then + gotoSinaWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_TENCENT_WEIBO" then + gotoTencentWeibo() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_QZONE" then + gotoQzone() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_RENREN" then + gotoRenren() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ABID_CLICKED" then + eventManager:notify({ + id = events.EID_ABID_CLICKED + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EXIT" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_REGISTER_WINDOW" then + eventManager:notify({ + id = events.EID_SHOW_REGISTRATION_DIALOG, + from = "MAIN_MENU", + success_call = function() + _UPVALUE0_:refreshMiddleButtons() + end + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "UPDATE_GAME" then + if deviceModel == "s60" then + _G.res.openURL(ROVIO_UPDATE_URL_S60 .. _G.res.getLocale()) + else + _ARG_0_:updatePrompt() + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_AD_SPLASH_LINK" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + if _G.magicplaces and _G.string.find(mainMenuAdUrl, "magicplaces") ~= nil then + eventManager:notify({ + id = events.EID_MAGIC_PLACES_CLICKED, + from = "MAIN_MENU" + }) + else + openURL(generateRedirectURL(g_variant, mainMenuAdUrl)) + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_AD_SPLASH" then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP" then + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + releaseImages({ + "LEVELSELECTION", + "TUTORIALS" + }) + _G.res.createBitmapFont(fontPath .. "/" .. _UPVALUE0_ .. "/FONT_SHOP_AMOUNT.dat") + loadAssets({"SHOP"}) + end + }, + completion_event = { + id = events.EID_CHANGE_SCENE, + target = ProductPage:new({ + from = "MAIN_MENU", + product = g_shop_products[1] + }) + } + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_SHOP_DISABLED" then + powerupChildLockPrompt({image_scale = 0.5}) + elseif _ARG_1_ ~= "HOVER" then + for _FORV_10_ = 1, #g_bird_animations do + if g_bird_animations[_FORV_10_].layer == 5 then + g_bird_animations[_FORV_10_].renderState = true + if _ARG_0_:checkBirdBounds(g_bird_animations[_FORV_10_], cursor.x, cursor.y) and g_bird_animations[_FORV_10_].yelling ~= true and _G.string.sub(g_bird_animations[_FORV_10_].sprite, 1, 4) == "BIRD" then + g_bird_animations[_FORV_10_].yelling = true + _G.res.playAudio({ + BIRD_RED = "bird_01_flying", + BIRD_BLUE = "bird_02_flying", + BIRD_YELLOW = "bird_03_flying", + BIRD_GREY = "bird_04_flying", + BIRD_GREEN = "bird_05_flying", + BIRD_BIG_BROTHER = "big_brother_flying", + BIRD_BOOMERANG = "bird_06_flying", + BIRD_PUFFER_1 = "Globe_Bird_Launch_3", + BIRD_PINK = "pink_activate_01" + }[g_bird_animations[_FORV_10_].sprite], 1, false, 0) + g_bird_animations[_FORV_10_].sprite = g_bird_animations[_FORV_10_].yell_sprite + end + end + end + else + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end + return nil, nil, nil +end +function MainMenu.eventTriggered(_ARG_0_, _ARG_1_) + if _ARG_1_.id == events.EID_UPDATE_AVAILABLE then + _ARG_0_:getChild("update_button"):setVisible(true) + _ARG_0_:updatePrompt() + elseif _ARG_1_.id == events.EID_AUDIO_STATE_CHANGED then + if _ARG_1_.from == "KEYBOARD_COMMAND" then + if settingsWrapper:isAudioEnabled() then + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(2) + else + _ARG_0_:getChild("optionsSlider"):getChild("soundButton"):setState(1) + end + end + elseif _ARG_1_.id == events.EID_IAP_ITEMS_RESTORED then + _ARG_0_:refreshMiddleButtons() + elseif _ARG_1_.id == events.EID_SERVICE_AVAILABILITY_CHANGED then + if _ARG_1_.serviceName == "magicplaces" and _ARG_1_.available == true then + _ARG_0_:refreshMiddleButtons() + end + elseif _ARG_1_.id == events.EID_ROVIO_ID_LOGIN_SUCCESS then + _ARG_0_:getChild("rovio_login_button"):setState("LOGGED") + elseif _ARG_1_.id == events.EID_ID_SYNC_SUCCESS and _ARG_0_.logging_out then + logoutRovioId() + _ARG_0_:getChild("rovio_login_button"):setState("NOT_LOGGED") + _ARG_0_.logging_out = false + notifyEventManager(events.EID_ROVIO_ID_LOGOUT) + end +end +function MainMenu.checkBirdBounds(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_.scale ~= nil then + end + if _ARG_1_.scale ~= 1 then + end + if _ARG_1_.scale ~= 1 then + end + return _ARG_3_ >= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_3_ <= _ARG_1_.y - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ >= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) - (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 and _ARG_2_ <= _ARG_1_.x - _G.res.getSpritePivot(_ARG_1_.sprite) + _G.res.getSpriteBounds(_ARG_1_.sprite) + (_G.res.getSpriteBounds(_ARG_1_.sprite) * _ARG_1_.scale - _G.res.getSpriteBounds(_ARG_1_.sprite)) / 2 +end +MainMenuEaglePage = MainMenuRoot:inherit() +function MainMenuEaglePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function MainMenuEaglePage.init(_ARG_0_) + _ARG_0_:addChild((MEPage:new())) +end +function MainMenuEaglePage.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) +end +function MainMenuEaglePage.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EAGLE_PURCHASE_CLICKED" then + goToMightyEaglePaymentPage(false) + end + return ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function MainMenuEaglePage.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BACK" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end +end +MainMenuEaglePurchasePage = MainMenuRoot:inherit() +function MainMenuEaglePurchasePage.init(_ARG_0_) + _ARG_0_:addChild((EaglePurchasePage:new())) +end +function MainMenuEaglePurchasePage.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "mightyEagleDemoPage", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +filename = "main_menu.lua" diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/menu_main.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/menu_main.lua new file mode 100644 index 0000000000000000000000000000000000000000..1b5cde6c43d9312fb2bb59d4527027568ecbcab0 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/menu_main.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/slideshow.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/slideshow.lua new file mode 100644 index 0000000000000000000000000000000000000000..7741f64b7fbfd784214d4b2c53bdb158f3e7eb17 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/slideshow.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..d913df02529685589c6b6a8a486c3ec90fd4b27e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/0.3.0/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a1e5ba530c3c0843944887dc04a0fac4961169c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/powerups.lua b/Angry Birds Project R/0.3.0/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/powerups2.lua b/Angry Birds Project R/0.3.0/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/0.3.0/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..dc0f75c1bed06bc8c3341425a51a7a3296ab24c4 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/0.3.0/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/the system behind the game.lua b/Angry Birds Project R/0.3.0/data/scripts_common/the system behind the game.lua new file mode 100644 index 0000000000000000000000000000000000000000..247d41936ec3c6c92b63531fcaf6135fc724297e --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts_common/the system behind the game.lua @@ -0,0 +1,10872 @@ +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or deviceModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "osx" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = generateRedirectURL(variant, appStoreFullType) + APP_STORE_HALLOWEEN_URL = generateRedirectURL(variant, appStoreSeasonsFullType) + NEWSLETTER_URL = generateRedirectURL(variant, "newsletter") + ANDROID_MARKET_FULL_VERSION_URL = generateRedirectURL("litebeta2", "originalfull") + ALEX_URL = generateRedirectURL(variant, appStoreAlexFullType) + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = generateRedirectURL(variant, "trailer") + OVI_STORE_URL = generateRedirectURL(variant, "full") + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = generateRedirectURL(variant, "facebook") + TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = generateRedirectURL(variant, "qzone") + RENREN_URL = generateRedirectURL(variant, "renren") + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = generateRedirectURL(variant, "shop") + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + RIO_CONTEST_URL = generateRedirectURL(variant, "riocontest") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = generateRedirectURL(variant, "facebooklike") + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "http://cloud.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "http://smoke.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(1, 16, 16000) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + if check_diff / 3600 > settingsWrapper:getInstalledAppsTTL() then + checkInstalledAppsOnline(CHECK_APPLICATIONS_URL) + else + possibleInstalledApps = settingsWrapper:getPossibleAppsList() + if possibleInstalledApps then + checkInstalledAppsOffline(exportLuaTableAsJSON("possibleInstalledApps")) + end + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = true +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, false, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if showflyingBird then + if flyingBird ~= nil then + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird can use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + else + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird cant use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + end + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 150 + softLimitSimultaneousParticles = 75 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = false + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme1" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = v0.music + currentMainMenuSong = v0.menuMusic or "title_theme" + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + local name = v.definition .. "_" .. objects.counts[v.definition] + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + objects.themeSprites[v.name] = nil + themeSpriteObjects[v.name] = nil + removeThemeSprite(name, editor.currentLayer) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + removeObject(name) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 8 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + if selectedObjects[1].startNumber ~= nil then + _G.res.drawString("TEXTS_BASIC", "Start: " .. selectedObjects[1].startNumber, 0, 35, "TOP", "LEFT") + end + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PHYSICS_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_PHYSICS_OFF", screenWidth, 0) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopIngameSounds() + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + playAudio(getAudioName(g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(g_sound_level_start), 1, false) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if currentMusic ~= nil and _G.res.isAudioPlaying(currentMusic) == false then + playAudio(currentMusic, 1, true, 7) + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 1 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(1, lx, ly) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("special_explosion")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, false, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, false, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + if v1.levelGoal then + v1.defenceBoost = pigDefenceBoost + end + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 4 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, false, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "COURTNEY" then + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + local newName2 = flyingBird.name .. "b" + objects.world[flyingBird.name].sprite = "BIRD_HARVEY_FLY" + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "COURTNEY_FALL", flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "Courtney" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_COURTNEY","COURTNEY_FALL") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "COURTNEY_DEAD" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, "COURTNEY_DEAD") + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + end + if birdSpecialty == "TONY" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "COURTNEY" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.bird + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = false + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, false, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, false, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, "displacement vector missing x/y members") + local distToRest = vLength(displacement.x, displacement.y) + rubberBandAngle = 0 < distToRest and _G.math.atan2(displacement.y, displacement.x) or 0 + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(g_sound_pigs), volume, false, 0) + end + end + end + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(g_sound_birds), volume, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, false, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, false, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName("bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosion", 1, true, false) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius and v.defence < definition.explosionDamage / dist then + v.strength = v.strength - definition.explosionDamage / dist + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if v.strength <= 0 then + deadBlocks[k] = v + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/the system behind the game.lua.bak b/Angry Birds Project R/0.3.0/data/scripts_common/the system behind the game.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..6b888c71cae26223d84f6dac4e24b4214fb96fac --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/scripts_common/the system behind the game.lua.bak @@ -0,0 +1,10872 @@ +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or deviceModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "http://cloud.rovio.com/link/redirect/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "osx" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = generateRedirectURL(variant, appStoreFullType) + APP_STORE_HALLOWEEN_URL = generateRedirectURL(variant, appStoreSeasonsFullType) + NEWSLETTER_URL = generateRedirectURL(variant, "newsletter") + ANDROID_MARKET_FULL_VERSION_URL = generateRedirectURL("litebeta2", "originalfull") + ALEX_URL = generateRedirectURL(variant, appStoreAlexFullType) + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = generateRedirectURL(variant, "trailer") + OVI_STORE_URL = generateRedirectURL(variant, "full") + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = generateRedirectURL(variant, "facebook") + TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = generateRedirectURL(variant, "qzone") + RENREN_URL = generateRedirectURL(variant, "renren") + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = generateRedirectURL(variant, "shop") + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + RIO_CONTEST_URL = generateRedirectURL(variant, "riocontest") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = generateRedirectURL(variant, "facebooklike") + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "http://cloud.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "http://smoke.rovio.com/content/embed/pauseMenu/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(1, 16, 16000) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + if check_diff / 3600 > settingsWrapper:getInstalledAppsTTL() then + checkInstalledAppsOnline(CHECK_APPLICATIONS_URL) + else + possibleInstalledApps = settingsWrapper:getPossibleAppsList() + if possibleInstalledApps then + checkInstalledAppsOffline(exportLuaTableAsJSON("possibleInstalledApps")) + end + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = true +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, false, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if showflyingBird then + if flyingBird ~= nil then + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird can use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + else + setRenderState(0,0,1,1,0) + fbString = _G.string.format("This Bird cant use cheats", fbs) + setFont(fontBasic); + _G.res.drawString("", fbString, screenWidth*0.7, screenHeight, "BOTTOM", "HCENTER") + end + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 150 + softLimitSimultaneousParticles = 75 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = false + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme1" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = v0.music + currentMainMenuSong = v0.menuMusic or "title_theme" + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + local name = v.definition .. "_" .. objects.counts[v.definition] + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + objects.themeSprites[v.name] = nil + themeSpriteObjects[v.name] = nil + removeThemeSprite(name, editor.currentLayer) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + removeObject(name) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 8 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + if selectedObjects[1].startNumber ~= nil then + _G.res.drawString("TEXTS_BASIC", "Start: " .. selectedObjects[1].startNumber, 0, 35, "TOP", "LEFT") + end + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PHYSICS_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_PHYSICS_OFF", screenWidth, 0) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopIngameSounds() + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + playAudio(getAudioName(g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(g_sound_level_start), 1, false) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if currentMusic ~= nil and _G.res.isAudioPlaying(currentMusic) == false then + playAudio(currentMusic, 1, true, 7) + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 1 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(1, lx, ly) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("special_explosion")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, false, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, false, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + if v1.levelGoal then + v1.defenceBoost = pigDefenceBoost + end + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v.bubbleAntiGravityFloat = _G.math.random(bubbleAntiGravityFloat[1], bubbleAntiGravityFloat[2]) + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 4 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, false, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "COURTNEY" then + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + local newName2 = flyingBird.name .. "b" + objects.world[flyingBird.name].sprite = "BIRD_HARVEY_FLY" + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "COURTNEY_FALL", flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "Courtney" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_COURTNEY","COURTNEY_FALL") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "COURTNEY_DEAD" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, "COURTNEY_DEAD") + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + end + if birdSpecialty == "TONY" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "COURTNEY" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = bDef.bird + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + objects.world[newName].isEggGrenade = false + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, false, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, false, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, "displacement vector missing x/y members") + local distToRest = vLength(displacement.x, displacement.y) + rubberBandAngle = 0 < distToRest and _G.math.atan2(displacement.y, displacement.x) or 0 + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(g_sound_pigs), volume, false, 0) + end + end + end + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(g_sound_birds), volume, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, false, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, false, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName("bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosion", 1, true, false) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius and v.defence < definition.explosionDamage / dist then + v.strength = v.strength - definition.explosionDamage / dist + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if v.strength <= 0 then + deadBlocks[k] = v + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/timer.lua b/Angry Birds Project R/0.3.0/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/trackpad.lua b/Angry Birds Project R/0.3.0/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/0.3.0/data/scripts_common/utils.lua b/Angry Birds Project R/0.3.0/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/0.3.0/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/0.3.0/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/pp.fx b/Angry Birds Project R/0.3.0/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/0.3.0/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/0.3.0/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/0.3.0/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/0.3.0/desktop.ini b/Angry Birds Project R/0.3.0/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..717d2cacf9cf6416b1ccc3bf1e65128bacd6f53c --- /dev/null +++ b/Angry Birds Project R/0.3.0/desktop.ini @@ -0,0 +1,6 @@ +[.ShellClassInfo] +IconResource=C:\Users\norto\Downloads\favicon.ico,0 +[ViewState] +Mode= +Vid= +FolderType=Generic diff --git a/Angry Birds Project R/0.3.0/msvcp100.dll b/Angry Birds Project R/0.3.0/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/0.3.0/msvcp100.dll differ diff --git a/Angry Birds Project R/0.3.0/msvcr100.dll b/Angry Birds Project R/0.3.0/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/0.3.0/msvcr100.dll differ diff --git a/Angry Birds Project R/0.3.0/updater.exe b/Angry Birds Project R/0.3.0/updater.exe new file mode 100644 index 0000000000000000000000000000000000000000..17319c301ca02f76a5450fe7376d86487af104f2 Binary files /dev/null and b/Angry Birds Project R/0.3.0/updater.exe differ diff --git a/Angry Birds Project R/0.3.0/updater.ini b/Angry Birds Project R/0.3.0/updater.ini new file mode 100644 index 0000000000000000000000000000000000000000..80bc0e7f770db824b450ec8bbc024808d8e5bea6 --- /dev/null +++ b/Angry Birds Project R/0.3.0/updater.ini @@ -0,0 +1,9 @@ +[General] +URL=http://cloud.rovio.com/install/pc/update/AngryBirds +AppDir=C:\Program Files (x86)\Rovibro\Angry Birds\ +CheckFrequency=2 +CompanyName=Rovio +ApplicationName=Angry Birds +ID={12A16EDE-2DC7-4D9D-B3A7-E1743959457A} +ApplicationVersion=2.3.0 +DownloadsFolder=C:\Users\norto\AppData\Roaming\Rovio\Angry Birds\updates\ diff --git a/Angry Birds Project R/1.0.2/Angry Birds.exe b/Angry Birds Project R/1.0.2/Angry Birds.exe new file mode 100644 index 0000000000000000000000000000000000000000..2de72436907b5259387a1e8e3ecd08c5a882bd57 --- /dev/null +++ b/Angry Birds Project R/1.0.2/Angry Birds.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14ab776fb7dceb0abb0915ca9c7eaa9f6949336a3cbc0978afc1f1f278e6f595 +size 1573488 diff --git a/Angry Birds Project R/1.0.2/Angry Birds.gdf b/Angry Birds Project R/1.0.2/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/1.0.2/Angry Birds.gdf differ diff --git a/Angry Birds Project R/1.0.2/config.lua b/Angry Birds Project R/1.0.2/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..31dbe0b251f99ab7a778c74c54dc058b561a1833 --- /dev/null +++ b/Angry Birds Project R/1.0.2/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R V1" +publisher = "JPA" +name = "Angry Birds Project R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/1.0.2/data/audio/music/BeachAmbience.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/BeachAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..85759b30fe232e2ed045f7474b215fdd47a19e85 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/BeachAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8c5315331f8cd9356f9d6ddf968212f7c748b1ac4590f237a299393ba36609e +size 1544944 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/MTF_intro.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/MTF_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9a13eaad63779166aaccb6e4058a2e94ff2a2531 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/MTF_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e377fad5cc78c7d074052db5fb65c1ffdd5b55ae160b83d57a949df3827c26e5 +size 260064 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/MTF_outro.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/MTF_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e99548b513816bc6553e86d3c9d72ee05fd49c59 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/MTF_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89a4dbe0c7efb6dee9a7c116a2a32c31321f466fe1a19f2f36a5bf9f79a5313f +size 279202 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/RainAmbience.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/RainAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..962af79c19b74b7a0b95e4ef156c2df62bab994b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/RainAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5fb460d03b8a0e74ac075abf1821d3ccef4651f3583a55c207ed5f505bf95ca +size 889343 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ab_cave_ambient.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ab_cave_ambient.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..38f968513c9866b61f66cdb2aba0bb5653d3d414 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ab_cave_ambient.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d93725def68b368ebafaadf4710b2a53d5af2fd5d331b58798fbcb29f9b6f6f8 +size 956707 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ab_summer_theme.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ab_summer_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2e1609b175596b9815d9504c1599a52940849ce9 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ab_summer_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2856acaf69f3db3140fe57db40682cc3a65c3c69ab11b0097b3d19752356d02b +size 973414 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambience_waterfall.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambience_waterfall.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..057fa9ac2c38dc3b0abeed22157cb0692bd04ea3 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambience_waterfall.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ad5805317a25bd1fdbb94ba60017997045c1988fe7ad524516ef0d28b5366b0 +size 681509 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_camp.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_camp.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..489a78f096c056c76e1992e33d9e7a7b5b79aadf --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_camp.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8163298f8675cafb7dee42735ef8c34cdfc390af333d1c1bdb57d72501a98de2 +size 1320851 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_city.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_city.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b36d0e0b2b5abb84682805c093f0a42964c553e3 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_city.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a3c2fd920b89dd824478c1da55dbe90a8144c92a7ff40e91986a441f9b2f0b1 +size 978023 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_construction.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_construction.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8640725c93e332136a3eb10baaa2e658103d7703 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_construction.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78230eaa24ac157753c414488d2fa2cb68dee6e38db5ea7d9514eadf8a6f7630 +size 903417 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_eggs.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_eggs.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f8c0700bfba48c82afc5dbf3449dca4d53234063 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_eggs.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d85f90cd56b78e7bd7701d43cacec280d17fed9a8aa13a91c76f99512d5f74e +size 2155823 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_green_jungleish.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_green_jungleish.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8a768b71d5e377e5c3a420022b8e1dd95a7aaa33 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_green_jungleish.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fae614ccbfedba8f90834557a76d7a0999a94f8e1088dc2954e8441349307ce2 +size 1597880 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_halloween.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_halloween.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b0d7627fc04a2114842a6be96528d0ec3d44346e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_halloween.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:782d58349fcd30e5500a4cd481b25aab0dbc32f520ec577a9ee2cdf38b6b90ab +size 809991 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_red_savannah.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_red_savannah.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..46d53409296381ea6a735ce47fb1caaa652ddaef --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_red_savannah.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79c23296d2c44f1958d15a1a7a5db87463aebf1bc90070355cb98264e4d57901 +size 776776 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_space1.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_space1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..ec1045b4747ba4fe6707d7aa0e1f46653fc97019 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_space1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a45cb5a55079101494320024c910c173b1c180230f0640156085a362cc496a5 +size 895691 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_utopia.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_utopia.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f29d029eaad02fa0cd38ed3ae1769c74bbe8dd9a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_utopia.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd005111040ee1edaadbdb34c6901c2708b1af4251bd74795ff954d7359c93b5 +size 680533 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_white_dryforest.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_white_dryforest.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c1504ca6ce858c69e93459a69294e1ef02b85c83 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_white_dryforest.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a8bf88f7e7a03fb31a7340ed7fc5bc57b4658b7b38620b70ce732893c372623 +size 657094 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/ambient_white_dryforest_2.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/ambient_white_dryforest_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8fd9750777a333474fa52dfb64398bccdedd3413 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/ambient_white_dryforest_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76f031bbcba0bb3057bf3fc4d8f54d49c32de715c4c2ab4ef7fd3fd13dedc3ba +size 876794 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..aeff98371f13026464fff64b6bb6b80b6ec26923 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f9d89187f3beaa15dbbb7cbc9529af0e2442e551bdff619759ef7e458539cce +size 138952 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7d52f8e115016c3c25780ca47403c02ea2967a5d --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:199a9d5d6d8a39fa0578e6568e356c98cb9761ec1316bddd588c3013a01f2b8f +size 366131 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a258011a5b1dc952bc8fe5959d7cef2a508da178 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd0cb48ed1c14999e187ca47b6b46e7b9f2ebb5fc374a3cc7221c89ccbeb5557 +size 193458 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/birthday_ambience.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/birthday_ambience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c98bf7258b925859023f6b9212b2cbe60aaea43a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/birthday_ambience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a672d6c0f3abfab6427721b550c700380854e89b88e21c97644322af4dd3622f +size 709632 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/credits_music.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/credits_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4447dfa87907ab0ea5a72dff79b02e746605eafb --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/credits_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aae676c5bf67b71fc28d240de5ae18dc9f163add88b3e2814372a48854c03d26 +size 4391237 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/edit_music.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/edit_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..300976782577854e2c336bd1d367cc1d768acb4d --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/edit_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa371aae2ed6607a06ec75f05df2f77a5729507500c5466b437978c7ad69ecc8 +size 1638267 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/egg_boss.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/egg_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e342bccfaa9af18cd750a71cc37c2e1bccbbb947 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/egg_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b7ec52e75d06a6518acd820ff899a41b75facaeeaa68ef49d18be6717c82235 +size 953966 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/funky_theme.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/funky_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..cfa2984fd2175716219e8881993972015cf35476 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/funky_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c52b0d9438cc379fe16818604c818c60e2f3ea3727754c92a9ebfef1533514c +size 1791790 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/game_complete.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/game_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a1710be57afe4fc2c8c0de8dc331d4f44ba5ef7 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/game_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:966a98b93f7c6bb23b77f64501efb03b6edafce184bae7764d538dffd695c2d5 +size 290171 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/level_complete.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/level_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a3cb0c724428441153200c3e36be96d1d0b5a984 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/level_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:243278c02fd0792f69eca15b5999d5b589d17189f8eb40431e79e1bb88de95e6 +size 219429 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/no.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/no.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..352e683d08ca8c45dbdfce35fe5d5376d66a968e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/no.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7fdeb2e417a0c11eb3a4b649133414f1c5b9f137354c7f2855432622861f18e +size 1897733 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a68d33208bcb4f3b8b432ebd5e6a340673d7c4ab --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41f18bcce5bb275027ce0712b2d0239d6266c20d6267425ffd455060a5606f1c +size 1645471 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7460f7fcc6230a87a106c9cb54a4f637a2fb99dc --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7be942fa7ad525ec1cd0b1ca29527fc2b4fb5c51ebbc7bd168d02f733c53d514 +size 1446034 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_3.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..0089352fcb7f0510d55a2fb5691f6b9829a0f692 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e8a09d3d4fc1c5fb1e1a8ab5bd6043d3cd57493666bb6e142783b09000598eb +size 1831354 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_camp.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_camp.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c32b11bf133a2480bed4629a4e434a43b330b6c6 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/pig_boss_camp.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7480134b2098b8f341b025b2e632e5c040c7b479ac059f517e0187ebda9c82 +size 2299816 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/pig_tales.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/pig_tales.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a71408e9ff641b657f642fa59633d39340b9a02 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/pig_tales.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28150f3f1ba9392128a481eee507c26fba2c707f839f4222df6ae41227d9b3e7 +size 409721 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/reward_jingle.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/reward_jingle.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4591bfdf2d4493ec87e7747b185cb046931ed1b5 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/reward_jingle.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c25daf946196fb6eae29f39149e3524f3afe5fe2261c6b4b376903ffe24cb08d +size 57303 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/title_theme.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..127e51b75365b4075728d89207154805c894a987 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2dbbd3062a49eadd26b796a3d65124fe0baa9575010e00da7b6227abb2c8fd5 +size 1640597 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/title_theme_breakfast.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_breakfast.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8d91aedeb84bfacd68d67bcfd9dc9a3d9c3fe63b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_breakfast.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50a93012572c42e393b7eb8f78eb28457f8b2e89e4e36628674304d23ddc4bc5 +size 1322965 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/title_theme_camp.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_camp.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..96ac055f95e7b9a06262b60190ef22c12cbdd00e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_camp.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d0134ba85de41442c3292409289350f4cf85232f61166093e70f89eb52c9275 +size 602748 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/title_theme_moral.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_moral.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..940967ab6ad8bc2aed73bb4d30a2c3aeaa568312 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_moral.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b47ce51026683eff3f2e9a2510356b2691dfeec14b1145a03542a5aabc3e1f02 +size 701524 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/title_theme_space.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_space.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7e625bd082a35e3ccc22e2fd7fd77f9617d0c420 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_space.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a188377257a477c02e5aa84353daf15143c3cd14525e134860d1f384201797c8 +size 2160776 diff --git a/Angry Birds Project R/1.0.2/data/audio/music/title_theme_tutorial.mp3 b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_tutorial.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a49745c42a73bb6481af3a4d4e3150b2bf2576bb --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/music/title_theme_tutorial.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04ac2db2e189eab692b531777ae6297bb5f4e11eb851c0f6ebc3fbd622c31cb9 +size 5147811 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/3_Stars.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/3_Stars.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..76e16e5a046d3d1befe46d80012f7c31c189d4b1 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/3_Stars.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a16c0a1256631bff65486b9e5ffe025b6aa68702a4971857bdc0f5deb6ccb1ae +size 10009 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Black_Idle1.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Black_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2b27375ecfd5daa354a6b4ba9a635b2cdef03240 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Black_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb58200682af2dd948351e3a9c169e3168580979690afe60e6b8559cda935b5f +size 9657 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Black_Idle2.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Black_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7ab10d09a511894f03bdfdd4ddfb97ab0343435a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Black_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9006e7ae6bf70a95af8c49bff1de3b6759099806a8b98795de67e5473f1542c +size 4011 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle1.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f2c31438df2b4a5c11d20c6699621e21223a9d05 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:841010fc46ead4e59c464058d7b1e230d2e5621dafb7b6dc997da28a8c6549b5 +size 8874 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle2.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a786c13fec906fbaacb5d2608fa0abfc77c04b37 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be59113eb7c2de2c35c000a05276c97b0b29f81f57d885882f56b1cf86a516e7 +size 11745 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle3.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5945e8c1a13f88ec1ddf75013935fb0798495e2b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Blue_Idle3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03df6550abe97b1c8a630824ed15407199c2da138b797dbcf4a2307f497b050 +size 4959 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Red_Idle_1.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Red_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e8e1a7aee3622f063f22fce7bb92a3143a287b39 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_Red_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8081ac3830258e3aa72cb94fe639ee8edfd9033d9400517fb6205093fd455102 +size 4437 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_White_Idle_1.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_White_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..56a0ed1956d46f98eceae295b54dc036aaddd23a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/Bird_White_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6153339dbdd4e35536ce58b3da36defacd3cd9f5b6829678ec32355f4f39c048 +size 10028 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_break.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_break.wav new file mode 100644 index 0000000000000000000000000000000000000000..d3ce78a122b294664eb98366db9d7c2f871f676f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_break.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5217c9b69c36e69659a37ed7625bff291e30c21b7f16c6f5a82fd27908e91d1 +size 125128 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_empty_pull.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_empty_pull.wav new file mode 100644 index 0000000000000000000000000000000000000000..ce11b37c756784b8d5ea83a6a14ad2b4f8f1a3ff --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_empty_pull.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:640393fdd29346c65c20cae8aaaecdc9b2c7a5116b4024304b5de14dd288ff68 +size 108504 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_empty_push.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_empty_push.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d54e0c5ca538c55e63efeedb744dd9f62d8a9d1 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/accordion_empty_push.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dcf6356dd30b16806bb6d982cd463c061e8095d5d4184d182f4f36527f19f60 +size 127482 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/ball_bounce.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/ball_bounce.wav new file mode 100644 index 0000000000000000000000000000000000000000..14edb928903cde79c51569c3d221ee79adebcba5 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/ball_bounce.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11a20f27efdebdc4261004ca6abaa4d6b57b1654f747939fff316739cd9eda83 +size 28878 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..3620e582ab428cdf69b13650e927e7152c63d534 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20bc621567696c8892c1b4b4a49b282b14422a1f0f657d4c686029e38938a6e0 +size 22380 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/big_bird.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ac04069d76d28efea1468cc6af4c8fd5d847214 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875e6cc62f7f0d698574df6bdbba67633b8aedc47af35edb2923412c2e9eba28 +size 133932 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var1.wav new file mode 100644 index 0000000000000000000000000000000000000000..5ab6627b0e5ce80d3c76a0600fcbde5781e153e6 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed19e3acf88724bbad497c43a30891cd3ca29b4973a26e8c1dbba391c3113d62 +size 88358 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var2.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7e9c35e7bc493629bbddf19aa34e8e831d1a2eb --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bb8e17ff3c7b10d0db34770a32be880d17b7933dbbf47e9cfdb962cf940d3fe +size 95868 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var3.wav new file mode 100644 index 0000000000000000000000000000000000000000..bfee40888ac5421e792caf1bb111a44ce6785259 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_enter_water_var3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:566ef9a7e52fc96106b4167bab9c4efa64953be10ed2da377eade786f04e20a1 +size 95868 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed8a54e8fccf2ca4def91a2af26641631e15fa35 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd354689c92e90faec172ed79f378c64bca99667a014a20519c524f3a0ed4a4b +size 86836 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var2.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d6484029aa1d7e28d64b9bfede9c712ff5b19eb --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa5728aeed9a0990e3e6e1cad9978c17c835472718e82a0e5c96be9fea753bfe +size 85940 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var3.wav new file mode 100644 index 0000000000000000000000000000000000000000..e31b2ea399bf6b42235d799b380f5dadfbc65183 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bird_exit_water_var3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:115f42b89c1761705b08dc3f1f229760a352fced83691b41c12ac2c670d91743 +size 87476 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bmajor_left.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bmajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..344d3efe508db54a31d79b1eb0d24e7d0206cb58 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bmajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:108aa85275c295921053b41112e7666f83645c18a0a265106a98e2fc23e3ecac +size 88806 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bmajor_right.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bmajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..856df6d666256064b83ec50bc34b1a1ec4fe19cd --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bmajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7694f8efb7b28557f37ae9d1c93c41a51b0dcb5345acb21f3738a951d49a3a9e +size 88664 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/bumper.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/bumper.wav new file mode 100644 index 0000000000000000000000000000000000000000..aaae91736f4997eff4a6034ba168461b95d38c5e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/bumper.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f2f6b7bdbfa53761444be2f0b3c1695962c9fd34ead06ed4bd2126bb5eafc0 +size 48726 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/button_radio.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/button_radio.wav new file mode 100644 index 0000000000000000000000000000000000000000..1fff9be156c4183bc8edf2c4bac48c3d57f2198a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/button_radio.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:279d95cad7ed6f09e20332782effb474573c2d9969209867b7a2bf0627d152f2 +size 71302 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_01.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_01.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b52ce6f05057c24b0cf1295df3113e02eb470a00 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_01.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b513ad48e19a522e0f542513255291d4eb3675ae1ae4bdd6497dfef1b9b4c0f6 +size 7124 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_01.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..0c4cbd4f047c305ec67d3d7853122c64512541fd --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:124395be34a65aa13f2f044573c21130d7a6bd2da9f1ad89879763910e361648 +size 75408 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_02.mp3 b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_02.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..77230d5d5ecef2afef2e03877e8703b3adcaf90e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_02.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95a2144e5b4c640bf3b4c1f1f8fc8942c04a0a64f4ae234d6de51c0d415e2636 +size 8743 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_02.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..a1f5ea0eb44f788cc11e9702f0e82b3eb2ca88b5 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/cannon_shot_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5adc7a05e1dcfb05f05382ad320c6965c4819e72b7626a87bc1c7bfbc0aa3dd4 +size 91636 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/char_chuck_getready_04.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/char_chuck_getready_04.wav new file mode 100644 index 0000000000000000000000000000000000000000..15d0cb46698db8d88425a21bd5ffddd65266d519 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/char_chuck_getready_04.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4069cb5405357e14ba0551585df9e7fbadc9a8f1246b2826e319f6d87d99d7e6 +size 88364 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_1.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..e66e506f018bf568a7442ecf14a7fbafdaeb1515 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a07e41346d3b0e9ddb6475cb347dce33cabb35822a411d2a6a755b21946a301 +size 49324 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_2.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..cdb747adf0e9658f5ba1d4e20d649942d6f45eff --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0240a41e7dc7e54b5a9ed8d74a7720ef7bb16bb48bafad9a0a573a8da615116 +size 88364 diff --git a/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_3.wav b/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..e8baa4dc2ff2f6b9baee41076f60c46e69def543 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/audio/sfx/chuck_idle_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b403717b08216ffc06c5b74325afab101f1072a2a5013405aa7d0847d8c5bfcb +size 53676 diff --git a/Angry Birds Project R/1.0.2/data/editor/editor.lua b/Angry Birds Project R/1.0.2/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..38f5b748fac3c550a037c126c17d1ab52ec003d7 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/editor/editor.lua differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..3ff26b31b8a325e5c4403bf71c14ef5981d99570 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6136c52b94d2c4139362c48ec1bb2049e9a7009a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..3dc694034d367f54045f0f3933658ad24c5e2957 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..0f93951c506607feec69ac99c37c482dd0bb3741 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..21ee51991fdfca7fe14c10a92ebee65fb42b2792 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..c872a89a8f99fdc02ef4f6af2082262423dea92b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..c8716179e676ba601e09e40532f95dcda7dd4a41 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76ae6f197fcbccd109efc8fe933a0895572bf6592de46a2b61a17c6d833938f0 +size 53711 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE_N900.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE_N900.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c080ee93c6f79db09b83f9faaeff18df9f4b1b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE_N900.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..25dda7672f62afcf12ab2970d57653016278cc1d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.png new file mode 100644 index 0000000000000000000000000000000000000000..3cf63f06358f42d03e277423a86eca2ccc616530 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41aeef377d94217c7f15dacab4ce8fe8efdabec618782a036447ad290e54156 +size 56251 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..0bf3c182e1ab96d954d0aeaa8def3ff28bfd95e6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..123c4209875fe6bf5fdc159002db84719474e59c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ba8841588e547450320b47f3e3f8c2fa184a165e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e15c9b51ba3bf11427a6c0c25a661b3d9c6e947b582e449dd830798d648c279 +size 1775668 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..7402010b1f0114167f70bf3095025ffb6beb0807 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..9b2833fd5f3083995321184e288010c23469d744 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..9715d99406d7b2d712406e02af99d0dc998cf0e7 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..224d416b8c1fc5b6fdb17e9cceeb216aac27fc78 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8fa2edaae3c41e0525bab2e2f56575bcd6daa9856722557e2ca61538419dfa2 +size 34585 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..dfac8a8fa39ce078553b44b52cefe2f49d90cadf Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..bf8e1ef19bc1aa256426c0c58752cd6078568a1d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffc21881861a90afc90170438bf8a2770c266d4b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..75bd49c1764d2108878ffabd2ebccd0904fadea6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat new file mode 100644 index 0000000000000000000000000000000000000000..6d891f83354557574e84855b20c108ba5f6cb7cb Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..514ded8c1f4b3e65f967424846fb2c5b900fc78e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6a7f19c21484ffcc22f18e84a52ea888ed84e3599c109f7c45af54714471ca +size 150549 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..d5095b37201e962d7821bcaa4b3212dcd8907c11 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..02e33f2a5e97b13084bb892c9d9fa9c61f330a93 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e81b40d24e9e3038fbadedfd82cac5a866d68908 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33fbe429276400509676dc1a585c09154f7e130e93ccd53bc1c1e0cd6deac288 +size 3924020 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..98a6726164c6d99b8e7ea2427d443b3c17684aba Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..be162118ba009402d88dafb49bc20b4f4773c4f4 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f001e6995051d7645446149896d522ed73eae136fde852d23cb761a51f445acd +size 2056244 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.dat new file mode 100644 index 0000000000000000000000000000000000000000..1ce57631bf1750b50e72b84ad8a56d10c3889995 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.png new file mode 100644 index 0000000000000000000000000000000000000000..1cd8ad43461218393688c86fc8988c5f19c559d4 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f50578f42731b15475121bea5ad4dd4cb7955698e69bf5027e84c7b0cec8f7d1 +size 4536 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6dce52ef607b084180bacd92f5fcaebb364e388e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_LS.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.png new file mode 100644 index 0000000000000000000000000000000000000000..8f8a3d1b80361d40933ae08c20afed0d989f77e8 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f098ce8177e2eb5ca7554d03faace614d95869e90489c6e0d2fb918d4aa15b +size 8147 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr new file mode 100644 index 0000000000000000000000000000000000000000..35f323806696f766b38420be91427754743d5d44 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..6b1927d5f3e0d6aa44cbb27f27f45b9392e21fa6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..812d4c5d3388dec5b6c124f5ecd6377b136a4e0c --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6723c58df5dbbe20b5c9efaa690c34e597acb1bc18778fcdd8317390ade27c4 +size 4994 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..704658963fbec424de7709687cbbc312ab758087 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat new file mode 100644 index 0000000000000000000000000000000000000000..7462024fab694eaf7776906a7b671975c7186a18 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png new file mode 100644 index 0000000000000000000000000000000000000000..a5d395040da5ede3f0cf0739164802503b86a21e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32912bf2460c9f5b052e8cac64e8a8c0b4b4b6820e4b7630ef08b592dc6ee64d +size 27198 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr new file mode 100644 index 0000000000000000000000000000000000000000..c92c4da49a4673a84d8a58f0629dee1914281167 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..382fcef11e22a6cb0cb2f82cac07f08b98582587 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..f18f772f96a73158edcb7a1e26553d8653613137 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SW_BIG_HEADLINE.png b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SW_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb797dd63b799c57809dd3cfa662fd78930a0e5 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/fonts/pc/FONT_SW_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a7267c28faca8b04317b53ffb0e02238e740d7c763c273d122e740da21fb98 +size 341382 diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/PausePage.lua b/Angry Birds Project R/1.0.2/data/fonts/pc/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c3685e99422c02b603d0241d1aaa1491bb62e0 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/PausePage.lua differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/Pictures/Saved Pictures/desktop.ini b/Angry Birds Project R/1.0.2/data/fonts/pc/Pictures/Saved Pictures/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..a51683dae5158c401aab388ce7015ade0ac2a064 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/Pictures/Saved Pictures/desktop.ini differ diff --git a/Angry Birds Project R/1.0.2/data/fonts/pc/Pictures/desktop.ini b/Angry Birds Project R/1.0.2/data/fonts/pc/Pictures/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..2407f6d2c327f1654dad1e2d3f7712c3b486af54 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/fonts/pc/Pictures/desktop.ini differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/1.0.2/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..114b02a2d8ce22e7f290db73deffa22671107732 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8d4f93d2c14453c44f7daab5c07f402372c1176ac32d31b8a76e3bd9c121c84 +size 181645 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_GE_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_GE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..2e787132f2aeda4502bd35bfddcdca594732c15e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_GE_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_GE_1.png b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_GE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..a63ee240d512b713b77df559d19229fff04ea137 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_GE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7490c8c2f9523b45c8f5f25263bdeef1de325670e045e1358f84c58b259edcf +size 314567 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc166ed4b0667007c7a221b495c10e59eac04e9f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_1.png b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5362f79f093f44575be76a96bc5cd5ddae1cb3ff --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b89659688d8df5eb4c537acd6e6df3e789e5bd34f6e2a850b66b43b06ae8b2b0 +size 192468 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_2.png b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..1de6495bf3bf7c6676f278aea8aa466501a64449 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_LS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:932009185aa8ab3c1c81299729a5e623933a6ad15d9df3a65fa64c6d974acb32 +size 155373 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_MAIN_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_MAIN_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..538cc54e2d19b0d545fbba7a68893682e7f820d5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_MAIN_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_MAIN_1.png b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_MAIN_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8229f241c726b29450fd99ab98480678dbd0ad06 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BACKGROUNDS_MAIN_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151795aa964a14aec05cf46bf82e4f6f46d10c0a60072911699ef79b20e4ccec +size 212209 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..faff67923602e08b3281b0e821dabea375bf7498 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..54e7fe9dc3962efc9fffd6990be3af92b9d5d18d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2fd92878816f6174ffe22a3790d846955b9f750 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png new file mode 100644 index 0000000000000000000000000000000000000000..8f590a9cb0482621bc1970ffb72a10e1b171f870 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b56f8016cefab230e1b32adb86a5deb4049d0022e127d562f2d1718b1f80d045 +size 11475 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..94ab3ff908cfe8a8d72bd354ed7c5b1b807a0458 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6c4cd07e942122c4ace337e25cc6d9c651c49f92 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_EXTRA.dat b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..0b5f357649aa8333e479881c559c5ac46eaddbec Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_EXTRA.png b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_EXTRA.png new file mode 100644 index 0000000000000000000000000000000000000000..a4d2b7ed08c6dc3017ca97832a412816ed2b4b3e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_EXTRA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33ce3218795f89b379bb1eb5e9cdc6c744d98056f297aba72b508718ff2c67dd +size 42143 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_LOCALIZATION.dat b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_LOCALIZATION.dat new file mode 100644 index 0000000000000000000000000000000000000000..518254cca96ed163aa3283ae54f6b811fa4d4b3f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_LOCALIZATION.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_LOCALIZATION.png b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_LOCALIZATION.png new file mode 100644 index 0000000000000000000000000000000000000000..8540c0388ae41ba938ac8479c60b679d683fcc5f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_LOCALIZATION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea8ff5e03b87a3d6eea6fedb3e78776681884dd905231ec25262ca8cd4ee0a6e +size 91025 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..1d126e8a220c49a2f431a2ccb7d86880add7cadb Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..dd237d85d20252563e7b1725ccf1519277b1c622 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e162598f9f16bafc99fbc22ad1a4f5a4d37e12e645b8c2d062ef4bbc6e86c954 +size 413785 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_2.dat b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..945e93e40870787f8def90da1e873e24fe1392d3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_2.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_2.png b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..a35ff9722ea04450e5e99e69b9f1a9f630d20ed3 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/BUTTONS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92b5816e7749c1e1dd55dec67f41f196594373d224c432aca05999d34063de20 +size 914948 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CAMPING_2020.dat b/Angry Birds Project R/1.0.2/data/images/pc/CAMPING_2020.dat new file mode 100644 index 0000000000000000000000000000000000000000..fade223882003f75fe2211eee7de93e519dd01ae Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CAMPING_2020.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CAMPING_2020.png b/Angry Birds Project R/1.0.2/data/images/pc/CAMPING_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..75342c7577e171c4bc1fd8c8524712e10bfc8a8a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CAMPING_2020.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9990e10145b36a071ebbc8b63424bc506a1cf761c1ad107a28f4f03c1c2a99e5 +size 249536 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CHANNEL_SHEET_0.dat b/Angry Birds Project R/1.0.2/data/images/pc/CHANNEL_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0477a4eaef990a9796500d59fb969e7667331e06 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CHANNEL_SHEET_0.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CHANNEL_SHEET_0.png b/Angry Birds Project R/1.0.2/data/images/pc/CHANNEL_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea943b4191cc83db76608eae32ec9f4ca4f1b32 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CHANNEL_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba65b86e84d496230feb3db482e4d289fa03acbc742ad578606751ceea51c9a8 +size 17787 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.pvr b/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..2e39812b467a97935eed1f62d1aa211424185cd4 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CURSORS_SHEET_1.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_BG_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_BG_1.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5f1980ad479bb8d5fbca14fc95c72f4b4b91480f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4b8425f5f47cee50f75335997c722577da94efd57416c8bd93b62f9df82bf5 +size 6361 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..0324c1fe7cc1116e011586f7a5fe4dcff4e12830 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da2428b1c8e6ad6f59c27be57b0b2eb55e83b9c1db4d42d29a6ac2b11a0e813 +size 17893 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ae8fec0291eff4ec5da0634d28a4a725f91868bc --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76e0e8009d2987c997a93aab5c0cd97f0c8826d0a5a199446d17bce426959ea +size 271919 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_END.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..796a59610bf9f362aaf6869b288e3461e4c02027 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_END.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_END.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..e074f44e905d2ee402c50f60bdd7690e97acc18f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06fa48572ddea14ce4b6b9d361a3b54af0c543093b1db9fd85ed82b69de3d97f +size 94337 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..772a607c037a8b5102f21bec12ef3ce642db1117 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cc5b2970191b0ca81366ae1a805b4a49573ee1ff --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa4fa3b67ad3d83cab2aa4a3abcab955750f8d61f270fdea90dd9d00fd7cc06a +size 195212 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_2.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..35ad39c8ea2f27a18348ad7ef87f45645907cfa9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_2.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_2.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_2.png new file mode 100644 index 0000000000000000000000000000000000000000..34f470725350f46563d8d7d1e1967241665f64ee --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84c9926df6e9d223949c52906d232d1d762823dd5ba38f1125cb01b1eb84abdf +size 147709 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..4416bea846c8ff17e609c0d77b792095f30f5619 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..f8ab6b07144c973f0c23227ddf2a2ed477f21143 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:181a44259bc49af7bed228df0458014f65b661e83ba271dca58e53317c9068f2 +size 122013 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..84ebccd0eabf50e5811fe6503c8a47d2d265cc98 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cb94f3a9f80c6e524c705115ae67f14e124bf65e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f0512e34356e77c573026dfd531fbdb498bf88f7ef7b8f21ec1f64219c40e65 +size 77988 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..78f26cd5f6c336242d161aef6668fa94cfa65c7c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..711f182668dd21f4f619191b139fe5fea3aeea02 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f53c05db143dcba9a27100e5587af6e6d9e9a594da097e10ad77ea3e7bc693fc +size 239524 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..c07f5eee210ee7bbe3311f69fa1121200dfecfea Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..89764f65fa0e6258e5975c663150ee27be840f2e --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9531ebf6d9f0277e617df1f41b21c3344a1724314e61d0e3b66a7ed4dcf91875 +size 176305 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..33f63ff149a7df327adf8f76111ba66709098995 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..715cc8c3557b3c5d3a6514c8a3416b3d7256cb04 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03f4a6abaec9ba14f4b64a6abd019b0b21a507f68873538611f053362b9794d +size 236897 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_7_END.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_7_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc853f4e5c89393da8cb974180b7b421a6e4bb1d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_7_END.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_7_END.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_7_END.png new file mode 100644 index 0000000000000000000000000000000000000000..331b0e317a57542921d1a84dd69f7d9b9eac2901 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_7_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37a51ec64f6665d4cc03dc5e35cc51e1ab50fa3af8bc396d8f08acc6843b615f +size 106804 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a935ced06d0d5d74779e7033d603b5501917790 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..c5ece888559e20078586e695fafc03f22f5415bf --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be264bd07c26c580d8c4da8b671592b226c55eee119daf6945c072d8b733fe06 +size 103828 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BG.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BG.dat new file mode 100644 index 0000000000000000000000000000000000000000..e8b71ae3e7a74f30c7bc0f7f1ad9e6721f8fa2be Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BG.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BG.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BG.png new file mode 100644 index 0000000000000000000000000000000000000000..497aac633352303b9fc89f28b012194687eb0a17 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_8_BG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe30ff37883de7b98e9b7bff1641ac6fdbf6d2c614035f74cd5589a828805e90 +size 267411 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.dat new file mode 100644 index 0000000000000000000000000000000000000000..19cb78f18f6a41b8cfd92f8eab0754ff03054765 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.png new file mode 100644 index 0000000000000000000000000000000000000000..8337d20fffe8e38c974e1f9ca30d4ff36b13eb7f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0c6f4ff982be4dc85e1482eb36bf20c7cf0687bf99641d53ac20d22269d6faa +size 152378 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.pvr b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.pvr new file mode 100644 index 0000000000000000000000000000000000000000..34630f2df24ebbe544f0a1bb5d36cf236305975f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_GREEN.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:326704b4a4c61a03fd606f47da26e48444a7d83e9b1185cf108db4ffb2d394b7 +size 1547122 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_END.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..87c83705dbc4cd488d8a91b05f072846518e2e1c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_END.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_END.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_END.png new file mode 100644 index 0000000000000000000000000000000000000000..a7c31c372540a0522da7e0acf4dc34906d183b27 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f1bc77e7fc47dece30cbdbf39ebc74742f5d45c6c9536dd919ec3a3696ac766 +size 583976 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..75161310b3f46ca3d1823a6d44dea5462f39975b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..857b84c24a4e0561b3fd1bf47d8e3c70b140b9cb --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a253c238d8d02edcd945f11c0ec8a3bbd015053ad2f4b724c08a3ff1a466f115 +size 534710 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_END.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..0412ba5e6058500ad69b27b867ec9d4636a0f1d3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_END.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_END.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..4535f8adf75091023a33ef756a8620ae62ef3883 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f07ef276b46b03f85151ca9c2dec35718777a1d1fa1daa7884a727e477aaba60 +size 254417 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..a714ec4605924a9794b1da7a89f17694af60b50a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_INTRO.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..d325b397c67210e6d2b1ad06ceb23c3c3f7aa469 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b48e288595cb79711c52ccccc6d263429ba25605557f440b5a04873fbd4e964 +size 292589 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_MID.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_MID.dat new file mode 100644 index 0000000000000000000000000000000000000000..8a4a9207a604563c6a24dc5b5ce49701868f0550 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_MID.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_MID.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_MID.png new file mode 100644 index 0000000000000000000000000000000000000000..a36a0db8372b5c2dc592926eaa34a4e23940d9b3 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W1_MID.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daa85744140d37469925c536ef7c57678bc6eec0f556d770f7133c7626b473fd +size 474282 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_END.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..3fb3ab295dcf38d8758d70a53aef597a8672561e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_END.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_END.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_END.png new file mode 100644 index 0000000000000000000000000000000000000000..52eb096ef3619e2d9184f26926368d683faf0b22 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edea36e78dc688e162186dbc2bb0167ab92665f36892e78126426196978816b4 +size 1606963 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_INTRO.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..839d85cb11f7c0bb5b3c94df0d0ef49fc555cebd Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_INTRO.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_INTRO.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..bf7342e6e838e547ec20d1480fe9805dfe9f0e37 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60f25735b90ac07db473ac19213e3937b091d6323ac76a1be771fefc08089f20 +size 1864496 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_MID.dat b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_MID.dat new file mode 100644 index 0000000000000000000000000000000000000000..f0df6d4ddea8cbc1ba4f370b42a9cb64557e3757 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_MID.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_MID.png b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_MID.png new file mode 100644 index 0000000000000000000000000000000000000000..0c09a191c8b5a081322b64691319cdad851ae256 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/CUTSCENES_STORY_W2_MID.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:982e8709fbae0f696a93a38bcde4f7ce5921445158380f43849b23c4866f70d8 +size 425139 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODE0DECOR_RIGHT.dat b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE0DECOR_RIGHT.dat new file mode 100644 index 0000000000000000000000000000000000000000..aada6ee6ab2380b53bc24447c64dec8e5d649c79 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE0DECOR_RIGHT.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODE0DECOR_RIGHT.png b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE0DECOR_RIGHT.png new file mode 100644 index 0000000000000000000000000000000000000000..e085a481271d6178b46b469b53a36faa9e53f181 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE0DECOR_RIGHT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6574592c3842a843bbd4ddb038c34c6796926fa579acd5b563d580d005ec8572 +size 43411 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODES1.dat b/Angry Birds Project R/1.0.2/data/images/pc/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a56b4096b5daa8c21b2138dc579f819928a4f36b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/EPISODES1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODES1.png b/Angry Birds Project R/1.0.2/data/images/pc/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..f89c2438e068176a82eb772c7941aca40a584485 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b16fe500dc57df55fa3a1b0569609c6099552d3d241c6e25ca3432f2ec0ed5be +size 508376 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_0_OUTRO.dat b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_0_OUTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..f47cfc6eaa2dd53ccb71c8b4588142abcf739ca0 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_0_OUTRO.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_0_OUTRO.png b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_0_OUTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..bad236431044564d0715e27a7b27ce76c1e4eae0 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_0_OUTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f980f74db527a6559c056f64be68f64685a9035c8bfe01854fb0e06b02f9172 +size 454109 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_DECOR_1.dat b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_DECOR_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..4de9f20da2a25937a8894c14b378391f02635267 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_DECOR_1.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_DECOR_1.png b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_DECOR_1.png new file mode 100644 index 0000000000000000000000000000000000000000..ca1fca89ff56b9eaa1dd40706b37dac6be842dc8 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/EPISODE_DECOR_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f97418f1da421debdde23dc24fe39f76584fc49dc73c03d66b04fd30a01eb24c +size 452292 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.dat b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.dat new file mode 100644 index 0000000000000000000000000000000000000000..e66efcb2398664cd38b336679b035c1ec53b0499 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.png b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.png new file mode 100644 index 0000000000000000000000000000000000000000..afb247d6304a69689e94dfc194c4c8e8b978f569 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417c778e23c21f132106e8555de1e201e35b9016d2473897ae3d0fd471ff38a7 +size 41978 diff --git a/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e21af0f0894473012cd7a01e1aeac20765733571 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_GRANDPA.pvr differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_POWERUP_REWARD_SHINE.dat b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_POWERUP_REWARD_SHINE.dat new file mode 100644 index 0000000000000000000000000000000000000000..43634f37b2c4c5a2ceeeaa81a1fc9242e17f860f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_POWERUP_REWARD_SHINE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_POWERUP_REWARD_SHINE.png b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_POWERUP_REWARD_SHINE.png new file mode 100644 index 0000000000000000000000000000000000000000..13ca3497584fd1d0102c1c639e1e123334e48d35 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/images/pc/GOLDEN_EGGS_POWERUP_REWARD_SHINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d693ddd1b5ef3aeab1f376c2bcf7ced06e0db84d027df98b33438d97cb1d0b5 +size 10739 diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_1.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..a982a55321124a72867431bcdc71e1731fc1ef82 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_1.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_10.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef50809ad132e255ac962cf3cbdbcc57fb522cc8 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_10.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_11.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd2d2e27e3aaa9c3678ebc978684b413a682fc61 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_11.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_13.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..d44611aab3b94b9f11de2f7095cdef06b7476f99 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_13.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_14.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d20810f0be940e4147a8656e1b6d9182a45966d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_14.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_15.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..1de68c8c801eed13f19e0dae21e3fbba1e4ebff9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_15.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_16.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..2da55fff114dc25b490187e52eecdae1eba75146 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_16.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_17.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..2e509464923504220a8caee1011c18be4479f4fd Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_17.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_18.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..10f6850080125e02a61019f7cb845d8585288c2b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_18.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_19.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..36e3b6cfc291da32df29baf1a32126657a437969 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_19.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_2.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..41b57ac8f216816a3b50c4b8dd19b19b6c71cbc4 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_20.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e4a6151d0f252403cb251646b7253f5e99e1ddf Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_20.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_21.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..7448363330980c03f7c2ac06c4e1b3aeab46c586 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_21.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_22.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..ac3294d4b8f4ab35d5f48020eca4dbc11c1d8672 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_22.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_23.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..0307c7b6cd2cb44a575b3e6f2162a983b7b421c2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_23.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_3.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..6e854922351c7d228c32de5276242cd78b1b0c99 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_3.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_4.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..959652dfcc220d5d8d361701cf0f74d5622f0b98 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_4.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_5.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..dbab10fd732613081dbce56775445f11228892eb Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_5.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_6.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..fb93813b8974f2cea1e082ba2c4a1050088b6549 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_6.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_7.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..97fd2fa15652d9bb0b039c5bd63f8eb38bc19d4c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_7.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_8.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..e4cd11360e9a1fb8090fd0f2add04d9e9edee218 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_8.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_9.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..583a5f3e8faeb00fb266ead293cfee60eeafa4c6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_9.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_Boss1.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b30af0fdde1df1ff35a1a4416d1cf95a7e7b23f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_Boss1.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_Boss2.lua b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_Boss2.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c48d58af236d10e3da31fc7b3b7ab7f740add6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Breakfast/W1_Boss2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/Boss_King_1.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/Boss_King_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..886932fcbf5a50a875a9580f75f61cbe2d6566b5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/Boss_King_1.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_1.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..63d0974bb97b723154469e7e0219073d09858d4a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_1.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_10.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..564999349e0b43d422fc589d589cb4caf8838d70 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_10.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_11.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..343992820044159c4ed685710b50e95848510f43 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_11.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_12.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..35f7d7bd45f486496705891c7d327f4aec675d5b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_12.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_13.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..2e9052793e112dcedd252a33a3aaf3958ac57b47 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_13.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_14.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..4727036306b17b33da469716a351f470a4d42888 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_14.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_16.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..f18f00bfa7c83920d7a19de46e9feb8c067f9649 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_16.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_17.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..11e819361f3fde53bac69312c727a7d8b8a44057 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_17.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_18.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..292bde1d5429fbfb5e1ec2a06b09da9466121e67 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_18.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_19.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..498f158e5debcb907189ccf17c8d59e881e8a748 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_19.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_2.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..26bde5bf0bb1851e8e146dbc9fe69cc73e9126db Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_20.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..51b139f050c44797caf354dbd9ececb78ac7f2f9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_20.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_21.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..b684c2dbda9cd3120ca7a52ba71804dc8a3d4164 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_21.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_22.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..3ac1efcf2871d9cfc809e1ddc3cd21c1c60f21fb Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_22.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_23.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..0a3cf6af348710e41e47fd6e000e3fbe4e8d4333 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_23.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_24.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d2a66a9cd992df638361b52c1fbe057b6e82f5e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_24.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_25.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f01d2a7fa6ece52fb16ef0cfb42650f998d21db Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_25.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_26.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..b1173c30e93d31681cdf996e712a55cc328633f8 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_26.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_27.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..69094e16e3fc3e8441419a8a87e678e0c30af3c9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_27.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_28.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f71d6051140bc145ee7f0b11d1ca5859c2bd36a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_28.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_29.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..85371bf38c5f4f44e53e704419d13967862732d7 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_29.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_3.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcbbc11e9d2de0d4c69bc3619c6889597bd3f2c7 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_3.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_4.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..633784ebad631f3e3443106370e4cbc0de8a74d5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_4.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_5.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7c06dfbad67dfbf2598dbf6ac803b3177716d1e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_5.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_6.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..8556b973710405367a5d26247a34426d3a3c8929 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_6.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_7.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..03a83e0c593ef64c102f61abadcd3fe69a52a0cd Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_7.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_8.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..c0db92badbc3f1a647ec4105fdadcaba5e88946b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_8.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_9.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..a240062ade2158d14d8e72c1fd4c2d801d9d152b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_9.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_Boss1.lua b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..a65173bf2d11ab7cdfdaa8373ae67de0b6a379b5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/MoralMixup/W2_Boss1.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level1.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..cc25e3c1edd35b3f8c19a0114c387c6615c29fcb Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level1.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level10.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..fe53488a1c492f7ff59ccd15136534d378e16c86 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level10.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level11.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..eaf8c83477b05e0b1b0fcc07f3c1c6c2f1379311 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level11.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level12.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..131dad33982a59760be2700efd56aa118ee74df1 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level12.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level13.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..156979c121f2c2f390f89ca112aa75c2422e39db Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level13.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level14.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..45c68dde4aa9b7f92999495a97d47fd663aa3601 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level14.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level15.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..a79ba5f2c4b9a961b5fe6a697802f459097ab6bc Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level15.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level16.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level16.lua new file mode 100644 index 0000000000000000000000000000000000000000..0311bd775111258bfdd3459c5126018bdf34df71 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level16.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level17.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level17.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c1ba698bf0650f38ed0638b430f507e396c6b9a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level17.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level18.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level18.lua new file mode 100644 index 0000000000000000000000000000000000000000..dae043317504a13c7fdf0bd56303f7590564c845 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level18.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level2.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5b983166667c95a26c449f60c118983eafc1884e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level23.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level23.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ac9d6b88494ab6b9a0ae9271a8f673b216c81af Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level23.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level3.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e47d73714f9a4647665a00bd89ce92315b1a510 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level3.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level39.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level39.lua new file mode 100644 index 0000000000000000000000000000000000000000..211f0371786589ec35c76ccdaa0ec6d80da98f7d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level39.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level4.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..b73af4969b08355eced129bb29beb72f60805448 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level4.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level44.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level44.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb8ef094e864821643f38e941bbcfc3d7559866 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level44.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level5.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..51a0c82f5baa15bbd3fb72a7d50ef8961b41f662 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level5.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level53.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level53.lua new file mode 100644 index 0000000000000000000000000000000000000000..c6ae2f88810af0d20f2f15eba9b3d6d05fc7e923 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level53.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level57.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level57.lua new file mode 100644 index 0000000000000000000000000000000000000000..e28ceff2f37cdac93798509d2e34e4efafb51e23 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level57.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level6.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..5aaf24e216f670e5739b89d8616c481ab0cf66e9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level6.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level7.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..4eba1487d8ecf20610543365f1cf581ddcedec33 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level7.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level8.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f981759b247651d8e20d2cd0c55798892b3f549 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level8.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level9.lua b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6efa60a1a027041694568be9325326524d2a579 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/Tutorial/Level9.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LEVELGE_BOUNCI.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LEVELGE_BOUNCI.lua new file mode 100644 index 0000000000000000000000000000000000000000..22de39331bf50d4023243bfdedb2016de3ff3f3b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LEVELGE_BOUNCI.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_1.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b2879adb16a6eb4813f31e06e35df623cef0c130 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_1.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_14.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..86a6b646c8501519e6e31c37a529fcb339400903 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_14.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_2.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..1049ac6c4d1143053bb7a90dc1b0d3e1d16b951f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_3.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..983d1fbb9b359fa00391dcea661e5a9df3ffcb76 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_3.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_4.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..cabb5ecb9bc3a57d2463f091ff473c655b7c3ab3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_4.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_5.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..94b94fdfc8b3b04b0b62fde678d10b2ea3f17d6a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_5.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_6.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..419edc85fa405cda9c5664e46a802d1ec80941ae Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_6.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_7.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..7fe14d78f7e632c8c0932818459d5c2102e873ed Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_7.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_8.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..a0227b90de11718d25941b5685e13f387623d3c3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_8.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_ANGELO.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_ANGELO.lua new file mode 100644 index 0000000000000000000000000000000000000000..58596a4713f548ffdc3ee39e7ca664a60b380bb4 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_ANGELO.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_WIZPIG.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_WIZPIG.lua new file mode 100644 index 0000000000000000000000000000000000000000..e18022f4df8535e50cdc8c9bf7a2707e54058fe5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/LevelGE_WIZPIG.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/Level_GE_FINAL.lua b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/Level_GE_FINAL.lua new file mode 100644 index 0000000000000000000000000000000000000000..e55d870c671d74feff7684c3570262cca9860c04 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/goldeneggs1/Level_GE_FINAL.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS001.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS001.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d1f2074ee3d658ae646b77aa8045266e0749ed8 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS001.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS002.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS002.lua new file mode 100644 index 0000000000000000000000000000000000000000..ffa73e6147794e32f97c8df648b634be46292db0 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS002.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS003.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS003.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f5c4e84947155ac5d5d870c72070a12bf112bbc Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS003.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS004.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS004.lua new file mode 100644 index 0000000000000000000000000000000000000000..8dfb35fbbf8bb2c45b435a81f1286f2bc9dc69db Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS004.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS005.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS005.lua new file mode 100644 index 0000000000000000000000000000000000000000..021ed7e0f19b76cd0852f840cefcb26aeacd0d98 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS005.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS006.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS006.lua new file mode 100644 index 0000000000000000000000000000000000000000..990ba4f2bb8d3fbc1581f20a59ebd828e4d5b933 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS006.lua @@ -0,0 +1,1566 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 142.284, + ["screenWidth"] = 1366, + ["py"] = -496.889, + ["screenHeight"] = 768, + ["top"] = -1136.06, + ["sy"] = 0.600776, + ["sx"] = 0.600776, + ["right"] = 2075.15, + ["left"] = -198.573, + ["px"] = 938.29, + + }, + +} +levelParticles = { + ["y"] = -2173.01, + ["x"] = 2327.17, + ["firstFrame"] = true, + ["width"] = 6881.62, + +} +joints = { + ["ExtraRopeThin01_1ExtraRopeThin01_2"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_1ExtraRopeThin01_2", + ["end1"] = "ExtraRopeThin01_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_13WoodBlock10_10"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_10", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_13WoodBlock10_10", + ["end1"] = "WoodBlock10_13", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_32WoodBlock10_31"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_31", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_32WoodBlock10_31", + ["end1"] = "WoodBlock10_32", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_57WoodBlock4_6"] = { + ["type"] = 2, + ["end2"] = "WoodBlock4_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_57WoodBlock4_6", + ["end1"] = "WoodBlock10_57", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_21WoodBlock10_24"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_24", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_21WoodBlock10_24", + ["end1"] = "WoodBlock10_21", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_9WoodBlock10_12"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_12", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_9WoodBlock10_12", + ["end1"] = "WoodBlock10_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_45WoodBlock10_42"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_42", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_45WoodBlock10_42", + ["end1"] = "WoodBlock10_45", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThin01_5ExtraRopeThin01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_5ExtraRopeThin01_6", + ["end1"] = "ExtraRopeThin01_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_23WoodBlock10_24"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_24", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_23WoodBlock10_24", + ["end1"] = "WoodBlock10_23", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_9WoodBlock10_10"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_10", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_9WoodBlock10_10", + ["end1"] = "WoodBlock10_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_23WoodBlock10_2"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_23WoodBlock10_2", + ["end1"] = "WoodBlock10_23", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_32WoodBlock10_28"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_28", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_32WoodBlock10_28", + ["end1"] = "WoodBlock10_32", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_8HelmetPiglette_1"] = { + ["type"] = 2, + ["end2"] = "HelmetPiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_8HelmetPiglette_1", + ["end1"] = "WoodBlock6_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_21WoodBlock10_22"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_21WoodBlock10_22", + ["end1"] = "WoodBlock10_21", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SmallPiglette_1WoodBlock10_57"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_57", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_1WoodBlock10_57", + ["end1"] = "SmallPiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_44WoodBlock10_43"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_43", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_44WoodBlock10_43", + ["end1"] = "WoodBlock10_44", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_6WoodBlock10_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_6WoodBlock10_7", + ["end1"] = "WoodBlock10_6", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_24WoodBlock10_53"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_53", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_24WoodBlock10_53", + ["end1"] = "WoodBlock10_24", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_12WoodBlock10_10"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_10", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_12WoodBlock10_10", + ["end1"] = "WoodBlock10_12", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_9ExtraRopeThin01_5"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_9ExtraRopeThin01_5", + ["end1"] = "WoodBlock6_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_1MediumPiglette_6"] = { + ["type"] = 2, + ["end2"] = "MediumPiglette_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_1MediumPiglette_6", + ["end1"] = "ExtraRopeThick01_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_56WoodBlock4_6"] = { + ["type"] = 2, + ["end2"] = "WoodBlock4_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_56WoodBlock4_6", + ["end1"] = "WoodBlock10_56", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_8ExtraRopeThin01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_8ExtraRopeThin01_3", + ["end1"] = "WoodBlock6_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_30WoodBlock10_25"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_25", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_30WoodBlock10_25", + ["end1"] = "WoodBlock10_30", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_2WoodBlock10_56"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_56", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_2WoodBlock10_56", + ["end1"] = "ExtraRopeThick01_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_34WoodBlock10_26"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_26", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_34WoodBlock10_26", + ["end1"] = "WoodBlock10_34", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_8WoodBlock10_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_8WoodBlock10_7", + ["end1"] = "WoodBlock10_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_44WoodBlock10_45"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_45", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_44WoodBlock10_45", + ["end1"] = "WoodBlock10_44", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_55WoodBlock10_52"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_52", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_55WoodBlock10_52", + ["end1"] = "WoodBlock10_55", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["MediumPiglette_5ExtraRopeThick01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "MediumPiglette_5ExtraRopeThick01_6", + ["end1"] = "MediumPiglette_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_57ExtraRopeThick01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_57ExtraRopeThick01_3", + ["end1"] = "WoodBlock10_57", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_35WoodBlock10_33"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_33", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_35WoodBlock10_33", + ["end1"] = "WoodBlock10_35", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_27WoodBlock10_25"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_25", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_27WoodBlock10_25", + ["end1"] = "WoodBlock10_27", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SWEATY_HAT_2MediumPiglette_3"] = { + ["type"] = 2, + ["end2"] = "MediumPiglette_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SWEATY_HAT_2MediumPiglette_3", + ["end1"] = "SWEATY_HAT_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_38WoodBlock10_37"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_37", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_38WoodBlock10_37", + ["end1"] = "WoodBlock10_38", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_26WoodBlock10_33"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_33", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_26WoodBlock10_33", + ["end1"] = "WoodBlock10_26", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThin01_4WoodBlock10_22"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_4WoodBlock10_22", + ["end1"] = "ExtraRopeThin01_4", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_20WoodBlock10_31"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_31", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_20WoodBlock10_31", + ["end1"] = "WoodBlock10_20", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_27WoodBlock10_30"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_30", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_27WoodBlock10_30", + ["end1"] = "WoodBlock10_27", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_2ExtraRopeThick01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_2ExtraRopeThick01_1", + ["end1"] = "ExtraRopeThick01_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_9WoodBlock10_13"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_13", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_9WoodBlock10_13", + ["end1"] = "WoodBlock10_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SCOPE_1GrandpaPiglette_1"] = { + ["type"] = 2, + ["end2"] = "GrandpaPiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SCOPE_1GrandpaPiglette_1", + ["end1"] = "SCOPE_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_43WoodBlock10_42"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_42", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_43WoodBlock10_42", + ["end1"] = "WoodBlock10_43", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_40WoodBlock10_37"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_37", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_40WoodBlock10_37", + ["end1"] = "WoodBlock10_40", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_7ExtraRopeThin01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_7ExtraRopeThin01_1", + ["end1"] = "WoodBlock6_7", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_39WoodBlock10_40"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_40", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_39WoodBlock10_40", + ["end1"] = "WoodBlock10_39", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_36WoodBlock10_25"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_25", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_36WoodBlock10_25", + ["end1"] = "WoodBlock10_36", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_21ExtraRopeThin01_2"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_21ExtraRopeThin01_2", + ["end1"] = "WoodBlock10_21", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_20ExtraRopeThin01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_20ExtraRopeThin01_6", + ["end1"] = "WoodBlock10_20", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThin01_3ExtraRopeThin01_4"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_4", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_3ExtraRopeThin01_4", + ["end1"] = "ExtraRopeThin01_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SmallPiglette_1ICY_PURPLE_CAP_1"] = { + ["type"] = 2, + ["end2"] = "ICY_PURPLE_CAP_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_1ICY_PURPLE_CAP_1", + ["end1"] = "SmallPiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_34WoodBlock10_33"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_33", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_34WoodBlock10_33", + ["end1"] = "WoodBlock10_34", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_5WoodBlock10_55"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_55", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_5WoodBlock10_55", + ["end1"] = "ExtraRopeThick01_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_4ExtraRopeThick01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_4ExtraRopeThick01_3", + ["end1"] = "ExtraRopeThick01_4", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_8WoodBlock10_6"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_8WoodBlock10_6", + ["end1"] = "WoodBlock10_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_5ExtraRopeThick01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_5ExtraRopeThick01_6", + ["end1"] = "ExtraRopeThick01_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_53WoodBlock10_54"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_54", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_53WoodBlock10_54", + ["end1"] = "WoodBlock10_53", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_57WoodBlock10_54"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_54", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_57WoodBlock10_54", + ["end1"] = "WoodBlock10_57", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_55WoodBlock10_56"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_56", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_55WoodBlock10_56", + ["end1"] = "WoodBlock10_55", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_27WoodBlock10_36"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_36", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_27WoodBlock10_36", + ["end1"] = "WoodBlock10_27", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_3WoodBlock10_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_3WoodBlock10_7", + ["end1"] = "WoodBlock10_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_20WoodBlock10_22"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_20WoodBlock10_22", + ["end1"] = "WoodBlock10_20", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["HelmetPiglette_1B_HIPPIE_GLASSES_1_1"] = { + ["type"] = 2, + ["end2"] = "B_HIPPIE_GLASSES_1_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "HelmetPiglette_1B_HIPPIE_GLASSES_1_1", + ["end1"] = "HelmetPiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_8WoodBlock10_3"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_8WoodBlock10_3", + ["end1"] = "WoodBlock10_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_44WoodBlock10_42"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_42", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_44WoodBlock10_42", + ["end1"] = "WoodBlock10_44", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_39WoodBlock10_37"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_37", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_39WoodBlock10_37", + ["end1"] = "WoodBlock10_39", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_34WoodBlock10_35"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_35", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_34WoodBlock10_35", + ["end1"] = "WoodBlock10_34", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_19GrandpaPiglette_1"] = { + ["type"] = 2, + ["end2"] = "GrandpaPiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_19GrandpaPiglette_1", + ["end1"] = "WoodBlock10_19", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_39WoodBlock10_38"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_38", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_39WoodBlock10_38", + ["end1"] = "WoodBlock10_39", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} +world = { + ["ExtraRopeThick01_2"] = { + ["y"] = -40.0002, + ["x"] = 65.8794, + ["name"] = "ExtraRopeThick01_2", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["SWEATY_HAT_2"] = { + ["y"] = -14.4111, + ["x"] = 45.8111, + ["name"] = "SWEATY_HAT_2", + ["angle"] = 2.86102e-006, + ["definition"] = "SWEATY_HAT", + + }, + ["MediumPiglette_4"] = { + ["y"] = -16.5489, + ["x"] = 105.464, + ["name"] = "MediumPiglette_4", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_37"] = { + ["y"] = -17.2664, + ["x"] = 99.0703, + ["name"] = "WoodBlock10_37", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_23"] = { + ["y"] = -16.4294, + ["x"] = 48.6366, + ["name"] = "WoodBlock10_23", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_38"] = { + ["y"] = -16.3816, + ["x"] = 95.4135, + ["name"] = "WoodBlock10_38", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_8"] = { + ["y"] = -10.2532, + ["x"] = 67.8717, + ["name"] = "WoodBlock6_8", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock6", + + }, + ["ICY_PURPLE_CAP_1"] = { + ["y"] = -48.7986, + ["x"] = 59.6067, + ["name"] = "ICY_PURPLE_CAP_1", + ["angle"] = 5.24521e-006, + ["definition"] = "ICY_PURPLE_CAP", + + }, + ["WoodBlock10_24"] = { + ["y"] = -23.7091, + ["x"] = 50.8575, + ["name"] = "WoodBlock10_24", + ["angle"] = 5.49779, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_34"] = { + ["y"] = -6.15975, + ["x"] = 91.5518, + ["name"] = "WoodBlock10_34", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_53"] = { + ["y"] = -31.8969, + ["x"] = 54.4049, + ["name"] = "WoodBlock10_53", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_13"] = { + ["y"] = -5.37379, + ["x"] = 37.9492, + ["name"] = "WoodBlock10_13", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_44"] = { + ["y"] = -27.3635, + ["x"] = 98.9563, + ["name"] = "WoodBlock10_44", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_52"] = { + ["y"] = -31.793, + ["x"] = 81.8313, + ["name"] = "WoodBlock10_52", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_20"] = { + ["y"] = -24.3664, + ["x"] = 78.0041, + ["name"] = "WoodBlock10_20", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_39"] = { + ["y"] = -17.2246, + ["x"] = 98.9621, + ["name"] = "WoodBlock10_39", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_31"] = { + ["y"] = -23.6093, + ["x"] = 85.1043, + ["name"] = "WoodBlock10_31", + ["angle"] = 0.785398, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_3"] = { + ["y"] = -5.41656, + ["x"] = 47.9587, + ["name"] = "WoodBlock10_3", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_2"] = { + ["y"] = -10.9058, + ["x"] = 44.5682, + ["name"] = "WoodBlock10_2", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_5"] = { + ["y"] = -36.3291, + ["x"] = 74.7077, + ["name"] = "ExtraRopeThick01_5", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock10_29"] = { + ["y"] = -10.8632, + ["x"] = 101.656, + ["name"] = "WoodBlock10_29", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_40"] = { + ["y"] = -16.5037, + ["x"] = 102.569, + ["name"] = "WoodBlock10_40", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_42"] = { + ["y"] = -27.4054, + ["x"] = 99.0645, + ["name"] = "WoodBlock10_42", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -12.7738, + ["x"] = 70.198, + ["name"] = "HelmetPiglette_1", + ["angle"] = 0.392683, + ["definition"] = "HelmetPiglette", + + }, + ["SmallPiglette_1"] = { + ["y"] = -48.403, + ["x"] = 59.1773, + ["name"] = "SmallPiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock4_6"] = { + ["y"] = -46.2042, + ["x"] = 64.0951, + ["name"] = "WoodBlock4_6", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_12"] = { + ["y"] = -5.49588, + ["x"] = 30.7937, + ["name"] = "WoodBlock10_12", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThin01_4"] = { + ["y"] = -20.4468, + ["x"] = 67.822, + ["name"] = "ExtraRopeThin01_4", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["ExtraRopeThin01_1"] = { + ["y"] = -14.2816, + ["x"] = 57.6285, + ["name"] = "ExtraRopeThin01_1", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["SCOPE_1"] = { + ["y"] = -13.6463, + ["x"] = 30.2523, + ["name"] = "SCOPE_1", + ["angle"] = 6.28316, + ["definition"] = "SCOPE", + + }, + ["WoodBlock10_55"] = { + ["y"] = -38.8519, + ["x"] = 77.7975, + ["name"] = "WoodBlock10_55", + ["angle"] = 3.53427, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThin01_6"] = { + ["y"] = -20.74, + ["x"] = 78.0472, + ["name"] = "ExtraRopeThin01_6", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["ExtraRopeThin01_3"] = { + ["y"] = -14.0369, + ["x"] = 67.8112, + ["name"] = "ExtraRopeThin01_3", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["WoodBlock10_7"] = { + ["y"] = -6.30141, + ["x"] = 44.3019, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["GrandpaPiglette_1"] = { + ["y"] = -13.6463, + ["x"] = 35.8477, + ["name"] = "GrandpaPiglette_1", + ["angle"] = 6.28316, + ["definition"] = "GrandpaPiglette", + + }, + ["WoodBlock10_26"] = { + ["y"] = -5.31676, + ["x"] = 88.0031, + ["name"] = "WoodBlock10_26", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_56"] = { + ["y"] = -42.6957, + ["x"] = 68.4476, + ["name"] = "WoodBlock10_56", + ["angle"] = 3.53427, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_9"] = { + ["y"] = -6.21677, + ["x"] = 34.4006, + ["name"] = "WoodBlock10_9", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_22"] = { + ["y"] = -24.2101, + ["x"] = 67.8701, + ["name"] = "WoodBlock10_22", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_19"] = { + ["y"] = -10.963, + ["x"] = 34.3055, + ["name"] = "WoodBlock10_19", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_5"] = { + ["y"] = -31.4905, + ["x"] = 76.7503, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.392688, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_57"] = { + ["y"] = -46.835, + ["x"] = 59.0754, + ["name"] = "WoodBlock10_57", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_46"] = { + ["y"] = -32.1098, + ["x"] = 99.0514, + ["name"] = "WoodBlock10_46", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_6"] = { + ["y"] = -5.53865, + ["x"] = 40.8032, + ["name"] = "WoodBlock10_6", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_30"] = { + ["y"] = -5.27399, + ["x"] = 98.0126, + ["name"] = "WoodBlock10_30", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_28"] = { + ["y"] = -10.806, + ["x"] = 91.3936, + ["name"] = "WoodBlock10_28", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_43"] = { + ["y"] = -26.5206, + ["x"] = 95.4076, + ["name"] = "WoodBlock10_43", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_6"] = { + ["y"] = -30.0045, + ["x"] = 74.7077, + ["name"] = "ExtraRopeThick01_6", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["ExtraRopeThin01_5"] = { + ["y"] = -14.3301, + ["x"] = 78.0364, + ["name"] = "ExtraRopeThin01_5", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["WoodBlock10_32"] = { + ["y"] = -16.3296, + ["x"] = 87.3252, + ["name"] = "WoodBlock10_32", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_35"] = { + ["y"] = -5.43885, + ["x"] = 95.1586, + ["name"] = "WoodBlock10_35", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_45"] = { + ["y"] = -26.6426, + ["x"] = 102.563, + ["name"] = "WoodBlock10_45", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_27"] = { + ["y"] = -6.11698, + ["x"] = 101.561, + ["name"] = "WoodBlock10_27", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_33"] = { + ["y"] = -6.20161, + ["x"] = 91.6599, + ["name"] = "WoodBlock10_33", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 24.1226, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["ExtraRopeThick01_3"] = { + ["y"] = -43.1033, + ["x"] = 59.1052, + ["name"] = "ExtraRopeThick01_3", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock10_8"] = { + ["y"] = -6.25955, + ["x"] = 44.41, + ["name"] = "WoodBlock10_8", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_3"] = { + ["y"] = -13.3659, + ["x"] = 45.8654, + ["name"] = "MediumPiglette_3", + ["angle"] = 2.86102e-006, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock6_9"] = { + ["y"] = -10.5463, + ["x"] = 78.0969, + ["name"] = "WoodBlock6_9", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock6", + + }, + ["LargePiglette_3"] = { + ["y"] = -13.5395, + ["x"] = 92.0158, + ["name"] = "LargePiglette_3", + ["angle"] = 6.28316, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -13.038, + ["x"] = 104.926, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock6_7"] = { + ["y"] = -10.4979, + ["x"] = 57.689, + ["name"] = "WoodBlock6_7", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_36"] = { + ["y"] = -5.39608, + ["x"] = 105.168, + ["name"] = "WoodBlock10_36", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["B_HIPPIE_GLASSES_1_1"] = { + ["y"] = -13.7456, + ["x"] = 70.7288, + ["name"] = "B_HIPPIE_GLASSES_1_1", + ["angle"] = 0.392683, + ["definition"] = "B_HIPPIE_GLASSES_1", + + }, + ["WoodBlock10_21"] = { + ["y"] = -24.3751, + ["x"] = 57.6362, + ["name"] = "WoodBlock10_21", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThin01_2"] = { + ["y"] = -20.6915, + ["x"] = 57.6393, + ["name"] = "ExtraRopeThin01_2", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["WoodBlock10_25"] = { + ["y"] = -6.15884, + ["x"] = 101.669, + ["name"] = "WoodBlock10_25", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_6"] = { + ["y"] = -31.709, + ["x"] = 63.639, + ["name"] = "MediumPiglette_6", + ["angle"] = 5.89049, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_10"] = { + ["y"] = -6.25864, + ["x"] = 34.2924, + ["name"] = "WoodBlock10_10", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_4"] = { + ["y"] = -36.5913, + ["x"] = 59.1052, + ["name"] = "ExtraRopeThick01_4", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock10_54"] = { + ["y"] = -41.7663, + ["x"] = 54.3529, + ["name"] = "WoodBlock10_54", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_1"] = { + ["y"] = -33.4883, + ["x"] = 65.8794, + ["name"] = "ExtraRopeThick01_1", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["MediumPiglette"] = 6, + ["WoodBlock11"] = 2, + ["ExtraRopeThin01"] = 6, + ["WoodBlock1"] = 3, + ["FATPIG_BOSS"] = 8, + ["WoodBlock10"] = 57, + ["StoneBlock1"] = 4, + ["WoodBlock6"] = 9, + ["LargePiglette"] = 3, + ["HelmetPiglette"] = 1, + ["SWEATY_HAT"] = 2, + ["LightBlock12"] = 2, + ["WoodBlock5"] = 3, + ["CatAlien"] = 1, + ["BlackBird"] = 3, + ["SmallPiglette"] = 1, + ["LightBlock6"] = 2, + ["ICY_PURPLE_CAP"] = 1, + ["ExtraRopeThick01"] = 6, + ["StoneBlock8"] = 13, + ["ExtraBlockTNT"] = 1, + ["LightBlock4"] = 4, + ["GrandpaPiglette"] = 1, + ["BirthdayCake_1"] = 3, + ["FATPIG"] = 2, + ["B_HIPPIE_GLASSES_1"] = 1, + ["WoodBlock4"] = 6, + ["StoneBlock5"] = 2, + ["StaticBlockTheme16_02"] = 10, + ["LightBlock1"] = 2, + ["StaticBlockTheme16_04"] = 11, + ["KingPiglette"] = 1, + ["WizardPiglette"] = 7, + ["BirthdayCake_2"] = 3, + ["SCOPE"] = 1, + ["StaticBlockTheme16_05"] = 34, + +} +theme = "summermadness1" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = -274.844, + ["screenWidth"] = 1366, + ["py"] = -235.058, + ["screenHeight"] = 768, + ["top"] = -665.667, + ["sy"] = 0.89176, + ["sx"] = 0.89176, + ["right"] = 1333.23, + ["left"] = -730.691, + ["px"] = 35.2102, + + }, + +} diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS007.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS007.lua new file mode 100644 index 0000000000000000000000000000000000000000..de0fd99f5be58d91e2bb1fe0880c1e0b524c9053 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS007.lua @@ -0,0 +1,26 @@ +world = { + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + +} +theme = "theme2" +joints = { + +} diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS008.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS008.lua new file mode 100644 index 0000000000000000000000000000000000000000..a91b77f78ebcaca5b6faeab42e964b265e2ad2c9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS008.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS013.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS013.lua new file mode 100644 index 0000000000000000000000000000000000000000..a372217139561f45ddb50b48d277a2b825d2e4d9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS013.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS015.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS015.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a579e123bbc14b20a4f5bed9aca66f517624e0f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS015.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS016.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS016.lua new file mode 100644 index 0000000000000000000000000000000000000000..0526cb38a674ed131802b2d07a57f5566976d8ff Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS016.lua differ diff --git a/Angry Birds Project R/1.0.2/data/levels/surf/LevelS030.lua b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS030.lua new file mode 100644 index 0000000000000000000000000000000000000000..e423a53a6ddfe1e5b3428ddb743a7c954ff932c7 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/levels/surf/LevelS030.lua differ diff --git a/Angry Birds Project R/1.0.2/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/1.0.2/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/1.0.2/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/1.0.2/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..21f0db0382ce80880adc0d1eb04927f9a517acfd Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/1.0.2/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/1.0.2/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/1.0.2/data/localization/angry.exe b/Angry Birds Project R/1.0.2/data/localization/angry.exe new file mode 100644 index 0000000000000000000000000000000000000000..8be4dfa95adff797fcac14848d2f3594f976e4db Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/localization/angry.exe differ diff --git a/Angry Birds Project R/1.0.2/data/localization/english.txt b/Angry Birds Project R/1.0.2/data/localization/english.txt new file mode 100644 index 0000000000000000000000000000000000000000..9fc3801abac76cb7eda4cb3bade18f46b968d012 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/localization/english.txt @@ -0,0 +1,255 @@ +SK_SELECT=Select +SK_EXIT=Exit +SK_OK=Ok +SK_YES=Yes +SK_NO=No +SK_CONTINUE=Continue +SK_HELP=Help +SK_ERASE=Erase +TITLE_CHOOSE_LANGUAGE=Choose Language +ITEM_ENABLE_SOUNDS_QUERY=Enable sounds? +ITEM_ENABLE_VIBRATION_QUERY=Enable vibration? +ITEM_HIGH_SCORES=High Scores +ITEM_HELP=Help +ITEM_ERASE_DATA=Erase data +ITEM_ERASE_HIGHSCORE=Erase highscores +ITEM_ARE_YOU_SURE=Are you sure? +ITEM_SFX_ON=SFX: ON +ITEM_SFX_OFF=SFX: OFF +ITEM_MUSIC_ON=Music: ON +ITEM_MUSIC_OFF=Music: OFF +ITEM_VIBRATION_ON=Vibra: ON +ITEM_VIBRATION_OFF=Vibra: OFF +ITEM_CONTINUE_GAME=Continue game +ITEM_PAUSE=Pause +ITEM_LEVEL_SELECTION=Level selection +ITEM_OPTIONS=Options +MI_PLAY=Play +MI_SETTINGS=Settings +MI_ABOUT=About +MT_MORE_GAMES=More Games! +MI_EDIT=Edit +MT_SETTINGS=Settings +MT_ABOUT=About +MT_LEVEL_SKIPPED=LEVEL SKIPPED! +MT_LEVEL_COMPLETE=LEVEL CLEARED! +MI_CONTINUE=Continue +MT_PAUSE=paused +MT_LEVEL_FAILED=LEVEL FAILED! +MI_RESTART=Retry +MI_RETRY=Retry +MI_BACK=Back +MI_SCORE=Score +MI_HIGH_SCORE=Highscore +MI_OK=OK +TEXT_SELECT_LEVEL=Select level +TEXT_FB_LEVELS_HINT_TITLE=Free bonus levels! +TEXT_FB_LEVELS_HINT=Tap the icon to\0A visit the Angry Birds Facebook page. 'Like' us to be one of the first to hear the latest news! +TEXT_NETWORK_ERROR_TITLE=Network error. +TEXT_NETWORK_ERROR=A connection error has occurred, please try again. +TEXT_LIKE_CONFIRMED_TITLE=Thank you! +TEXT_LIKE_CONFIRMED=We like you too! +TEXT_EXIT_CONFIRM=Are you sure you want to quit? we'll miss you! +MI_EXIT=Quit +MI_AUDIO=Audio +MI_VIBRA=Vibra +MI_MENU=Menu +MI_LOADING=Loading... +MI_NEW_HIGHSCORE=New Highscore! +TEXT_BEST_SCORE=Previous Best +MI_MORE_GAMES=Check out other great games from Rovio! +HELP_TITLE_HOWTOPLAY=How To Play +HELP_TITLE_BLUE=Blue Groupie +HELP_TITLE_YELLOW=Yellow speedster +HELP_TITLE_BLACK=Black Blaster +HELP_TITLE_GREEN=Eggy Bomber +HELP_TITLE_SPECIAL=Special Moves +HELP_TEXT_HOWTOPLAY_1=Launch the birds by using the slingshot. +HELP_TEXT_HOWTOPLAY_2=Pop all of the pigs to clear the level! +HELP_TEXT_BLUE=Strong against ice blocks +HELP_TEXT_YELLOW=Strong against wood blocks +HELP_TEXT_BLACK=Strong against stone blocks +HELP_TEXT_GREEN=Fat & Lazy +HELP_TEXT_SPECIAL=Activate special move by tapping the screen while the bird is flying in the air +HELP_SUBTITLE_SPECIAL=Special move: +HELP_SPECIAL_BLUE=Group Attack +HELP_SPECIAL_YELLOW=Turbo Boost +HELP_SPECIAL_BLACK=Explosion +HELP_SPECIAL_EGGY=Egg Grenade +TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CHILLINGO=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CLICKGAMER_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT=Angry Birds Project R\0Av1.0.2\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM_LITE=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID=Angry Birds Project R\0Av1.0.2\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_HD=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_2=© Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_BETA=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PC=TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\Beta 3.3\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_CREDITS=CREDITS\0A\0A- Changelog -\0AMinor fix to the collision particles for Bubbles and Big Bork\0AFixed the windowed pause glitch\0AMinor art fix on Moral Mixup's outro cutscene\0A\0A- Director -\0AJeremiah Plays Again (Chef Snatcher)\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AChef Snatcher\0AMr.Bird\0ABuhoedull2401\0ALight Bird\0AOmnetyc\0AKeymil Animations\0AMason The Maniac\0APigdoggo\0A\0A- Programming Help and Other Coding -\0AKeymil Animations\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0A\0A- Music -\0AAri Pulkkinen\0ARodmod\0AIlmari Hakkola\0AHenri Sorvalli\0ADavid Schweitzer\0AWix Games\0ALaura Shigihara\0AJahn Davis\0AFelipe Herrera C.\0AMichael Staple\0A\0A- Level Designers -\0AChef Snatcher\0APan Susel\0ATheo!\0AAngeloMineBoy15\0AAndsy\0A\0AShoutout to all of the beta testers and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0AKeymil Animations\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull: +TEXT_CREDITS_PC=CREDITS\0A\0A- Changelog -\0AMinor fix to the collision particles for Bubbles and Big Bork\0AFixed the windowed pause glitch\0AMinor art fix on Moral Mixup's outro cutscene\0A\0A- Director -\0AJeremiah Plays Again (Chef Snatcher)\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AChef Snatcher\0AMr.Bird\0ABuhoedull2401\0ALight Bird\0AOmnetyc\0AKeymil Animations\0AMason The Maniac\0APigdoggo\0A\0A- Programming Help and Other Coding -\0AKeymil Animations\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0A\0A- Music -\0AAri Pulkkinen\0ARodmod\0AIlmari Hakkola\0AHenri Sorvalli\0ADavid Schweitzer\0AWix Games\0ALaura Shigihara\0AJahn Davis\0AFelipe Herrera C.\0AMichael Staple\0A\0A- Level Designers -\0AChef Snatcher\0APan Susel\0ATheo!\0AAngeloMineBoy15\0AAndsy\0A\0AShoutout to all of the beta testers and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0AKeymil Animations\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull: +TEXT_CREDITS_ORIGINAL=ORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS_AB=Powered by Box2D +TEXT_CREDITS_ADDITIONAL=ADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS=THANKS\0A\0A(todo) +TEXT_PERFECT=Total destruction - three stars in all levels!\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_PERFECT_LP1=Destroy all pigs to clear the level! +TEXT_PERFECT_LP2=Total destruction - three stars in all levels!\0A\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_COMPLETE=Congratulations for completing the episode!\0A\0AThere's room for improvement though...\0ANow try to get three stars in all levels! +TEXT_COMPLETE_LP1=Congratulations for completing all levels in the episode!\0A\0AGet three stars in all levels to become an honorary Angry Bird! +TEXT_COMPLETE_LP2=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to prove yourself to The Mighty Eagle! +TEXT_UPSELL=More levels, more FUN! +TEXT_UPSELL_LITE=105 levels, 106% FUN! +TEXT_UPSELL_BUTTON=BUY HERE +TEXT_UPSELL_BUTTON_2=Get it Here! +TEXT_LP_NAME_1= Meet The Flock +TEXT_LP_NAME_2= Breakfast Brawl +TEXT_LP_NAME_3= Moral Mixup +TEXT_LP_NAME_4= Sweet Swines +TEXT_LP_NAME_5= Ham 'Em High +TEXT_LP_NAME_6= Mine and Dine +TEXT_LP_NAME_7= Birdday Party +TEXT_LP_NAME_SURF= Summer Madness +TEXT_LP_NAME_EGGS=Golden Eggs +TEXT_SELECT_LP=Select Episode +TEXT_LITE_BUY_BUTTON=FULL VERSION +TEXT_COMING_SOON=Coming soon +TEXT_CONGRATULATIONS=Congratulations! +TEXT_HIGHSCORE_SPRITE=NEW_HIGHSCORE_EN +TEXT_SCORE_SPRITE=SCORE_EN +TEXT_PLAY_SPRITE=MENU_PLAY_EN +TEXT_SPLASH_LOADING_SPRITE=LOADING_EN +TEXT_GOLDEN_EGG_HELP=Search throughout the game to find hidden golden eggs, each one unlocks a new secret level! +FONT_HIGHSCORE=FONT_CURRENT_HIGHSCORE +FONT_BASIC=FONT_BASIC +FONT_MENU=FONT_MENU +FONT_SPACE_SCORE_BIG=FONT_SPACE_SCORE_BIG +TEXT_EAGLE_HIGHSCORE=Eagle Highscore: +TEXT_EAGLE_SCORE=Eagle Score: +TEXT_EAGLE_TOTAL_DESTRUCTION=TOTAL DESTRUCTION! +TEXT_MIGHTY_EAGLE_RETURNS=Mighty Eagle is back in business! +TEXT_EAGLE_UPSELL=Stuck on a tricky level? Out of levels to play? Bring on the Mighty Eagle! +TEXT_EAGLE_UPSELL2=Pay once. Unlimited use. +TEXT_REMOVE_ADS_UPSELL=Go ad-free. +TEXT_REMOVE_ADS_UPSELL2=One time payment. +TEXT_POWERUP_RECEIVED_SLINGSCOPE=Sling Scopes gained +TEXT_POWERUP_RECEIVED_BIRDQUAKE=Birdquakes gained +TEXT_POWERUP_RECEIVED_KINGSLING=King Slings gained +TEXT_POWERUP_RECEIVED_SUPERSEEDS=Super Seeds gained +TEXT_POWERUP_RECIEVED_BUNDLE=Power-up bundles received +TEXT_POWERUP_PARENTAL=You have just disabled power-ups, free daily rewards, and the Power-Up shop. You can reactivate them at any time from here. +TEXT_POWERUP_PARENTAL_LOCK=You have disabled power-ups, free daily rewards and the Power-Up shop in the main menu settings. Please enable them again in order to use them. +TEXT_SHOP_PRICE=Price: +TEXT_SHOP_KING_SLING_DESCRIPTION=Upgrade to the almighty King Sling for maximum power and velocity! +TEXT_SHOP_SUPER_SEED_DESCRIPTION=Supersize your bird! Super Seeds turn any bird into a pig-popping giant. +TEXT_SHOP_BIRDQUAKE=Rattle the battle! Use the Birdquake to bring pigs' defenses crashing to the ground! +TEXT_SHOP_SLING_SCOPE_DESCRIPTION=Looking for the perfect shot? Use Sling Scope Laser Targeting for pinpoint precision! +TEXT_SHOP_ALL-IN-ONE-BUNDLE=This ultimate combo pack gives you all four power-ups! +TEXT_SHOP_PURCHASE=Purchase +TEXT_FREE_POWERUPS_TITLE=Angry Birds now has power-ups! +TEXT_FREE_POWERUPS=Enjoy these 20 free power-ups, and come back tomorrow for more rewards! +TEXT_FREE_FREE=FREE +TEXT_KING_PIG_MODE_KING_PIG_TAGLINE=your gay +TEXT_KING_PIG_MODE_BIRD_FRENZY_TAGLINE=Beat the level with unlimited birds! +TEXT_KING_PIG_MODE_TOTAL_DESTRUCTION_TAGLINE=Tap on the level to explode it! +TEXT_KING_PIG_MODE_MATERIAL_MIX-UP_TAGLINE=Two materials have been swapped! +TEXT_MIGHTY_EAGLE_RESTORE_QUERY=Do you wish to restore Mighty Eagle from your iTunes account? +TEXT_MIGHTY_EAGLE_PURCHASE_QUERY=Mighty Eagle has not been purchased yet. Do you wish to do that now? +TEXT_MIGHTY_EAGLE_RESTORE_PROCESSING=Restoring Mighty Eagle... +TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS=Mighty Eagle has been successfully restored. +TEXT_MIGHTY_EAGLE_RESTORE_FAILURE=Restoring Mighty Eagle failed. Please, try again. +TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY=Mighty Eagle is already active, no need for restoration. +TEXT_MAGICPLACES_PP_UNLOCK=To earn rewards with Magic Places, you need to agree to our privacy policy +TEXT_MAGICPLACES_PP_AGREE=Button: I Agree +TEXT_MAGICPLACES_PP_WOULD="Angry Birds" would like to use your ip address +TEXT_MAGICPLACES_PP_DATAPROVIDED=Magic Places location data is provided by CloudMade +TEXT_MAGICPLACES_NOLOCATION_NOSERVICES=Location services are not allowed. +TEXT_MAGICPLACES_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_NOSERVICES=Location services are turned off +TEXT_MAGICPLACES_AND_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_GOTOSETTINGS=Button: Go to settings +TEXT_MAGICPLACES_BIRD_YOUAREHERE=You are here! +TEXT_MAGICPLACES_POWERUPS_GAINED=%s %s gained +TEXT_MAGICPLACES_POWERUPS_EACHGAINED=%s of each Power Up gained! +TEXT_MAGICPLACES_POWERUPS_GETMORE=Go to Magic Places to unlock more Power Ups +TEXT_MAGICPLACES_POWERUPS_RAISEFLAG=Button: Raise a flag! +TEXT_MAGICPLACES_TUTORIAL_DISCOVER=Visit Magic Places to earn power-ups! +TEXT_MAGICPLACES_TUTORIAL_BROWSE=Browse the map to find Magic gift boxes and earn power-ups! +TEXT_MAGICPLACES_NOTIFICATION_STANDARD=Ca-caw! You're close to a Magic Place +TEXT_MAGICPLACES_NOTIFICATION_VARIATION1=Ta-daa! Magic Places are nearby, make a visit! +TEXT_MAGICPLACES_NOTIFICATION_VARIATION2=Woohoo, something Magic is in the air! +TEXT_MAGICPLACES_PP_MESSAGE=Joining the hunt for power-ups will give Angry Birds access to your location and agree with the privacy policy. +TEXT_MAGICPLACES_KP_MESSAGE=Try out our new King Pig mode +TEXT_MAGICPLACES_POWERUPS_NOPLACES=There are no magic places nearby. Search a little further! +TEXT_MAGICPLACES_SETTINGS=When you turn on Magic Places notifications, your device will track your location, even if the application is not running. +TEXT_MAGICPLACES_LONG_DESCRIPTION=Discover free power-ups at real-world locations! To use this feature, you need to enable access to your location and agree to Rovio's privacy policy and End User License Agreement (EULA). +TEXT_MAGICPLACES_HOW_MAGIC_WORKS=Magic uses your location to determine if you are in a Magic Place. +TEXT_MAGICPLACES_SERVICE_TOGGLE=You can turn location services on/off in your device settings. +TEXT_MAGICPLACES_SERVICE_COMBINATION=Location data may be combined with other Rovio services in the future. +TEXT_MAGICPLACES_FAQ=More info is available in the FAQ (rov.io/MagicPlacesFAQ) +NOTIFICATION_1=Chirp!! You're missing out on stars! Come and get them! +NOTIFICATION_2=Ca-caw! The Pigs have the Eggs! Go stop em! +NOTIFICATION_3=Squawk! We miss you! Come play! +NOTIFICATION_4=Haven't seen you in a long time! Time to pop some pigs! +TEXT_SHOP_ANDROID_DAILY_PURCHASE_LIMIT=You've reached the daily purchase limit. Come back tomorrow to buy more! +TEXT_ROVIO_ID_INTRODUCTION=Sign in now to save your progress and sync it across devices! +TEXT_ROVIO_ID_SAVING_PROGRESS=Saving game progress... +TEXT_ROVIO_ID_SAVING_FAILED=Saving game progress...failed. +TEXT_ROVIO_ID_POP-UP_TITLE=Rovio Account +TEXT_ROVIO_ID_SIGN_OUT=Sign out as: %s? +TEXT_ROVIO_ID_SIGN_IN=Sign in +TEXT_ROVIO_ID_SIGN_UP=Sign up +TEXT_ROVIO_ID_EMAIL_ADDRESS=Email +TEXT_ROVIO_ID_PASSWORD=Password +TEXT_ROVIO_ID_NEW_PASSWORD=New password +TEXT_ROVIO_ID_FORGOT_PASSWORD=Forgot your password? +TEXT_ROVIO_ID_not_have_account_yet=Don't have an account yet? +TEXT_ROVIO_ID_SIGN_UP_NOW=Sign up now! +TEXT_ROVIO_ID_BIRTHDAY=Birthday +TEXT_ROVIO_ID_DATE_FIELD_MONTH=Month +TEXT_ROVIO_ID_DATE_FIELD_DAY=Day +TEXT_ROVIO_ID_DATE_FIELD_YEAR=Year +TEXT_ROVIO_ID_MONTH_JAN=Jan +TEXT_ROVIO_ID_month_feb=Feb +TEXT_ROVIO_ID_month_mar=Mar +TEXT_ROVIO_ID_month_apr=Apr +TEXT_ROVIO_ID_month_may=May +TEXT_ROVIO_ID_month_jun=Jun +TEXT_ROVIO_ID_month_jul=Jul +TEXT_ROVIO_ID_month_aug=Aug +TEXT_ROVIO_ID_month_sep=Sep +TEXT_ROVIO_ID_month_oct=Oct +TEXT_ROVIO_ID_month_nov=Nov +TEXT_ROVIO_ID_month_dec=Dec +TEXT_ROVIO_ID_AGREE_BY_SIGN_IN=By signing up, you are agreeing to our EULA and Privacy Policy. +TEXT_ROVIO_ID_EULA=EULA +TEXT_ROVIO_ID_PRIVACY_POLICY=Privacy Policy +TEXT_ROVIO_ID_FORGOT_PASSWORD-RESET=To reset your password, enter the email address associated with your account below. +TEXT_ROVIO_ID_RESET_PASSWORD_TITLE=Reset password +TEXT_ROVIO_ID_EMAIL_SENT=Email has been sent! +TEXT_ROVIO_ID_RESET_PASSWORD_MESSAGE=Please, check your email for password reset information. +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_TITLE=Thanks for signing up! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_SENT=A verification email is sent to: +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio within 48 hours. +TEXT_ROVIO_ID_SORRY_TITLE=Sorry! +TEXT_ROVIO_ID_SIGN_UP_FAILED_MESSAGE=We could not create your account. +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_TITLE=You have not verified your account yet! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_RESENT=A verification email is re-sent to: +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio. +TEXT_ROVIO_ID_VALIDATE_PASSWORD=Please, enter a password. +TEXT_ROVIO_ID_VALIDATE_PASSWORD_INVALID=Password is too short. +TEXT_ROVIO_ID_VALIDATE_EMAIL_INVALID=Please, enter a valid email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL=Please, enter your email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL_RESERVED=This email address is already taken. +TEXT_ROVIO_ID_VALIDATE_EMAIL_FALSE=Wrong email +TEXT_ROVIO_ID_WRONG_PASSWORD=Wrong password +TEXT_ROVIO_ID_PASSWORD_HELP_TEXT=Password must contain 8 characters at the minimum. +TEXT_ROVIO_ID_WRONG_ACCOUNT=Sync failed. This device already uses another account. +TEXT_ROVIO_ID_SIGN_OUT_QUERY=Your progress will be saved online only when you are signed in. Do you want to sign out as: +TEXT_ROVIO_ID_ACCOUNT_DESCRIPTION=Rovio Account lets you automatically save your game progress online and synchronize between devices. Currently, Rovio Account is available for Angry Birds on iOS, but it will be available on other Rovio games and platforms in the future. +TEXT_ROVIO_ID_OR=or +TEXT_ROVIO_ID_SIGNED_IN_AS=You are signed in as +TEXT_CREDITS_ZIGI=Magic Places powered by Zigi. diff --git a/Angry Birds Project R/1.0.2/data/scripts/ABIDUtils.lua b/Angry Birds Project R/1.0.2/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/ABSync.lua b/Angry Birds Project R/1.0.2/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/PC_DRM.lua b/Angry Birds Project R/1.0.2/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/achievements.lua b/Angry Birds Project R/1.0.2/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/audio.lua b/Angry Birds Project R/1.0.2/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..3753f5b58ee353ce50cdab8a665bc3cde7c3596f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/blocks.lua b/Angry Birds Project R/1.0.2/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..58f5bbffcd65c53387ae6306854c730b002b5f15 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/cutscenes.lua b/Angry Birds Project R/1.0.2/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..f87dec7830828f2483419a90869e4f86b755916c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/dynamic/default.lua b/Angry Birds Project R/1.0.2/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/episodes.lua b/Angry Birds Project R/1.0.2/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd9353187e4644fed638055399ec3c2277a49b36 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/episodes_free.lua b/Angry Birds Project R/1.0.2/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/game_conf.lua b/Angry Birds Project R/1.0.2/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..5df0120a71cd1bc15b04b47319485fc7d113f80e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/1.0.2/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/iap.lua b/Angry Birds Project R/1.0.2/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/item.lua b/Angry Birds Project R/1.0.2/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/item.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/level_scripts.lua b/Angry Birds Project R/1.0.2/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..ad822af6a02fcbc950dfac5e863db19af48e04ae Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/loadgroups.lua b/Angry Birds Project R/1.0.2/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..af1ea39b22cfbb6a12edff714c069ca749ac4be4 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/loadgroups.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menu_flow.lua b/Angry Birds Project R/1.0.2/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus.lua b/Angry Birds Project R/1.0.2/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..59a1623c65cce1c4a89fdca5817e02a7c4c3138d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/accordion.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/credits.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98eb89392c574acf02dc9915df85b67ef889906 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/ep9_level_selection.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/ep9_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..f9a855cc0b29f79e7a350e536224d7b2be9e51b0 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/ep9_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection_crosspromo_black.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection_crosspromo_black.lua new file mode 100644 index 0000000000000000000000000000000000000000..f262a3d256e1c56f7a97d2681818888e5311cc3f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection_crosspromo_black.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..605f1fff64f18aea4c28aeb9239695df62e4e64e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/episode_selection_extra.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/keyboard.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/radio.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfea2b463142d3e149f8295f505cad64f25de36e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/sequencer.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/soundboard.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/menus/splashes.lua b/Angry Birds Project R/1.0.2/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/mightyEagle.lua b/Angry Birds Project R/1.0.2/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/options.lua b/Angry Birds Project R/1.0.2/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..e87c6878a6421f71566ba57e3215eb2669e2639a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/options.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/page.lua b/Angry Birds Project R/1.0.2/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/page.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/particles.lua b/Angry Birds Project R/1.0.2/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..b21f3b41d1e14215c77e8cb08f611a86279c986e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/select_profiles.lua b/Angry Birds Project R/1.0.2/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/starLimits.lua b/Angry Birds Project R/1.0.2/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..843d92724f2e0ccf0dfaec6f30858da0993287e0 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/1.0.2/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/1.0.2/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..c9e58a57080c0ae98e89eb7145407dc4b078e077 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/1.0.2/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/1.0.2/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/EventManager.lua b/Angry Birds Project R/1.0.2/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/animation_tutorials.lua b/Angry Birds Project R/1.0.2/data/scripts_common/animation_tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..3feac718879945c129c8d8885dd46be51c2d6e82 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/scripts_common/animation_tutorials.lua @@ -0,0 +1,5781 @@ +g_tutorial_animations = { + TUTORIAL_1 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_RED", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_BIG_01", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "redBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_1_PIG = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "RED_PIG_NORMAL", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "EGG_HELMET_1", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_FLY" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "smokeBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_2 = { + duration = 5.5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BLUE", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_LIGHT_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird2", + sprite = "BIRD_BLUE", + x = 0, + y = 0, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird2", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird2", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = 48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird2" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird3", + sprite = "BIRD_BLUE", + x = -35, + y = -34, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird3", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird3", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = -48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird3" + }, + { + time = 2.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.7, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.8, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.8, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.9, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird2", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird3", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 140, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 92, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 188, + y = 60 + } + } + }, + TUTORIAL_3 = { + duration = 5.3, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_YELLOW", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1.25 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 140, + y = 90, + duration = 0.25 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_SPECIAL" + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.65, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.65, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.7, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.7, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.75, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.75, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_COLLISION" + }, + { + time = 2.8, + action = "particles", + effect = "yellowBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_4 = { + duration = 10.8, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "delete_sprite", + name = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + }, + { + time = 2.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 11, + y = -18 + }, + {time = 5.1, action = "clear_all"}, + { + time = 5.1, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 5.1, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 5.1, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 6.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 6.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 7.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 7.2, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 7.5, + action = "delete_sprite", + name = "pig" + }, + { + time = 7.5, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_1" + }, + { + time = 7.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_2" + }, + { + time = 7.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_3" + }, + { + time = 8.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 8.3, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 140, + y = 90 + }, + { + time = 8.3, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + } + } + }, + TUTORIAL_5 = { + duration = 5.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREEN", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 50, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig2", + sprite = "PIGLETTE_SMALL_01", + x = 120, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_SPECIAL" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 285, + y = -200, + duration = 0.4 + }, + { + time = 2.7, + action = "create_sprite", + name = "egg", + sprite = "DROPPABLE_EGG", + x = 0, + y = 0, + z = 0.3, + id = "ge1" + }, + { + time = 2.7, + action = "set_sprite_position", + name = "egg", + target = "bird" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "egg", + type = "line-y", + y = 85, + duration = 0.2 + }, + { + time = 2.9, + action = "delete_sprite", + name = "egg", + id = "ge2" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig2" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 50, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 120, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "eggShells", + amount = 5, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "set_sprite_fade", + sprite = "bird", + alpha = 0, + duration = 0.2 + } + } + }, + TUTORIAL_6 = { + duration = 6.2, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_4X4_1", + x = 0, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_6", + x = 0, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -155, + y1 = -100, + x2 = 108, + y2 = -78, + x3 = 223, + y3 = 23, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1.7 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 239, + y1 = -22, + x2 = 239, + y2 = 57, + x3 = 72, + y3 = 92, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_SPECIAL" + }, + { + time = 2.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 8 + }, + { + time = 3.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 100, + y = 85 + }, + { + time = 3.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_COLLISION" + }, + { + time = 3.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3.7, + action = "particles", + effect = "boomerangBuff", + amount = 12, + x = 72, + y = 90 + } + } + }, + TUTORIAL_7 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -206, + y = -46, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BIG_BROTHER", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 20, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 180, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_1_5", + x = 30, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block4", + sprite = "BLOCK_ROCK_1_5", + x = 170, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block5", + sprite = "BLOCK_WOOD_1_5", + x = 58, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block6", + sprite = "BLOCK_LIGHT_1_5", + x = 141, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -206, + y1 = -46, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -206, + y1 = -46, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -320, + y = -36, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -320, + y1 = -36, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -320, + y1 = -36, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 61, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.05, + action = "delete_sprite", + name = "block5" + }, + { + time = 2.05, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 58, + y = 0, + w = 205, + h = 20 + }, + { + time = 2.1, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.1, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 30, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.2, + action = "delete_sprite", + name = "block6" + }, + { + time = 2.2, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 141, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 20, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block4" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 170, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.3, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 180, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 99, + y = 90 + }, + { + time = 2.5, + action = "particles", + effect = "bigBrotherBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_8 = { + duration = 6.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BAIT_SARDINE", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 54, + y1 = -30, + x2 = 97, + y2 = -30, + x3 = 140, + y3 = -10, + duration = 0.4 + }, + { + time = 3, + action = "create_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + x = -256, + y = -128, + z = 0.55, + angle = 0.4 + }, + { + time = 3, + action = "set_sprite_alpha", + sprite = "eagle", + alpha = 0 + }, + { + time = 3, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 1 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 140, + y = 85, + duration = 0.45 + }, + { + time = 3.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 3.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3.45, + action = "set_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_RADIAL" + }, + { + time = 3.45, + action = "set_angular_velocity", + sprite = "eagle", + angular_velocity = 16 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 256, + y = 20, + duration = 0.2 + }, + { + time = 3.75, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 0 + }, + { + time = 3.85, + action = "delete_sprite", + name = "eagle" + } + } + }, + TUTORIAL_9 = { + duration = 5.1, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PUFFER_1", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_PUFFER_2" + }, + { + time = 2.6, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + } + } + }, + TUTORIAL_10 = { + duration = 6, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PINK", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 131, + y2 = -51, + x3 = 230, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 0.5 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "create_sprite", + name = "birdbubble", + sprite = "P_BIRDBUBBLE_3", + x = 145, + y = -15, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "pigbubble", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 85, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble1", + sprite = "P_BIRDBUBBLE_3", + x = 90, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble2", + sprite = "P_BIRDBUBBLE_3", + x = 190, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble3", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 10, + z = 0.7 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "birdbubble", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pigbubble", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 3.7, + action = "delete_sprite", + name = "birdbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "pigbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble1" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble2" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble3" + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 135, + y = -55 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 80, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 195, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 145, + y = -135 + }, + { + time = 3.7, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.7, + action = "particles", + effect = "pinkBuff", + amount = 5, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = 85, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = 90, + duration = 0.5 + }, + { + time = 4, + action = "delete_sprite", + name = "pig" + }, + { + time = 4, + action = "delete_sprite", + name = "block1" + }, + { + time = 4, + action = "delete_sprite", + name = "block2" + }, + { + time = 4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 135, + y = 85 + }, + { + time = 4, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 80, + y = 60, + w = 41, + h = 83 + }, + { + time = 4, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 195, + y = 60, + w = 41, + h = 83 + }, + { + time = 4.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 4, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 145, + y = 90, + w = 205, + h = 20 + } + } + }, + TUTORIAL_11 = { + duration = 10, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "DRAGON_FISH", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = -46, + y2 = -51, + x3 = 40, + y3 = 60, + duration = 1 + }, + { + time = 1.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 2 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3, + action = "create_sprite", + name = "dragon1", + sprite = "MDRAGON_1", + x = -256, + y = -128, + z = 0.55, + angle = 0.8 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 10, + y = 20, + duration = 1 + }, + { + time = 3.1, + action = "create_sprite", + name = "dragon2", + sprite = "MDRAGON_2", + x = -256, + y = -128, + z = 0.54, + angle = 0.65 + }, + { + time = 3.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 8, + y = 18, + duration = 1 + }, + { + time = 3.25, + action = "create_sprite", + name = "dragon3", + sprite = "MDRAGON_3", + x = -256, + y = -128, + z = 0.53, + angle = 0.63 + }, + { + time = 3.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 6, + y = 16, + duration = 1 + }, + { + time = 3.4, + action = "create_sprite", + name = "dragon4", + sprite = "MDRAGON_4", + x = -256, + y = -128, + z = 0.52, + angle = 0.61 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 4, + y = 14, + duration = 1 + }, + { + time = 3.55, + action = "create_sprite", + name = "dragon5", + sprite = "MDRAGON_5", + x = -256, + y = -128, + z = 0.51, + angle = 0.59 + }, + { + time = 3.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 2, + y = 12, + duration = 1 + }, + { + time = 3.63, + action = "create_sprite", + name = "dragon6", + sprite = "MDRAGON_6", + x = -256, + y = -128, + z = 0.5, + angle = 0.57 + }, + { + time = 3.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 0, + y = 10, + duration = 1 + }, + { + time = 3.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 205, + h = 20 + }, + { + time = 3.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.7, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 4, + action = "delete_sprite", + name = "bird" + }, + { + time = 4, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1 + }, + { + time = 4, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = -3 + }, + { + time = 4.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.1 + }, + { + time = 4.15, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = -3.5 + }, + { + time = 4.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.2 + }, + { + time = 4.3, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = -3.5 + }, + { + time = 4.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.3 + }, + { + time = 4.45, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = -3.5 + }, + { + time = 4.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.4 + }, + { + time = 4.6, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = -3.5 + }, + { + time = 4.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.5 + }, + { + time = 4.68, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = -3.5 + }, + { + time = 5, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 6, + action = "delete_sprite", + name = "pig" + }, + { + time = 6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 85 + }, + { + time = 6, + action = "delete_sprite", + name = "block2" + }, + { + time = 6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 60, + w = 205, + h = 20 + }, + { + time = 6, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = 0 + }, + { + time = 6.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.45, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = 0 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.6, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = 0 + }, + { + time = 6.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.75, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = 0 + }, + { + time = 6.7, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = 0 + }, + { + time = 6.83, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = 0 + }, + { + time = 7, + action = "delete_sprite", + name = "dragon1" + }, + { + time = 7.15, + action = "delete_sprite", + name = "dragon2" + }, + { + time = 7.3, + action = "delete_sprite", + name = "dragon3" + }, + { + time = 7.45, + action = "delete_sprite", + name = "dragon4" + }, + { + time = 7.6, + action = "delete_sprite", + name = "dragon5" + }, + { + time = 7.68, + action = "delete_sprite", + name = "dragon6" + } + } + } +} +function getTutorialScale() + if deviceModel == "ipad" and screenWidth == 2048 then + return 2 + elseif deviceModel == "iphone" and screenWidth >= 960 then + return 1 + else + if screenHeight < 320 then + return screenHeight / 320 * 0.5 + elseif screenHeight < 768 then + return (screenHeight - 320) / 448 * 0.5 + 0.5 + end + return 1 + end +end +AnimatedTutorial = ui.BackgroundBox:inherit() +function AnimatedTutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = g_tutorial_animations[_ARG_1_] + _ARG_2_ or {}.tutorial_id = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function AnimatedTutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AnimatedTutorial.onEntry(_ARG_0_) + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.draw_list = {} + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function AnimatedTutorial.onExit(_ARG_0_) + _G.particles.clear("menu") + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function AnimatedTutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_.width = _G.math.floor(552 * getTutorialScale()) + _ARG_0_.height = _G.math.floor(360 * getTutorialScale()) + _ARG_0_:getChild("close").x = 552 * getTutorialScale() * 0.35 + _ARG_0_:getChild("close").y = 360 * getTutorialScale() * 0.6 + for _FORV_10_, _FORV_11_ in _G.ipairs(_ARG_0_.children) do + _FORV_11_.scaleY, _FORV_11_.scaleX = 1, 1 + end +end +if not g_isAccelerometerControl then + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.tutorial_id == "TUTORIAL_5" and not g_white_bird_tutorial_ge_disabled and _ARG_0_.time >= 2.7 and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and _ARG_2_ >= _ARG_0_.x + _ARG_0_.width * -0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y + _ARG_0_.height * -0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end +end +function AnimatedTutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.ipairs(_ARG_0_.draw_list) do + if _FORV_8_.type == "sprite" then + if _FORV_8_.alpha then + setAlpha(_FORV_8_.alpha) + end + setRenderState((_ARG_0_.x + _FORV_8_.x * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x), (_ARG_0_.y + _FORV_8_.y * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y), getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x, getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y, _FORV_8_.angle or 0, _G.res.getSpritePivot(_FORV_8_.sprite)) + _G.res.drawSprite(_FORV_8_.sprite, 0, 0) + if _FORV_8_.alpha then + setAlpha(1) + end + elseif _FORV_8_.type == "line" then + setRenderState(_ARG_0_.x / getTutorialScale(), _ARG_0_.y / getTutorialScale(), getTutorialScale(), getTutorialScale(), 0, 0, 0) + drawLine2D(_FORV_8_.x1, _FORV_8_.y1, _FORV_8_.x2, _FORV_8_.y2, _FORV_8_.width, _FORV_8_.r, _FORV_8_.g, _FORV_8_.b, _FORV_8_.a or 255) + end + end + g_menu_particle_scale = getTutorialScale() + drawMenuParticlesInAdvance() +end +function AnimatedTutorial.getTutorialSpriteScale(_ARG_0_, _ARG_1_) + if contains({ + "TUTORIAL_GROUND", + "TUTORIAL_BACKGROUND", + "TUTORIAL_FINGER_BIG", + "TUTORIAL_FINGER_CLICK", + "TUTORIAL_FINGER_SLIDE" + }, _ARG_1_) and true then + return 0.5 + end + return 1 +end +function AnimatedTutorial.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.time = _ARG_0_.time + _ARG_1_ + if _ARG_0_.time >= _ARG_0_.tutorial.duration then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + clearParticles() + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.sprites) do + if _FORV_7_.movement_pause and _ARG_0_.time >= _FORV_7_.movement_pause then + _FORV_7_.movement_pause = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x1 - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y1 - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.x0, _FORV_7_.movement.x1, _FORV_7_.movement.x2, _FORV_7_.movement.x3) + _FORV_7_.y = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.y0, _FORV_7_.movement.y1, _FORV_7_.movement.y2, _FORV_7_.movement.y3) + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + end + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = _FORV_7_.movement.x1 + _FORV_7_.y = _FORV_7_.movement.y1 + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = _FORV_7_.movement.x3 + _FORV_7_.y = _FORV_7_.movement.y3 + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + _FORV_7_.movement.x + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + _FORV_7_.movement.y + end + _FORV_7_.movement = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time < _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + if _ARG_0_.time >= _FORV_7_.emitter.pos then + _FORV_7_.emitter.pos = _FORV_7_.emitter.pos + _FORV_7_.emitter.interval + _ARG_0_.sprites["emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_)] = { + name = "emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_), + type = "sprite", + sprite = _FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)], + x = _FORV_7_.x, + y = _FORV_7_.y, + z = _FORV_7_.emitter.z, + scale_x = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]), + scale_y = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]) + } + _ARG_0_:refreshDrawList() + end + elseif not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time >= _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + _FORV_7_.emitter = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time < _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = tweenLinear(_ARG_0_.time - _FORV_7_.alpha_fade.begin, _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.a1 - _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.duration) + elseif not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time >= _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = _FORV_7_.alpha_fade.a1 + _FORV_7_.alpha_fade = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.angular_velocity then + _FORV_7_.angle = _FORV_7_.angle + _FORV_7_.angular_velocity * _ARG_1_ + end + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.lines) do + if _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x10, _FORV_7_.movement.x1 - _FORV_7_.movement.x10, _FORV_7_.movement.duration) + _FORV_7_.y1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y10, _FORV_7_.movement.y1 - _FORV_7_.movement.y10, _FORV_7_.movement.duration) + _FORV_7_.x2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x20, _FORV_7_.movement.x2 - _FORV_7_.movement.x20, _FORV_7_.movement.duration) + _FORV_7_.y2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y20, _FORV_7_.movement.y2 - _FORV_7_.movement.y20, _FORV_7_.movement.duration) + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = _FORV_7_.movement.x1 + _FORV_7_.y1 = _FORV_7_.movement.y1 + _FORV_7_.x2 = _FORV_7_.movement.x2 + _FORV_7_.y2 = _FORV_7_.movement.y2 + _FORV_7_.movement = nil + end + if _FORV_7_.width_change and _ARG_0_.time < _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = tweenLinear(_ARG_0_.time - _FORV_7_.width_change.begin, _FORV_7_.width_change.w0, _FORV_7_.width_change.w1 - _FORV_7_.width_change.w0, _FORV_7_.width_change.duration) + elseif _FORV_7_.width_change and _ARG_0_.time >= _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = _FORV_7_.width_change.w1 + _FORV_7_.width_change = nil + end + end + while _ARG_0_.tutorial.events[_ARG_0_.cursor] and _ARG_0_.time >= _ARG_0_.tutorial.events[_ARG_0_.cursor].time do + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge1" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "BLOCK_GOLDEN_EGG" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "DROPPABLE_EGG" + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge2" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "disabled" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "delete_sprite" + end + end + end + if _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "sprite", + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + angle = _ARG_0_.tutorial.events[_ARG_0_.cursor].angle or 0, + scale_x = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite), + scale_y = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite) + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "delete_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = nil + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_movement" then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line-y" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = "line", + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "bezier-cubic" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + x3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x3, + y3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y3 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "relative-linear" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + target = _ARG_0_.tutorial.events[_ARG_0_.cursor].target, + x0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x0, + y0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y0, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "particles" then + _G.particles.addParticles(_ARG_0_.tutorial.events[_ARG_0_.cursor].effect, _ARG_0_.tutorial.events[_ARG_0_.cursor].amount, _ARG_0_.x + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].x, _ARG_0_.y + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].y, (_ARG_0_.tutorial.events[_ARG_0_.cursor].w or 0) * getTutorialScale(), (_ARG_0_.tutorial.events[_ARG_0_.cursor].h or 0) * getTutorialScale(), 0, true, true) + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_line" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "line", + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + r = _ARG_0_.tutorial.events[_ARG_0_.cursor].r, + g = _ARG_0_.tutorial.events[_ARG_0_.cursor].g, + b = _ARG_0_.tutorial.events[_ARG_0_.cursor].b, + a = _ARG_0_.tutorial.events[_ARG_0_.cursor].a, + width = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_movement" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + x10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x1, + y10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y1, + x20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x2, + y20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y2, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_width_change" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width_change = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + w0 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width, + w1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_emitting" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + interval = _ARG_0_.tutorial.events[_ARG_0_.cursor].interval, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + pos = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_position" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].x = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].x + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].y = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].y + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "copy_emitter" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter = {} + for _FORV_9_, _FORV_10_ in _G.pairs(_ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].from].emitter) do + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter[_FORV_9_] = _FORV_10_ + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "pause_sprite_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement_pause = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + if _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_alpha" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_fade" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha_fade = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + a0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha or 1, + a1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "clear_all" then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_angular_velocity" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].angular_velocity = _ARG_0_.tutorial.events[_ARG_0_.cursor].angular_velocity + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "stop_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = nil + end + _ARG_0_.cursor = _ARG_0_.cursor + 1 + end +end +function AnimatedTutorial.refreshDrawList(_ARG_0_) + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.sprites) do + _G.table.insert({}, _FORV_6_) + end + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.lines) do + _G.table.insert({}, _FORV_6_) + end + _G.table.sort({}, function(_ARG_0_, _ARG_1_) + return _ARG_0_.z < _ARG_1_.z + end) + _ARG_0_.draw_list = {} +end +filename = "animated_tutorial.lua" diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/default_conf.lua b/Angry Birds Project R/1.0.2/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ed430eeda0e65636cd64613ab51aa9c64f5ef43 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/desktop.ini b/Angry Birds Project R/1.0.2/data/scripts_common/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..74ddc1323b48f35f87c2fe87da869d4ad26c2d6b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/scripts_common/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,72 diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/1.0.2/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d88bfe75d899bc9e110ac6c81740c1c5532c77b Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/events.lua b/Angry Birds Project R/1.0.2/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..164bdc4820ebea20fc7be8faad3fa38c0bf7a543 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/gamelogic.lua b/Angry Birds Project R/1.0.2/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..67f54e4fdcd24dd2e641870158e2280851daf9dd Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/1.0.2/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/howdoiplay.lua b/Angry Birds Project R/1.0.2/data/scripts_common/howdoiplay.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d8df9f6d131ae48e02b99002c12ddc8d8e13494 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/scripts_common/howdoiplay.lua @@ -0,0 +1,192 @@ +g_tutorialSprites = { + TUTORIAL_1 = "TUTORIAL_RED", + TUTORIAL_1_PIG = "RED_PIG_NORMAL", + TUTORIAL_2 = "TUTORIAL_BLUE", + TUTORIAL_3 = "TUTORIAL_YELLOW", + TUTORIAL_4 = "TUTORIAL_BLACK", + TUTORIAL_5 = "TUTORIAL_WHITE", + TUTORIAL_6 = "TUTORIAL_BOOMERANG", + TUTORIAL_7 = "TUTORIAL_BIG_BROTHER", + TUTORIAL_8 = "TUTORIAL_MIGHTYEAGLE", + TUTORIAL_9 = "TUTORIAL_PUFFER" +} +function showTrackpadTutorials() + return not g_usingGestureControls and g_usedGestureControls and isInFullScreenMode() +end +g_platformTutorials = { + osx = { + { + id = "TUTORIAL_OSX_1", + sprite = "TUTORIAL_TRACKPAD_1", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_2", + sprite = "TUTORIAL_TRACKPAD_2", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_3", + sprite = "TUTORIAL_TRACKPAD_3", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_4", + sprite = "TUTORIAL_TRACKPAD_4", + ignore_size = true, + condition = showTrackpadTutorials + } + }, + roku = { + { + id = "TUTORIAL_ROKU_1", + sprite = "TUTORIAL_CAMERA", + ignore_size = true + }, + { + id = "TUTORIAL_ROKU_2", + sprite = "TUTORIAL_ZOOMING", + ignore_size = true + } + } +} +function addTutorial(_ARG_0_, _ARG_1_) + if _G.type(_ARG_1_) == "string" then + _G.table.insert(_ARG_0_, {sprite = _ARG_1_}) + return true + elseif _G.type(_ARG_1_) == "table" and (not _ARG_1_.condition or _ARG_1_.condition and _ARG_1_.condition()) then + _G.table.insert(_ARG_0_, _ARG_1_) + return true + end + return false +end +function getTutorialSprite(_ARG_0_) + if _G.type(_ARG_0_) == "string" then + return _ARG_0_ + elseif _G.type(_ARG_0_) == "table" then + return _ARG_0_.sprite + end + return nil +end +Tutorial = ui.BackgroundBox:inherit() +function Tutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function Tutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.Image:new().name = "tutorial" + if _G.type(_ARG_0_.tutorial) == "table" then + ui.Image:new():setImage(_ARG_0_.tutorial.sprite) + _ARG_0_.tutorial_sprite = _ARG_0_.tutorial.sprite + elseif _G.type(_ARG_0_.tutorial) == "string" then + ui.Image:new():setImage(g_tutorialSprites[_ARG_0_.tutorial]) + _ARG_0_.tutorial_sprite = g_tutorialSprites[_ARG_0_.tutorial] + end + _ARG_0_:addChild((ui.Image:new())) + if _ARG_0_.tutorial == "TUTORIAL_5" and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + ui.ImageButton:new().name = "goldenEgg" + ui.ImageButton:new():setImage("GOLDEN_EGG_1") + ui.ImageButton:new().scaleX = 0.4 + ui.ImageButton:new().scaleY = 0.4 + ui.ImageButton:new().returnValue = "COLLECT_GOLDEN_EGG" + _ARG_0_:addChild((ui.ImageButton:new())) + end + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function Tutorial.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function Tutorial.onExit(_ARG_0_) + ui.BackgroundBox.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function Tutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + end + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + for _FORV_8_, _FORV_9_ in _G.pairs(g_tutorialSprites) do + end + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _FORV_8_, _FORV_9_ in _G.pairs(g_platformTutorials[deviceModel]) do + end + end + _ARG_0_.width = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + _ARG_0_.height = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").x = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * 0.18 * 2 + _ARG_0_:getChild("goldenEgg").y = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * -0.1 * 2 + end + _ARG_0_:getChild("close").x = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.35 * 2 + _ARG_0_:getChild("close").y = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.6 * 2 + for _FORV_22_, _FORV_23_ in _G.ipairs(_ARG_0_.children) do + _FORV_23_.scaleY, _FORV_23_.scaleX = 2, 2 + end +end +function Tutorial.collectGoldenEgg(_ARG_0_) + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").visible = false + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end +end +if not g_isAccelerometerControl then + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "COLLECT_GOLDEN_EGG" then + _ARG_0_:collectGoldenEgg() + elseif ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end + function Tutorial.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BUTTON_A" then + _ARG_0_:collectGoldenEgg() + end + end +end +function Tutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +filename = "tutorials.lua" diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/iap_new.lua b/Angry Birds Project R/1.0.2/data/scripts_common/iap_new.lua new file mode 100644 index 0000000000000000000000000000000000000000..a939aac47ebe419cefdc58780f4f48d78742596e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/iap_new.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/level_effects.lua b/Angry Birds Project R/1.0.2/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f1e0922fce554168278c665ecc637771d56c1cc Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/level_utils.lua b/Angry Birds Project R/1.0.2/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCanimated_tutorial.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCanimated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..9871f7e2ce23fa1d7b06a1edbb361008fedcac39 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCanimated_tutorial.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCmain_menu.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCmain_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..d152b9cec47870a5a911b12d5ed499c7ae59e10e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCmain_menu.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCtutorials.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCtutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a1e5ba530c3c0843944887dc04a0fac4961169c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ENCtutorials.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..58553501351d5c899e2aaa72982297e6adb24aae Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..2fc6ddd2710c0977629227ea87535b0c9f92d467 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c3685e99422c02b603d0241d1aaa1491bb62e0 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8d162faff205e33758c6d85a45accbb52665b3f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/achuvets.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/achuvets.lua new file mode 100644 index 0000000000000000000000000000000000000000..20ff459e3e023fa36f9050ca273178333138f8da --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/scripts_common/menus/achuvets.lua @@ -0,0 +1,91 @@ +AchievementPopup = ui.BGBox:inherit() +function AchievementPopup.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.achievement_id = _ARG_1_ + return ui.BGBox.new(_ARG_0_, _ARG_2_ or {}) +end +function AchievementPopup.init(_ARG_0_) + ui.BGBox.init(_ARG_0_) + _ARG_0_.components = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + _ARG_0_.hanchor = "RIGHT" + _ARG_0_.vanchor = "TOP" + ui.Image:new().name = "icon" + _ARG_0_:addChild((ui.Image:new())) + ui.Text:new().name = "title" + ui.Text:new().text = "" + ui.Text:new().font = "FONT_GAMECENTER_BASIC" + ui.Text:new().hanchor = "HCENTER" + ui.Text:new().vanchor = "TOP" + ui.Text:new().group = "" + _ARG_0_:addChild((ui.Text:new())) + ui.Text:new().name = "description" + ui.Text:new().text = "" + ui.Text:new().font = "FONT_GAMECENTER_BASIC" + ui.Text:new().hanchor = "LEFT" + ui.Text:new().vanchor = "BOTTOM" + ui.Text:new().group = "" + _ARG_0_:addChild((ui.Text:new())) +end +function AchievementPopup.onEntry(_ARG_0_) + ui.BGBox.onEntry(_ARG_0_) + _ARG_0_.timer = 2.7 +end +function AchievementPopup.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + _ARG_0_.components = { + left = "ACHIEVEMENT_BG_LEFT_RETINA", + center = "ACHIEVEMENT_BG_MIDDLE_RETINA", + right = "ACHIEVEMENT_BG_RIGHT_RETINA" + } + else + _ARG_0_.components = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + end + ui.BGBox.layout(_ARG_0_) + if gameCenter ~= nil then + end + _ARG_0_:getChild("title").text = "Achievement Title" + if gameCenter.achievements[_ARG_0_.achievement_id] ~= nil then + _ARG_0_:getChild("title").text = gameCenter.achievements[_ARG_0_.achievement_id].title or "Achievement Title" + end + _ARG_0_:getChild("description").text = "Earned an achievement." + if gameCenter.achievements[_ARG_0_.achievement_id] ~= nil then + _ARG_0_:getChild("description").text = gameCenter.achievements[_ARG_0_.achievement_id].achievedText or "Earned an achievement." + end + if gameCenter.achievements[_ARG_0_.achievement_id] ~= nil then + _ARG_0_:getChild("icon"):setImage(gameCenter.achievements[_ARG_0_.achievement_id].icon) + else + _ARG_0_:getChild("icon"):setImage("ACHIEVEMENT_GET_XXX_POINTS") + end + setFont(_ARG_0_:getChild("title").font) + setFont(_ARG_0_:getChild("description").font) + _ARG_0_.height, _ARG_0_.width = _G.res.getSpriteBounds(_ARG_0_.components.right) + _ARG_0_.height, _ARG_0_.width = _G.res.getSpriteBounds(_ARG_0_.components.right) + _ARG_0_.x = screenWidth - _G.res.getSpriteBounds(_ARG_0_.components.right) + _ARG_0_:getChild("title").x = _ARG_0_.width * -0.5 + _ARG_0_:getChild("title").scaleY, _ARG_0_:getChild("title").scaleX, _ARG_0_:getChild("title").y = 2, 2, _ARG_0_.height * 0.1 + _ARG_0_:getChild("icon").x = _ARG_0_.width * -0.9 + _ARG_0_:getChild("icon").scaleY, _ARG_0_:getChild("icon").scaleX, _ARG_0_:getChild("icon").y = 2, 2, _ARG_0_.height * 0.65 + _ARG_0_:getChild("description").x = _ARG_0_:getChild("icon").x + _G.res.getSpriteBounds(_ARG_0_:getChild("icon").image) * 2 + _ARG_0_:getChild("description").scaleY, _ARG_0_:getChild("description").scaleX, _ARG_0_:getChild("description").y = 2, 2, _ARG_0_.height * 0.75 +end +function AchievementPopup.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.BGBox.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.timer = _ARG_0_.timer - _ARG_1_ + if _ARG_0_.timer > 2.4 then + _ARG_0_.y = screenHeight - _G.res.getSpriteBounds(_ARG_0_.components.right) * ((2.7 - _ARG_0_.timer) / 0.3) + elseif _ARG_0_.timer > 0.4 then + _ARG_0_.y = screenHeight - _G.res.getSpriteBounds(_ARG_0_.components.right) + elseif _ARG_0_.timer > 0 then + _ARG_0_.y = screenHeight - _G.res.getSpriteBounds(_ARG_0_.components.right) + _G.res.getSpriteBounds(_ARG_0_.components.right) * ((0.4 - _ARG_0_.timer) / 0.3) + else + notificationsFrame:removeChild(_ARG_0_) + end +end +filename = "achievements.lua" diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..87fe8b0b7ad7e3b6cb2d8ac52014dec174aca925 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/credits.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..6222f6e900b41923a7cd9b1b80dbb6a415655ff5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d642974ba4917b5e4fb4284f6c35265c3884b00 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/default_credits.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/default_credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..d3abc8dadf8fac4c50a208e920c21f04f51f6fb5 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/default_credits.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..bb776171754397ce7f10053e614248e1879cc9dd Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/layout_select.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/layout_select.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd9aaba3ff1490147c53ab935d304108aeb7e0df --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/scripts_common/menus/layout_select.lua @@ -0,0 +1,252 @@ +function createLevelButton(_ARG_0_) + ui.ImageButton:new().name = "level" .. _ARG_0_.page .. "-" .. _ARG_0_.index + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setImage(_ARG_0_.level_button_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].level_button, _ARG_0_.disabled_button_override or "LS_LEVEL_BG_NORMAL_CLOSED") + ui.ImageButton:new().returnValue = "GOTO_LEVEL" + ui.ImageButton:new().disabledReturnValue = "DISABLED_LEVEL" + ui.ImageButton:new().meta = { + episode = _ARG_0_.episode, + page = _ARG_0_.page, + level = _ARG_0_.index, + levelName = _ARG_0_.name, + intro_cutscene = _ARG_0_.intro_cutscene + } + return (ui.ImageButton:new()) +end +function createBasicLevelButton(_ARG_0_, _ARG_1_) + ui.Text:new().name = "number" + ui.Text:new().font = fontBasic + ui.Text:new().text = _G.tostring(_ARG_1_.display_number) + _ARG_0_:addChild((ui.Text:new())) + ui.Image:new().name = "eagle" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.levelSelectionSilhouette or "LS_EAGLE_BUTTON") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "stars" + ui.Image:new():setVisible(false) + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "feather" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.collectableReward or "LS_EAGLE_FEATHER") + _ARG_0_:addChild((ui.Image:new())) +end +function openBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(true) + _ARG_0_:getChild("number").visible = true + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("stars").visible = false + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score > 0 and highscores[_ARG_1_.name].completed then + _ARG_0_:getChild("stars").visible = true + if highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].goldScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(3)) + elseif highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].silverScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(2)) + else + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(1)) + end + elseif highscores[_ARG_1_.name] and (not highscores[_ARG_1_.name].score or highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score == 0) and highscores[_ARG_1_.name].completed then + for _FORV_13_, _FORV_14_ in _G.ipairs((settingsWrapper:getEagleUsedIn())) do + if _FORV_14_.level == _ARG_1_.name then + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = true + end + end + end + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].eagleScore and highscores[_ARG_1_.name].eagleScore >= 100 then + _ARG_0_:getChild("feather").visible = true + end +end +function closeBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(false) + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("feather").visible = false +end +function getLevelSelectionLayoutSizes() + if _UPVALUE0_ then + else + end + return g_layoutMargin.x, screenWidth - g_layoutMargin.x, screenWidth - g_layoutMargin.x - g_layoutMargin.x +end +LSGridLayout = {} +LSGridLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE +} +function LSGridLayout.createPage(_ARG_0_, _ARG_1_) +end +function LSGridLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSGridLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:getLastOpenLevel(_ARG_0_.episode) >= _ARG_0_.index_in_episode +end +function LSGridLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + closeBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_14_ = 1, _ARG_1_.layout_params.rows do + for _FORV_19_ = 1, _ARG_1_.layout_params.cols do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * getLevelSelectionLayoutSizes() * (1 - 0.83) + getLevelSelectionLayoutSizes() + 0.83 * getLevelSelectionLayoutSizes() / (_ARG_1_.layout_params.cols - 1) * (_FORV_19_ - 1) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).y = -0.1 * screenHeight + screenHeight * (_FORV_14_ / (_ARG_1_.layout_params.rows + 2) * 1.2) + end + end +end +function LSGridLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSGridLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSFacebookLayout = {} +LSFacebookLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE, + events.EID_FACEBOOK_LIKE_CLICKED +} +function LSFacebookLayout.createPage(_ARG_0_, _ARG_1_) + ui.ImageButton:new().name = "fbButton" .. _ARG_1_.index + ui.ImageButton:new():setImage("FB_LIKE_BUTTON") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK_CONNECT" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function LSFacebookLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSFacebookLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isFbPageLiked() +end +function LSFacebookLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) + _ARG_1_:setImage(g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button, g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button) + _ARG_1_.returnValue = "GOTO_LEVEL" +end +function LSFacebookLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:getChild("number").visible = false + _ARG_1_:getChild("stars").visible = false + _ARG_1_:getChild("eagle").visible = false + _ARG_1_:getChild("feather").visible = false + _ARG_1_:setEnabled(true) + _ARG_1_.returnValue = "SHOW_FACEBOOK_PROMPT" + _ARG_1_:setImage("LS_LEVEL_BG_NORMAL_CLOSED", "LS_LEVEL_BG_NORMAL_CLOSED") +end +function LSFacebookLayout.layout(_ARG_0_, _ARG_1_) + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y = screenHeight / 2.75 + for _FORV_14_ = 1, _ARG_1_.layout_params.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth - (_ARG_1_.layout_params.levels - 1) * 0.5 * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + (_FORV_14_ - 1) * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).y = _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y + _G.res.getSpriteBounds(_ARG_0_:getChild("fbButton" .. _ARG_1_.index).image) / 2.28 + _G.res.getSpriteBounds(_ARG_1_.level_button) * 0.5 + end +end +function LSFacebookLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSFacebookLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + elseif _ARG_2_.id == events.EID_FACEBOOK_LIKE_CLICKED then + for _FORV_6_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):setImage(_ARG_1_.level_button, _ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_).returnValue = "GOTO_LEVEL" + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSGoldenEggsLayout = {} +LSGoldenEggsLayout.listen_events = {} +function LSGoldenEggsLayout.createPage(_ARG_0_, _ARG_1_) + for _FORV_5_ = 1, #_ARG_1_.levels do + ui.Image:new().name = "starEffect" .. _ARG_1_.index .. "-" .. _FORV_5_ + ui.Image:new():setImage("GOLDEN_EGG_STAR_EFFECT") + _ARG_0_:addChild((ui.Image:new())) + end +end +function LSGoldenEggsLayout.createLevelButton(_ARG_0_) + ui.Image:new().name = "star" + ui.Image:new():setImage(_ARG_0_.completed_sprite_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].layout_params.completed_sprite) + ui.Image:new():setVisible(false) + createLevelButton(_ARG_0_):addChild((ui.Image:new())) + return (createLevelButton(_ARG_0_)) +end +function LSGoldenEggsLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isGoldenEggUnlocked(_ARG_0_.name) +end +function LSGoldenEggsLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(true) + _ARG_1_:setVisible(true) + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = not settingsWrapper:isGoldenEggPlayed(_ARG_2_.name) + _ARG_1_:getChild("star"):setVisible(highscores[_ARG_2_.name] and highscores[_ARG_2_.name].completed or false) +end +function LSGoldenEggsLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(false) + if _ARG_2_.disabled_button_override == nil then + _ARG_1_:setVisible(false) + else + _ARG_1_:setVisible(true) + end + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = false +end +function LSGoldenEggsLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_8_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x = (_ARG_1_.index - 1) * screenWidth + (_ARG_1_.levels[_FORV_8_].x or 0.5) * getLevelSelectionLayoutSizes() + getLevelSelectionLayoutSizes() + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y = (_ARG_1_.levels[_FORV_8_].y or 0.5) * screenHeight + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).x = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).y = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y + end +end +function LSGoldenEggsLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + for _FORV_7_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle = _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle + _ARG_2_ * 0.6 + end +end +function LSGoldenEggsLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) +end +g_ls_layout_mapping = { + grid = LSGridLayout, + facebook = LSFacebookLayout, + goldeneggs = LSGoldenEggsLayout +} +filename = "level_selection_layouts.lua" diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..ac925a428efc8f55201aa69563acb1525c4e7b1c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..eaa26f81cb9217625011be73481d51f0d4726901 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..67dc11d940875d5520fac91a2ecbfe528cb7a98f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/loading.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..ecf52854ba123b83206e78013d81f73e2ebd8bd3 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..f3e3ebef7d10b30a4361218f4d213f8e9ffdcb7c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/shop3.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/shop3.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb99634991566d88de2c3f01073d90544af29b9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/shop3.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..d913df02529685589c6b6a8a486c3ec90fd4b27e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/1.0.2/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..e759447d032b08fb3724a754b58aea26e825b0c2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/powerups.lua b/Angry Birds Project R/1.0.2/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/powerups2.lua b/Angry Birds Project R/1.0.2/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/puffer_bird.lua b/Angry Birds Project R/1.0.2/data/scripts_common/puffer_bird.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/1.0.2/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/sticky_block.lua b/Angry Birds Project R/1.0.2/data/scripts_common/sticky_block.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1d141bb211067cab0dc1436baf05e9e0e07f5ce Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/sticky_block.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/CloudSync.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/CloudSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..e6196e7ead07b2c8ac9b980dc46b90d7ff66b771 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/CloudSync.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/RovioAccount.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/RovioAccount.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c16df839fe70d659317c0e8c7dbaf40da84ef35 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/RovioAccount.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/blockListSetup.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/blockListSetup.lua new file mode 100644 index 0000000000000000000000000000000000000000..c08bfae1e8e13b0ccc136876285b1d7763e75fee Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/blockListSetup.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/calendarSubsystem.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/calendarSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..209cfeb39539c57a9128c8ff258ae9bec65f82e6 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/calendarSubsystem.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..dc0f75c1bed06bc8c3341425a51a7a3296ab24c4 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/1.0.2/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/timer.lua b/Angry Birds Project R/1.0.2/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/trackpad.lua b/Angry Birds Project R/1.0.2/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/PageIndicatorDots.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/PageIndicatorDots.lua new file mode 100644 index 0000000000000000000000000000000000000000..25874c112860714619bf92d615e6fbcdd01e9492 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/PageIndicatorDots.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/1.0.2/data/scripts_common/utils.lua b/Angry Birds Project R/1.0.2/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/1.0.2/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/1.0.2/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/pp.fx b/Angry Birds Project R/1.0.2/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/1.0.2/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/1.0.2/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/1.0.2/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/1.0.2/desktop.ini b/Angry Birds Project R/1.0.2/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..410dccd781a90fdc7dfd7bb08abcc4c0228047f0 --- /dev/null +++ b/Angry Birds Project R/1.0.2/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\Users\norto\OneDrive\Desktop\FAVICON.ico,0 diff --git a/Angry Birds Project R/1.0.2/msvcp100.dll b/Angry Birds Project R/1.0.2/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/1.0.2/msvcp100.dll differ diff --git a/Angry Birds Project R/1.0.2/msvcr100.dll b/Angry Birds Project R/1.0.2/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/1.0.2/msvcr100.dll differ diff --git a/Angry Birds Project R/1.0.3/Angry Birds.gdf b/Angry Birds Project R/1.0.3/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/1.0.3/Angry Birds.gdf differ diff --git a/Angry Birds Project R/1.0.3/Noise R (The Greatest).exe b/Angry Birds Project R/1.0.3/Noise R (The Greatest).exe new file mode 100644 index 0000000000000000000000000000000000000000..11d7268ae1ae8ac776d32df1b7da289de788674d --- /dev/null +++ b/Angry Birds Project R/1.0.3/Noise R (The Greatest).exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c7ad58acae020368c7f05f6ab2c9a00d55ca4df363258c28b8cf574cc508e2e +size 1502832 diff --git a/Angry Birds Project R/1.0.3/config.lua b/Angry Birds Project R/1.0.3/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d3472b6b90718105b087c55a373ace94d52cdd8 --- /dev/null +++ b/Angry Birds Project R/1.0.3/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R V1" +publisher = "JPA" +name = "Noise R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/1.0.3/data/audio/music/BeachAmbience.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/BeachAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..85759b30fe232e2ed045f7474b215fdd47a19e85 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/BeachAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8c5315331f8cd9356f9d6ddf968212f7c748b1ac4590f237a299393ba36609e +size 1544944 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/MTF_intro.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/MTF_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9a13eaad63779166aaccb6e4058a2e94ff2a2531 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/MTF_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e377fad5cc78c7d074052db5fb65c1ffdd5b55ae160b83d57a949df3827c26e5 +size 260064 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/MTF_outro.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/MTF_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e99548b513816bc6553e86d3c9d72ee05fd49c59 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/MTF_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89a4dbe0c7efb6dee9a7c116a2a32c31321f466fe1a19f2f36a5bf9f79a5313f +size 279202 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/RainAmbience.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/RainAmbience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..962af79c19b74b7a0b95e4ef156c2df62bab994b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/RainAmbience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5fb460d03b8a0e74ac075abf1821d3ccef4651f3583a55c207ed5f505bf95ca +size 889343 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ab_cave_ambient.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ab_cave_ambient.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..38f968513c9866b61f66cdb2aba0bb5653d3d414 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ab_cave_ambient.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d93725def68b368ebafaadf4710b2a53d5af2fd5d331b58798fbcb29f9b6f6f8 +size 956707 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ab_summer_theme.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ab_summer_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2e1609b175596b9815d9504c1599a52940849ce9 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ab_summer_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2856acaf69f3db3140fe57db40682cc3a65c3c69ab11b0097b3d19752356d02b +size 973414 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambience_waterfall.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambience_waterfall.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..057fa9ac2c38dc3b0abeed22157cb0692bd04ea3 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambience_waterfall.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ad5805317a25bd1fdbb94ba60017997045c1988fe7ad524516ef0d28b5366b0 +size 681509 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_camp.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_camp.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..489a78f096c056c76e1992e33d9e7a7b5b79aadf --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_camp.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8163298f8675cafb7dee42735ef8c34cdfc390af333d1c1bdb57d72501a98de2 +size 1320851 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_city.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_city.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b36d0e0b2b5abb84682805c093f0a42964c553e3 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_city.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a3c2fd920b89dd824478c1da55dbe90a8144c92a7ff40e91986a441f9b2f0b1 +size 978023 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_construction.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_construction.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8640725c93e332136a3eb10baaa2e658103d7703 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_construction.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78230eaa24ac157753c414488d2fa2cb68dee6e38db5ea7d9514eadf8a6f7630 +size 903417 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_eggs.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_eggs.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f8c0700bfba48c82afc5dbf3449dca4d53234063 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_eggs.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d85f90cd56b78e7bd7701d43cacec280d17fed9a8aa13a91c76f99512d5f74e +size 2155823 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_green_jungleish.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_green_jungleish.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..85759b30fe232e2ed045f7474b215fdd47a19e85 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_green_jungleish.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8c5315331f8cd9356f9d6ddf968212f7c748b1ac4590f237a299393ba36609e +size 1544944 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_halloween.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_halloween.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b0d7627fc04a2114842a6be96528d0ec3d44346e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_halloween.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:782d58349fcd30e5500a4cd481b25aab0dbc32f520ec577a9ee2cdf38b6b90ab +size 809991 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_red_savannah.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_red_savannah.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..46d53409296381ea6a735ce47fb1caaa652ddaef --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_red_savannah.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79c23296d2c44f1958d15a1a7a5db87463aebf1bc90070355cb98264e4d57901 +size 776776 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_space1.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_space1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..ec1045b4747ba4fe6707d7aa0e1f46653fc97019 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_space1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a45cb5a55079101494320024c910c173b1c180230f0640156085a362cc496a5 +size 895691 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_utopia.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_utopia.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f29d029eaad02fa0cd38ed3ae1769c74bbe8dd9a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_utopia.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd005111040ee1edaadbdb34c6901c2708b1af4251bd74795ff954d7359c93b5 +size 680533 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_white_dryforest.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_white_dryforest.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c1504ca6ce858c69e93459a69294e1ef02b85c83 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_white_dryforest.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a8bf88f7e7a03fb31a7340ed7fc5bc57b4658b7b38620b70ce732893c372623 +size 657094 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/ambient_white_dryforest_2.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/ambient_white_dryforest_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..8fd9750777a333474fa52dfb64398bccdedd3413 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/ambient_white_dryforest_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76f031bbcba0bb3057bf3fc4d8f54d49c32de715c4c2ab4ef7fd3fd13dedc3ba +size 876794 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..aeff98371f13026464fff64b6bb6b80b6ec26923 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f9d89187f3beaa15dbbb7cbc9529af0e2442e551bdff619759ef7e458539cce +size 138952 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6bfa61dc52655c17ce75c40adfe370fab64adc61 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d58bc71467e2a4b0fdcacb649ef6b17b7bbd02d25a9db939cb1e7de4cfd8c8a +size 261389 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a258011a5b1dc952bc8fe5959d7cef2a508da178 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd0cb48ed1c14999e187ca47b6b46e7b9f2ebb5fc374a3cc7221c89ccbeb5557 +size 193458 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/birthday_ambience.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/birthday_ambience.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c98bf7258b925859023f6b9212b2cbe60aaea43a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/birthday_ambience.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a672d6c0f3abfab6427721b550c700380854e89b88e21c97644322af4dd3622f +size 709632 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/credits_music.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/credits_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4447dfa87907ab0ea5a72dff79b02e746605eafb --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/credits_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aae676c5bf67b71fc28d240de5ae18dc9f163add88b3e2814372a48854c03d26 +size 4391237 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/edit_music.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/edit_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..300976782577854e2c336bd1d367cc1d768acb4d --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/edit_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa371aae2ed6607a06ec75f05df2f77a5729507500c5466b437978c7ad69ecc8 +size 1638267 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/egg_boss.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/egg_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..39a22114360268ecee2cc54fb0cac3426816dfa6 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/egg_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31c3a5f30af3bea8b18d93d84997cfe85dab629ee494b099d15b1fbfa8bbbc05 +size 3218664 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/funky_theme.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/funky_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..cfa2984fd2175716219e8881993972015cf35476 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/funky_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c52b0d9438cc379fe16818604c818c60e2f3ea3727754c92a9ebfef1533514c +size 1791790 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/game_complete.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/game_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a1710be57afe4fc2c8c0de8dc331d4f44ba5ef7 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/game_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:966a98b93f7c6bb23b77f64501efb03b6edafce184bae7764d538dffd695c2d5 +size 290171 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/level_complete.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/level_complete.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a3cb0c724428441153200c3e36be96d1d0b5a984 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/level_complete.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:243278c02fd0792f69eca15b5999d5b589d17189f8eb40431e79e1bb88de95e6 +size 219429 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/no.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/no.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..352e683d08ca8c45dbdfce35fe5d5376d66a968e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/no.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7fdeb2e417a0c11eb3a4b649133414f1c5b9f137354c7f2855432622861f18e +size 1897733 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..39a22114360268ecee2cc54fb0cac3426816dfa6 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31c3a5f30af3bea8b18d93d84997cfe85dab629ee494b099d15b1fbfa8bbbc05 +size 3218664 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..bf2f96f25638f13baf176c73a0f22ca2ff184c0e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:550fd7bea8397b9a77fc055c7c7dd1ab63f69917fdfab702e49101248c8c110b +size 3835223 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_3.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..0089352fcb7f0510d55a2fb5691f6b9829a0f692 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e8a09d3d4fc1c5fb1e1a8ab5bd6043d3cd57493666bb6e142783b09000598eb +size 1831354 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_camp.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_camp.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c32b11bf133a2480bed4629a4e434a43b330b6c6 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/pig_boss_camp.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7480134b2098b8f341b025b2e632e5c040c7b479ac059f517e0187ebda9c82 +size 2299816 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/pig_tales.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/pig_tales.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3a71408e9ff641b657f642fa59633d39340b9a02 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/pig_tales.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28150f3f1ba9392128a481eee507c26fba2c707f839f4222df6ae41227d9b3e7 +size 409721 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/reward_jingle.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/reward_jingle.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4591bfdf2d4493ec87e7747b185cb046931ed1b5 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/reward_jingle.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c25daf946196fb6eae29f39149e3524f3afe5fe2261c6b4b376903ffe24cb08d +size 57303 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/title_theme.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..717be93f0835c347b1ebf13b02da9d63fd9fb02e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9663d0f76bdd915c95546b4cc01de0bea58a5ace591f3bc755f4f91fda20b49a +size 2777210 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/title_theme_breakfast.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_breakfast.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..717be93f0835c347b1ebf13b02da9d63fd9fb02e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_breakfast.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9663d0f76bdd915c95546b4cc01de0bea58a5ace591f3bc755f4f91fda20b49a +size 2777210 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/title_theme_camp.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_camp.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..717be93f0835c347b1ebf13b02da9d63fd9fb02e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_camp.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9663d0f76bdd915c95546b4cc01de0bea58a5ace591f3bc755f4f91fda20b49a +size 2777210 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/title_theme_moral.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_moral.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..717be93f0835c347b1ebf13b02da9d63fd9fb02e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_moral.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9663d0f76bdd915c95546b4cc01de0bea58a5ace591f3bc755f4f91fda20b49a +size 2777210 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/title_theme_space.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_space.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..717be93f0835c347b1ebf13b02da9d63fd9fb02e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_space.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9663d0f76bdd915c95546b4cc01de0bea58a5ace591f3bc755f4f91fda20b49a +size 2777210 diff --git a/Angry Birds Project R/1.0.3/data/audio/music/title_theme_tutorial.mp3 b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_tutorial.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..717be93f0835c347b1ebf13b02da9d63fd9fb02e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/music/title_theme_tutorial.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9663d0f76bdd915c95546b4cc01de0bea58a5ace591f3bc755f4f91fda20b49a +size 2777210 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/3_Stars.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/3_Stars.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..76e16e5a046d3d1befe46d80012f7c31c189d4b1 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/3_Stars.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a16c0a1256631bff65486b9e5ffe025b6aa68702a4971857bdc0f5deb6ccb1ae +size 10009 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Black_Idle1.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Black_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2b27375ecfd5daa354a6b4ba9a635b2cdef03240 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Black_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb58200682af2dd948351e3a9c169e3168580979690afe60e6b8559cda935b5f +size 9657 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Black_Idle2.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Black_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7ab10d09a511894f03bdfdd4ddfb97ab0343435a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Black_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9006e7ae6bf70a95af8c49bff1de3b6759099806a8b98795de67e5473f1542c +size 4011 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle1.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f2c31438df2b4a5c11d20c6699621e21223a9d05 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:841010fc46ead4e59c464058d7b1e230d2e5621dafb7b6dc997da28a8c6549b5 +size 8874 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle2.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a786c13fec906fbaacb5d2608fa0abfc77c04b37 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be59113eb7c2de2c35c000a05276c97b0b29f81f57d885882f56b1cf86a516e7 +size 11745 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle3.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5945e8c1a13f88ec1ddf75013935fb0798495e2b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Blue_Idle3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03df6550abe97b1c8a630824ed15407199c2da138b797dbcf4a2307f497b050 +size 4959 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Red_Idle_1.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Red_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e8e1a7aee3622f063f22fce7bb92a3143a287b39 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_Red_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8081ac3830258e3aa72cb94fe639ee8edfd9033d9400517fb6205093fd455102 +size 4437 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_White_Idle_1.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_White_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..56a0ed1956d46f98eceae295b54dc036aaddd23a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/Bird_White_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6153339dbdd4e35536ce58b3da36defacd3cd9f5b6829678ec32355f4f39c048 +size 10028 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_break.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_break.wav new file mode 100644 index 0000000000000000000000000000000000000000..d3ce78a122b294664eb98366db9d7c2f871f676f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_break.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5217c9b69c36e69659a37ed7625bff291e30c21b7f16c6f5a82fd27908e91d1 +size 125128 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_empty_pull.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_empty_pull.wav new file mode 100644 index 0000000000000000000000000000000000000000..ce11b37c756784b8d5ea83a6a14ad2b4f8f1a3ff --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_empty_pull.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:640393fdd29346c65c20cae8aaaecdc9b2c7a5116b4024304b5de14dd288ff68 +size 108504 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_empty_push.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_empty_push.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d54e0c5ca538c55e63efeedb744dd9f62d8a9d1 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/accordion_empty_push.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dcf6356dd30b16806bb6d982cd463c061e8095d5d4184d182f4f36527f19f60 +size 127482 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/ball_bounce.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/ball_bounce.wav new file mode 100644 index 0000000000000000000000000000000000000000..14edb928903cde79c51569c3d221ee79adebcba5 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/ball_bounce.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11a20f27efdebdc4261004ca6abaa4d6b57b1654f747939fff316739cd9eda83 +size 28878 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..3620e582ab428cdf69b13650e927e7152c63d534 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20bc621567696c8892c1b4b4a49b282b14422a1f0f657d4c686029e38938a6e0 +size 22380 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/big_bird.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ac04069d76d28efea1468cc6af4c8fd5d847214 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875e6cc62f7f0d698574df6bdbba67633b8aedc47af35edb2923412c2e9eba28 +size 133932 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var1.wav new file mode 100644 index 0000000000000000000000000000000000000000..5ab6627b0e5ce80d3c76a0600fcbde5781e153e6 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed19e3acf88724bbad497c43a30891cd3ca29b4973a26e8c1dbba391c3113d62 +size 88358 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var2.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7e9c35e7bc493629bbddf19aa34e8e831d1a2eb --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bb8e17ff3c7b10d0db34770a32be880d17b7933dbbf47e9cfdb962cf940d3fe +size 95868 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var3.wav new file mode 100644 index 0000000000000000000000000000000000000000..bfee40888ac5421e792caf1bb111a44ce6785259 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_enter_water_var3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:566ef9a7e52fc96106b4167bab9c4efa64953be10ed2da377eade786f04e20a1 +size 95868 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed8a54e8fccf2ca4def91a2af26641631e15fa35 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd354689c92e90faec172ed79f378c64bca99667a014a20519c524f3a0ed4a4b +size 86836 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var2.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d6484029aa1d7e28d64b9bfede9c712ff5b19eb --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa5728aeed9a0990e3e6e1cad9978c17c835472718e82a0e5c96be9fea753bfe +size 85940 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var3.wav new file mode 100644 index 0000000000000000000000000000000000000000..e31b2ea399bf6b42235d799b380f5dadfbc65183 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bird_exit_water_var3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:115f42b89c1761705b08dc3f1f229760a352fced83691b41c12ac2c670d91743 +size 87476 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bmajor_left.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bmajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..344d3efe508db54a31d79b1eb0d24e7d0206cb58 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bmajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:108aa85275c295921053b41112e7666f83645c18a0a265106a98e2fc23e3ecac +size 88806 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bmajor_right.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bmajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..856df6d666256064b83ec50bc34b1a1ec4fe19cd --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bmajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7694f8efb7b28557f37ae9d1c93c41a51b0dcb5345acb21f3738a951d49a3a9e +size 88664 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/bumper.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/bumper.wav new file mode 100644 index 0000000000000000000000000000000000000000..aaae91736f4997eff4a6034ba168461b95d38c5e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/bumper.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f2f6b7bdbfa53761444be2f0b3c1695962c9fd34ead06ed4bd2126bb5eafc0 +size 48726 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/button_radio.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/button_radio.wav new file mode 100644 index 0000000000000000000000000000000000000000..1fff9be156c4183bc8edf2c4bac48c3d57f2198a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/button_radio.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:279d95cad7ed6f09e20332782effb474573c2d9969209867b7a2bf0627d152f2 +size 71302 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_01.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_01.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b52ce6f05057c24b0cf1295df3113e02eb470a00 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_01.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b513ad48e19a522e0f542513255291d4eb3675ae1ae4bdd6497dfef1b9b4c0f6 +size 7124 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_01.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..0c4cbd4f047c305ec67d3d7853122c64512541fd --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:124395be34a65aa13f2f044573c21130d7a6bd2da9f1ad89879763910e361648 +size 75408 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_02.mp3 b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_02.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..77230d5d5ecef2afef2e03877e8703b3adcaf90e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_02.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95a2144e5b4c640bf3b4c1f1f8fc8942c04a0a64f4ae234d6de51c0d415e2636 +size 8743 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_02.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..a1f5ea0eb44f788cc11e9702f0e82b3eb2ca88b5 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/cannon_shot_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5adc7a05e1dcfb05f05382ad320c6965c4819e72b7626a87bc1c7bfbc0aa3dd4 +size 91636 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/char_chuck_getready_04.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/char_chuck_getready_04.wav new file mode 100644 index 0000000000000000000000000000000000000000..15d0cb46698db8d88425a21bd5ffddd65266d519 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/char_chuck_getready_04.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4069cb5405357e14ba0551585df9e7fbadc9a8f1246b2826e319f6d87d99d7e6 +size 88364 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_1.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..e66e506f018bf568a7442ecf14a7fbafdaeb1515 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a07e41346d3b0e9ddb6475cb347dce33cabb35822a411d2a6a755b21946a301 +size 49324 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_2.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..cdb747adf0e9658f5ba1d4e20d649942d6f45eff --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0240a41e7dc7e54b5a9ed8d74a7720ef7bb16bb48bafad9a0a573a8da615116 +size 88364 diff --git a/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_3.wav b/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..e8baa4dc2ff2f6b9baee41076f60c46e69def543 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/audio/sfx/chuck_idle_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b403717b08216ffc06c5b74325afab101f1072a2a5013405aa7d0847d8c5bfcb +size 53676 diff --git a/Angry Birds Project R/1.0.3/data/editor/editor.lua b/Angry Birds Project R/1.0.3/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..38f5b748fac3c550a037c126c17d1ab52ec003d7 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/editor/editor.lua differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..3ff26b31b8a325e5c4403bf71c14ef5981d99570 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6136c52b94d2c4139362c48ec1bb2049e9a7009a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..3dc694034d367f54045f0f3933658ad24c5e2957 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..0f93951c506607feec69ac99c37c482dd0bb3741 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..21ee51991fdfca7fe14c10a92ebee65fb42b2792 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..c872a89a8f99fdc02ef4f6af2082262423dea92b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..c8716179e676ba601e09e40532f95dcda7dd4a41 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76ae6f197fcbccd109efc8fe933a0895572bf6592de46a2b61a17c6d833938f0 +size 53711 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE_N900.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE_N900.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c080ee93c6f79db09b83f9faaeff18df9f4b1b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE_N900.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..25dda7672f62afcf12ab2970d57653016278cc1d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.png new file mode 100644 index 0000000000000000000000000000000000000000..3cf63f06358f42d03e277423a86eca2ccc616530 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41aeef377d94217c7f15dacab4ce8fe8efdabec618782a036447ad290e54156 +size 56251 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..0bf3c182e1ab96d954d0aeaa8def3ff28bfd95e6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..123c4209875fe6bf5fdc159002db84719474e59c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ba8841588e547450320b47f3e3f8c2fa184a165e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e15c9b51ba3bf11427a6c0c25a661b3d9c6e947b582e449dd830798d648c279 +size 1775668 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..7402010b1f0114167f70bf3095025ffb6beb0807 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..9b2833fd5f3083995321184e288010c23469d744 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..9715d99406d7b2d712406e02af99d0dc998cf0e7 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..224d416b8c1fc5b6fdb17e9cceeb216aac27fc78 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8fa2edaae3c41e0525bab2e2f56575bcd6daa9856722557e2ca61538419dfa2 +size 34585 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..dfac8a8fa39ce078553b44b52cefe2f49d90cadf Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..bf8e1ef19bc1aa256426c0c58752cd6078568a1d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffc21881861a90afc90170438bf8a2770c266d4b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..75bd49c1764d2108878ffabd2ebccd0904fadea6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat new file mode 100644 index 0000000000000000000000000000000000000000..6d891f83354557574e84855b20c108ba5f6cb7cb Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..514ded8c1f4b3e65f967424846fb2c5b900fc78e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6a7f19c21484ffcc22f18e84a52ea888ed84e3599c109f7c45af54714471ca +size 150549 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..d5095b37201e962d7821bcaa4b3212dcd8907c11 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..02e33f2a5e97b13084bb892c9d9fa9c61f330a93 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e81b40d24e9e3038fbadedfd82cac5a866d68908 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33fbe429276400509676dc1a585c09154f7e130e93ccd53bc1c1e0cd6deac288 +size 3924020 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..98a6726164c6d99b8e7ea2427d443b3c17684aba Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..be162118ba009402d88dafb49bc20b4f4773c4f4 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f001e6995051d7645446149896d522ed73eae136fde852d23cb761a51f445acd +size 2056244 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.dat new file mode 100644 index 0000000000000000000000000000000000000000..1ce57631bf1750b50e72b84ad8a56d10c3889995 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.png new file mode 100644 index 0000000000000000000000000000000000000000..1cd8ad43461218393688c86fc8988c5f19c559d4 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f50578f42731b15475121bea5ad4dd4cb7955698e69bf5027e84c7b0cec8f7d1 +size 4536 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6dce52ef607b084180bacd92f5fcaebb364e388e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_LS.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.png new file mode 100644 index 0000000000000000000000000000000000000000..8f8a3d1b80361d40933ae08c20afed0d989f77e8 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f098ce8177e2eb5ca7554d03faace614d95869e90489c6e0d2fb918d4aa15b +size 8147 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr new file mode 100644 index 0000000000000000000000000000000000000000..35f323806696f766b38420be91427754743d5d44 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..6b1927d5f3e0d6aa44cbb27f27f45b9392e21fa6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..812d4c5d3388dec5b6c124f5ecd6377b136a4e0c --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6723c58df5dbbe20b5c9efaa690c34e597acb1bc18778fcdd8317390ade27c4 +size 4994 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..704658963fbec424de7709687cbbc312ab758087 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat new file mode 100644 index 0000000000000000000000000000000000000000..7462024fab694eaf7776906a7b671975c7186a18 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png new file mode 100644 index 0000000000000000000000000000000000000000..a5d395040da5ede3f0cf0739164802503b86a21e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32912bf2460c9f5b052e8cac64e8a8c0b4b4b6820e4b7630ef08b592dc6ee64d +size 27198 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr new file mode 100644 index 0000000000000000000000000000000000000000..c92c4da49a4673a84d8a58f0629dee1914281167 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..382fcef11e22a6cb0cb2f82cac07f08b98582587 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..f18f772f96a73158edcb7a1e26553d8653613137 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SW_BIG_HEADLINE.png b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SW_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb797dd63b799c57809dd3cfa662fd78930a0e5 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/fonts/pc/FONT_SW_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a7267c28faca8b04317b53ffb0e02238e740d7c763c273d122e740da21fb98 +size 341382 diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/PausePage.lua b/Angry Birds Project R/1.0.3/data/fonts/pc/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c3685e99422c02b603d0241d1aaa1491bb62e0 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/PausePage.lua differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/Pictures/Saved Pictures/desktop.ini b/Angry Birds Project R/1.0.3/data/fonts/pc/Pictures/Saved Pictures/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..a51683dae5158c401aab388ce7015ade0ac2a064 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/Pictures/Saved Pictures/desktop.ini differ diff --git a/Angry Birds Project R/1.0.3/data/fonts/pc/Pictures/desktop.ini b/Angry Birds Project R/1.0.3/data/fonts/pc/Pictures/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..2407f6d2c327f1654dad1e2d3f7712c3b486af54 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/fonts/pc/Pictures/desktop.ini differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/1.0.3/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..114b02a2d8ce22e7f290db73deffa22671107732 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8d4f93d2c14453c44f7daab5c07f402372c1176ac32d31b8a76e3bd9c121c84 +size 181645 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_GE_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_GE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..2e787132f2aeda4502bd35bfddcdca594732c15e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_GE_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_GE_1.png b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_GE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..a63ee240d512b713b77df559d19229fff04ea137 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_GE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7490c8c2f9523b45c8f5f25263bdeef1de325670e045e1358f84c58b259edcf +size 314567 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc166ed4b0667007c7a221b495c10e59eac04e9f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_1.png b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5362f79f093f44575be76a96bc5cd5ddae1cb3ff --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b89659688d8df5eb4c537acd6e6df3e789e5bd34f6e2a850b66b43b06ae8b2b0 +size 192468 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_2.png b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..1de6495bf3bf7c6676f278aea8aa466501a64449 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_LS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:932009185aa8ab3c1c81299729a5e623933a6ad15d9df3a65fa64c6d974acb32 +size 155373 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_MAIN_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_MAIN_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..538cc54e2d19b0d545fbba7a68893682e7f820d5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_MAIN_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_MAIN_1.png b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_MAIN_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8229f241c726b29450fd99ab98480678dbd0ad06 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BACKGROUNDS_MAIN_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151795aa964a14aec05cf46bf82e4f6f46d10c0a60072911699ef79b20e4ccec +size 212209 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..faff67923602e08b3281b0e821dabea375bf7498 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..54e7fe9dc3962efc9fffd6990be3af92b9d5d18d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2fd92878816f6174ffe22a3790d846955b9f750 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png new file mode 100644 index 0000000000000000000000000000000000000000..8f590a9cb0482621bc1970ffb72a10e1b171f870 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b56f8016cefab230e1b32adb86a5deb4049d0022e127d562f2d1718b1f80d045 +size 11475 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..94ab3ff908cfe8a8d72bd354ed7c5b1b807a0458 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6c4cd07e942122c4ace337e25cc6d9c651c49f92 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_EXTRA.dat b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..0b5f357649aa8333e479881c559c5ac46eaddbec Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_EXTRA.png b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_EXTRA.png new file mode 100644 index 0000000000000000000000000000000000000000..a4d2b7ed08c6dc3017ca97832a412816ed2b4b3e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_EXTRA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33ce3218795f89b379bb1eb5e9cdc6c744d98056f297aba72b508718ff2c67dd +size 42143 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_LOCALIZATION.dat b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_LOCALIZATION.dat new file mode 100644 index 0000000000000000000000000000000000000000..518254cca96ed163aa3283ae54f6b811fa4d4b3f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_LOCALIZATION.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_LOCALIZATION.png b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_LOCALIZATION.png new file mode 100644 index 0000000000000000000000000000000000000000..8540c0388ae41ba938ac8479c60b679d683fcc5f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_LOCALIZATION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea8ff5e03b87a3d6eea6fedb3e78776681884dd905231ec25262ca8cd4ee0a6e +size 91025 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..1d126e8a220c49a2f431a2ccb7d86880add7cadb Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..dd237d85d20252563e7b1725ccf1519277b1c622 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e162598f9f16bafc99fbc22ad1a4f5a4d37e12e645b8c2d062ef4bbc6e86c954 +size 413785 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_2.dat b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..945e93e40870787f8def90da1e873e24fe1392d3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_2.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_2.png b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..a35ff9722ea04450e5e99e69b9f1a9f630d20ed3 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/BUTTONS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92b5816e7749c1e1dd55dec67f41f196594373d224c432aca05999d34063de20 +size 914948 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CAMPING_2020.dat b/Angry Birds Project R/1.0.3/data/images/pc/CAMPING_2020.dat new file mode 100644 index 0000000000000000000000000000000000000000..fade223882003f75fe2211eee7de93e519dd01ae Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CAMPING_2020.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CAMPING_2020.png b/Angry Birds Project R/1.0.3/data/images/pc/CAMPING_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..75342c7577e171c4bc1fd8c8524712e10bfc8a8a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CAMPING_2020.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9990e10145b36a071ebbc8b63424bc506a1cf761c1ad107a28f4f03c1c2a99e5 +size 249536 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CHANNEL_SHEET_0.dat b/Angry Birds Project R/1.0.3/data/images/pc/CHANNEL_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0477a4eaef990a9796500d59fb969e7667331e06 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CHANNEL_SHEET_0.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CHANNEL_SHEET_0.png b/Angry Birds Project R/1.0.3/data/images/pc/CHANNEL_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea943b4191cc83db76608eae32ec9f4ca4f1b32 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CHANNEL_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba65b86e84d496230feb3db482e4d289fa03acbc742ad578606751ceea51c9a8 +size 17787 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.pvr b/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..2e39812b467a97935eed1f62d1aa211424185cd4 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CURSORS_SHEET_1.pvr differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_BG_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_BG_1.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5f1980ad479bb8d5fbca14fc95c72f4b4b91480f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4b8425f5f47cee50f75335997c722577da94efd57416c8bd93b62f9df82bf5 +size 6361 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..0324c1fe7cc1116e011586f7a5fe4dcff4e12830 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da2428b1c8e6ad6f59c27be57b0b2eb55e83b9c1db4d42d29a6ac2b11a0e813 +size 17893 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ae8fec0291eff4ec5da0634d28a4a725f91868bc --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76e0e8009d2987c997a93aab5c0cd97f0c8826d0a5a199446d17bce426959ea +size 271919 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_END.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..796a59610bf9f362aaf6869b288e3461e4c02027 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_END.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_END.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..e074f44e905d2ee402c50f60bdd7690e97acc18f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06fa48572ddea14ce4b6b9d361a3b54af0c543093b1db9fd85ed82b69de3d97f +size 94337 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..772a607c037a8b5102f21bec12ef3ce642db1117 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_MIDDLE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cc5b2970191b0ca81366ae1a805b4a49573ee1ff --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_1_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa4fa3b67ad3d83cab2aa4a3abcab955750f8d61f270fdea90dd9d00fd7cc06a +size 195212 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_2.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..35ad39c8ea2f27a18348ad7ef87f45645907cfa9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_2.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_2.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_2.png new file mode 100644 index 0000000000000000000000000000000000000000..34f470725350f46563d8d7d1e1967241665f64ee --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84c9926df6e9d223949c52906d232d1d762823dd5ba38f1125cb01b1eb84abdf +size 147709 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..4416bea846c8ff17e609c0d77b792095f30f5619 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..f8ab6b07144c973f0c23227ddf2a2ed477f21143 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:181a44259bc49af7bed228df0458014f65b661e83ba271dca58e53317c9068f2 +size 122013 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat new file mode 100644 index 0000000000000000000000000000000000000000..84ebccd0eabf50e5811fe6503c8a47d2d265cc98 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_MIDDLE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png new file mode 100644 index 0000000000000000000000000000000000000000..cb94f3a9f80c6e524c705115ae67f14e124bf65e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_3_MIDDLE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f0512e34356e77c573026dfd531fbdb498bf88f7ef7b8f21ec1f64219c40e65 +size 77988 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..78f26cd5f6c336242d161aef6668fa94cfa65c7c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_4_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..711f182668dd21f4f619191b139fe5fea3aeea02 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_4_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f53c05db143dcba9a27100e5587af6e6d9e9a594da097e10ad77ea3e7bc693fc +size 239524 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..c07f5eee210ee7bbe3311f69fa1121200dfecfea Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_5_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..89764f65fa0e6258e5975c663150ee27be840f2e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_5_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9531ebf6d9f0277e617df1f41b21c3344a1724314e61d0e3b66a7ed4dcf91875 +size 176305 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..33f63ff149a7df327adf8f76111ba66709098995 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_6_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..715cc8c3557b3c5d3a6514c8a3416b3d7256cb04 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_6_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03f4a6abaec9ba14f4b64a6abd019b0b21a507f68873538611f053362b9794d +size 236897 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_7_END.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_7_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc853f4e5c89393da8cb974180b7b421a6e4bb1d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_7_END.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_7_END.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_7_END.png new file mode 100644 index 0000000000000000000000000000000000000000..331b0e317a57542921d1a84dd69f7d9b9eac2901 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_7_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37a51ec64f6665d4cc03dc5e35cc51e1ab50fa3af8bc396d8f08acc6843b615f +size 106804 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a935ced06d0d5d74779e7033d603b5501917790 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BEGINNING.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..c5ece888559e20078586e695fafc03f22f5415bf --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be264bd07c26c580d8c4da8b671592b226c55eee119daf6945c072d8b733fe06 +size 103828 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BG.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BG.dat new file mode 100644 index 0000000000000000000000000000000000000000..e8b71ae3e7a74f30c7bc0f7f1ad9e6721f8fa2be Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BG.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BG.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BG.png new file mode 100644 index 0000000000000000000000000000000000000000..497aac633352303b9fc89f28b012194687eb0a17 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_8_BG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe30ff37883de7b98e9b7bff1641ac6fdbf6d2c614035f74cd5589a828805e90 +size 267411 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.dat new file mode 100644 index 0000000000000000000000000000000000000000..19cb78f18f6a41b8cfd92f8eab0754ff03054765 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.png new file mode 100644 index 0000000000000000000000000000000000000000..8337d20fffe8e38c974e1f9ca30d4ff36b13eb7f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0c6f4ff982be4dc85e1482eb36bf20c7cf0687bf99641d53ac20d22269d6faa +size 152378 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.pvr b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.pvr new file mode 100644 index 0000000000000000000000000000000000000000..34630f2df24ebbe544f0a1bb5d36cf236305975f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_GREEN.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:326704b4a4c61a03fd606f47da26e48444a7d83e9b1185cf108db4ffb2d394b7 +size 1547122 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..be5a88f041f24bb61a76dff5602655dd261fca29 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_1.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e5bfc3bf0810a93bef7f103b602cfedbb1043613 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f096c9db5b9bf9e7c6393744d0db72c766d112ca7c0de7db83dd0017385a0793 +size 307933 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..cba6abc44f14a7caa271b7bb3237cee2edad5376 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.dat.bak b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..be5a88f041f24bb61a76dff5602655dd261fca29 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.dat.bak differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.png new file mode 100644 index 0000000000000000000000000000000000000000..2d511d4dc866ba684804ea2a424d9e8e397f562e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_NOISE_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a9e2d0ac79f014ea496f08a7a09f4cb67c451cb4314522ef3b4a06aa85a6b3f +size 351076 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_END.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..87c83705dbc4cd488d8a91b05f072846518e2e1c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_END.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_END.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_END.png new file mode 100644 index 0000000000000000000000000000000000000000..a7c31c372540a0522da7e0acf4dc34906d183b27 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f1bc77e7fc47dece30cbdbf39ebc74742f5d45c6c9536dd919ec3a3696ac766 +size 583976 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..75161310b3f46ca3d1823a6d44dea5462f39975b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..857b84c24a4e0561b3fd1bf47d8e3c70b140b9cb --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_SUMMER_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a253c238d8d02edcd945f11c0ec8a3bbd015053ad2f4b724c08a3ff1a466f115 +size 534710 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_END.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..0412ba5e6058500ad69b27b867ec9d4636a0f1d3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_END.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_END.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..4535f8adf75091023a33ef756a8620ae62ef3883 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f07ef276b46b03f85151ca9c2dec35718777a1d1fa1daa7884a727e477aaba60 +size 254417 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..a714ec4605924a9794b1da7a89f17694af60b50a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_INTRO.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..d325b397c67210e6d2b1ad06ceb23c3c3f7aa469 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b48e288595cb79711c52ccccc6d263429ba25605557f440b5a04873fbd4e964 +size 292589 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_MID.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_MID.dat new file mode 100644 index 0000000000000000000000000000000000000000..8a4a9207a604563c6a24dc5b5ce49701868f0550 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_MID.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_MID.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_MID.png new file mode 100644 index 0000000000000000000000000000000000000000..a36a0db8372b5c2dc592926eaa34a4e23940d9b3 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W1_MID.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daa85744140d37469925c536ef7c57678bc6eec0f556d770f7133c7626b473fd +size 474282 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_END.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..3fb3ab295dcf38d8758d70a53aef597a8672561e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_END.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_END.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_END.png new file mode 100644 index 0000000000000000000000000000000000000000..52eb096ef3619e2d9184f26926368d683faf0b22 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edea36e78dc688e162186dbc2bb0167ab92665f36892e78126426196978816b4 +size 1606963 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_INTRO.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..839d85cb11f7c0bb5b3c94df0d0ef49fc555cebd Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_INTRO.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_INTRO.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..bf7342e6e838e547ec20d1480fe9805dfe9f0e37 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60f25735b90ac07db473ac19213e3937b091d6323ac76a1be771fefc08089f20 +size 1864496 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_MID.dat b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_MID.dat new file mode 100644 index 0000000000000000000000000000000000000000..f0df6d4ddea8cbc1ba4f370b42a9cb64557e3757 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_MID.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_MID.png b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_MID.png new file mode 100644 index 0000000000000000000000000000000000000000..0c09a191c8b5a081322b64691319cdad851ae256 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/CUTSCENES_STORY_W2_MID.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:982e8709fbae0f696a93a38bcde4f7ce5921445158380f43849b23c4866f70d8 +size 425139 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODE0DECOR_RIGHT.dat b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE0DECOR_RIGHT.dat new file mode 100644 index 0000000000000000000000000000000000000000..aada6ee6ab2380b53bc24447c64dec8e5d649c79 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE0DECOR_RIGHT.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODE0DECOR_RIGHT.png b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE0DECOR_RIGHT.png new file mode 100644 index 0000000000000000000000000000000000000000..e085a481271d6178b46b469b53a36faa9e53f181 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE0DECOR_RIGHT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6574592c3842a843bbd4ddb038c34c6796926fa579acd5b563d580d005ec8572 +size 43411 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODES1.dat b/Angry Birds Project R/1.0.3/data/images/pc/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a56b4096b5daa8c21b2138dc579f819928a4f36b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/EPISODES1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODES1.png b/Angry Birds Project R/1.0.3/data/images/pc/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..7e90e0fc497da18cba549c5bfb05322dc24d8d8e --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0cd88221e152b75a78c595da84d08be0bbffb3458772cd0896abfd79b7668c0d +size 426917 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_0_OUTRO.dat b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_0_OUTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..f47cfc6eaa2dd53ccb71c8b4588142abcf739ca0 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_0_OUTRO.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_0_OUTRO.png b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_0_OUTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..bad236431044564d0715e27a7b27ce76c1e4eae0 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_0_OUTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f980f74db527a6559c056f64be68f64685a9035c8bfe01854fb0e06b02f9172 +size 454109 diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_DECOR_1.dat b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_DECOR_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..4de9f20da2a25937a8894c14b378391f02635267 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_DECOR_1.dat differ diff --git a/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_DECOR_1.png b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_DECOR_1.png new file mode 100644 index 0000000000000000000000000000000000000000..ca1fca89ff56b9eaa1dd40706b37dac6be842dc8 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/images/pc/EPISODE_DECOR_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f97418f1da421debdde23dc24fe39f76584fc49dc73c03d66b04fd30a01eb24c +size 452292 diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_1.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..a982a55321124a72867431bcdc71e1731fc1ef82 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_1.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_10.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef50809ad132e255ac962cf3cbdbcc57fb522cc8 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_10.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_11.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd2d2e27e3aaa9c3678ebc978684b413a682fc61 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_11.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_13.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..d44611aab3b94b9f11de2f7095cdef06b7476f99 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_13.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_14.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d20810f0be940e4147a8656e1b6d9182a45966d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_14.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_15.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..1de68c8c801eed13f19e0dae21e3fbba1e4ebff9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_15.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_16.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..2da55fff114dc25b490187e52eecdae1eba75146 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_16.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_17.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..2e509464923504220a8caee1011c18be4479f4fd Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_17.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_18.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..10f6850080125e02a61019f7cb845d8585288c2b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_18.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_19.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..36e3b6cfc291da32df29baf1a32126657a437969 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_19.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_2.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..41b57ac8f216816a3b50c4b8dd19b19b6c71cbc4 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_20.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e4a6151d0f252403cb251646b7253f5e99e1ddf Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_20.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_21.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..7448363330980c03f7c2ac06c4e1b3aeab46c586 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_21.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_22.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..ac3294d4b8f4ab35d5f48020eca4dbc11c1d8672 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_22.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_23.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..0307c7b6cd2cb44a575b3e6f2162a983b7b421c2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_23.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_3.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..6e854922351c7d228c32de5276242cd78b1b0c99 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_3.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_4.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..959652dfcc220d5d8d361701cf0f74d5622f0b98 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_4.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_5.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..dbab10fd732613081dbce56775445f11228892eb Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_5.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_6.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..fb93813b8974f2cea1e082ba2c4a1050088b6549 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_6.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_7.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..97fd2fa15652d9bb0b039c5bd63f8eb38bc19d4c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_7.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_8.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..e4cd11360e9a1fb8090fd0f2add04d9e9edee218 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_8.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_9.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..583a5f3e8faeb00fb266ead293cfee60eeafa4c6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_9.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_Boss1.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b30af0fdde1df1ff35a1a4416d1cf95a7e7b23f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_Boss1.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_Boss2.lua b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_Boss2.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c48d58af236d10e3da31fc7b3b7ab7f740add6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Breakfast/W1_Boss2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/Boss_King_1.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/Boss_King_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..886932fcbf5a50a875a9580f75f61cbe2d6566b5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/Boss_King_1.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_1.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..63d0974bb97b723154469e7e0219073d09858d4a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_1.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_10.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..564999349e0b43d422fc589d589cb4caf8838d70 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_10.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_11.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..343992820044159c4ed685710b50e95848510f43 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_11.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_12.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..35f7d7bd45f486496705891c7d327f4aec675d5b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_12.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_13.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..2e9052793e112dcedd252a33a3aaf3958ac57b47 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_13.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_14.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..4727036306b17b33da469716a351f470a4d42888 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_14.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_16.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..f18f00bfa7c83920d7a19de46e9feb8c067f9649 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_16.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_17.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..11e819361f3fde53bac69312c727a7d8b8a44057 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_17.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_18.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..292bde1d5429fbfb5e1ec2a06b09da9466121e67 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_18.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_19.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..498f158e5debcb907189ccf17c8d59e881e8a748 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_19.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_2.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..26bde5bf0bb1851e8e146dbc9fe69cc73e9126db Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_20.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..51b139f050c44797caf354dbd9ececb78ac7f2f9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_20.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_21.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..b684c2dbda9cd3120ca7a52ba71804dc8a3d4164 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_21.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_22.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..3ac1efcf2871d9cfc809e1ddc3cd21c1c60f21fb Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_22.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_23.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..0a3cf6af348710e41e47fd6e000e3fbe4e8d4333 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_23.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_24.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d2a66a9cd992df638361b52c1fbe057b6e82f5e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_24.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_25.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f01d2a7fa6ece52fb16ef0cfb42650f998d21db Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_25.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_26.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..b1173c30e93d31681cdf996e712a55cc328633f8 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_26.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_27.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..69094e16e3fc3e8441419a8a87e678e0c30af3c9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_27.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_28.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f71d6051140bc145ee7f0b11d1ca5859c2bd36a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_28.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_29.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..85371bf38c5f4f44e53e704419d13967862732d7 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_29.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_3.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcbbc11e9d2de0d4c69bc3619c6889597bd3f2c7 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_3.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_4.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..633784ebad631f3e3443106370e4cbc0de8a74d5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_4.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_5.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7c06dfbad67dfbf2598dbf6ac803b3177716d1e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_5.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_6.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..8556b973710405367a5d26247a34426d3a3c8929 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_6.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_7.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..03a83e0c593ef64c102f61abadcd3fe69a52a0cd Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_7.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_8.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..c0db92badbc3f1a647ec4105fdadcaba5e88946b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_8.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_9.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..a240062ade2158d14d8e72c1fd4c2d801d9d152b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_9.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_Boss1.lua b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..a65173bf2d11ab7cdfdaa8373ae67de0b6a379b5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/MoralMixup/W2_Boss1.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level1.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..cc25e3c1edd35b3f8c19a0114c387c6615c29fcb Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level1.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level10.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..fe53488a1c492f7ff59ccd15136534d378e16c86 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level10.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level11.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..eaf8c83477b05e0b1b0fcc07f3c1c6c2f1379311 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level11.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level12.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..131dad33982a59760be2700efd56aa118ee74df1 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level12.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level13.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..156979c121f2c2f390f89ca112aa75c2422e39db Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level13.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level14.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..45c68dde4aa9b7f92999495a97d47fd663aa3601 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level14.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level15.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..a79ba5f2c4b9a961b5fe6a697802f459097ab6bc Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level15.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level16.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level16.lua new file mode 100644 index 0000000000000000000000000000000000000000..0311bd775111258bfdd3459c5126018bdf34df71 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level16.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level17.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level17.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c1ba698bf0650f38ed0638b430f507e396c6b9a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level17.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level18.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level18.lua new file mode 100644 index 0000000000000000000000000000000000000000..dae043317504a13c7fdf0bd56303f7590564c845 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level18.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level2.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5b983166667c95a26c449f60c118983eafc1884e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level23.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level23.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ac9d6b88494ab6b9a0ae9271a8f673b216c81af Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level23.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level3.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e47d73714f9a4647665a00bd89ce92315b1a510 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level3.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level39.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level39.lua new file mode 100644 index 0000000000000000000000000000000000000000..211f0371786589ec35c76ccdaa0ec6d80da98f7d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level39.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level4.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..b73af4969b08355eced129bb29beb72f60805448 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level4.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level44.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level44.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb8ef094e864821643f38e941bbcfc3d7559866 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level44.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level5.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..51a0c82f5baa15bbd3fb72a7d50ef8961b41f662 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level5.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level53.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level53.lua new file mode 100644 index 0000000000000000000000000000000000000000..c6ae2f88810af0d20f2f15eba9b3d6d05fc7e923 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level53.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level57.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level57.lua new file mode 100644 index 0000000000000000000000000000000000000000..e28ceff2f37cdac93798509d2e34e4efafb51e23 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level57.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level6.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..5aaf24e216f670e5739b89d8616c481ab0cf66e9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level6.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level7.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..4eba1487d8ecf20610543365f1cf581ddcedec33 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level7.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level8.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f981759b247651d8e20d2cd0c55798892b3f549 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level8.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level9.lua b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6efa60a1a027041694568be9325326524d2a579 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/Tutorial/Level9.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LEVELGE_BOUNCI.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LEVELGE_BOUNCI.lua new file mode 100644 index 0000000000000000000000000000000000000000..22de39331bf50d4023243bfdedb2016de3ff3f3b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LEVELGE_BOUNCI.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_1.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b2879adb16a6eb4813f31e06e35df623cef0c130 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_1.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_14.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..86a6b646c8501519e6e31c37a529fcb339400903 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_14.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_2.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..1049ac6c4d1143053bb7a90dc1b0d3e1d16b951f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_3.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..983d1fbb9b359fa00391dcea661e5a9df3ffcb76 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_3.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_4.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..cabb5ecb9bc3a57d2463f091ff473c655b7c3ab3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_4.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_5.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..94b94fdfc8b3b04b0b62fde678d10b2ea3f17d6a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_5.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_6.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..419edc85fa405cda9c5664e46a802d1ec80941ae Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_6.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_7.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..7fe14d78f7e632c8c0932818459d5c2102e873ed Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_7.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_8.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..a0227b90de11718d25941b5685e13f387623d3c3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_8.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_ANGELO.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_ANGELO.lua new file mode 100644 index 0000000000000000000000000000000000000000..58596a4713f548ffdc3ee39e7ca664a60b380bb4 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_ANGELO.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_WIZPIG.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_WIZPIG.lua new file mode 100644 index 0000000000000000000000000000000000000000..e18022f4df8535e50cdc8c9bf7a2707e54058fe5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/LevelGE_WIZPIG.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/Level_GE_FINAL.lua b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/Level_GE_FINAL.lua new file mode 100644 index 0000000000000000000000000000000000000000..e55d870c671d74feff7684c3570262cca9860c04 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/goldeneggs1/Level_GE_FINAL.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS001.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS001.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d1f2074ee3d658ae646b77aa8045266e0749ed8 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS001.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS002.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS002.lua new file mode 100644 index 0000000000000000000000000000000000000000..ffa73e6147794e32f97c8df648b634be46292db0 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS002.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS003.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS003.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f5c4e84947155ac5d5d870c72070a12bf112bbc Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS003.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS004.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS004.lua new file mode 100644 index 0000000000000000000000000000000000000000..8dfb35fbbf8bb2c45b435a81f1286f2bc9dc69db Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS004.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS005.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS005.lua new file mode 100644 index 0000000000000000000000000000000000000000..021ed7e0f19b76cd0852f840cefcb26aeacd0d98 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS005.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS006.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS006.lua new file mode 100644 index 0000000000000000000000000000000000000000..990ba4f2bb8d3fbc1581f20a59ebd828e4d5b933 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS006.lua @@ -0,0 +1,1566 @@ +themeSprites = { + +} +castleCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = 142.284, + ["screenWidth"] = 1366, + ["py"] = -496.889, + ["screenHeight"] = 768, + ["top"] = -1136.06, + ["sy"] = 0.600776, + ["sx"] = 0.600776, + ["right"] = 2075.15, + ["left"] = -198.573, + ["px"] = 938.29, + + }, + +} +levelParticles = { + ["y"] = -2173.01, + ["x"] = 2327.17, + ["firstFrame"] = true, + ["width"] = 6881.62, + +} +joints = { + ["ExtraRopeThin01_1ExtraRopeThin01_2"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_1ExtraRopeThin01_2", + ["end1"] = "ExtraRopeThin01_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_13WoodBlock10_10"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_10", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_13WoodBlock10_10", + ["end1"] = "WoodBlock10_13", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_32WoodBlock10_31"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_31", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_32WoodBlock10_31", + ["end1"] = "WoodBlock10_32", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_57WoodBlock4_6"] = { + ["type"] = 2, + ["end2"] = "WoodBlock4_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_57WoodBlock4_6", + ["end1"] = "WoodBlock10_57", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_21WoodBlock10_24"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_24", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_21WoodBlock10_24", + ["end1"] = "WoodBlock10_21", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_9WoodBlock10_12"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_12", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_9WoodBlock10_12", + ["end1"] = "WoodBlock10_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_45WoodBlock10_42"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_42", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_45WoodBlock10_42", + ["end1"] = "WoodBlock10_45", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThin01_5ExtraRopeThin01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_5ExtraRopeThin01_6", + ["end1"] = "ExtraRopeThin01_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_23WoodBlock10_24"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_24", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_23WoodBlock10_24", + ["end1"] = "WoodBlock10_23", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_9WoodBlock10_10"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_10", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_9WoodBlock10_10", + ["end1"] = "WoodBlock10_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_23WoodBlock10_2"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_23WoodBlock10_2", + ["end1"] = "WoodBlock10_23", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_32WoodBlock10_28"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_28", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_32WoodBlock10_28", + ["end1"] = "WoodBlock10_32", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_8HelmetPiglette_1"] = { + ["type"] = 2, + ["end2"] = "HelmetPiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_8HelmetPiglette_1", + ["end1"] = "WoodBlock6_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_21WoodBlock10_22"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_21WoodBlock10_22", + ["end1"] = "WoodBlock10_21", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SmallPiglette_1WoodBlock10_57"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_57", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_1WoodBlock10_57", + ["end1"] = "SmallPiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_44WoodBlock10_43"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_43", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_44WoodBlock10_43", + ["end1"] = "WoodBlock10_44", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_6WoodBlock10_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_6WoodBlock10_7", + ["end1"] = "WoodBlock10_6", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_24WoodBlock10_53"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_53", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_24WoodBlock10_53", + ["end1"] = "WoodBlock10_24", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_12WoodBlock10_10"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_10", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_12WoodBlock10_10", + ["end1"] = "WoodBlock10_12", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_9ExtraRopeThin01_5"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_5", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_9ExtraRopeThin01_5", + ["end1"] = "WoodBlock6_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_1MediumPiglette_6"] = { + ["type"] = 2, + ["end2"] = "MediumPiglette_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_1MediumPiglette_6", + ["end1"] = "ExtraRopeThick01_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_56WoodBlock4_6"] = { + ["type"] = 2, + ["end2"] = "WoodBlock4_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_56WoodBlock4_6", + ["end1"] = "WoodBlock10_56", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_8ExtraRopeThin01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_8ExtraRopeThin01_3", + ["end1"] = "WoodBlock6_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_30WoodBlock10_25"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_25", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_30WoodBlock10_25", + ["end1"] = "WoodBlock10_30", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_2WoodBlock10_56"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_56", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_2WoodBlock10_56", + ["end1"] = "ExtraRopeThick01_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_34WoodBlock10_26"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_26", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_34WoodBlock10_26", + ["end1"] = "WoodBlock10_34", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_8WoodBlock10_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_8WoodBlock10_7", + ["end1"] = "WoodBlock10_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_44WoodBlock10_45"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_45", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_44WoodBlock10_45", + ["end1"] = "WoodBlock10_44", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_55WoodBlock10_52"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_52", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_55WoodBlock10_52", + ["end1"] = "WoodBlock10_55", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["MediumPiglette_5ExtraRopeThick01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "MediumPiglette_5ExtraRopeThick01_6", + ["end1"] = "MediumPiglette_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_57ExtraRopeThick01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_57ExtraRopeThick01_3", + ["end1"] = "WoodBlock10_57", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_35WoodBlock10_33"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_33", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_35WoodBlock10_33", + ["end1"] = "WoodBlock10_35", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_27WoodBlock10_25"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_25", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_27WoodBlock10_25", + ["end1"] = "WoodBlock10_27", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SWEATY_HAT_2MediumPiglette_3"] = { + ["type"] = 2, + ["end2"] = "MediumPiglette_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SWEATY_HAT_2MediumPiglette_3", + ["end1"] = "SWEATY_HAT_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_38WoodBlock10_37"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_37", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_38WoodBlock10_37", + ["end1"] = "WoodBlock10_38", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_26WoodBlock10_33"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_33", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_26WoodBlock10_33", + ["end1"] = "WoodBlock10_26", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThin01_4WoodBlock10_22"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_4WoodBlock10_22", + ["end1"] = "ExtraRopeThin01_4", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_20WoodBlock10_31"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_31", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_20WoodBlock10_31", + ["end1"] = "WoodBlock10_20", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_27WoodBlock10_30"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_30", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_27WoodBlock10_30", + ["end1"] = "WoodBlock10_27", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_2ExtraRopeThick01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_2ExtraRopeThick01_1", + ["end1"] = "ExtraRopeThick01_2", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_9WoodBlock10_13"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_13", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_9WoodBlock10_13", + ["end1"] = "WoodBlock10_9", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SCOPE_1GrandpaPiglette_1"] = { + ["type"] = 2, + ["end2"] = "GrandpaPiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SCOPE_1GrandpaPiglette_1", + ["end1"] = "SCOPE_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_43WoodBlock10_42"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_42", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_43WoodBlock10_42", + ["end1"] = "WoodBlock10_43", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_40WoodBlock10_37"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_37", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_40WoodBlock10_37", + ["end1"] = "WoodBlock10_40", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock6_7ExtraRopeThin01_1"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock6_7ExtraRopeThin01_1", + ["end1"] = "WoodBlock6_7", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_39WoodBlock10_40"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_40", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_39WoodBlock10_40", + ["end1"] = "WoodBlock10_39", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_36WoodBlock10_25"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_25", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_36WoodBlock10_25", + ["end1"] = "WoodBlock10_36", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_21ExtraRopeThin01_2"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_2", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_21ExtraRopeThin01_2", + ["end1"] = "WoodBlock10_21", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_20ExtraRopeThin01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_20ExtraRopeThin01_6", + ["end1"] = "WoodBlock10_20", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThin01_3ExtraRopeThin01_4"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThin01_4", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThin01_3ExtraRopeThin01_4", + ["end1"] = "ExtraRopeThin01_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["SmallPiglette_1ICY_PURPLE_CAP_1"] = { + ["type"] = 2, + ["end2"] = "ICY_PURPLE_CAP_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "SmallPiglette_1ICY_PURPLE_CAP_1", + ["end1"] = "SmallPiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_34WoodBlock10_33"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_33", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_34WoodBlock10_33", + ["end1"] = "WoodBlock10_34", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_5WoodBlock10_55"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_55", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_5WoodBlock10_55", + ["end1"] = "ExtraRopeThick01_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_4ExtraRopeThick01_3"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_4ExtraRopeThick01_3", + ["end1"] = "ExtraRopeThick01_4", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_8WoodBlock10_6"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_8WoodBlock10_6", + ["end1"] = "WoodBlock10_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["ExtraRopeThick01_5ExtraRopeThick01_6"] = { + ["type"] = 2, + ["end2"] = "ExtraRopeThick01_6", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "ExtraRopeThick01_5ExtraRopeThick01_6", + ["end1"] = "ExtraRopeThick01_5", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_53WoodBlock10_54"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_54", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_53WoodBlock10_54", + ["end1"] = "WoodBlock10_53", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_57WoodBlock10_54"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_54", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_57WoodBlock10_54", + ["end1"] = "WoodBlock10_57", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_55WoodBlock10_56"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_56", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_55WoodBlock10_56", + ["end1"] = "WoodBlock10_55", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_27WoodBlock10_36"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_36", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_27WoodBlock10_36", + ["end1"] = "WoodBlock10_27", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_3WoodBlock10_7"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_7", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_3WoodBlock10_7", + ["end1"] = "WoodBlock10_3", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_20WoodBlock10_22"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_22", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_20WoodBlock10_22", + ["end1"] = "WoodBlock10_20", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["HelmetPiglette_1B_HIPPIE_GLASSES_1_1"] = { + ["type"] = 2, + ["end2"] = "B_HIPPIE_GLASSES_1_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "HelmetPiglette_1B_HIPPIE_GLASSES_1_1", + ["end1"] = "HelmetPiglette_1", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_8WoodBlock10_3"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_3", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_8WoodBlock10_3", + ["end1"] = "WoodBlock10_8", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_44WoodBlock10_42"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_42", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_44WoodBlock10_42", + ["end1"] = "WoodBlock10_44", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_39WoodBlock10_37"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_37", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_39WoodBlock10_37", + ["end1"] = "WoodBlock10_39", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_34WoodBlock10_35"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_35", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_34WoodBlock10_35", + ["end1"] = "WoodBlock10_34", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_19GrandpaPiglette_1"] = { + ["type"] = 2, + ["end2"] = "GrandpaPiglette_1", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_19GrandpaPiglette_1", + ["end1"] = "WoodBlock10_19", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + ["WoodBlock10_39WoodBlock10_38"] = { + ["type"] = 2, + ["end2"] = "WoodBlock10_38", + ["x2"] = 0, + ["y2"] = 0, + ["y1"] = 0, + ["coordType"] = 2, + ["name"] = "WoodBlock10_39WoodBlock10_38", + ["end1"] = "WoodBlock10_39", + ["collideConnected"] = false, + ["x1"] = 0, + + }, + +} +world = { + ["ExtraRopeThick01_2"] = { + ["y"] = -40.0002, + ["x"] = 65.8794, + ["name"] = "ExtraRopeThick01_2", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["SWEATY_HAT_2"] = { + ["y"] = -14.4111, + ["x"] = 45.8111, + ["name"] = "SWEATY_HAT_2", + ["angle"] = 2.86102e-006, + ["definition"] = "SWEATY_HAT", + + }, + ["MediumPiglette_4"] = { + ["y"] = -16.5489, + ["x"] = 105.464, + ["name"] = "MediumPiglette_4", + ["angle"] = 6.28317, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_37"] = { + ["y"] = -17.2664, + ["x"] = 99.0703, + ["name"] = "WoodBlock10_37", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_23"] = { + ["y"] = -16.4294, + ["x"] = 48.6366, + ["name"] = "WoodBlock10_23", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_38"] = { + ["y"] = -16.3816, + ["x"] = 95.4135, + ["name"] = "WoodBlock10_38", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock6_8"] = { + ["y"] = -10.2532, + ["x"] = 67.8717, + ["name"] = "WoodBlock6_8", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock6", + + }, + ["ICY_PURPLE_CAP_1"] = { + ["y"] = -48.7986, + ["x"] = 59.6067, + ["name"] = "ICY_PURPLE_CAP_1", + ["angle"] = 5.24521e-006, + ["definition"] = "ICY_PURPLE_CAP", + + }, + ["WoodBlock10_24"] = { + ["y"] = -23.7091, + ["x"] = 50.8575, + ["name"] = "WoodBlock10_24", + ["angle"] = 5.49779, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_34"] = { + ["y"] = -6.15975, + ["x"] = 91.5518, + ["name"] = "WoodBlock10_34", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_53"] = { + ["y"] = -31.8969, + ["x"] = 54.4049, + ["name"] = "WoodBlock10_53", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_13"] = { + ["y"] = -5.37379, + ["x"] = 37.9492, + ["name"] = "WoodBlock10_13", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_44"] = { + ["y"] = -27.3635, + ["x"] = 98.9563, + ["name"] = "WoodBlock10_44", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_52"] = { + ["y"] = -31.793, + ["x"] = 81.8313, + ["name"] = "WoodBlock10_52", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_20"] = { + ["y"] = -24.3664, + ["x"] = 78.0041, + ["name"] = "WoodBlock10_20", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_39"] = { + ["y"] = -17.2246, + ["x"] = 98.9621, + ["name"] = "WoodBlock10_39", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_31"] = { + ["y"] = -23.6093, + ["x"] = 85.1043, + ["name"] = "WoodBlock10_31", + ["angle"] = 0.785398, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_3"] = { + ["y"] = -5.41656, + ["x"] = 47.9587, + ["name"] = "WoodBlock10_3", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_2"] = { + ["y"] = -10.9058, + ["x"] = 44.5682, + ["name"] = "WoodBlock10_2", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_5"] = { + ["y"] = -36.3291, + ["x"] = 74.7077, + ["name"] = "ExtraRopeThick01_5", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock10_29"] = { + ["y"] = -10.8632, + ["x"] = 101.656, + ["name"] = "WoodBlock10_29", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_40"] = { + ["y"] = -16.5037, + ["x"] = 102.569, + ["name"] = "WoodBlock10_40", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_42"] = { + ["y"] = -27.4054, + ["x"] = 99.0645, + ["name"] = "WoodBlock10_42", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["HelmetPiglette_1"] = { + ["y"] = -12.7738, + ["x"] = 70.198, + ["name"] = "HelmetPiglette_1", + ["angle"] = 0.392683, + ["definition"] = "HelmetPiglette", + + }, + ["SmallPiglette_1"] = { + ["y"] = -48.403, + ["x"] = 59.1773, + ["name"] = "SmallPiglette_1", + ["angle"] = 5.24521e-006, + ["definition"] = "SmallPiglette", + + }, + ["WoodBlock4_6"] = { + ["y"] = -46.2042, + ["x"] = 64.0951, + ["name"] = "WoodBlock4_6", + ["angle"] = 4.71237, + ["definition"] = "WoodBlock4", + + }, + ["WoodBlock10_12"] = { + ["y"] = -5.49588, + ["x"] = 30.7937, + ["name"] = "WoodBlock10_12", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThin01_4"] = { + ["y"] = -20.4468, + ["x"] = 67.822, + ["name"] = "ExtraRopeThin01_4", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["ExtraRopeThin01_1"] = { + ["y"] = -14.2816, + ["x"] = 57.6285, + ["name"] = "ExtraRopeThin01_1", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["SCOPE_1"] = { + ["y"] = -13.6463, + ["x"] = 30.2523, + ["name"] = "SCOPE_1", + ["angle"] = 6.28316, + ["definition"] = "SCOPE", + + }, + ["WoodBlock10_55"] = { + ["y"] = -38.8519, + ["x"] = 77.7975, + ["name"] = "WoodBlock10_55", + ["angle"] = 3.53427, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThin01_6"] = { + ["y"] = -20.74, + ["x"] = 78.0472, + ["name"] = "ExtraRopeThin01_6", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["ExtraRopeThin01_3"] = { + ["y"] = -14.0369, + ["x"] = 67.8112, + ["name"] = "ExtraRopeThin01_3", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["WoodBlock10_7"] = { + ["y"] = -6.30141, + ["x"] = 44.3019, + ["name"] = "WoodBlock10_7", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["GrandpaPiglette_1"] = { + ["y"] = -13.6463, + ["x"] = 35.8477, + ["name"] = "GrandpaPiglette_1", + ["angle"] = 6.28316, + ["definition"] = "GrandpaPiglette", + + }, + ["WoodBlock10_26"] = { + ["y"] = -5.31676, + ["x"] = 88.0031, + ["name"] = "WoodBlock10_26", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_56"] = { + ["y"] = -42.6957, + ["x"] = 68.4476, + ["name"] = "WoodBlock10_56", + ["angle"] = 3.53427, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_9"] = { + ["y"] = -6.21677, + ["x"] = 34.4006, + ["name"] = "WoodBlock10_9", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_22"] = { + ["y"] = -24.2101, + ["x"] = 67.8701, + ["name"] = "WoodBlock10_22", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_19"] = { + ["y"] = -10.963, + ["x"] = 34.3055, + ["name"] = "WoodBlock10_19", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_5"] = { + ["y"] = -31.4905, + ["x"] = 76.7503, + ["name"] = "MediumPiglette_5", + ["angle"] = 0.392688, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_57"] = { + ["y"] = -46.835, + ["x"] = 59.0754, + ["name"] = "WoodBlock10_57", + ["angle"] = 6.28317, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_46"] = { + ["y"] = -32.1098, + ["x"] = 99.0514, + ["name"] = "WoodBlock10_46", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_6"] = { + ["y"] = -5.53865, + ["x"] = 40.8032, + ["name"] = "WoodBlock10_6", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_30"] = { + ["y"] = -5.27399, + ["x"] = 98.0126, + ["name"] = "WoodBlock10_30", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_28"] = { + ["y"] = -10.806, + ["x"] = 91.3936, + ["name"] = "WoodBlock10_28", + ["angle"] = 0, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_43"] = { + ["y"] = -26.5206, + ["x"] = 95.4076, + ["name"] = "WoodBlock10_43", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_6"] = { + ["y"] = -30.0045, + ["x"] = 74.7077, + ["name"] = "ExtraRopeThick01_6", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["ExtraRopeThin01_5"] = { + ["y"] = -14.3301, + ["x"] = 78.0364, + ["name"] = "ExtraRopeThin01_5", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["WoodBlock10_32"] = { + ["y"] = -16.3296, + ["x"] = 87.3252, + ["name"] = "WoodBlock10_32", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_35"] = { + ["y"] = -5.43885, + ["x"] = 95.1586, + ["name"] = "WoodBlock10_35", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_45"] = { + ["y"] = -26.6426, + ["x"] = 102.563, + ["name"] = "WoodBlock10_45", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_27"] = { + ["y"] = -6.11698, + ["x"] = 101.561, + ["name"] = "WoodBlock10_27", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["WoodBlock10_33"] = { + ["y"] = -6.20161, + ["x"] = 91.6599, + ["name"] = "WoodBlock10_33", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["ground"] = { + ["y"] = 5, + ["x"] = 24.1226, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + ["ExtraRopeThick01_3"] = { + ["y"] = -43.1033, + ["x"] = 59.1052, + ["name"] = "ExtraRopeThick01_3", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock10_8"] = { + ["y"] = -6.25955, + ["x"] = 44.41, + ["name"] = "WoodBlock10_8", + ["angle"] = 2.3562, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_3"] = { + ["y"] = -13.3659, + ["x"] = 45.8654, + ["name"] = "MediumPiglette_3", + ["angle"] = 2.86102e-006, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock6_9"] = { + ["y"] = -10.5463, + ["x"] = 78.0969, + ["name"] = "WoodBlock6_9", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock6", + + }, + ["LargePiglette_3"] = { + ["y"] = -13.5395, + ["x"] = 92.0158, + ["name"] = "LargePiglette_3", + ["angle"] = 6.28316, + ["definition"] = "LargePiglette", + + }, + ["ExtraBlockTNT_1"] = { + ["y"] = -13.038, + ["x"] = 104.926, + ["name"] = "ExtraBlockTNT_1", + ["angle"] = 6.28316, + ["definition"] = "ExtraBlockTNT", + + }, + ["WoodBlock6_7"] = { + ["y"] = -10.4979, + ["x"] = 57.689, + ["name"] = "WoodBlock6_7", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock6", + + }, + ["WoodBlock10_36"] = { + ["y"] = -5.39608, + ["x"] = 105.168, + ["name"] = "WoodBlock10_36", + ["angle"] = 1.5708, + ["definition"] = "WoodBlock10", + + }, + ["B_HIPPIE_GLASSES_1_1"] = { + ["y"] = -13.7456, + ["x"] = 70.7288, + ["name"] = "B_HIPPIE_GLASSES_1_1", + ["angle"] = 0.392683, + ["definition"] = "B_HIPPIE_GLASSES_1", + + }, + ["WoodBlock10_21"] = { + ["y"] = -24.3751, + ["x"] = 57.6362, + ["name"] = "WoodBlock10_21", + ["angle"] = 2.86102e-006, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThin01_2"] = { + ["y"] = -20.6915, + ["x"] = 57.6393, + ["name"] = "ExtraRopeThin01_2", + ["angle"] = 2.86102e-006, + ["definition"] = "ExtraRopeThin01", + + }, + ["WoodBlock10_25"] = { + ["y"] = -6.15884, + ["x"] = 101.669, + ["name"] = "WoodBlock10_25", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["MediumPiglette_6"] = { + ["y"] = -31.709, + ["x"] = 63.639, + ["name"] = "MediumPiglette_6", + ["angle"] = 5.89049, + ["definition"] = "MediumPiglette", + + }, + ["WoodBlock10_10"] = { + ["y"] = -6.25864, + ["x"] = 34.2924, + ["name"] = "WoodBlock10_10", + ["angle"] = 0.785399, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_4"] = { + ["y"] = -36.5913, + ["x"] = 59.1052, + ["name"] = "ExtraRopeThick01_4", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + ["WoodBlock10_54"] = { + ["y"] = -41.7663, + ["x"] = 54.3529, + ["name"] = "WoodBlock10_54", + ["angle"] = 1.57077, + ["definition"] = "WoodBlock10", + + }, + ["ExtraRopeThick01_1"] = { + ["y"] = -33.4883, + ["x"] = 65.8794, + ["name"] = "ExtraRopeThick01_1", + ["angle"] = 5.24521e-006, + ["definition"] = "ExtraRopeThick01", + + }, + +} +worldGravity = 20 +physicsToWorld = 20 +counts = { + ["StoneBlock6"] = 1, + ["MediumPiglette"] = 6, + ["WoodBlock11"] = 2, + ["ExtraRopeThin01"] = 6, + ["WoodBlock1"] = 3, + ["FATPIG_BOSS"] = 8, + ["WoodBlock10"] = 57, + ["StoneBlock1"] = 4, + ["WoodBlock6"] = 9, + ["LargePiglette"] = 3, + ["HelmetPiglette"] = 1, + ["SWEATY_HAT"] = 2, + ["LightBlock12"] = 2, + ["WoodBlock5"] = 3, + ["CatAlien"] = 1, + ["BlackBird"] = 3, + ["SmallPiglette"] = 1, + ["LightBlock6"] = 2, + ["ICY_PURPLE_CAP"] = 1, + ["ExtraRopeThick01"] = 6, + ["StoneBlock8"] = 13, + ["ExtraBlockTNT"] = 1, + ["LightBlock4"] = 4, + ["GrandpaPiglette"] = 1, + ["BirthdayCake_1"] = 3, + ["FATPIG"] = 2, + ["B_HIPPIE_GLASSES_1"] = 1, + ["WoodBlock4"] = 6, + ["StoneBlock5"] = 2, + ["StaticBlockTheme16_02"] = 10, + ["LightBlock1"] = 2, + ["StaticBlockTheme16_04"] = 11, + ["KingPiglette"] = 1, + ["WizardPiglette"] = 7, + ["BirthdayCake_2"] = 3, + ["SCOPE"] = 1, + ["StaticBlockTheme16_05"] = 34, + +} +theme = "summermadness1" +birdCameraData = { + ["version"] = "0.02", + ["windows"] = { + ["bottom"] = -274.844, + ["screenWidth"] = 1366, + ["py"] = -235.058, + ["screenHeight"] = 768, + ["top"] = -665.667, + ["sy"] = 0.89176, + ["sx"] = 0.89176, + ["right"] = 1333.23, + ["left"] = -730.691, + ["px"] = 35.2102, + + }, + +} diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS007.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS007.lua new file mode 100644 index 0000000000000000000000000000000000000000..de0fd99f5be58d91e2bb1fe0880c1e0b524c9053 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS007.lua @@ -0,0 +1,26 @@ +world = { + ["ground"] = { + ["y"] = 5, + ["x"] = 0, + ["name"] = "ground", + ["angle"] = 0, + ["definition"] = "Ground", + + }, + +} +worldGravity = 20 +themeSprites = { + +} +levelParticles = { + +} +physicsToWorld = 20 +counts = { + +} +theme = "theme2" +joints = { + +} diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS008.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS008.lua new file mode 100644 index 0000000000000000000000000000000000000000..a91b77f78ebcaca5b6faeab42e964b265e2ad2c9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS008.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS013.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS013.lua new file mode 100644 index 0000000000000000000000000000000000000000..a372217139561f45ddb50b48d277a2b825d2e4d9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS013.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS015.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS015.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a579e123bbc14b20a4f5bed9aca66f517624e0f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS015.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS016.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS016.lua new file mode 100644 index 0000000000000000000000000000000000000000..0526cb38a674ed131802b2d07a57f5566976d8ff Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS016.lua differ diff --git a/Angry Birds Project R/1.0.3/data/levels/surf/LevelS030.lua b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS030.lua new file mode 100644 index 0000000000000000000000000000000000000000..e423a53a6ddfe1e5b3428ddb743a7c954ff932c7 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/levels/surf/LevelS030.lua differ diff --git a/Angry Birds Project R/1.0.3/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/1.0.3/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/1.0.3/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/1.0.3/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6c7e0a9122952c44ad7f5cecc36776ae665473c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/1.0.3/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/1.0.3/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/1.0.3/data/localization/angry.exe b/Angry Birds Project R/1.0.3/data/localization/angry.exe new file mode 100644 index 0000000000000000000000000000000000000000..8be4dfa95adff797fcac14848d2f3594f976e4db Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/localization/angry.exe differ diff --git a/Angry Birds Project R/1.0.3/data/localization/english.txt b/Angry Birds Project R/1.0.3/data/localization/english.txt new file mode 100644 index 0000000000000000000000000000000000000000..778fe5c77de548f3b6dad2b10e7ae14949410448 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/localization/english.txt @@ -0,0 +1,255 @@ +SK_SELECT=Select +SK_EXIT=Exit +SK_OK=Ok +SK_YES=Yes +SK_NO=No +SK_CONTINUE=Continue +SK_HELP=Help +SK_ERASE=Erase +TITLE_CHOOSE_LANGUAGE=Choose Language +ITEM_ENABLE_SOUNDS_QUERY=Enable sounds? +ITEM_ENABLE_VIBRATION_QUERY=Enable vibration? +ITEM_HIGH_SCORES=High Scores +ITEM_HELP=Help +ITEM_ERASE_DATA=Erase data +ITEM_ERASE_HIGHSCORE=Erase highscores +ITEM_ARE_YOU_SURE=Are you sure? +ITEM_SFX_ON=SFX: ON +ITEM_SFX_OFF=SFX: OFF +ITEM_MUSIC_ON=Music: ON +ITEM_MUSIC_OFF=Music: OFF +ITEM_VIBRATION_ON=Vibra: ON +ITEM_VIBRATION_OFF=Vibra: OFF +ITEM_CONTINUE_GAME=Continue game +ITEM_PAUSE=Pause +ITEM_LEVEL_SELECTION=Level selection +ITEM_OPTIONS=Options +MI_PLAY=Play +MI_SETTINGS=Settings +MI_ABOUT=About +MT_MORE_GAMES=More Games! +MI_EDIT=Edit +MT_SETTINGS=Settings +MT_ABOUT=About +MT_LEVEL_SKIPPED=LEVEL SKIPPED! +MT_LEVEL_COMPLETE=LEVEL CLEARED! +MI_CONTINUE=Continue +MT_PAUSE=paused +MT_LEVEL_FAILED=LEVEL FAILED! +MI_RESTART=Retry +MI_RETRY=Retry +MI_BACK=Back +MI_SCORE=Score +MI_HIGH_SCORE=Highscore +MI_OK=OK +TEXT_SELECT_LEVEL=Select level +TEXT_FB_LEVELS_HINT_TITLE=Free bonus levels! +TEXT_FB_LEVELS_HINT=Tap the icon to\0A visit the Angry Birds Facebook page. 'Like' us to be one of the first to hear the latest news! +TEXT_NETWORK_ERROR_TITLE=Network error. +TEXT_NETWORK_ERROR=A connection error has occurred, please try again. +TEXT_LIKE_CONFIRMED_TITLE=Thank you! +TEXT_LIKE_CONFIRMED=We like you too! +TEXT_EXIT_CONFIRM=Are you sure you want to quit? we'll miss you! +MI_EXIT=Quit +MI_AUDIO=Audio +MI_VIBRA=Vibra +MI_MENU=Menu +MI_LOADING=Loading... +MI_NEW_HIGHSCORE=New Highscore! +TEXT_BEST_SCORE=Previous Best +MI_MORE_GAMES=Check out other great games from Rovio! +HELP_TITLE_HOWTOPLAY=How To Play +HELP_TITLE_BLUE=Blue Groupie +HELP_TITLE_YELLOW=Yellow speedster +HELP_TITLE_BLACK=Black Blaster +HELP_TITLE_GREEN=Eggy Bomber +HELP_TITLE_SPECIAL=Special Moves +HELP_TEXT_HOWTOPLAY_1=Launch the birds by using the slingshot. +HELP_TEXT_HOWTOPLAY_2=Pop all of the pigs to clear the level! +HELP_TEXT_BLUE=Strong against ice blocks +HELP_TEXT_YELLOW=Strong against wood blocks +HELP_TEXT_BLACK=Strong against stone blocks +HELP_TEXT_GREEN=Fat & Lazy +HELP_TEXT_SPECIAL=Activate special move by tapping the screen while the bird is flying in the air +HELP_SUBTITLE_SPECIAL=Special move: +HELP_SPECIAL_BLUE=Group Attack +HELP_SPECIAL_YELLOW=Turbo Boost +HELP_SPECIAL_BLACK=Explosion +HELP_SPECIAL_EGGY=Egg Grenade +TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CHILLINGO=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CLICKGAMER_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT=Noise R\0Av1.0.3\0A\0A 2022-2023 Noise TV, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. Rights for The Noise go to The Noise. These are protected by international copyright laws. A production developed by The Noise and published by Noise Play.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM_LITE=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID=Angry Birds Project R\0Av1.0.2\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_HD=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_2=© Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_BETA=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PC=TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\Beta 3.3\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_CREDITS=CREDITS\0A\0A- Changelog -\0ANOISE TAKEOVER\0A\0A- Director -\0ANoise\0A\0A- Artists -\0AThe Original Angry Birds Artists\0ANoise\0AMr.Bird\0ABuhoedull2401\0ALight Bird\0AOmnetyc\0ANickDoesStuff\0AMason The Maniac\0APigdoggo\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0A\0A- Music -\0AAri Pulkkinen\0AMr. Sauceman\0AClascyJitto\0ARodmod\0AIlmari Hakkola\0AHenri Sorvalli\0ADavid Schweitzer\0AWix Games\0ALaura Shigihara\0AJahn Davis\0AFelipe Herrera C.\0AMichael Staple\0A\0A- Level Designers -\0ANoise\0APan Susel\0ATheo!\0AAngeloMineBoy15\0AAndsy\0A\0AShoutout to all of the beta testers and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull: +TEXT_CREDITS_PC=CREDITS\0A\0A- Changelog -\0AMinor fix to the collision particles for Bubbles and Big Bork\0AFixed the windowed pause glitch\0AMinor art fix on Moral Mixup's outro cutscene\0A\0A- Director -\0AJeremiah Plays Again (Chef Snatcher)\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AChef Snatcher\0AMr.Bird\0ABuhoedull2401\0ALight Bird\0AOmnetyc\0AKeymil Animations\0AMason The Maniac\0APigdoggo\0A\0A- Programming Help and Other Coding -\0AKeymil Animations\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0A\0A- Music -\0AAri Pulkkinen\0ARodmod\0AIlmari Hakkola\0AHenri Sorvalli\0ADavid Schweitzer\0AWix Games\0ALaura Shigihara\0AJahn Davis\0AFelipe Herrera C.\0AMichael Staple\0A\0A- Level Designers -\0AChef Snatcher\0APan Susel\0ATheo!\0AAngeloMineBoy15\0AAndsy\0A\0AShoutout to all of the beta testers and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0AKeymil Animations\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull: +TEXT_CREDITS_ORIGINAL=ORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS_AB=Powered by Box2D +TEXT_CREDITS_ADDITIONAL=ADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS=THANKS\0A\0A(todo) +TEXT_PERFECT=Total destruction - three stars in all levels!\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_PERFECT_LP1=Destroy all pigs to clear the level! +TEXT_PERFECT_LP2=Total destruction - three stars in all levels!\0A\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_COMPLETE=Congratulations for completing this awful april fools thing!\0A\0AThe regular ABPR experience will return tomorrow. +TEXT_COMPLETE_LP1=Congratulations for completing all levels in the episode!\0A\0AGet three stars in all levels to become an honorary Angry Bird! +TEXT_COMPLETE_LP2=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to prove yourself to The Mighty Eagle! +TEXT_UPSELL=More levels, more FUN! +TEXT_UPSELL_LITE=105 levels, 106% FUN! +TEXT_UPSELL_BUTTON=BUY HERE +TEXT_UPSELL_BUTTON_2=Get it Here! +TEXT_LP_NAME_1= Meet The Flock +TEXT_LP_NAME_2= Breakfast Brawl +TEXT_LP_NAME_3= Moral Mixup +TEXT_LP_NAME_4= Sweet Swines +TEXT_LP_NAME_5= Ham 'Em High +TEXT_LP_NAME_6= Mine and Dine +TEXT_LP_NAME_7= Birdday Party +TEXT_LP_NAME_SURF= Summer Madness +TEXT_LP_NAME_EGGS=Golden Eggs +TEXT_SELECT_LP=Select Episode +TEXT_LITE_BUY_BUTTON=FULL VERSION +TEXT_COMING_SOON=Coming soon +TEXT_CONGRATULATIONS=Congratulations! +TEXT_HIGHSCORE_SPRITE=NEW_HIGHSCORE_EN +TEXT_SCORE_SPRITE=SCORE_EN +TEXT_PLAY_SPRITE=MENU_PLAY_EN +TEXT_SPLASH_LOADING_SPRITE=LOADING_EN +TEXT_GOLDEN_EGG_HELP=Search throughout the game to find hidden golden eggs, each one unlocks a new secret level! +FONT_HIGHSCORE=FONT_CURRENT_HIGHSCORE +FONT_BASIC=FONT_BASIC +FONT_MENU=FONT_MENU +FONT_SPACE_SCORE_BIG=FONT_SPACE_SCORE_BIG +TEXT_EAGLE_HIGHSCORE=Eagle Highscore: +TEXT_EAGLE_SCORE=Eagle Score: +TEXT_EAGLE_TOTAL_DESTRUCTION=TOTAL DESTRUCTION! +TEXT_MIGHTY_EAGLE_RETURNS=Mighty Eagle is back in business! +TEXT_EAGLE_UPSELL=Stuck on a tricky level? Out of levels to play? Bring on the Mighty Eagle! +TEXT_EAGLE_UPSELL2=Pay once. Unlimited use. +TEXT_REMOVE_ADS_UPSELL=Go ad-free. +TEXT_REMOVE_ADS_UPSELL2=One time payment. +TEXT_POWERUP_RECEIVED_SLINGSCOPE=Sling Scopes gained +TEXT_POWERUP_RECEIVED_BIRDQUAKE=Birdquakes gained +TEXT_POWERUP_RECEIVED_KINGSLING=King Slings gained +TEXT_POWERUP_RECEIVED_SUPERSEEDS=Super Seeds gained +TEXT_POWERUP_RECIEVED_BUNDLE=Power-up bundles received +TEXT_POWERUP_PARENTAL=You have just disabled power-ups, free daily rewards, and the Power-Up shop. You can reactivate them at any time from here. +TEXT_POWERUP_PARENTAL_LOCK=You have disabled power-ups, free daily rewards and the Power-Up shop in the main menu settings. Please enable them again in order to use them. +TEXT_SHOP_PRICE=Price: +TEXT_SHOP_KING_SLING_DESCRIPTION=Upgrade to the almighty King Sling for maximum power and velocity! +TEXT_SHOP_SUPER_SEED_DESCRIPTION=Supersize your bird! Super Seeds turn any bird into a pig-popping giant. +TEXT_SHOP_BIRDQUAKE=Rattle the battle! Use the Birdquake to bring pigs' defenses crashing to the ground! +TEXT_SHOP_SLING_SCOPE_DESCRIPTION=Looking for the perfect shot? Use Sling Scope Laser Targeting for pinpoint precision! +TEXT_SHOP_ALL-IN-ONE-BUNDLE=This ultimate combo pack gives you all four power-ups! +TEXT_SHOP_PURCHASE=Purchase +TEXT_FREE_POWERUPS_TITLE=Angry Birds now has power-ups! +TEXT_FREE_POWERUPS=Enjoy these 20 free power-ups, and come back tomorrow for more rewards! +TEXT_FREE_FREE=FREE +TEXT_KING_PIG_MODE_KING_PIG_TAGLINE=your gay +TEXT_KING_PIG_MODE_BIRD_FRENZY_TAGLINE=Beat the level with unlimited birds! +TEXT_KING_PIG_MODE_TOTAL_DESTRUCTION_TAGLINE=Tap on the level to explode it! +TEXT_KING_PIG_MODE_MATERIAL_MIX-UP_TAGLINE=Two materials have been swapped! +TEXT_MIGHTY_EAGLE_RESTORE_QUERY=Do you wish to restore Mighty Eagle from your iTunes account? +TEXT_MIGHTY_EAGLE_PURCHASE_QUERY=Mighty Eagle has not been purchased yet. Do you wish to do that now? +TEXT_MIGHTY_EAGLE_RESTORE_PROCESSING=Restoring Mighty Eagle... +TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS=Mighty Eagle has been successfully restored. +TEXT_MIGHTY_EAGLE_RESTORE_FAILURE=Restoring Mighty Eagle failed. Please, try again. +TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY=Mighty Eagle is already active, no need for restoration. +TEXT_MAGICPLACES_PP_UNLOCK=To earn rewards with Magic Places, you need to agree to our privacy policy +TEXT_MAGICPLACES_PP_AGREE=Button: I Agree +TEXT_MAGICPLACES_PP_WOULD="Angry Birds" would like to use your ip address +TEXT_MAGICPLACES_PP_DATAPROVIDED=Magic Places location data is provided by CloudMade +TEXT_MAGICPLACES_NOLOCATION_NOSERVICES=Location services are not allowed. +TEXT_MAGICPLACES_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_NOSERVICES=Location services are turned off +TEXT_MAGICPLACES_AND_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_GOTOSETTINGS=Button: Go to settings +TEXT_MAGICPLACES_BIRD_YOUAREHERE=You are here! +TEXT_MAGICPLACES_POWERUPS_GAINED=%s %s gained +TEXT_MAGICPLACES_POWERUPS_EACHGAINED=%s of each Power Up gained! +TEXT_MAGICPLACES_POWERUPS_GETMORE=Go to Magic Places to unlock more Power Ups +TEXT_MAGICPLACES_POWERUPS_RAISEFLAG=Button: Raise a flag! +TEXT_MAGICPLACES_TUTORIAL_DISCOVER=Visit Magic Places to earn power-ups! +TEXT_MAGICPLACES_TUTORIAL_BROWSE=Browse the map to find Magic gift boxes and earn power-ups! +TEXT_MAGICPLACES_NOTIFICATION_STANDARD=Ca-caw! You're close to a Magic Place +TEXT_MAGICPLACES_NOTIFICATION_VARIATION1=Ta-daa! Magic Places are nearby, make a visit! +TEXT_MAGICPLACES_NOTIFICATION_VARIATION2=Woohoo, something Magic is in the air! +TEXT_MAGICPLACES_PP_MESSAGE=Joining the hunt for power-ups will give Angry Birds access to your location and agree with the privacy policy. +TEXT_MAGICPLACES_KP_MESSAGE=Try out our new King Pig mode +TEXT_MAGICPLACES_POWERUPS_NOPLACES=There are no magic places nearby. Search a little further! +TEXT_MAGICPLACES_SETTINGS=When you turn on Magic Places notifications, your device will track your location, even if the application is not running. +TEXT_MAGICPLACES_LONG_DESCRIPTION=Discover free power-ups at real-world locations! To use this feature, you need to enable access to your location and agree to Rovio's privacy policy and End User License Agreement (EULA). +TEXT_MAGICPLACES_HOW_MAGIC_WORKS=Magic uses your location to determine if you are in a Magic Place. +TEXT_MAGICPLACES_SERVICE_TOGGLE=You can turn location services on/off in your device settings. +TEXT_MAGICPLACES_SERVICE_COMBINATION=Location data may be combined with other Rovio services in the future. +TEXT_MAGICPLACES_FAQ=More info is available in the FAQ (rov.io/MagicPlacesFAQ) +NOTIFICATION_1=Chirp!! You're missing out on stars! Come and get them! +NOTIFICATION_2=Ca-caw! The Pigs have the Eggs! Go stop em! +NOTIFICATION_3=Squawk! We miss you! Come play! +NOTIFICATION_4=Haven't seen you in a long time! Time to pop some pigs! +TEXT_SHOP_ANDROID_DAILY_PURCHASE_LIMIT=You've reached the daily purchase limit. Come back tomorrow to buy more! +TEXT_ROVIO_ID_INTRODUCTION=Sign in now to save your progress and sync it across devices! +TEXT_ROVIO_ID_SAVING_PROGRESS=Saving game progress... +TEXT_ROVIO_ID_SAVING_FAILED=Saving game progress...failed. +TEXT_ROVIO_ID_POP-UP_TITLE=Rovio Account +TEXT_ROVIO_ID_SIGN_OUT=Sign out as: %s? +TEXT_ROVIO_ID_SIGN_IN=Sign in +TEXT_ROVIO_ID_SIGN_UP=Sign up +TEXT_ROVIO_ID_EMAIL_ADDRESS=Email +TEXT_ROVIO_ID_PASSWORD=Password +TEXT_ROVIO_ID_NEW_PASSWORD=New password +TEXT_ROVIO_ID_FORGOT_PASSWORD=Forgot your password? +TEXT_ROVIO_ID_not_have_account_yet=Don't have an account yet? +TEXT_ROVIO_ID_SIGN_UP_NOW=Sign up now! +TEXT_ROVIO_ID_BIRTHDAY=Birthday +TEXT_ROVIO_ID_DATE_FIELD_MONTH=Month +TEXT_ROVIO_ID_DATE_FIELD_DAY=Day +TEXT_ROVIO_ID_DATE_FIELD_YEAR=Year +TEXT_ROVIO_ID_MONTH_JAN=Jan +TEXT_ROVIO_ID_month_feb=Feb +TEXT_ROVIO_ID_month_mar=Mar +TEXT_ROVIO_ID_month_apr=Apr +TEXT_ROVIO_ID_month_may=May +TEXT_ROVIO_ID_month_jun=Jun +TEXT_ROVIO_ID_month_jul=Jul +TEXT_ROVIO_ID_month_aug=Aug +TEXT_ROVIO_ID_month_sep=Sep +TEXT_ROVIO_ID_month_oct=Oct +TEXT_ROVIO_ID_month_nov=Nov +TEXT_ROVIO_ID_month_dec=Dec +TEXT_ROVIO_ID_AGREE_BY_SIGN_IN=By signing up, you are agreeing to our EULA and Privacy Policy. +TEXT_ROVIO_ID_EULA=EULA +TEXT_ROVIO_ID_PRIVACY_POLICY=Privacy Policy +TEXT_ROVIO_ID_FORGOT_PASSWORD-RESET=To reset your password, enter the email address associated with your account below. +TEXT_ROVIO_ID_RESET_PASSWORD_TITLE=Reset password +TEXT_ROVIO_ID_EMAIL_SENT=Email has been sent! +TEXT_ROVIO_ID_RESET_PASSWORD_MESSAGE=Please, check your email for password reset information. +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_TITLE=Thanks for signing up! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_SENT=A verification email is sent to: +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio within 48 hours. +TEXT_ROVIO_ID_SORRY_TITLE=Sorry! +TEXT_ROVIO_ID_SIGN_UP_FAILED_MESSAGE=We could not create your account. +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_TITLE=You have not verified your account yet! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_RESENT=A verification email is re-sent to: +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio. +TEXT_ROVIO_ID_VALIDATE_PASSWORD=Please, enter a password. +TEXT_ROVIO_ID_VALIDATE_PASSWORD_INVALID=Password is too short. +TEXT_ROVIO_ID_VALIDATE_EMAIL_INVALID=Please, enter a valid email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL=Please, enter your email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL_RESERVED=This email address is already taken. +TEXT_ROVIO_ID_VALIDATE_EMAIL_FALSE=Wrong email +TEXT_ROVIO_ID_WRONG_PASSWORD=Wrong password +TEXT_ROVIO_ID_PASSWORD_HELP_TEXT=Password must contain 8 characters at the minimum. +TEXT_ROVIO_ID_WRONG_ACCOUNT=Sync failed. This device already uses another account. +TEXT_ROVIO_ID_SIGN_OUT_QUERY=Your progress will be saved online only when you are signed in. Do you want to sign out as: +TEXT_ROVIO_ID_ACCOUNT_DESCRIPTION=Rovio Account lets you automatically save your game progress online and synchronize between devices. Currently, Rovio Account is available for Angry Birds on iOS, but it will be available on other Rovio games and platforms in the future. +TEXT_ROVIO_ID_OR=or +TEXT_ROVIO_ID_SIGNED_IN_AS=You are signed in as +TEXT_CREDITS_ZIGI=Magic Places powered by Zigi. diff --git a/Angry Birds Project R/1.0.3/data/scripts/ABIDUtils.lua b/Angry Birds Project R/1.0.3/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/ABSync.lua b/Angry Birds Project R/1.0.3/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/PC_DRM.lua b/Angry Birds Project R/1.0.3/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/achievements.lua b/Angry Birds Project R/1.0.3/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/audio.lua b/Angry Birds Project R/1.0.3/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..3753f5b58ee353ce50cdab8a665bc3cde7c3596f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/blocks.lua b/Angry Birds Project R/1.0.3/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..82237b355bb7c3d5b6f4038d7cb95475df5180c9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/cutscenes.lua b/Angry Birds Project R/1.0.3/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..27010dd0220a2b1da6ee1bbd68ab0b49239409dc Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/dynamic/default.lua b/Angry Birds Project R/1.0.3/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/episodes.lua b/Angry Birds Project R/1.0.3/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..6307d0670197cb4ac107f002a7afd0f2635aca7b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/episodes_free.lua b/Angry Birds Project R/1.0.3/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/game_conf.lua b/Angry Birds Project R/1.0.3/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..5df0120a71cd1bc15b04b47319485fc7d113f80e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/1.0.3/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/iap.lua b/Angry Birds Project R/1.0.3/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/item.lua b/Angry Birds Project R/1.0.3/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/item.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/level_scripts.lua b/Angry Birds Project R/1.0.3/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..ad822af6a02fcbc950dfac5e863db19af48e04ae Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/loadgroups.lua b/Angry Birds Project R/1.0.3/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..af1ea39b22cfbb6a12edff714c069ca749ac4be4 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/loadgroups.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menu_flow.lua b/Angry Birds Project R/1.0.3/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus.lua b/Angry Birds Project R/1.0.3/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..59a1623c65cce1c4a89fdca5817e02a7c4c3138d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/accordion.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/credits.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98eb89392c574acf02dc9915df85b67ef889906 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/ep9_level_selection.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/ep9_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..f9a855cc0b29f79e7a350e536224d7b2be9e51b0 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/ep9_level_selection.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection_crosspromo_black.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection_crosspromo_black.lua new file mode 100644 index 0000000000000000000000000000000000000000..f262a3d256e1c56f7a97d2681818888e5311cc3f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection_crosspromo_black.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..605f1fff64f18aea4c28aeb9239695df62e4e64e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/episode_selection_extra.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/keyboard.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/radio.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..cfea2b463142d3e149f8295f505cad64f25de36e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/sequencer.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/soundboard.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/menus/splashes.lua b/Angry Birds Project R/1.0.3/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/mightyEagle.lua b/Angry Birds Project R/1.0.3/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/options.lua b/Angry Birds Project R/1.0.3/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..e87c6878a6421f71566ba57e3215eb2669e2639a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/options.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/page.lua b/Angry Birds Project R/1.0.3/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/page.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/particles.lua b/Angry Birds Project R/1.0.3/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..b21f3b41d1e14215c77e8cb08f611a86279c986e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/select_profiles.lua b/Angry Birds Project R/1.0.3/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/starLimits.lua b/Angry Birds Project R/1.0.3/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..843d92724f2e0ccf0dfaec6f30858da0993287e0 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/1.0.3/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/1.0.3/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..c9e58a57080c0ae98e89eb7145407dc4b078e077 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/1.0.3/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/1.0.3/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/EventManager.lua b/Angry Birds Project R/1.0.3/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/animation_tutorials.lua b/Angry Birds Project R/1.0.3/data/scripts_common/animation_tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..3feac718879945c129c8d8885dd46be51c2d6e82 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/scripts_common/animation_tutorials.lua @@ -0,0 +1,5781 @@ +g_tutorial_animations = { + TUTORIAL_1 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_RED", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_BIG_01", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "redBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_1_PIG = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "RED_PIG_NORMAL", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "EGG_HELMET_1", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_FLY" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "smokeBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_2 = { + duration = 5.5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BLUE", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_LIGHT_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird2", + sprite = "BIRD_BLUE", + x = 0, + y = 0, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird2", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird2", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = 48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird2" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird3", + sprite = "BIRD_BLUE", + x = -35, + y = -34, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird3", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird3", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = -48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird3" + }, + { + time = 2.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.7, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.8, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.8, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.9, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird2", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird3", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 140, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 92, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 188, + y = 60 + } + } + }, + TUTORIAL_3 = { + duration = 5.3, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_YELLOW", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1.25 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 140, + y = 90, + duration = 0.25 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_SPECIAL" + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.65, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.65, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.7, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.7, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.75, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.75, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_COLLISION" + }, + { + time = 2.8, + action = "particles", + effect = "yellowBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_4 = { + duration = 10.8, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "delete_sprite", + name = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + }, + { + time = 2.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 11, + y = -18 + }, + {time = 5.1, action = "clear_all"}, + { + time = 5.1, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 5.1, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 5.1, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 6.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 6.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 7.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 7.2, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 7.5, + action = "delete_sprite", + name = "pig" + }, + { + time = 7.5, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_1" + }, + { + time = 7.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_2" + }, + { + time = 7.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_3" + }, + { + time = 8.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 8.3, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 140, + y = 90 + }, + { + time = 8.3, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + } + } + }, + TUTORIAL_5 = { + duration = 5.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREEN", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 50, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig2", + sprite = "PIGLETTE_SMALL_01", + x = 120, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_SPECIAL" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 285, + y = -200, + duration = 0.4 + }, + { + time = 2.7, + action = "create_sprite", + name = "egg", + sprite = "DROPPABLE_EGG", + x = 0, + y = 0, + z = 0.3, + id = "ge1" + }, + { + time = 2.7, + action = "set_sprite_position", + name = "egg", + target = "bird" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "egg", + type = "line-y", + y = 85, + duration = 0.2 + }, + { + time = 2.9, + action = "delete_sprite", + name = "egg", + id = "ge2" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig2" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 50, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 120, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "eggShells", + amount = 5, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "set_sprite_fade", + sprite = "bird", + alpha = 0, + duration = 0.2 + } + } + }, + TUTORIAL_6 = { + duration = 6.2, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_4X4_1", + x = 0, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_6", + x = 0, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -155, + y1 = -100, + x2 = 108, + y2 = -78, + x3 = 223, + y3 = 23, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1.7 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 239, + y1 = -22, + x2 = 239, + y2 = 57, + x3 = 72, + y3 = 92, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_SPECIAL" + }, + { + time = 2.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 8 + }, + { + time = 3.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 100, + y = 85 + }, + { + time = 3.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_COLLISION" + }, + { + time = 3.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3.7, + action = "particles", + effect = "boomerangBuff", + amount = 12, + x = 72, + y = 90 + } + } + }, + TUTORIAL_7 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -206, + y = -46, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BIG_BROTHER", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 20, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 180, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_1_5", + x = 30, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block4", + sprite = "BLOCK_ROCK_1_5", + x = 170, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block5", + sprite = "BLOCK_WOOD_1_5", + x = 58, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block6", + sprite = "BLOCK_LIGHT_1_5", + x = 141, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -206, + y1 = -46, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -206, + y1 = -46, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -320, + y = -36, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -320, + y1 = -36, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -320, + y1 = -36, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 61, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.05, + action = "delete_sprite", + name = "block5" + }, + { + time = 2.05, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 58, + y = 0, + w = 205, + h = 20 + }, + { + time = 2.1, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.1, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 30, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.2, + action = "delete_sprite", + name = "block6" + }, + { + time = 2.2, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 141, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 20, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block4" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 170, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.3, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 180, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 99, + y = 90 + }, + { + time = 2.5, + action = "particles", + effect = "bigBrotherBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_8 = { + duration = 6.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BAIT_SARDINE", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 54, + y1 = -30, + x2 = 97, + y2 = -30, + x3 = 140, + y3 = -10, + duration = 0.4 + }, + { + time = 3, + action = "create_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + x = -256, + y = -128, + z = 0.55, + angle = 0.4 + }, + { + time = 3, + action = "set_sprite_alpha", + sprite = "eagle", + alpha = 0 + }, + { + time = 3, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 1 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 140, + y = 85, + duration = 0.45 + }, + { + time = 3.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 3.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3.45, + action = "set_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_RADIAL" + }, + { + time = 3.45, + action = "set_angular_velocity", + sprite = "eagle", + angular_velocity = 16 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 256, + y = 20, + duration = 0.2 + }, + { + time = 3.75, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 0 + }, + { + time = 3.85, + action = "delete_sprite", + name = "eagle" + } + } + }, + TUTORIAL_9 = { + duration = 5.1, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PUFFER_1", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_PUFFER_2" + }, + { + time = 2.6, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + } + } + }, + TUTORIAL_10 = { + duration = 6, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PINK", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 131, + y2 = -51, + x3 = 230, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 0.5 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "create_sprite", + name = "birdbubble", + sprite = "P_BIRDBUBBLE_3", + x = 145, + y = -15, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "pigbubble", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 85, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble1", + sprite = "P_BIRDBUBBLE_3", + x = 90, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble2", + sprite = "P_BIRDBUBBLE_3", + x = 190, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble3", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 10, + z = 0.7 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "birdbubble", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pigbubble", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 3.7, + action = "delete_sprite", + name = "birdbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "pigbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble1" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble2" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble3" + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 135, + y = -55 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 80, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 195, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 145, + y = -135 + }, + { + time = 3.7, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.7, + action = "particles", + effect = "pinkBuff", + amount = 5, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = 85, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = 90, + duration = 0.5 + }, + { + time = 4, + action = "delete_sprite", + name = "pig" + }, + { + time = 4, + action = "delete_sprite", + name = "block1" + }, + { + time = 4, + action = "delete_sprite", + name = "block2" + }, + { + time = 4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 135, + y = 85 + }, + { + time = 4, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 80, + y = 60, + w = 41, + h = 83 + }, + { + time = 4, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 195, + y = 60, + w = 41, + h = 83 + }, + { + time = 4.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 4, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 145, + y = 90, + w = 205, + h = 20 + } + } + }, + TUTORIAL_11 = { + duration = 10, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "DRAGON_FISH", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = -46, + y2 = -51, + x3 = 40, + y3 = 60, + duration = 1 + }, + { + time = 1.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 2 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3, + action = "create_sprite", + name = "dragon1", + sprite = "MDRAGON_1", + x = -256, + y = -128, + z = 0.55, + angle = 0.8 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 10, + y = 20, + duration = 1 + }, + { + time = 3.1, + action = "create_sprite", + name = "dragon2", + sprite = "MDRAGON_2", + x = -256, + y = -128, + z = 0.54, + angle = 0.65 + }, + { + time = 3.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 8, + y = 18, + duration = 1 + }, + { + time = 3.25, + action = "create_sprite", + name = "dragon3", + sprite = "MDRAGON_3", + x = -256, + y = -128, + z = 0.53, + angle = 0.63 + }, + { + time = 3.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 6, + y = 16, + duration = 1 + }, + { + time = 3.4, + action = "create_sprite", + name = "dragon4", + sprite = "MDRAGON_4", + x = -256, + y = -128, + z = 0.52, + angle = 0.61 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 4, + y = 14, + duration = 1 + }, + { + time = 3.55, + action = "create_sprite", + name = "dragon5", + sprite = "MDRAGON_5", + x = -256, + y = -128, + z = 0.51, + angle = 0.59 + }, + { + time = 3.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 2, + y = 12, + duration = 1 + }, + { + time = 3.63, + action = "create_sprite", + name = "dragon6", + sprite = "MDRAGON_6", + x = -256, + y = -128, + z = 0.5, + angle = 0.57 + }, + { + time = 3.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 0, + y = 10, + duration = 1 + }, + { + time = 3.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 205, + h = 20 + }, + { + time = 3.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.7, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 4, + action = "delete_sprite", + name = "bird" + }, + { + time = 4, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1 + }, + { + time = 4, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = -3 + }, + { + time = 4.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.1 + }, + { + time = 4.15, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = -3.5 + }, + { + time = 4.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.2 + }, + { + time = 4.3, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = -3.5 + }, + { + time = 4.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.3 + }, + { + time = 4.45, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = -3.5 + }, + { + time = 4.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.4 + }, + { + time = 4.6, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = -3.5 + }, + { + time = 4.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.5 + }, + { + time = 4.68, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = -3.5 + }, + { + time = 5, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 6, + action = "delete_sprite", + name = "pig" + }, + { + time = 6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 85 + }, + { + time = 6, + action = "delete_sprite", + name = "block2" + }, + { + time = 6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 60, + w = 205, + h = 20 + }, + { + time = 6, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = 0 + }, + { + time = 6.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.45, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = 0 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.6, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = 0 + }, + { + time = 6.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.75, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = 0 + }, + { + time = 6.7, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = 0 + }, + { + time = 6.83, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = 0 + }, + { + time = 7, + action = "delete_sprite", + name = "dragon1" + }, + { + time = 7.15, + action = "delete_sprite", + name = "dragon2" + }, + { + time = 7.3, + action = "delete_sprite", + name = "dragon3" + }, + { + time = 7.45, + action = "delete_sprite", + name = "dragon4" + }, + { + time = 7.6, + action = "delete_sprite", + name = "dragon5" + }, + { + time = 7.68, + action = "delete_sprite", + name = "dragon6" + } + } + } +} +function getTutorialScale() + if deviceModel == "ipad" and screenWidth == 2048 then + return 2 + elseif deviceModel == "iphone" and screenWidth >= 960 then + return 1 + else + if screenHeight < 320 then + return screenHeight / 320 * 0.5 + elseif screenHeight < 768 then + return (screenHeight - 320) / 448 * 0.5 + 0.5 + end + return 1 + end +end +AnimatedTutorial = ui.BackgroundBox:inherit() +function AnimatedTutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = g_tutorial_animations[_ARG_1_] + _ARG_2_ or {}.tutorial_id = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function AnimatedTutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AnimatedTutorial.onEntry(_ARG_0_) + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.draw_list = {} + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function AnimatedTutorial.onExit(_ARG_0_) + _G.particles.clear("menu") + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function AnimatedTutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_.width = _G.math.floor(552 * getTutorialScale()) + _ARG_0_.height = _G.math.floor(360 * getTutorialScale()) + _ARG_0_:getChild("close").x = 552 * getTutorialScale() * 0.35 + _ARG_0_:getChild("close").y = 360 * getTutorialScale() * 0.6 + for _FORV_10_, _FORV_11_ in _G.ipairs(_ARG_0_.children) do + _FORV_11_.scaleY, _FORV_11_.scaleX = 1, 1 + end +end +if not g_isAccelerometerControl then + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.tutorial_id == "TUTORIAL_5" and not g_white_bird_tutorial_ge_disabled and _ARG_0_.time >= 2.7 and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and _ARG_2_ >= _ARG_0_.x + _ARG_0_.width * -0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y + _ARG_0_.height * -0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end +end +function AnimatedTutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.ipairs(_ARG_0_.draw_list) do + if _FORV_8_.type == "sprite" then + if _FORV_8_.alpha then + setAlpha(_FORV_8_.alpha) + end + setRenderState((_ARG_0_.x + _FORV_8_.x * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x), (_ARG_0_.y + _FORV_8_.y * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y), getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x, getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y, _FORV_8_.angle or 0, _G.res.getSpritePivot(_FORV_8_.sprite)) + _G.res.drawSprite(_FORV_8_.sprite, 0, 0) + if _FORV_8_.alpha then + setAlpha(1) + end + elseif _FORV_8_.type == "line" then + setRenderState(_ARG_0_.x / getTutorialScale(), _ARG_0_.y / getTutorialScale(), getTutorialScale(), getTutorialScale(), 0, 0, 0) + drawLine2D(_FORV_8_.x1, _FORV_8_.y1, _FORV_8_.x2, _FORV_8_.y2, _FORV_8_.width, _FORV_8_.r, _FORV_8_.g, _FORV_8_.b, _FORV_8_.a or 255) + end + end + g_menu_particle_scale = getTutorialScale() + drawMenuParticlesInAdvance() +end +function AnimatedTutorial.getTutorialSpriteScale(_ARG_0_, _ARG_1_) + if contains({ + "TUTORIAL_GROUND", + "TUTORIAL_BACKGROUND", + "TUTORIAL_FINGER_BIG", + "TUTORIAL_FINGER_CLICK", + "TUTORIAL_FINGER_SLIDE" + }, _ARG_1_) and true then + return 0.5 + end + return 1 +end +function AnimatedTutorial.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.time = _ARG_0_.time + _ARG_1_ + if _ARG_0_.time >= _ARG_0_.tutorial.duration then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + clearParticles() + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.sprites) do + if _FORV_7_.movement_pause and _ARG_0_.time >= _FORV_7_.movement_pause then + _FORV_7_.movement_pause = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x1 - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y1 - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.x0, _FORV_7_.movement.x1, _FORV_7_.movement.x2, _FORV_7_.movement.x3) + _FORV_7_.y = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.y0, _FORV_7_.movement.y1, _FORV_7_.movement.y2, _FORV_7_.movement.y3) + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + end + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = _FORV_7_.movement.x1 + _FORV_7_.y = _FORV_7_.movement.y1 + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = _FORV_7_.movement.x3 + _FORV_7_.y = _FORV_7_.movement.y3 + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + _FORV_7_.movement.x + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + _FORV_7_.movement.y + end + _FORV_7_.movement = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time < _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + if _ARG_0_.time >= _FORV_7_.emitter.pos then + _FORV_7_.emitter.pos = _FORV_7_.emitter.pos + _FORV_7_.emitter.interval + _ARG_0_.sprites["emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_)] = { + name = "emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_), + type = "sprite", + sprite = _FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)], + x = _FORV_7_.x, + y = _FORV_7_.y, + z = _FORV_7_.emitter.z, + scale_x = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]), + scale_y = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]) + } + _ARG_0_:refreshDrawList() + end + elseif not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time >= _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + _FORV_7_.emitter = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time < _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = tweenLinear(_ARG_0_.time - _FORV_7_.alpha_fade.begin, _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.a1 - _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.duration) + elseif not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time >= _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = _FORV_7_.alpha_fade.a1 + _FORV_7_.alpha_fade = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.angular_velocity then + _FORV_7_.angle = _FORV_7_.angle + _FORV_7_.angular_velocity * _ARG_1_ + end + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.lines) do + if _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x10, _FORV_7_.movement.x1 - _FORV_7_.movement.x10, _FORV_7_.movement.duration) + _FORV_7_.y1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y10, _FORV_7_.movement.y1 - _FORV_7_.movement.y10, _FORV_7_.movement.duration) + _FORV_7_.x2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x20, _FORV_7_.movement.x2 - _FORV_7_.movement.x20, _FORV_7_.movement.duration) + _FORV_7_.y2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y20, _FORV_7_.movement.y2 - _FORV_7_.movement.y20, _FORV_7_.movement.duration) + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = _FORV_7_.movement.x1 + _FORV_7_.y1 = _FORV_7_.movement.y1 + _FORV_7_.x2 = _FORV_7_.movement.x2 + _FORV_7_.y2 = _FORV_7_.movement.y2 + _FORV_7_.movement = nil + end + if _FORV_7_.width_change and _ARG_0_.time < _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = tweenLinear(_ARG_0_.time - _FORV_7_.width_change.begin, _FORV_7_.width_change.w0, _FORV_7_.width_change.w1 - _FORV_7_.width_change.w0, _FORV_7_.width_change.duration) + elseif _FORV_7_.width_change and _ARG_0_.time >= _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = _FORV_7_.width_change.w1 + _FORV_7_.width_change = nil + end + end + while _ARG_0_.tutorial.events[_ARG_0_.cursor] and _ARG_0_.time >= _ARG_0_.tutorial.events[_ARG_0_.cursor].time do + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge1" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "BLOCK_GOLDEN_EGG" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "DROPPABLE_EGG" + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge2" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "disabled" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "delete_sprite" + end + end + end + if _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "sprite", + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + angle = _ARG_0_.tutorial.events[_ARG_0_.cursor].angle or 0, + scale_x = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite), + scale_y = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite) + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "delete_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = nil + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_movement" then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line-y" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = "line", + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "bezier-cubic" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + x3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x3, + y3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y3 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "relative-linear" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + target = _ARG_0_.tutorial.events[_ARG_0_.cursor].target, + x0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x0, + y0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y0, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "particles" then + _G.particles.addParticles(_ARG_0_.tutorial.events[_ARG_0_.cursor].effect, _ARG_0_.tutorial.events[_ARG_0_.cursor].amount, _ARG_0_.x + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].x, _ARG_0_.y + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].y, (_ARG_0_.tutorial.events[_ARG_0_.cursor].w or 0) * getTutorialScale(), (_ARG_0_.tutorial.events[_ARG_0_.cursor].h or 0) * getTutorialScale(), 0, true, true) + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_line" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "line", + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + r = _ARG_0_.tutorial.events[_ARG_0_.cursor].r, + g = _ARG_0_.tutorial.events[_ARG_0_.cursor].g, + b = _ARG_0_.tutorial.events[_ARG_0_.cursor].b, + a = _ARG_0_.tutorial.events[_ARG_0_.cursor].a, + width = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_movement" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + x10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x1, + y10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y1, + x20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x2, + y20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y2, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_width_change" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width_change = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + w0 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width, + w1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_emitting" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + interval = _ARG_0_.tutorial.events[_ARG_0_.cursor].interval, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + pos = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_position" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].x = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].x + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].y = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].y + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "copy_emitter" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter = {} + for _FORV_9_, _FORV_10_ in _G.pairs(_ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].from].emitter) do + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter[_FORV_9_] = _FORV_10_ + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "pause_sprite_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement_pause = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + if _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_alpha" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_fade" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha_fade = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + a0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha or 1, + a1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "clear_all" then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_angular_velocity" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].angular_velocity = _ARG_0_.tutorial.events[_ARG_0_.cursor].angular_velocity + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "stop_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = nil + end + _ARG_0_.cursor = _ARG_0_.cursor + 1 + end +end +function AnimatedTutorial.refreshDrawList(_ARG_0_) + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.sprites) do + _G.table.insert({}, _FORV_6_) + end + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.lines) do + _G.table.insert({}, _FORV_6_) + end + _G.table.sort({}, function(_ARG_0_, _ARG_1_) + return _ARG_0_.z < _ARG_1_.z + end) + _ARG_0_.draw_list = {} +end +filename = "animated_tutorial.lua" diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/default_conf.lua b/Angry Birds Project R/1.0.3/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ed430eeda0e65636cd64613ab51aa9c64f5ef43 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/desktop.ini b/Angry Birds Project R/1.0.3/data/scripts_common/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..74ddc1323b48f35f87c2fe87da869d4ad26c2d6b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/scripts_common/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,72 diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/1.0.3/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d88bfe75d899bc9e110ac6c81740c1c5532c77b Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/events.lua b/Angry Birds Project R/1.0.3/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..164bdc4820ebea20fc7be8faad3fa38c0bf7a543 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/gamelogic.lua b/Angry Birds Project R/1.0.3/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..67f54e4fdcd24dd2e641870158e2280851daf9dd Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/1.0.3/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/howdoiplay.lua b/Angry Birds Project R/1.0.3/data/scripts_common/howdoiplay.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d8df9f6d131ae48e02b99002c12ddc8d8e13494 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/scripts_common/howdoiplay.lua @@ -0,0 +1,192 @@ +g_tutorialSprites = { + TUTORIAL_1 = "TUTORIAL_RED", + TUTORIAL_1_PIG = "RED_PIG_NORMAL", + TUTORIAL_2 = "TUTORIAL_BLUE", + TUTORIAL_3 = "TUTORIAL_YELLOW", + TUTORIAL_4 = "TUTORIAL_BLACK", + TUTORIAL_5 = "TUTORIAL_WHITE", + TUTORIAL_6 = "TUTORIAL_BOOMERANG", + TUTORIAL_7 = "TUTORIAL_BIG_BROTHER", + TUTORIAL_8 = "TUTORIAL_MIGHTYEAGLE", + TUTORIAL_9 = "TUTORIAL_PUFFER" +} +function showTrackpadTutorials() + return not g_usingGestureControls and g_usedGestureControls and isInFullScreenMode() +end +g_platformTutorials = { + osx = { + { + id = "TUTORIAL_OSX_1", + sprite = "TUTORIAL_TRACKPAD_1", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_2", + sprite = "TUTORIAL_TRACKPAD_2", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_3", + sprite = "TUTORIAL_TRACKPAD_3", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_4", + sprite = "TUTORIAL_TRACKPAD_4", + ignore_size = true, + condition = showTrackpadTutorials + } + }, + roku = { + { + id = "TUTORIAL_ROKU_1", + sprite = "TUTORIAL_CAMERA", + ignore_size = true + }, + { + id = "TUTORIAL_ROKU_2", + sprite = "TUTORIAL_ZOOMING", + ignore_size = true + } + } +} +function addTutorial(_ARG_0_, _ARG_1_) + if _G.type(_ARG_1_) == "string" then + _G.table.insert(_ARG_0_, {sprite = _ARG_1_}) + return true + elseif _G.type(_ARG_1_) == "table" and (not _ARG_1_.condition or _ARG_1_.condition and _ARG_1_.condition()) then + _G.table.insert(_ARG_0_, _ARG_1_) + return true + end + return false +end +function getTutorialSprite(_ARG_0_) + if _G.type(_ARG_0_) == "string" then + return _ARG_0_ + elseif _G.type(_ARG_0_) == "table" then + return _ARG_0_.sprite + end + return nil +end +Tutorial = ui.BackgroundBox:inherit() +function Tutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function Tutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.Image:new().name = "tutorial" + if _G.type(_ARG_0_.tutorial) == "table" then + ui.Image:new():setImage(_ARG_0_.tutorial.sprite) + _ARG_0_.tutorial_sprite = _ARG_0_.tutorial.sprite + elseif _G.type(_ARG_0_.tutorial) == "string" then + ui.Image:new():setImage(g_tutorialSprites[_ARG_0_.tutorial]) + _ARG_0_.tutorial_sprite = g_tutorialSprites[_ARG_0_.tutorial] + end + _ARG_0_:addChild((ui.Image:new())) + if _ARG_0_.tutorial == "TUTORIAL_5" and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + ui.ImageButton:new().name = "goldenEgg" + ui.ImageButton:new():setImage("GOLDEN_EGG_1") + ui.ImageButton:new().scaleX = 0.4 + ui.ImageButton:new().scaleY = 0.4 + ui.ImageButton:new().returnValue = "COLLECT_GOLDEN_EGG" + _ARG_0_:addChild((ui.ImageButton:new())) + end + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function Tutorial.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function Tutorial.onExit(_ARG_0_) + ui.BackgroundBox.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function Tutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + end + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + for _FORV_8_, _FORV_9_ in _G.pairs(g_tutorialSprites) do + end + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _FORV_8_, _FORV_9_ in _G.pairs(g_platformTutorials[deviceModel]) do + end + end + _ARG_0_.width = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + _ARG_0_.height = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").x = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * 0.18 * 2 + _ARG_0_:getChild("goldenEgg").y = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * -0.1 * 2 + end + _ARG_0_:getChild("close").x = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.35 * 2 + _ARG_0_:getChild("close").y = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.6 * 2 + for _FORV_22_, _FORV_23_ in _G.ipairs(_ARG_0_.children) do + _FORV_23_.scaleY, _FORV_23_.scaleX = 2, 2 + end +end +function Tutorial.collectGoldenEgg(_ARG_0_) + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").visible = false + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end +end +if not g_isAccelerometerControl then + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "COLLECT_GOLDEN_EGG" then + _ARG_0_:collectGoldenEgg() + elseif ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end + function Tutorial.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BUTTON_A" then + _ARG_0_:collectGoldenEgg() + end + end +end +function Tutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +filename = "tutorials.lua" diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/iap_new.lua b/Angry Birds Project R/1.0.3/data/scripts_common/iap_new.lua new file mode 100644 index 0000000000000000000000000000000000000000..a939aac47ebe419cefdc58780f4f48d78742596e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/iap_new.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/level_effects.lua b/Angry Birds Project R/1.0.3/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f1e0922fce554168278c665ecc637771d56c1cc Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/level_utils.lua b/Angry Birds Project R/1.0.3/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCanimated_tutorial.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCanimated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..9871f7e2ce23fa1d7b06a1edbb361008fedcac39 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCanimated_tutorial.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCmain_menu.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCmain_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..d152b9cec47870a5a911b12d5ed499c7ae59e10e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCmain_menu.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCtutorials.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCtutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a1e5ba530c3c0843944887dc04a0fac4961169c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ENCtutorials.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..58553501351d5c899e2aaa72982297e6adb24aae Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..2fc6ddd2710c0977629227ea87535b0c9f92d467 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c3685e99422c02b603d0241d1aaa1491bb62e0 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8d162faff205e33758c6d85a45accbb52665b3f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/achuvets.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/achuvets.lua new file mode 100644 index 0000000000000000000000000000000000000000..20ff459e3e023fa36f9050ca273178333138f8da --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/scripts_common/menus/achuvets.lua @@ -0,0 +1,91 @@ +AchievementPopup = ui.BGBox:inherit() +function AchievementPopup.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.achievement_id = _ARG_1_ + return ui.BGBox.new(_ARG_0_, _ARG_2_ or {}) +end +function AchievementPopup.init(_ARG_0_) + ui.BGBox.init(_ARG_0_) + _ARG_0_.components = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + _ARG_0_.hanchor = "RIGHT" + _ARG_0_.vanchor = "TOP" + ui.Image:new().name = "icon" + _ARG_0_:addChild((ui.Image:new())) + ui.Text:new().name = "title" + ui.Text:new().text = "" + ui.Text:new().font = "FONT_GAMECENTER_BASIC" + ui.Text:new().hanchor = "HCENTER" + ui.Text:new().vanchor = "TOP" + ui.Text:new().group = "" + _ARG_0_:addChild((ui.Text:new())) + ui.Text:new().name = "description" + ui.Text:new().text = "" + ui.Text:new().font = "FONT_GAMECENTER_BASIC" + ui.Text:new().hanchor = "LEFT" + ui.Text:new().vanchor = "BOTTOM" + ui.Text:new().group = "" + _ARG_0_:addChild((ui.Text:new())) +end +function AchievementPopup.onEntry(_ARG_0_) + ui.BGBox.onEntry(_ARG_0_) + _ARG_0_.timer = 2.7 +end +function AchievementPopup.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + _ARG_0_.components = { + left = "ACHIEVEMENT_BG_LEFT_RETINA", + center = "ACHIEVEMENT_BG_MIDDLE_RETINA", + right = "ACHIEVEMENT_BG_RIGHT_RETINA" + } + else + _ARG_0_.components = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + end + ui.BGBox.layout(_ARG_0_) + if gameCenter ~= nil then + end + _ARG_0_:getChild("title").text = "Achievement Title" + if gameCenter.achievements[_ARG_0_.achievement_id] ~= nil then + _ARG_0_:getChild("title").text = gameCenter.achievements[_ARG_0_.achievement_id].title or "Achievement Title" + end + _ARG_0_:getChild("description").text = "Earned an achievement." + if gameCenter.achievements[_ARG_0_.achievement_id] ~= nil then + _ARG_0_:getChild("description").text = gameCenter.achievements[_ARG_0_.achievement_id].achievedText or "Earned an achievement." + end + if gameCenter.achievements[_ARG_0_.achievement_id] ~= nil then + _ARG_0_:getChild("icon"):setImage(gameCenter.achievements[_ARG_0_.achievement_id].icon) + else + _ARG_0_:getChild("icon"):setImage("ACHIEVEMENT_GET_XXX_POINTS") + end + setFont(_ARG_0_:getChild("title").font) + setFont(_ARG_0_:getChild("description").font) + _ARG_0_.height, _ARG_0_.width = _G.res.getSpriteBounds(_ARG_0_.components.right) + _ARG_0_.height, _ARG_0_.width = _G.res.getSpriteBounds(_ARG_0_.components.right) + _ARG_0_.x = screenWidth - _G.res.getSpriteBounds(_ARG_0_.components.right) + _ARG_0_:getChild("title").x = _ARG_0_.width * -0.5 + _ARG_0_:getChild("title").scaleY, _ARG_0_:getChild("title").scaleX, _ARG_0_:getChild("title").y = 2, 2, _ARG_0_.height * 0.1 + _ARG_0_:getChild("icon").x = _ARG_0_.width * -0.9 + _ARG_0_:getChild("icon").scaleY, _ARG_0_:getChild("icon").scaleX, _ARG_0_:getChild("icon").y = 2, 2, _ARG_0_.height * 0.65 + _ARG_0_:getChild("description").x = _ARG_0_:getChild("icon").x + _G.res.getSpriteBounds(_ARG_0_:getChild("icon").image) * 2 + _ARG_0_:getChild("description").scaleY, _ARG_0_:getChild("description").scaleX, _ARG_0_:getChild("description").y = 2, 2, _ARG_0_.height * 0.75 +end +function AchievementPopup.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.BGBox.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.timer = _ARG_0_.timer - _ARG_1_ + if _ARG_0_.timer > 2.4 then + _ARG_0_.y = screenHeight - _G.res.getSpriteBounds(_ARG_0_.components.right) * ((2.7 - _ARG_0_.timer) / 0.3) + elseif _ARG_0_.timer > 0.4 then + _ARG_0_.y = screenHeight - _G.res.getSpriteBounds(_ARG_0_.components.right) + elseif _ARG_0_.timer > 0 then + _ARG_0_.y = screenHeight - _G.res.getSpriteBounds(_ARG_0_.components.right) + _G.res.getSpriteBounds(_ARG_0_.components.right) * ((0.4 - _ARG_0_.timer) / 0.3) + else + notificationsFrame:removeChild(_ARG_0_) + end +end +filename = "achievements.lua" diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..87fe8b0b7ad7e3b6cb2d8ac52014dec174aca925 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/credits.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..6222f6e900b41923a7cd9b1b80dbb6a415655ff5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d642974ba4917b5e4fb4284f6c35265c3884b00 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/default_credits.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/default_credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..d3abc8dadf8fac4c50a208e920c21f04f51f6fb5 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/default_credits.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..bb776171754397ce7f10053e614248e1879cc9dd Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/layout_select.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/layout_select.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd9aaba3ff1490147c53ab935d304108aeb7e0df --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/scripts_common/menus/layout_select.lua @@ -0,0 +1,252 @@ +function createLevelButton(_ARG_0_) + ui.ImageButton:new().name = "level" .. _ARG_0_.page .. "-" .. _ARG_0_.index + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setImage(_ARG_0_.level_button_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].level_button, _ARG_0_.disabled_button_override or "LS_LEVEL_BG_NORMAL_CLOSED") + ui.ImageButton:new().returnValue = "GOTO_LEVEL" + ui.ImageButton:new().disabledReturnValue = "DISABLED_LEVEL" + ui.ImageButton:new().meta = { + episode = _ARG_0_.episode, + page = _ARG_0_.page, + level = _ARG_0_.index, + levelName = _ARG_0_.name, + intro_cutscene = _ARG_0_.intro_cutscene + } + return (ui.ImageButton:new()) +end +function createBasicLevelButton(_ARG_0_, _ARG_1_) + ui.Text:new().name = "number" + ui.Text:new().font = fontBasic + ui.Text:new().text = _G.tostring(_ARG_1_.display_number) + _ARG_0_:addChild((ui.Text:new())) + ui.Image:new().name = "eagle" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.levelSelectionSilhouette or "LS_EAGLE_BUTTON") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "stars" + ui.Image:new():setVisible(false) + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "feather" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.collectableReward or "LS_EAGLE_FEATHER") + _ARG_0_:addChild((ui.Image:new())) +end +function openBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(true) + _ARG_0_:getChild("number").visible = true + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("stars").visible = false + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score > 0 and highscores[_ARG_1_.name].completed then + _ARG_0_:getChild("stars").visible = true + if highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].goldScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(3)) + elseif highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].silverScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(2)) + else + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(1)) + end + elseif highscores[_ARG_1_.name] and (not highscores[_ARG_1_.name].score or highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score == 0) and highscores[_ARG_1_.name].completed then + for _FORV_13_, _FORV_14_ in _G.ipairs((settingsWrapper:getEagleUsedIn())) do + if _FORV_14_.level == _ARG_1_.name then + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = true + end + end + end + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].eagleScore and highscores[_ARG_1_.name].eagleScore >= 100 then + _ARG_0_:getChild("feather").visible = true + end +end +function closeBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(false) + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("feather").visible = false +end +function getLevelSelectionLayoutSizes() + if _UPVALUE0_ then + else + end + return g_layoutMargin.x, screenWidth - g_layoutMargin.x, screenWidth - g_layoutMargin.x - g_layoutMargin.x +end +LSGridLayout = {} +LSGridLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE +} +function LSGridLayout.createPage(_ARG_0_, _ARG_1_) +end +function LSGridLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSGridLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:getLastOpenLevel(_ARG_0_.episode) >= _ARG_0_.index_in_episode +end +function LSGridLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + closeBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_14_ = 1, _ARG_1_.layout_params.rows do + for _FORV_19_ = 1, _ARG_1_.layout_params.cols do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * getLevelSelectionLayoutSizes() * (1 - 0.83) + getLevelSelectionLayoutSizes() + 0.83 * getLevelSelectionLayoutSizes() / (_ARG_1_.layout_params.cols - 1) * (_FORV_19_ - 1) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).y = -0.1 * screenHeight + screenHeight * (_FORV_14_ / (_ARG_1_.layout_params.rows + 2) * 1.2) + end + end +end +function LSGridLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSGridLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSFacebookLayout = {} +LSFacebookLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE, + events.EID_FACEBOOK_LIKE_CLICKED +} +function LSFacebookLayout.createPage(_ARG_0_, _ARG_1_) + ui.ImageButton:new().name = "fbButton" .. _ARG_1_.index + ui.ImageButton:new():setImage("FB_LIKE_BUTTON") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK_CONNECT" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function LSFacebookLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSFacebookLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isFbPageLiked() +end +function LSFacebookLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) + _ARG_1_:setImage(g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button, g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button) + _ARG_1_.returnValue = "GOTO_LEVEL" +end +function LSFacebookLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:getChild("number").visible = false + _ARG_1_:getChild("stars").visible = false + _ARG_1_:getChild("eagle").visible = false + _ARG_1_:getChild("feather").visible = false + _ARG_1_:setEnabled(true) + _ARG_1_.returnValue = "SHOW_FACEBOOK_PROMPT" + _ARG_1_:setImage("LS_LEVEL_BG_NORMAL_CLOSED", "LS_LEVEL_BG_NORMAL_CLOSED") +end +function LSFacebookLayout.layout(_ARG_0_, _ARG_1_) + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y = screenHeight / 2.75 + for _FORV_14_ = 1, _ARG_1_.layout_params.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth - (_ARG_1_.layout_params.levels - 1) * 0.5 * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + (_FORV_14_ - 1) * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).y = _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y + _G.res.getSpriteBounds(_ARG_0_:getChild("fbButton" .. _ARG_1_.index).image) / 2.28 + _G.res.getSpriteBounds(_ARG_1_.level_button) * 0.5 + end +end +function LSFacebookLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSFacebookLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + elseif _ARG_2_.id == events.EID_FACEBOOK_LIKE_CLICKED then + for _FORV_6_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):setImage(_ARG_1_.level_button, _ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_).returnValue = "GOTO_LEVEL" + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSGoldenEggsLayout = {} +LSGoldenEggsLayout.listen_events = {} +function LSGoldenEggsLayout.createPage(_ARG_0_, _ARG_1_) + for _FORV_5_ = 1, #_ARG_1_.levels do + ui.Image:new().name = "starEffect" .. _ARG_1_.index .. "-" .. _FORV_5_ + ui.Image:new():setImage("GOLDEN_EGG_STAR_EFFECT") + _ARG_0_:addChild((ui.Image:new())) + end +end +function LSGoldenEggsLayout.createLevelButton(_ARG_0_) + ui.Image:new().name = "star" + ui.Image:new():setImage(_ARG_0_.completed_sprite_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].layout_params.completed_sprite) + ui.Image:new():setVisible(false) + createLevelButton(_ARG_0_):addChild((ui.Image:new())) + return (createLevelButton(_ARG_0_)) +end +function LSGoldenEggsLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isGoldenEggUnlocked(_ARG_0_.name) +end +function LSGoldenEggsLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(true) + _ARG_1_:setVisible(true) + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = not settingsWrapper:isGoldenEggPlayed(_ARG_2_.name) + _ARG_1_:getChild("star"):setVisible(highscores[_ARG_2_.name] and highscores[_ARG_2_.name].completed or false) +end +function LSGoldenEggsLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(false) + if _ARG_2_.disabled_button_override == nil then + _ARG_1_:setVisible(false) + else + _ARG_1_:setVisible(true) + end + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = false +end +function LSGoldenEggsLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_8_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x = (_ARG_1_.index - 1) * screenWidth + (_ARG_1_.levels[_FORV_8_].x or 0.5) * getLevelSelectionLayoutSizes() + getLevelSelectionLayoutSizes() + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y = (_ARG_1_.levels[_FORV_8_].y or 0.5) * screenHeight + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).x = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).y = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y + end +end +function LSGoldenEggsLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + for _FORV_7_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle = _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle + _ARG_2_ * 0.6 + end +end +function LSGoldenEggsLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) +end +g_ls_layout_mapping = { + grid = LSGridLayout, + facebook = LSFacebookLayout, + goldeneggs = LSGoldenEggsLayout +} +filename = "level_selection_layouts.lua" diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..ac925a428efc8f55201aa69563acb1525c4e7b1c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..eaa26f81cb9217625011be73481d51f0d4726901 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..67dc11d940875d5520fac91a2ecbfe528cb7a98f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/loading.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..ecf52854ba123b83206e78013d81f73e2ebd8bd3 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..f3e3ebef7d10b30a4361218f4d213f8e9ffdcb7c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/shop3.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/shop3.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb99634991566d88de2c3f01073d90544af29b9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/shop3.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..d913df02529685589c6b6a8a486c3ec90fd4b27e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/1.0.3/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..e759447d032b08fb3724a754b58aea26e825b0c2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/powerups.lua b/Angry Birds Project R/1.0.3/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/powerups2.lua b/Angry Birds Project R/1.0.3/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/puffer_bird.lua b/Angry Birds Project R/1.0.3/data/scripts_common/puffer_bird.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/1.0.3/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/sticky_block.lua b/Angry Birds Project R/1.0.3/data/scripts_common/sticky_block.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1d141bb211067cab0dc1436baf05e9e0e07f5ce Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/sticky_block.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/CloudSync.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/CloudSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..e6196e7ead07b2c8ac9b980dc46b90d7ff66b771 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/CloudSync.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/RovioAccount.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/RovioAccount.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c16df839fe70d659317c0e8c7dbaf40da84ef35 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/RovioAccount.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/blockListSetup.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/blockListSetup.lua new file mode 100644 index 0000000000000000000000000000000000000000..c08bfae1e8e13b0ccc136876285b1d7763e75fee Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/blockListSetup.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/calendarSubsystem.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/calendarSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..209cfeb39539c57a9128c8ff258ae9bec65f82e6 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/calendarSubsystem.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..dc0f75c1bed06bc8c3341425a51a7a3296ab24c4 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/1.0.3/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/timer.lua b/Angry Birds Project R/1.0.3/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/trackpad.lua b/Angry Birds Project R/1.0.3/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/PageIndicatorDots.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/PageIndicatorDots.lua new file mode 100644 index 0000000000000000000000000000000000000000..25874c112860714619bf92d615e6fbcdd01e9492 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/PageIndicatorDots.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/1.0.3/data/scripts_common/utils.lua b/Angry Birds Project R/1.0.3/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/1.0.3/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/1.0.3/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/pp.fx b/Angry Birds Project R/1.0.3/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/1.0.3/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/1.0.3/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/1.0.3/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/1.0.3/desktop.ini b/Angry Birds Project R/1.0.3/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..410dccd781a90fdc7dfd7bb08abcc4c0228047f0 --- /dev/null +++ b/Angry Birds Project R/1.0.3/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\Users\norto\OneDrive\Desktop\FAVICON.ico,0 diff --git a/Angry Birds Project R/1.0.3/msvcp100.dll b/Angry Birds Project R/1.0.3/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/1.0.3/msvcp100.dll differ diff --git a/Angry Birds Project R/1.0.3/msvcr100.dll b/Angry Birds Project R/1.0.3/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/1.0.3/msvcr100.dll differ diff --git a/Angry Birds Project R/2.0.4/Angry Birds.exe b/Angry Birds Project R/2.0.4/Angry Birds.exe new file mode 100644 index 0000000000000000000000000000000000000000..2de72436907b5259387a1e8e3ecd08c5a882bd57 --- /dev/null +++ b/Angry Birds Project R/2.0.4/Angry Birds.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14ab776fb7dceb0abb0915ca9c7eaa9f6949336a3cbc0978afc1f1f278e6f595 +size 1573488 diff --git a/Angry Birds Project R/2.0.4/Angry Birds.gdf b/Angry Birds Project R/2.0.4/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/2.0.4/Angry Birds.gdf differ diff --git a/Angry Birds Project R/2.0.4/Changelog.txt b/Angry Birds Project R/2.0.4/Changelog.txt new file mode 100644 index 0000000000000000000000000000000000000000..0ef4380cfd1fa3844d251bd927579e33a775c155 --- /dev/null +++ b/Angry Birds Project R/2.0.4/Changelog.txt @@ -0,0 +1,33 @@ +Welcome back to Angry Birds Project R! + +2.0.4: +-Fixed an oversight in the credits code. +- Numbered the episode cards. + + +2.0.3: +- Updated the splash screen and credits due to Sega's acquisition of Rovio. + + +2.0.2: +- Updated the credits. + + +2.0.1: +- Readded the external link you can go to after beating the Wizpig level. +- Readded the restart button. +- Fixed a small art error in Meet The Flock's background and in Moral Mixup's ending. +- Updated the AB Play splash screen with the new one provided by Nopenop! + + +2.0.0: +- Added a new episode, Sweet Swines. +- A brand new original soundtrack composed by The Default Pro and Flamer The Unfunny Clown. +- The playable pigs in Moral Mixup have been given new designs. +- Moral Mixup now has a second background, taking place at night. +- Improved the graphics in various other parts of the game. +- Minor level design changes. +- Stella's ability has been slightly nerfed. +- Bug fixes. + +I recommend checking out the improvements to the other episodes alongside playing Sweet Swines, Happy flinging! \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/Readme.txt b/Angry Birds Project R/2.0.4/Readme.txt new file mode 100644 index 0000000000000000000000000000000000000000..8aac67b4ab4d9cc3d312d9d995f93a884aa56f5e --- /dev/null +++ b/Angry Birds Project R/2.0.4/Readme.txt @@ -0,0 +1,5 @@ +Thank you for choosing to play Angry Birds Project R! +This is my first Angry Birds mod i've made so that's cool. + +If you have any suggestions, complaints or anything like that, join the Discord server! +There's a link to it in-game. (Must be 13 or older to join) \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/config.lua b/Angry Birds Project R/2.0.4/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..378bf993815225bc0ad3b8897d0a87d5dec36123 --- /dev/null +++ b/Angry Birds Project R/2.0.4/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R" +publisher = "JPA" +name = "Angry Birds Project R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/2.0.4/data/audio/music/MTF_intro.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/MTF_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e9bed7bf09dab7158bb0349d431badecd383529a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/MTF_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfacfa40ad76a66bc67d09c79f0a6f6475f2a127d48b1ca7c5ac880d34e49a00 +size 264194 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/MTF_outro.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/MTF_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6104fbe047b02da4144a0dd28f63c632b50507d6 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/MTF_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:675e86d85d0e1cb83f17cb4f9b7ce90616a0357e1fa75bd89027f57197d9169b +size 366752 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_0_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_0_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..be325779914f2160c21da67d86f49e11391aac80 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_0_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a5af5192c8d26fdd2654ee02add18fa03414350c16fb5b5b055b40c61ff2ae9 +size 619789 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_1_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_1_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..467a67408a7954ba96b04569d8fda0a7cf350301 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_1_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2daf0d2e479b0b9599e2150d359caa4a574bb14cd7a89f210e52c918d14689bd +size 1016652 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_1_2.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_1_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..1cdd935680aa13d47b77a39bbfb4bdcdc2aa6d68 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_1_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6448af2f673dc4460d11202f6c7c5682d22b6a439e3d0e8b289de8f384ca2317 +size 1336378 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_2_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_2_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f9cd063498fa1a0b405f3d5258448d45e82fbc5a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_2_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c9834ed39442ed4324c8a07dfd707c26d2e19bc541c04cd3bf05cf77dc369b8 +size 950425 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_2_2.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_2_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..90c343302788c26484449ed170db1e391fb03869 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_2_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c5b31773a51f6dea76030a006911bffe16ff7b66b92a1af7ea1f7a1f090c54a +size 1230442 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_3_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_3_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..341f7ec99a19f4b4d16f3ae10ab3afa03350d51c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_3_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d08684be8362ac245fc0e9a69ebf948661b6a2a7b6d960c825ede8b6c13e3ff +size 651520 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_3_2.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_3_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..436c26c43d140930c5e724f00eae6be39a1a0dd5 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_3_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9233243f30b8d072437b11747664649bf99c35657e1b72bb8d9cf61bb0000ad8 +size 444899 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_b_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_b_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e13403c537ae003fc1189c1d2c45db1078c35e64 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_b_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d90148032fadecb255971f9d7b99eb85a738a707c11b8e4cedc42e32b9ef5a50 +size 1347685 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_c_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_c_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d232827e29eedd8a57fe9d870ea2f3c6de732723 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_c_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e22c4d22193fd6ec4db13650d62bd40f4fdf46b27154b752eaad695a3fc4af6c +size 1325001 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_d_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_d_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a6aba1462db5f4cb898d64d13cd9cf1f6afd19af --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_d_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:570aa3f1b30cad62daf8399fd98e5d19f52f59308b5852516b74e1c8d31b4889 +size 1030686 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_g_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_g_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2d628546b5947fd97c732e510a96e6c00db18f38 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_g_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9846a1505652c6c3fa4fe2b118e60f19642021c987f6595f05834cb5b9e0276 +size 458197 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_s_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_s_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3ebdf1779be60c5f3042f88eb2cb91990d6827d3 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_s_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b7d0b3e21dd243274cd956397ecb8dcfb4bea1b72cc83a76f398ad22d9fb78 +size 899834 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/ambient_x_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/ambient_x_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..ae7e5794cf7efdd80b2364ff2a00e846e3ef3994 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/ambient_x_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9ec9ee89844fcb280cf5fc8e49d06920da91b7e70d9645e3c9d70c2cc011d10 +size 559485 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4b6dd2841ceeb593050d44db943b787da0ed4b88 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12dcb94b0c9549ddd0f4ba8ec743c02a2e706294715af8da467c41be5e718281 +size 154589 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..924b681eb9cca75e40dbfe1dd40e2b5a3c1ac965 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97ed7405d3e6ca640c4207a5780614036ad48dba997fccdbc84d611ee1ce57bf +size 332707 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..ce16a8da8b1875a2204adc7def15dd28721e2449 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3ee805e04df71ec3f135efda034554bca0fe923cda8a0b64ad155dde5cb817c +size 197581 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/credits_music.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/credits_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2476bc7ab87820ffba1bc10e5e328c9c8b1e771c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/credits_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e90b52d34f451ba70b876732c70219996e30c9f2e5aa362826185d89c95b78b4 +size 3694155 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/edit_music.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/edit_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5566746dbad73d3c49c536e3367a89bbbc083388 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/edit_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1364d1c839e9a2c7eda64a02c72e501c1ba393625998757ed5b04c65c747b856 +size 2707942 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/editor_action.wav b/Angry Birds Project R/2.0.4/data/audio/music/editor_action.wav new file mode 100644 index 0000000000000000000000000000000000000000..3b5e54c4d1c78748b4cf21c03addcb61eaa5cdf0 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/editor_action.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12971bf9ce2308447ecffe5c18143f98b4bfe250f3e9ca6788786938d6e7fd62 +size 26142 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/jingle_reward.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/jingle_reward.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3f744fc099e7f159e58e99c242659a39e8a6abf1 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/jingle_reward.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:311158ccc10a474e13115b724be407b798c611e9706a59dcc65ff7236b4d22f9 +size 206401 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/jingle_reward_3_stars.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/jingle_reward_3_stars.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..dc5d74568a604f65b7f0f15726e596cfea8874cf --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/jingle_reward_3_stars.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95c6fd7d2b8efbf9103f8d7b850b0f5aebb5531fefbf020566c687fa87465a14 +size 206296 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/level_select_music.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/level_select_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3bd76fc90a0779ae53d0ebf868c301ceeffdb524 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/level_select_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:492122fc14612541af113edeafea798b1e5e9ec181e4b0c78e51e15e5b2f7790 +size 1540794 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f80682632318b85aef587e6f299d5a360a64a285 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0ce7ee6b91a69c93c327ca0130a07d2848939a68d6937ff9397ce1fa8817197 +size 1993228 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6ecf88c1fcadcca4cea5b8f9285dce368dc4e3a2 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30fbadca3d48b6c07d74b07754ab0c25a6022a6bd938ea5bb222004c996e411a +size 3189426 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/splash_rovio.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/splash_rovio.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..66f10da3ebef8b6746ee24675a0c7538423ffd58 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/splash_rovio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7b36a186904d28de6ceed8400fd1070247792f0d5e485c0eab1cabfb59c854d +size 42972 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/startup.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/startup.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d4c0460a8194f09bb4ab6d613fe31c24a228a0a2 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/startup.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:583435aff0dca7b87ef9bee35275237a59c9fb8413bc09fc263f54673a2ba9c6 +size 52567 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/title_theme.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c5c0c43c14c99fbcfe98642c25310cf17001cb0a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd4d6310b5b66ea7d43428e0af955e343609543153cdffed0a7828f13cbe7084 +size 4618702 diff --git a/Angry Birds Project R/2.0.4/data/audio/music/xmas_intro.mp3 b/Angry Birds Project R/2.0.4/data/audio/music/xmas_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..05f72ae5b930ee5e02a3f354eaddf6f3fb304985 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/music/xmas_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c99591c78270306da7c991a9ce3d8b9e3f1d2961d582f781cf99152a4188a69 +size 228599 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/3_Stars.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/3_Stars.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..76e16e5a046d3d1befe46d80012f7c31c189d4b1 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/3_Stars.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a16c0a1256631bff65486b9e5ffe025b6aa68702a4971857bdc0f5deb6ccb1ae +size 10009 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Black_Idle1.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Black_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2b27375ecfd5daa354a6b4ba9a635b2cdef03240 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Black_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb58200682af2dd948351e3a9c169e3168580979690afe60e6b8559cda935b5f +size 9657 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Black_Idle2.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Black_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7ab10d09a511894f03bdfdd4ddfb97ab0343435a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Black_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9006e7ae6bf70a95af8c49bff1de3b6759099806a8b98795de67e5473f1542c +size 4011 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle1.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f2c31438df2b4a5c11d20c6699621e21223a9d05 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:841010fc46ead4e59c464058d7b1e230d2e5621dafb7b6dc997da28a8c6549b5 +size 8874 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle2.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a786c13fec906fbaacb5d2608fa0abfc77c04b37 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be59113eb7c2de2c35c000a05276c97b0b29f81f57d885882f56b1cf86a516e7 +size 11745 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle3.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5945e8c1a13f88ec1ddf75013935fb0798495e2b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Blue_Idle3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03df6550abe97b1c8a630824ed15407199c2da138b797dbcf4a2307f497b050 +size 4959 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Red_Idle_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Red_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e8e1a7aee3622f063f22fce7bb92a3143a287b39 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_Red_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8081ac3830258e3aa72cb94fe639ee8edfd9033d9400517fb6205093fd455102 +size 4437 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_White_Idle_1.mp3 b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_White_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..56a0ed1956d46f98eceae295b54dc036aaddd23a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bird_White_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6153339dbdd4e35536ce58b3da36defacd3cd9f5b6829678ec32355f4f39c048 +size 10028 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/Bouncer.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/Bouncer.wav new file mode 100644 index 0000000000000000000000000000000000000000..e62313dcce963a233caa1837657f147d5d7da702 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/Bouncer.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a789c2592d372c11e098498e512d2e4c6a40d1592f260034c47c5d0517fabc8 +size 68738 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_break.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_break.wav new file mode 100644 index 0000000000000000000000000000000000000000..d3ce78a122b294664eb98366db9d7c2f871f676f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_break.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5217c9b69c36e69659a37ed7625bff291e30c21b7f16c6f5a82fd27908e91d1 +size 125128 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_empty_pull.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_empty_pull.wav new file mode 100644 index 0000000000000000000000000000000000000000..ce11b37c756784b8d5ea83a6a14ad2b4f8f1a3ff --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_empty_pull.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:640393fdd29346c65c20cae8aaaecdc9b2c7a5116b4024304b5de14dd288ff68 +size 108504 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_empty_push.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_empty_push.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d54e0c5ca538c55e63efeedb744dd9f62d8a9d1 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/accordion_empty_push.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dcf6356dd30b16806bb6d982cd463c061e8095d5d4184d182f4f36527f19f60 +size 127482 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_01.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..66b4213996addc410b3b4d002a7b7b450df639da --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd8f06ba2b8f091a47bfb82967a8b851d4e796620b9d73cb94a45988e2cd386c +size 42086 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_02.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..4f3ae518edac6f13456b2d3251a5370fac22feed --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3292d3f7062420c6c914cc656f82515790345c1a66eba15cee5779b3d0b08841 +size 42090 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_03.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..b49d5d8d4d18dab7069e5a733c4df50f155188a3 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/ball_bounce_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b055b0c82f742878108b59cb1c1abf8a51b508a5c5e8dce3e8157f6cfb58053 +size 42090 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c05651ec3f53f863e6d1a8be8579775a3576e26 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb8c031f4c0853b8f67b3152d648748581f031f61d74756e51fae37ea2a3a60 +size 62252 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/big_bird.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ac04069d76d28efea1468cc6af4c8fd5d847214 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875e6cc62f7f0d698574df6bdbba67633b8aedc47af35edb2923412c2e9eba28 +size 133932 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ang_flying.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ang_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..882ae50a2b7acd196cd5efc738eb27d4e132ad1e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ang_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:deb8b3359ac076d08a67cb4c7ebe6e1ed1d7fc6fb1f1fca5c2d44b0adbb22957 +size 179806 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var1.wav new file mode 100644 index 0000000000000000000000000000000000000000..5ab6627b0e5ce80d3c76a0600fcbde5781e153e6 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed19e3acf88724bbad497c43a30891cd3ca29b4973a26e8c1dbba391c3113d62 +size 88358 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var2.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7e9c35e7bc493629bbddf19aa34e8e831d1a2eb --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bb8e17ff3c7b10d0db34770a32be880d17b7933dbbf47e9cfdb962cf940d3fe +size 95868 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var3.wav new file mode 100644 index 0000000000000000000000000000000000000000..bfee40888ac5421e792caf1bb111a44ce6785259 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_enter_water_var3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:566ef9a7e52fc96106b4167bab9c4efa64953be10ed2da377eade786f04e20a1 +size 95868 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed8a54e8fccf2ca4def91a2af26641631e15fa35 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd354689c92e90faec172ed79f378c64bca99667a014a20519c524f3a0ed4a4b +size 86836 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var2.wav new file mode 100644 index 0000000000000000000000000000000000000000..9d6484029aa1d7e28d64b9bfede9c712ff5b19eb --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa5728aeed9a0990e3e6e1cad9978c17c835472718e82a0e5c96be9fea753bfe +size 85940 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var3.wav new file mode 100644 index 0000000000000000000000000000000000000000..e31b2ea399bf6b42235d799b380f5dadfbc65183 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_exit_water_var3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:115f42b89c1761705b08dc3f1f229760a352fced83691b41c12ac2c670d91743 +size 87476 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_01.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..4a3e1a5dfab04fa66dc1f5e4ab5bd2da20d484ed --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bc35a844799935559b70461db2a1c497f45a61233f1e3a09aac03cac68e29bc +size 23058 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_02.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..8ea07cd3d3d274833a55808222500d8361401ec3 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63a85616ceb3693a6c905804cab29f972a9d46ea34398229afc414eadfc8460f +size 23062 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_03.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ebee511c844b7b92a36a4871bd80cd3887c61f0 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bird_ground_collision_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:684b5445c18e56fa486f8184c35768fae7a569028554298d02ddd54f5dbea69b +size 22960 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bmajor_left.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bmajor_left.wav new file mode 100644 index 0000000000000000000000000000000000000000..344d3efe508db54a31d79b1eb0d24e7d0206cb58 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bmajor_left.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:108aa85275c295921053b41112e7666f83645c18a0a265106a98e2fc23e3ecac +size 88806 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bmajor_right.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bmajor_right.wav new file mode 100644 index 0000000000000000000000000000000000000000..856df6d666256064b83ec50bc34b1a1ec4fe19cd --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bmajor_right.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7694f8efb7b28557f37ae9d1c93c41a51b0dcb5345acb21f3738a951d49a3a9e +size 88664 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_1.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bb0d151c143a831d7aee5fcc48083c2ae17e208e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:070dea108e7c6275c84be58c3852d5194825ef51dd3ee9e610f0844a7967b7b4 +size 86590 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_2.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c9b5d177bd92e8736433b4c5b74e17e3f756b4c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b99397250959448d25d0d455c6db41fc655201fd4a622fe0865aee3cc74a631 +size 105022 diff --git a/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_3.wav b/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..4eac47606ca4c1c1b3a0b6b06034e442ec8b07aa --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/audio/sfx/brute_collision_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fe6fad537df62d7951a63cba308e9f6bddf126b8ea6f5e8f02eb15098ac0ed2 +size 77374 diff --git a/Angry Birds Project R/2.0.4/data/editor/editor.lua b/Angry Birds Project R/2.0.4/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..4cc2c73a4d18a533f2905ba4c3e44bed38d920bc Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/editor/editor.lua differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..3ff26b31b8a325e5c4403bf71c14ef5981d99570 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6136c52b94d2c4139362c48ec1bb2049e9a7009a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BIG_NUMBERS.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BIG_NUMBERS.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BIG_NUMBERS.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png new file mode 100644 index 0000000000000000000000000000000000000000..828ff90b0c94e0facc91014ea88ed4b9d6e1df19 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0696066b532fca9e518a276fb6a98055535a63a3866f7175d1136945fe50ea96 +size 123524 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a7e2a3a366aa0e05bf6d53c96e2e1136ffa061b9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..0f93951c506607feec69ac99c37c482dd0bb3741 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..21ee51991fdfca7fe14c10a92ebee65fb42b2792 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..d739e3fd5cf4c15fac655e1a14eb7e85170587d7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.dat.bak b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..4faf5b105f9b005d875fe253df565d26f3315349 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.dat.bak differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.png new file mode 100644 index 0000000000000000000000000000000000000000..95d8dc83a9abde8c73fb231268d25c637842afaa --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:419b025270bffddcfd399c90be7be9f37339789a9a9f4b698f8bfeb72d24e4a9 +size 205322 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.dat.bak b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.dat.bak differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.png new file mode 100644 index 0000000000000000000000000000000000000000..c79940bbcc900b3be385b08c746ca52424a869f5 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b09a789437da11ae68ac448baafb55e981fc5d1409d6efe99843d4e3b97bb927 +size 137164 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..c6d7b10086b46e784d2b63df1a2e806f30daf688 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b37c72bcd48e39e138231f6385202f4be7f629023081a9c193cd8179a4615e12 +size 53936 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE_N900.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE_N900.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c080ee93c6f79db09b83f9faaeff18df9f4b1b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE_N900.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..25dda7672f62afcf12ab2970d57653016278cc1d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.png new file mode 100644 index 0000000000000000000000000000000000000000..3cf63f06358f42d03e277423a86eca2ccc616530 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41aeef377d94217c7f15dacab4ce8fe8efdabec618782a036447ad290e54156 +size 56251 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..0bf3c182e1ab96d954d0aeaa8def3ff28bfd95e6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..123c4209875fe6bf5fdc159002db84719474e59c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ba8841588e547450320b47f3e3f8c2fa184a165e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e15c9b51ba3bf11427a6c0c25a661b3d9c6e947b582e449dd830798d648c279 +size 1775668 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..7402010b1f0114167f70bf3095025ffb6beb0807 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..9b2833fd5f3083995321184e288010c23469d744 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..9715d99406d7b2d712406e02af99d0dc998cf0e7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..224d416b8c1fc5b6fdb17e9cceeb216aac27fc78 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8fa2edaae3c41e0525bab2e2f56575bcd6daa9856722557e2ca61538419dfa2 +size 34585 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..dfac8a8fa39ce078553b44b52cefe2f49d90cadf Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..bf8e1ef19bc1aa256426c0c58752cd6078568a1d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffc21881861a90afc90170438bf8a2770c266d4b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..75bd49c1764d2108878ffabd2ebccd0904fadea6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat new file mode 100644 index 0000000000000000000000000000000000000000..6d891f83354557574e84855b20c108ba5f6cb7cb Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..514ded8c1f4b3e65f967424846fb2c5b900fc78e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6a7f19c21484ffcc22f18e84a52ea888ed84e3599c109f7c45af54714471ca +size 150549 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..d5095b37201e962d7821bcaa4b3212dcd8907c11 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..02e33f2a5e97b13084bb892c9d9fa9c61f330a93 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e81b40d24e9e3038fbadedfd82cac5a866d68908 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33fbe429276400509676dc1a585c09154f7e130e93ccd53bc1c1e0cd6deac288 +size 3924020 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..98a6726164c6d99b8e7ea2427d443b3c17684aba Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..be162118ba009402d88dafb49bc20b4f4773c4f4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f001e6995051d7645446149896d522ed73eae136fde852d23cb761a51f445acd +size 2056244 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.dat new file mode 100644 index 0000000000000000000000000000000000000000..1ce57631bf1750b50e72b84ad8a56d10c3889995 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.png new file mode 100644 index 0000000000000000000000000000000000000000..1cd8ad43461218393688c86fc8988c5f19c559d4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f50578f42731b15475121bea5ad4dd4cb7955698e69bf5027e84c7b0cec8f7d1 +size 4536 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6dce52ef607b084180bacd92f5fcaebb364e388e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_LS.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.png new file mode 100644 index 0000000000000000000000000000000000000000..8f8a3d1b80361d40933ae08c20afed0d989f77e8 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f098ce8177e2eb5ca7554d03faace614d95869e90489c6e0d2fb918d4aa15b +size 8147 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr new file mode 100644 index 0000000000000000000000000000000000000000..35f323806696f766b38420be91427754743d5d44 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..6b1927d5f3e0d6aa44cbb27f27f45b9392e21fa6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..812d4c5d3388dec5b6c124f5ecd6377b136a4e0c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6723c58df5dbbe20b5c9efaa690c34e597acb1bc18778fcdd8317390ade27c4 +size 4994 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..704658963fbec424de7709687cbbc312ab758087 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat new file mode 100644 index 0000000000000000000000000000000000000000..7462024fab694eaf7776906a7b671975c7186a18 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png new file mode 100644 index 0000000000000000000000000000000000000000..a5d395040da5ede3f0cf0739164802503b86a21e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32912bf2460c9f5b052e8cac64e8a8c0b4b4b6820e4b7630ef08b592dc6ee64d +size 27198 diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr new file mode 100644 index 0000000000000000000000000000000000000000..c92c4da49a4673a84d8a58f0629dee1914281167 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..382fcef11e22a6cb0cb2f82cac07f08b98582587 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..f18f772f96a73158edcb7a1e26553d8653613137 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SW_BIG_HEADLINE.png b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SW_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb797dd63b799c57809dd3cfa662fd78930a0e5 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/fonts/pc/FONT_SW_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a7267c28faca8b04317b53ffb0e02238e740d7c763c273d122e740da21fb98 +size 341382 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/2.0.4/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..114b02a2d8ce22e7f290db73deffa22671107732 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8d4f93d2c14453c44f7daab5c07f402372c1176ac32d31b8a76e3bd9c121c84 +size 181645 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_EC_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_EC_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..1fd33e9bc743306267cc780ede26cbc8163873e7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_EC_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_EC_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_EC_1.png new file mode 100644 index 0000000000000000000000000000000000000000..bdc2848927c14ff5a859f0605ca07ba755a69968 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_EC_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71c52e1333594b295faa6badd17bc114f8fc15f647f09b77dcbf6fab6cfa9d29 +size 152540 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..c66f931774d23a707a75d6c41afc5164522af809 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_1.png new file mode 100644 index 0000000000000000000000000000000000000000..351003a89a37a10c6e6ce2a92341575c64f8ad1a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edd0853b260c292f64bbeb90618683d28f3e4194bab45495bb916684caa8e618 +size 215486 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_2.dat b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6284e9bf1a9c218832d2525a9dcdbb5bd428abac Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_2.png b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_2.png new file mode 100644 index 0000000000000000000000000000000000000000..53ec86b40521146afdaab5e8476a3ca4e106ebdf --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_ES_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6676766026ff28fa1b06e5998c8eab1a46388888a559c377ab7829bd804e5217 +size 11584 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_GE_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_GE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..2e787132f2aeda4502bd35bfddcdca594732c15e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_GE_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_GE_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_GE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..a08007921a32bb522fb9f43ba564d5766f0f4ba4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_GE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18960a1c6e561afdb8962ea1546704a7ab9f39381b3678f62a86ab4ea530f142 +size 361746 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LF_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LF_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..580fe7b2dd02063674823e0470074eba60b77937 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LF_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LF_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LF_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8d989b522dc6326aeda13b9ecf4ea64b8b9cc05c --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LF_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:634155f3b99ce5004608d5f21dfb9675920160c4476f0d127310142949999bd8 +size 181469 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LS_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc166ed4b0667007c7a221b495c10e59eac04e9f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LS_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LS_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4df0b8d0fe5b2656a2087ef681ba64c0a5e8b7a8 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_LS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:440d85580e9ea8d7b86bca20d1809cdbd493c5dfc01cd2a731d4346e7245eac4 +size 180013 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_MAIN_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_MAIN_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..538cc54e2d19b0d545fbba7a68893682e7f820d5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_MAIN_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_MAIN_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_MAIN_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8229f241c726b29450fd99ab98480678dbd0ad06 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BACKGROUNDS_MAIN_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151795aa964a14aec05cf46bf82e4f6f46d10c0a60072911699ef79b20e4ccec +size 212209 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..faff67923602e08b3281b0e821dabea375bf7498 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..54e7fe9dc3962efc9fffd6990be3af92b9d5d18d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2fd92878816f6174ffe22a3790d846955b9f750 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png new file mode 100644 index 0000000000000000000000000000000000000000..8f590a9cb0482621bc1970ffb72a10e1b171f870 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b56f8016cefab230e1b32adb86a5deb4049d0022e127d562f2d1718b1f80d045 +size 11475 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..94ab3ff908cfe8a8d72bd354ed7c5b1b807a0458 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6c4cd07e942122c4ace337e25cc6d9c651c49f92 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BLOCKS_GREEN_ELEMENTS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_EXTRA.dat b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..0b5f357649aa8333e479881c559c5ac46eaddbec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_EXTRA.png b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_EXTRA.png new file mode 100644 index 0000000000000000000000000000000000000000..a4d2b7ed08c6dc3017ca97832a412816ed2b4b3e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_EXTRA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33ce3218795f89b379bb1eb5e9cdc6c744d98056f297aba72b508718ff2c67dd +size 42143 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_LOCALIZATION.dat b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_LOCALIZATION.dat new file mode 100644 index 0000000000000000000000000000000000000000..518254cca96ed163aa3283ae54f6b811fa4d4b3f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_LOCALIZATION.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_LOCALIZATION.png b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_LOCALIZATION.png new file mode 100644 index 0000000000000000000000000000000000000000..8540c0388ae41ba938ac8479c60b679d683fcc5f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_LOCALIZATION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea8ff5e03b87a3d6eea6fedb3e78776681884dd905231ec25262ca8cd4ee0a6e +size 91025 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..9f2984603e7173efa9cb36e076570f0d82c1436c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.dat.bak b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..1d126e8a220c49a2f431a2ccb7d86880add7cadb Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.dat.bak differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..78b562b8459e9ffe42ae0e9d079e135d019354ee --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41accee010865c5fe57d2d5852bc29d1bcbeb4d50d4be76ec88eb8817e2d6753 +size 408099 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.pvr b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..843d0f3e9826cd7e538f504f9b520f1e8f1d278a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_1.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6ddd7bdae9ba9b6181773f486e1c452814ad44343fc77ac9c0a60ccc16067dc +size 2420848 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.dat b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..8415788acba745d1195ab60d26ca4c6581319388 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.png b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..2c38ad0ba673a82ff502cffa69f536c641ba3bc4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bcfa02258ca254936ab0de06c09e8aab685a17eb2af509e2f6721feecaec3b3 +size 774700 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.pvr b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.pvr new file mode 100644 index 0000000000000000000000000000000000000000..3c324a3ebe0680b9e72446810448b719d465cb9a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/BUTTONS_SHEET_2.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CAMPING_2020.dat b/Angry Birds Project R/2.0.4/data/images/pc/CAMPING_2020.dat new file mode 100644 index 0000000000000000000000000000000000000000..fade223882003f75fe2211eee7de93e519dd01ae Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CAMPING_2020.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CAMPING_2020.png b/Angry Birds Project R/2.0.4/data/images/pc/CAMPING_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..68a9093cd740597f66253d6295ef12b029c2a125 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CAMPING_2020.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:460dcff85b1325443b89975119f60746ea70ae1adedace7bbced80008a4790bf +size 275075 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CHANNEL_SHEET_0.dat b/Angry Birds Project R/2.0.4/data/images/pc/CHANNEL_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0477a4eaef990a9796500d59fb969e7667331e06 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CHANNEL_SHEET_0.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CHANNEL_SHEET_0.png b/Angry Birds Project R/2.0.4/data/images/pc/CHANNEL_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea943b4191cc83db76608eae32ec9f4ca4f1b32 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CHANNEL_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba65b86e84d496230feb3db482e4d289fa03acbc742ad578606751ceea51c9a8 +size 17787 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.pvr b/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..2e39812b467a97935eed1f62d1aa211424185cd4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CURSORS_SHEET_1.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_BG_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_BG_1.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5f1980ad479bb8d5fbca14fc95c72f4b4b91480f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4b8425f5f47cee50f75335997c722577da94efd57416c8bd93b62f9df82bf5 +size 6361 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..0324c1fe7cc1116e011586f7a5fe4dcff4e12830 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da2428b1c8e6ad6f59c27be57b0b2eb55e83b9c1db4d42d29a6ac2b11a0e813 +size 17893 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ae8fec0291eff4ec5da0634d28a4a725f91868bc --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76e0e8009d2987c997a93aab5c0cd97f0c8826d0a5a199446d17bce426959ea +size 271919 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..50fc363f8163e9e151cb0441d73ce980a329bf3d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_1.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_1.png new file mode 100644 index 0000000000000000000000000000000000000000..960593e0fd5eb76d5d0eb2717c6989163658494f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a6c1443760c9248a90bcf313c8fce97233e84e715711f06a2cd95f1038644ad +size 380781 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_2.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..349c29aa8b38c739aba979130989c6815db59e93 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_2.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_2.png new file mode 100644 index 0000000000000000000000000000000000000000..924914866e29049070ff49a56328731490f45d14 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d00ad9805459ac9567e89b9c489d2370204f6efac69f58fe97297fd5b0500554 +size 279968 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_3.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..daf09db5d2196ed6b685b836e696b015b11fd68c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_3.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_3.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_3.png new file mode 100644 index 0000000000000000000000000000000000000000..686a80c8fc8c054d8f3d79a32befd89f338a8ffc --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_2_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff9e546eed2200e6e6ec88e7d3a8dc839a41dfa838cd0ed30329d09d6d252bae +size 280473 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ecbbbeb727c0d8a5aa6709be5c914ff1aa2f184e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_1.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8df52ce6ad250a52c64dae8686388a71b2d5e1a5 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39df9303c41feb07990a7604fdfc07f7ceb690c84ee89bedbf9d3122951bb17d +size 288585 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_2.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..04f24ee10202350874453a36765bd8533600446a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_2.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_2.png new file mode 100644 index 0000000000000000000000000000000000000000..dadabda5732885ed490c586b6e1db4050cf7d6c1 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f90dd4389c813f53ecad1c6a65198160dc5974bd9fdcb2b3e9420794e4e5387 +size 197628 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_3.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..0cbfcf44e171b5fd46b058384ce4efee79636dc0 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_3.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_3.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_3.png new file mode 100644 index 0000000000000000000000000000000000000000..5e87275ae7047c98c70172d17a057057feab3c17 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_3_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f31c7abc86275d2467f0e0f017c07ef272c76f1d728429f2ceaea92de0cbeef9 +size 325864 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_END.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..0412ba5e6058500ad69b27b867ec9d4636a0f1d3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_END.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_END.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..f564011d92bec62bf121e1244d1e7e4d9017c661 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f65fed03a92449fd1d8467a12950be4cc0d930466d17e5dec174afde9521f44 +size 370334 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..a714ec4605924a9794b1da7a89f17694af60b50a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_INTRO.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_INTRO.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..6053e4da8b12e22d855fe49c349c316a460037f6 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14052debb670d7746e5e699e0265f070f3dbb66c8a63b19fca014abdc032ff5b +size 278586 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_MID.dat b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_MID.dat new file mode 100644 index 0000000000000000000000000000000000000000..8a4a9207a604563c6a24dc5b5ce49701868f0550 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_MID.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_MID.png b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_MID.png new file mode 100644 index 0000000000000000000000000000000000000000..96defcfa5169855a35b0c020f7b5679c90402952 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/CUTSCENES_STORY_W1_MID.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edaf87b6c6159b867fb2fd9f0d2de83b23aa66a785b2e353f63734fac5ecbdc2 +size 465876 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES1.dat b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a56b4096b5daa8c21b2138dc579f819928a4f36b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES1.png b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..e589ae7f95086d59b3bba7ca9e745cea60d7dc2a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4b72c43dc33173a5ef7e088504cd8506d4403d9f6be40dd226700c99fa3e0c8 +size 266140 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES2.dat b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES2.dat new file mode 100644 index 0000000000000000000000000000000000000000..50e18e54503c36a90aa56b88d8747e433f936b04 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES2.png b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES2.png new file mode 100644 index 0000000000000000000000000000000000000000..892fe76ae4e9b460c3f66709cddf5e505abefab8 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:211b94543a774b7761087c6f04008ddeea3cc6be3594698f0085e929abfe564d +size 244639 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES3.dat b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES3.dat new file mode 100644 index 0000000000000000000000000000000000000000..2483ac90a615e72e0d0088e21ff5fcfcb3225b1f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES3.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES3.png b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES3.png new file mode 100644 index 0000000000000000000000000000000000000000..2b9fe6f25ec9f5bf274bdd3a8bb113899c531c32 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99aaef94c0e2ecdaaa95305f928b24ce97c68067de46d9376cee638565e5b147 +size 62067 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES4.dat b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES4.dat new file mode 100644 index 0000000000000000000000000000000000000000..82159ffffd48e954141d08846cb51b110a0c6da1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES4.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES4.png b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES4.png new file mode 100644 index 0000000000000000000000000000000000000000..6add41852a3696c47f6bd147ab3dcd8fe5c28ea7 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecd199e9b00dba0ce20061ec5e05f4419e3c7d341146fafc27b3b1c2cd208440 +size 58198 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_BREAK.dat b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_BREAK.dat new file mode 100644 index 0000000000000000000000000000000000000000..62a368a720537f202f632e698e57b2a055eec28b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_BREAK.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_BREAK.png b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_BREAK.png new file mode 100644 index 0000000000000000000000000000000000000000..fafd2a612ec5aac0c8f9d161fbf5cb6fefbdd776 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_BREAK.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ceaeadc3bee6032c112e91a72854084d3bd46430a9704e8dbb3491b82ed33db +size 114550 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_NEW_DECORS.dat b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_NEW_DECORS.dat new file mode 100644 index 0000000000000000000000000000000000000000..a02e0b541411a0606dec2f228f68dc365286d141 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_NEW_DECORS.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_NEW_DECORS.png b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_NEW_DECORS.png new file mode 100644 index 0000000000000000000000000000000000000000..5d5e2faccfe8a32493b33959d09a90a7c5d591b1 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/EPISODES_NEW_DECORS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:532dfe8fdb02d90e5ec8fb7999e825b50c96bb1bb094654077325a187d9b967a +size 838230 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/EPISODE_2_SM_DECOR.dat b/Angry Birds Project R/2.0.4/data/images/pc/EPISODE_2_SM_DECOR.dat new file mode 100644 index 0000000000000000000000000000000000000000..50ff25251c07d7dc1b3bbc4bf317553e337d9442 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/EPISODE_2_SM_DECOR.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_GRANDPA.dat b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_GRANDPA.dat new file mode 100644 index 0000000000000000000000000000000000000000..e66efcb2398664cd38b336679b035c1ec53b0499 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_GRANDPA.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_GRANDPA.png b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_GRANDPA.png new file mode 100644 index 0000000000000000000000000000000000000000..afb247d6304a69689e94dfc194c4c8e8b978f569 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_GRANDPA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417c778e23c21f132106e8555de1e201e35b9016d2473897ae3d0fd471ff38a7 +size 41978 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..389f975deb60dc545ef0a114141f4d3b59e09d01 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_1.png b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..1864ee06c8bebe1400773ab60b02975e70e41945 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a4c4dd4693d969d26d273f89284a12f085cea1cc34985d8cc48fbe43e6c94ad +size 446162 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_2.dat b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..0272c99635b9e7a7201c6307bf957a28ec7b32d6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_2.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_2.png b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..f371fccc2421abffd20d997b03ecc47ce0f2eab4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/GOLDEN_EGGS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57edc45894ebdbafd74904a09641c34986926c68112aa66ecbe933ffb3216c2 +size 240993 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..c1677e756494c6d1035d8a8e48c8a45e43e467fe Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2c132c7e650c4c890523ec05aeed8f3ca6b3bdd Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.png b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..61cb0c8c97a96df80eb07a6a22927fbb991385d4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bc470c5c2b493384d24f7a4d2dc129915eba3f3ef5b9e74db2cb70a575d6ef4 +size 178694 diff --git a/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..a8e4a32b7b0956a9289fe9b77063aefa4af16db0 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/GREEN_UPSELL_ELEMENTS_1.pvr differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.dat b/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..65d408402889c3338e6d684306646716d9426896 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.dat.bak b/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..127df9f9df3180164100d3fd2762654ff8b8f742 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.dat.bak differ diff --git a/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.png b/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..3ba6f706962538e832c6ac3e8d1cd8a6d05cbbe4 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/images/pc/HUD_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87db1e14886db0b1498eceb34819f456275e0685f9a37f5be3f60394ff80ffb6 +size 297246 diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..cc25e3c1edd35b3f8c19a0114c387c6615c29fcb Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level10.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..fe53488a1c492f7ff59ccd15136534d378e16c86 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level10.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level11.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..eaf8c83477b05e0b1b0fcc07f3c1c6c2f1379311 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level11.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level12.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..131dad33982a59760be2700efd56aa118ee74df1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level12.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level13.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..156979c121f2c2f390f89ca112aa75c2422e39db Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level13.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level14.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..45c68dde4aa9b7f92999495a97d47fd663aa3601 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level14.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level15.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..f55c8f3242869a9f790909e950a7370b949e9a84 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level15.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level2.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..ce6d40bc83e24cf91fbc4b06479c33e6c431bd23 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level3.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e47d73714f9a4647665a00bd89ce92315b1a510 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level4.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..b73af4969b08355eced129bb29beb72f60805448 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level4.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level5.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..51a0c82f5baa15bbd3fb72a7d50ef8961b41f662 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level5.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level6.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..5aaf24e216f670e5739b89d8616c481ab0cf66e9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level6.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level7.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..4eba1487d8ecf20610543365f1cf581ddcedec33 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level7.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level8.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f981759b247651d8e20d2cd0c55798892b3f549 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level8.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level9.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6efa60a1a027041694568be9325326524d2a579 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 0 - Meet The Flock/Level9.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..4f632a3967d5614985e7ebc5f4bdc979faed7264 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..ddfa6a2d8775e1d1a1970436abc56ad5d168f848 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..aa5bce9ad631e7c94eead815b3e191f9499118a6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..d44611aab3b94b9f11de2f7095cdef06b7476f99 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d20810f0be940e4147a8656e1b6d9182a45966d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..1de68c8c801eed13f19e0dae21e3fbba1e4ebff9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..2da55fff114dc25b490187e52eecdae1eba75146 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..2e509464923504220a8caee1011c18be4479f4fd Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..10f6850080125e02a61019f7cb845d8585288c2b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..36e3b6cfc291da32df29baf1a32126657a437969 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..e5fc48ca2a0b0d9f812a37bd7db320dde79b7f4e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e4a6151d0f252403cb251646b7253f5e99e1ddf Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..7448363330980c03f7c2ac06c4e1b3aeab46c586 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..ac3294d4b8f4ab35d5f48020eca4dbc11c1d8672 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..0307c7b6cd2cb44a575b3e6f2162a983b7b421c2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e77ad7715ce5bf934c8beeeb4463d8fd284c9e8 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..10ada6f09a8cc6695e18c11319028d88c5276217 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..8b40146941c2c715fb18397662cd49d2d87c2e41 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef09371f601861af7b4f47d2a1fc7b136778fccb Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..cab4ce85556f42c44245af3f002b522b4de2aade Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..192e9078530efd9872d29f35c915f38fde64da0c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9f39eed155b388bcd513263a01b9780535cac79 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..51e534de8b45d997f86dfaf971488b85848e5b30 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua new file mode 100644 index 0000000000000000000000000000000000000000..00c48d58af236d10e3da31fc7b3b7ab7f740add6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..886932fcbf5a50a875a9580f75f61cbe2d6566b5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..63d0974bb97b723154469e7e0219073d09858d4a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_10.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..564999349e0b43d422fc589d589cb4caf8838d70 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_10.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_11.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..343992820044159c4ed685710b50e95848510f43 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_11.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_12.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..5a2779f97d462644fe25a04293577a3c33e050a6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_12.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_13.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..2e9052793e112dcedd252a33a3aaf3958ac57b47 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_13.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_14.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..4727036306b17b33da469716a351f470a4d42888 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_14.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_16.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..ebe5b9e0306f7e847166c65eb23926374efca343 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_16.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_17.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..4ab9fa32b7e44b7466c83d7b9d445226db8c8358 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_17.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_18.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..e472095fbe1332598386288dfe0a077cb315f177 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_18.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_19.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..291d91a580c089cf7fd78e6611a60bed5b01ac68 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_19.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_2.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..26bde5bf0bb1851e8e146dbc9fe69cc73e9126db Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_20.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..bf5e1c1b99348015318c2ef44f61e6ea2d7f74c9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_20.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_21.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..eb0840628db4ccaed6da380872feb28d2ead1b56 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_21.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_22.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..b922d0d86167fa6169b92a575d1b1037b77ebe4a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_22.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_23.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9b2557059617481ae23539bf5dc68f3d41f8d88 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_23.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_24.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..1c1e14196db1771f4a7a966e582c910f8c002d1a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_24.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_25.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c763cb81373669d330078a0157fcf7afc8d0128 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_25.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_26.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..0cdd2328188538d0b89dcafeebe1bdc98abb939b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_26.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_27.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..e07fac9017cb897c5dbbde31be3a8e26cb0c61e2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_27.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_28.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..e3abcb9b68743f4b01ed38c1effed2aface28212 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_28.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_29.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ad5db56c86cc6fc8906d9b7371d9d597e22083a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_29.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_3.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcbbc11e9d2de0d4c69bc3619c6889597bd3f2c7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_4.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..633784ebad631f3e3443106370e4cbc0de8a74d5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_4.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_5.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7c06dfbad67dfbf2598dbf6ac803b3177716d1e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_5.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_6.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..3355305dca4143829fbc0f3d517f8848aad1d22a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_6.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_7.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..03a83e0c593ef64c102f61abadcd3fe69a52a0cd Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_7.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_8.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..c0db92badbc3f1a647ec4105fdadcaba5e88946b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_8.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_9.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..a240062ade2158d14d8e72c1fd4c2d801d9d152b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_9.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..4402e2458fce544a012ff3fc1808b4974e1f5068 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua new file mode 100644 index 0000000000000000000000000000000000000000..36b00fa190ab2c25bb2577dbe1baca8ab7c2dcd3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fa55d5ef86937650f9049a14276e2dfab643991 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..849ec8a4ced5d9f83a03324aa995ee77490226c0 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_10.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..75da1359aa7c7cfe07c8fec9e1e7392a337cc2f4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_10.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_11.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..73d50a7e5004b862af6789bdc761bfd8f3eb0c91 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_11.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_12.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..2826ccb89112ac80c55e7d073f5ba06bda6157ab Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_12.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_13.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..c828bbf0df3712cbd8d04ea27db5b201f0d9c9b4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_13.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_14.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..8b79d3e23321ac10c0aee2500c8dd4199bc6da80 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_14.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_16.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..eacc74f810458f3f2d390cf47e08aca9dafafbc4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_16.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_17.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..d3ede6a3f4a92e52a89e059fb813f3be0a2d3a7a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_17.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_18.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..812a0eb1b14c4a63fd79cbace0be57695319bb1d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_18.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_19.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..de16908f9cab7cb2bcebc76139b6cabe5ff8c9f7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_19.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_2.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..6a359df7762ff3414669092191961bef78588d47 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_20.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..681709c3b58e9f15dfc2f8a3513654d076854ce7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_20.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_21.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..5539f6c86f23511bd6816574f65eb33b45078315 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_21.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_22.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..65a68e6e8b2d7b2a13f3a13dc79c0e9985759a2c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_22.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_23.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..d370aafac692406d6d544da66172ec923a0f36b9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_23.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_24.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..080b8c229dc75d1c434ec8583ff8b7ef4f117a0e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_24.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_25.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..34503883caeadbe3dd6b7b90e9314e887c6b09a5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_25.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_26.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd4ee2abcb24ea9550234210a46338f34bcbfaf0 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_26.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_27.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..9687279dc04b3003dc332c9c7dc9e8bc63f6b09c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_27.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_28.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..3e1cdb4b873055733262b204102a0e71df174079 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_28.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_29.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f1284520c8ab53c37c2402875311b3aa61a1b22 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_29.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_3.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..e25193dd1ee44e35f759c3c988835f942b854260 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_4.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..88e913b6cc80aae2916874decbd15b9519b55187 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_4.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_5.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..b784988ae759c38840c69bb3587760fc6cc109a6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_5.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_6.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef61caac51554d04940f534ecd09c78811181ff8 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_6.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_7.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..252f7c21377842c887acd3167ab06ed64e48dd06 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_7.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_8.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..e34217022e6dde829040af596c2bf67bef3f47be Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_8.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_9.lua b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..b3992f0574ea899f508f8b95998a8842f69179f3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode 3 - Sweet Swines/W3_9.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua new file mode 100644 index 0000000000000000000000000000000000000000..22de39331bf50d4023243bfdedb2016de3ff3f3b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD1.lua new file mode 100644 index 0000000000000000000000000000000000000000..09cf944b52ead393f8d336a813350faac6557e8d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD2.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD2.lua new file mode 100644 index 0000000000000000000000000000000000000000..d9e39556088fe14ff3485952a93e6b22d539e8e1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD3.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD3.lua new file mode 100644 index 0000000000000000000000000000000000000000..aac9ddff7177ab4bf08ca0482a485ac55c3667f6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelD3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_1.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b2879adb16a6eb4813f31e06e35df623cef0c130 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_1.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_10.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..c84a24288e6e2d5ec7a3205d0550a2ef1e0c6ddf Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_10.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_11.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..ffbe78529c87a7782b325a4253cf51a4828956b5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_11.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_14.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd69864edf053cbb1e6595601883735745cb97f4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_14.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_2.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..1049ac6c4d1143053bb7a90dc1b0d3e1d16b951f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_3.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..983d1fbb9b359fa00391dcea661e5a9df3ffcb76 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_4.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..cabb5ecb9bc3a57d2463f091ff473c655b7c3ab3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_4.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_5.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..94b94fdfc8b3b04b0b62fde678d10b2ea3f17d6a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_5.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_6.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..1bf0ee3b085efcd0bbeaf00ff8a737accc5ed624 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_6.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_7.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..7fe14d78f7e632c8c0932818459d5c2102e873ed Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_7.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_8.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..a0227b90de11718d25941b5685e13f387623d3c3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_8.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_9.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..55d281660033147d347a6abe5eefe7c58a1d3e5e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_9.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua new file mode 100644 index 0000000000000000000000000000000000000000..b85baaf84e12c69d142438e9b570e32ce650d137 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua new file mode 100644 index 0000000000000000000000000000000000000000..44be569baf10176e604346cfcbf1fc46b68d7c65 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua new file mode 100644 index 0000000000000000000000000000000000000000..e18022f4df8535e50cdc8c9bf7a2707e54058fe5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua differ diff --git a/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua new file mode 100644 index 0000000000000000000000000000000000000000..e55d870c671d74feff7684c3570262cca9860c04 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua differ diff --git a/Angry Birds Project R/2.0.4/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/2.0.4/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/2.0.4/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/2.0.4/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..dac36c9732aa434615dba19e93f9f3189de647d7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/2.0.4/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/2.0.4/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/2.0.4/data/localization/angry.exe b/Angry Birds Project R/2.0.4/data/localization/angry.exe new file mode 100644 index 0000000000000000000000000000000000000000..8be4dfa95adff797fcac14848d2f3594f976e4db Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/localization/angry.exe differ diff --git a/Angry Birds Project R/2.0.4/data/localization/english.txt b/Angry Birds Project R/2.0.4/data/localization/english.txt new file mode 100644 index 0000000000000000000000000000000000000000..102990851b22193fbd8bd0a49d1a7c8f8de9ae2e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/localization/english.txt @@ -0,0 +1,258 @@ +SK_SELECT=Select +SK_EXIT=Exit +SK_OK=Ok +SK_YES=Yes +SK_NO=No +SK_CONTINUE=Continue +SK_HELP=Help +SK_ERASE=Erase +TITLE_CHOOSE_LANGUAGE=Choose Language +ITEM_ENABLE_SOUNDS_QUERY=Enable sounds? +ITEM_ENABLE_VIBRATION_QUERY=Enable vibration? +ITEM_HIGH_SCORES=High Scores +ITEM_HELP=Help +ITEM_ERASE_DATA=Erase data +ITEM_ERASE_HIGHSCORE=Erase highscores +ITEM_ARE_YOU_SURE=Are you sure? +ITEM_SFX_ON=SFX: ON +ITEM_SFX_OFF=SFX: OFF +ITEM_MUSIC_ON=Music: ON +ITEM_MUSIC_OFF=Music: OFF +ITEM_VIBRATION_ON=Vibra: ON +ITEM_VIBRATION_OFF=Vibra: OFF +ITEM_CONTINUE_GAME=Continue game +ITEM_PAUSE=Pause +ITEM_LEVEL_SELECTION=Level selection +ITEM_OPTIONS=Options +MI_PLAY=Play +MI_SETTINGS=Settings +MI_ABOUT=About +MT_MORE_GAMES=More Games! +MI_EDIT=Edit +MT_SETTINGS=Settings +MT_ABOUT=About +MT_LEVEL_SKIPPED=LEVEL SKIPPED! +MT_LEVEL_COMPLETE=LEVEL CLEARED! +MI_CONTINUE=Continue +MT_PAUSE=paused +MT_LEVEL_FAILED=LEVEL FAILED! +MI_RESTART=Retry +MI_RETRY=Retry +MI_BACK=Back +MI_SCORE=Score +MI_HIGH_SCORE=Highscore +MI_OK=OK +TEXT_SELECT_LEVEL=Select level +TEXT_FB_LEVELS_HINT_TITLE=Discord bonus levels! +TEXT_FB_LEVELS_HINT=Tap the yellow button above\0A to visit the Angry Birds Project R Discord Server. Talk with people and hear the latest news! +TEXT_NETWORK_ERROR_TITLE=Network error. +TEXT_NETWORK_ERROR=A connection error has occurred, please try again. +TEXT_LIKE_CONFIRMED_TITLE=Thank you! +TEXT_LIKE_CONFIRMED=Be sure to follow the development! +TEXT_EXIT_CONFIRM=Are you sure you want to quit? we'll miss you! +MI_EXIT=Quit +MI_AUDIO=Audio +MI_VIBRA=Vibra +MI_MENU=Menu +MI_LOADING=Loading... +MI_NEW_HIGHSCORE=New Highscore! +TEXT_BEST_SCORE=Previous Best +MI_MORE_GAMES=Check out other great games from Rovio! +HELP_TITLE_HOWTOPLAY=How To Play +HELP_TITLE_BLUE=Blue Groupie +HELP_TITLE_YELLOW=Yellow speedster +HELP_TITLE_BLACK=Black Blaster +HELP_TITLE_GREEN=Eggy Bomber +HELP_TITLE_SPECIAL=Special Moves +HELP_TEXT_HOWTOPLAY_1=Launch the birds by using the slingshot. +HELP_TEXT_HOWTOPLAY_2=Pop all of the pigs to clear the level! +HELP_TEXT_BLUE=Strong against ice blocks +HELP_TEXT_YELLOW=Strong against wood blocks +HELP_TEXT_BLACK=Strong against stone blocks +HELP_TEXT_GREEN=Fat & Lazy +HELP_TEXT_SPECIAL=Activate special move by tapping the screen while the bird is flying in the air +HELP_SUBTITLE_SPECIAL=Special move: +HELP_SPECIAL_BLUE=Group Attack +HELP_SPECIAL_YELLOW=Turbo Boost +HELP_SPECIAL_BLACK=Explosion +HELP_SPECIAL_EGGY=Egg Grenade +TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CHILLINGO=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CLICKGAMER_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT=v2.0.4\0A\0A 2022-2023 Jeremiah Plays Again, The AB Characters are trademarks of Rovio Entertainment Ltd and Sega. They are protected by international copyright laws. A mod developed by Jeremiah Plays Again and published by ABPlay.\0AAll rights reserved to their owners. Angry Birds Power Trouble and Angry Birds Adventures by NickDoesStuff and Tcd729 respectively. +TEXT_ABOUT_PALM=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM_LITE=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID=Angry Birds Project R\0Av1.0.1\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_HD=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_2=© Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_BETA=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PC=TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\Beta 3.3\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_CREDITS=CREDITS\0A\0A- Director -\0AJeremiah Plays Again\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AJeremiah Plays Again\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0ANickDoesStuff\0AMason The Maniac\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0AArthumgo\0ANopenop!\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0Axxxman360\0ATcd729\0A\0A- Music And Sound Effects -\0AAri Pulkkinen\0AThe Default Pro\0Aflamerfan2000\0ATour De Pizza\0ASEGA\0A\0A- Level Designers -\0AJeremiah Plays Again\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0AYan_IDK24\0ATcd79\0A\0A- Dev Build Testers -\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0Asnowy_outbreak\0ALogic\0ATcd729\0AMarisa Kirisame\0AAssasain 2.0\0Aflamerfan2000\0A\0A- Ideas And Other Characters -\0ANickDoesStuff\0Aepikbirb\0Asome guy\0AAssasain 2.0\0ATcd729\0ATour De Pizza\0A\0AShoutout to all of the public beta players and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull:\0A\0AThanks For Playing! +TEXT_CREDITS_PC=CREDITS\0A\0A- Changelog -\0AA new background for Meet The Flock\0AMinor alteration for Stella's ability\0ABug fixes\0A\0A- Director -\0AJeremiah Plays Again (Chef Snatcher)\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AChef Snatcher\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0AKeymil Animations\0AMason The Maniac\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0A\0A- Programming Help and Other Coding -\0AKeymil Animations\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0AAndsy\0Axxxman360\0A\0A- Music -\0AAri Pulkkinen\0ARodmod\0AIlmari Hakkola\0AHenri Sorvalli\0ADavid Schweitzer\0AWix Games\0ALaura Shigihara\0AJahn Davis\0AFelipe Herrera C.\0AMichael Staple\0AHollie\0A\0A- Level Designers -\0AChef Snatcher\0APan Susel\0ATheo!\0AAngeloMineBoy15\0AAndsy\0A\0AShoutout to all of the beta testers and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0AKeymil Animations\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull: +TEXT_CREDITS_ORIGINAL=ORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS_AB=Powered by Box2D +TEXT_CREDITS_ADDITIONAL=ADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS=THANKS\0A\0A(todo) +TEXT_PERFECT=Total destruction - three stars in all levels!\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_PERFECT_LP1=Destroy all pigs to clear the level! +TEXT_PERFECT_LP2=Total destruction - three stars in all levels!\0A\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_COMPLETE=Congratulations for completing the episode!\0A\0AThere's room for improvement though...\0ANow try to get three stars in all levels! +TEXT_COMPLETE_LP1=Congratulations for completing all levels in the episode!\0A\0AGet three stars in all levels to become an honorary Angry Bird! +TEXT_COMPLETE_LP2=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to prove yourself to The Mighty Eagle! +TEXT_UPSELL=More levels, more FUN! +TEXT_UPSELL_LITE=105 levels, 106% FUN! +TEXT_UPSELL_BUTTON=BUY HERE +TEXT_UPSELL_BUTTON_2=Get it Here! +TEXT_LP_NAME_1= Meet The Flock +TEXT_LP_NAME_2= Breakfast Brawl +TEXT_LP_NAME_3= Moral Mixup +TEXT_LP_NAME_4= Sweet Swines +TEXT_LP_NAME_5= Rebuilding Time +TEXT_LP_NAME_6= Big World Adventure +TEXT_LP_NAME_7= Road Hogs +TEXT_LP_NAME_8= Battle For The Moon +TEXT_LP_NAME_9= Mirror Curse +TEXT_LP_NAME_10= Tower Of Misfortune +TEXT_LP_NAME_SURF= Summer Madness +TEXT_LP_NAME_EGGS=Golden Eggs +TEXT_SELECT_LP=Select Episode +TEXT_LITE_BUY_BUTTON=FULL VERSION +TEXT_COMING_SOON=Coming soon +TEXT_CONGRATULATIONS=Congratulations! +TEXT_HIGHSCORE_SPRITE=NEW_HIGHSCORE_EN +TEXT_SCORE_SPRITE=SCORE_EN +TEXT_PLAY_SPRITE=MENU_PLAY_EN +TEXT_SPLASH_LOADING_SPRITE=LOADING_EN +TEXT_GOLDEN_EGG_HELP=Search throughout the game to find hidden golden eggs, each one unlocks a new secret level! +FONT_HIGHSCORE=FONT_CURRENT_HIGHSCORE +FONT_BASIC=FONT_BASIC +FONT_MENU=FONT_MENU +FONT_SPACE_SCORE_BIG=FONT_SPACE_SCORE_BIG +TEXT_EAGLE_HIGHSCORE=Eagle Highscore: +TEXT_EAGLE_SCORE=Eagle Score: +TEXT_EAGLE_TOTAL_DESTRUCTION=TOTAL DESTRUCTION! +TEXT_MIGHTY_EAGLE_RETURNS=Mighty Eagle is back in business! +TEXT_EAGLE_UPSELL=Having trouble finding those Golden Eggs? +TEXT_EAGLE_UPSELL2=The Hint List is here to help!\0APress the right button at the bottom to check it out! +TEXT_REMOVE_ADS_UPSELL=Go ad-free. +TEXT_REMOVE_ADS_UPSELL2=One time payment. +TEXT_POWERUP_RECEIVED_SLINGSCOPE=Sling Scopes gained +TEXT_POWERUP_RECEIVED_BIRDQUAKE=Birdquakes gained +TEXT_POWERUP_RECEIVED_KINGSLING=King Slings gained +TEXT_POWERUP_RECEIVED_SUPERSEEDS=Power Potions gained +TEXT_POWERUP_RECIEVED_BUNDLE=Power-up bundles received +TEXT_POWERUP_PARENTAL= You have now disabled Power-ups. You can enable them again at any time. +TEXT_POWERUP_PARENTAL_LOCK= You currently have Power-ups disabled. Go to the title screen settings to enable them. +TEXT_SHOP_PRICE=Price: +TEXT_SHOP_KING_SLING_DESCRIPTION=Upgrade to the almighty King Sling for maximum power and velocity! +TEXT_SHOP_SUPER_SEED_DESCRIPTION=Supersize your bird! Power Potions turn any bird into a pig-popping giant. +TEXT_SHOP_BIRDQUAKE=Rattle the battle! Use the Birdquake to bring pigs' defenses crashing to the ground! +TEXT_SHOP_SLING_SCOPE_DESCRIPTION=Looking for the perfect shot? Use Sling Scope Laser Targeting for pinpoint precision! +TEXT_SHOP_ALL-IN-ONE-BUNDLE=This ultimate combo pack gives you all four power-ups! +TEXT_SHOP_PURCHASE=Purchase +TEXT_FREE_POWERUPS_TITLE=Angry Birds now has power-ups! +TEXT_FREE_POWERUPS=Enjoy these 20 free power-ups, and come back tomorrow for more rewards! +TEXT_FREE_FREE=FREE +TEXT_KING_PIG_MODE_KING_PIG_TAGLINE=your gay +TEXT_KING_PIG_MODE_BIRD_FRENZY_TAGLINE=Beat the level with unlimited birds! +TEXT_KING_PIG_MODE_TOTAL_DESTRUCTION_TAGLINE=Tap on the level to explode it! +TEXT_KING_PIG_MODE_MATERIAL_MIX-UP_TAGLINE=Two materials have been swapped! +TEXT_MIGHTY_EAGLE_RESTORE_QUERY=Do you wish to restore Mighty Eagle from your iTunes account? +TEXT_MIGHTY_EAGLE_PURCHASE_QUERY=Mighty Eagle has not been purchased yet. Do you wish to do that now? +TEXT_MIGHTY_EAGLE_RESTORE_PROCESSING=Restoring Mighty Eagle... +TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS=Mighty Eagle has been successfully restored. +TEXT_MIGHTY_EAGLE_RESTORE_FAILURE=Restoring Mighty Eagle failed. Please, try again. +TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY=Mighty Eagle is already active, no need for restoration. +TEXT_MAGICPLACES_PP_UNLOCK=To earn rewards with Magic Places, you need to agree to our privacy policy +TEXT_MAGICPLACES_PP_AGREE=Button: I Agree +TEXT_MAGICPLACES_PP_WOULD="Angry Birds" would like to use your ip address +TEXT_MAGICPLACES_PP_DATAPROVIDED=Magic Places location data is provided by CloudMade +TEXT_MAGICPLACES_NOLOCATION_NOSERVICES=Location services are not allowed. +TEXT_MAGICPLACES_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_NOSERVICES=Location services are turned off +TEXT_MAGICPLACES_AND_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_GOTOSETTINGS=Button: Go to settings +TEXT_MAGICPLACES_BIRD_YOUAREHERE=You are here! +TEXT_MAGICPLACES_POWERUPS_GAINED=%s %s gained +TEXT_MAGICPLACES_POWERUPS_EACHGAINED=%s of each Power Up gained! +TEXT_MAGICPLACES_POWERUPS_GETMORE=Go to Magic Places to unlock more Power Ups +TEXT_MAGICPLACES_POWERUPS_RAISEFLAG=Button: Raise a flag! +TEXT_MAGICPLACES_TUTORIAL_DISCOVER=Visit Magic Places to earn power-ups! +TEXT_MAGICPLACES_TUTORIAL_BROWSE=Browse the map to find Magic gift boxes and earn power-ups! +TEXT_MAGICPLACES_NOTIFICATION_STANDARD=Ca-caw! You're close to a Magic Place +TEXT_MAGICPLACES_NOTIFICATION_VARIATION1=Ta-daa! Magic Places are nearby, make a visit! +TEXT_MAGICPLACES_NOTIFICATION_VARIATION2=Woohoo, something Magic is in the air! +TEXT_MAGICPLACES_PP_MESSAGE=Joining the hunt for power-ups will give Angry Birds access to your location and agree with the privacy policy. +TEXT_MAGICPLACES_KP_MESSAGE=Try out our new King Pig mode +TEXT_MAGICPLACES_POWERUPS_NOPLACES=There are no magic places nearby. Search a little further! +TEXT_MAGICPLACES_SETTINGS=When you turn on Magic Places notifications, your device will track your location, even if the application is not running. +TEXT_MAGICPLACES_LONG_DESCRIPTION=Discover free power-ups at real-world locations! To use this feature, you need to enable access to your location and agree to Rovio's privacy policy and End User License Agreement (EULA). +TEXT_MAGICPLACES_HOW_MAGIC_WORKS=Magic uses your location to determine if you are in a Magic Place. +TEXT_MAGICPLACES_SERVICE_TOGGLE=You can turn location services on/off in your device settings. +TEXT_MAGICPLACES_SERVICE_COMBINATION=Location data may be combined with other Rovio services in the future. +TEXT_MAGICPLACES_FAQ=More info is available in the FAQ (rov.io/MagicPlacesFAQ) +NOTIFICATION_1=Chirp!! You're missing out on stars! Come and get them! +NOTIFICATION_2=Ca-caw! The Pigs have the Eggs! Go stop em! +NOTIFICATION_3=Squawk! We miss you! Come play! +NOTIFICATION_4=Haven't seen you in a long time! Time to pop some pigs! +TEXT_SHOP_ANDROID_DAILY_PURCHASE_LIMIT=You've reached the daily purchase limit. Come back tomorrow to buy more! +TEXT_ROVIO_ID_INTRODUCTION=Sign in now to save your progress and sync it across devices! +TEXT_ROVIO_ID_SAVING_PROGRESS=Saving game progress... +TEXT_ROVIO_ID_SAVING_FAILED=Saving game progress...failed. +TEXT_ROVIO_ID_POP-UP_TITLE=Rovio Account +TEXT_ROVIO_ID_SIGN_OUT=Sign out as: %s? +TEXT_ROVIO_ID_SIGN_IN=Sign in +TEXT_ROVIO_ID_SIGN_UP=Sign up +TEXT_ROVIO_ID_EMAIL_ADDRESS=Email +TEXT_ROVIO_ID_PASSWORD=Password +TEXT_ROVIO_ID_NEW_PASSWORD=New password +TEXT_ROVIO_ID_FORGOT_PASSWORD=Forgot your password? +TEXT_ROVIO_ID_not_have_account_yet=Don't have an account yet? +TEXT_ROVIO_ID_SIGN_UP_NOW=Sign up now! +TEXT_ROVIO_ID_BIRTHDAY=Birthday +TEXT_ROVIO_ID_DATE_FIELD_MONTH=Month +TEXT_ROVIO_ID_DATE_FIELD_DAY=Day +TEXT_ROVIO_ID_DATE_FIELD_YEAR=Year +TEXT_ROVIO_ID_MONTH_JAN=Jan +TEXT_ROVIO_ID_month_feb=Feb +TEXT_ROVIO_ID_month_mar=Mar +TEXT_ROVIO_ID_month_apr=Apr +TEXT_ROVIO_ID_month_may=May +TEXT_ROVIO_ID_month_jun=Jun +TEXT_ROVIO_ID_month_jul=Jul +TEXT_ROVIO_ID_month_aug=Aug +TEXT_ROVIO_ID_month_sep=Sep +TEXT_ROVIO_ID_month_oct=Oct +TEXT_ROVIO_ID_month_nov=Nov +TEXT_ROVIO_ID_month_dec=Dec +TEXT_ROVIO_ID_AGREE_BY_SIGN_IN=By signing up, you are agreeing to our EULA and Privacy Policy. +TEXT_ROVIO_ID_EULA=EULA +TEXT_ROVIO_ID_PRIVACY_POLICY=Privacy Policy +TEXT_ROVIO_ID_FORGOT_PASSWORD-RESET=To reset your password, enter the email address associated with your account below. +TEXT_ROVIO_ID_RESET_PASSWORD_TITLE=Reset password +TEXT_ROVIO_ID_EMAIL_SENT=Email has been sent! +TEXT_ROVIO_ID_RESET_PASSWORD_MESSAGE=Please, check your email for password reset information. +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_TITLE=Thanks for signing up! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_SENT=A verification email is sent to: +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio within 48 hours. +TEXT_ROVIO_ID_SORRY_TITLE=Sorry! +TEXT_ROVIO_ID_SIGN_UP_FAILED_MESSAGE=We could not create your account. +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_TITLE=You have not verified your account yet! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_RESENT=A verification email is re-sent to: +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio. +TEXT_ROVIO_ID_VALIDATE_PASSWORD=Please, enter a password. +TEXT_ROVIO_ID_VALIDATE_PASSWORD_INVALID=Password is too short. +TEXT_ROVIO_ID_VALIDATE_EMAIL_INVALID=Please, enter a valid email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL=Please, enter your email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL_RESERVED=This email address is already taken. +TEXT_ROVIO_ID_VALIDATE_EMAIL_FALSE=Wrong email +TEXT_ROVIO_ID_WRONG_PASSWORD=Wrong password +TEXT_ROVIO_ID_PASSWORD_HELP_TEXT=Password must contain 8 characters at the minimum. +TEXT_ROVIO_ID_WRONG_ACCOUNT=Sync failed. This device already uses another account. +TEXT_ROVIO_ID_SIGN_OUT_QUERY=Your progress will be saved online only when you are signed in. Do you want to sign out as: +TEXT_ROVIO_ID_ACCOUNT_DESCRIPTION=Rovio Account lets you automatically save your game progress online and synchronize between devices. Currently, Rovio Account is available for Angry Birds on iOS, but it will be available on other Rovio games and platforms in the future. +TEXT_ROVIO_ID_OR=or +TEXT_ROVIO_ID_SIGNED_IN_AS=You are signed in as +TEXT_CREDITS_ZIGI=Magic Places not powered by Zigi. diff --git a/Angry Birds Project R/2.0.4/data/scripts/ABIDUtils.lua b/Angry Birds Project R/2.0.4/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/ABSync.lua b/Angry Birds Project R/2.0.4/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/ChallengePage.lua b/Angry Birds Project R/2.0.4/data/scripts/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/PC_DRM.lua b/Angry Birds Project R/2.0.4/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/achievements.lua b/Angry Birds Project R/2.0.4/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/audio.lua b/Angry Birds Project R/2.0.4/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..5a3c91e9af0441b54228a0dfcf1dc1ad109e6d4b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/blocks.lua b/Angry Birds Project R/2.0.4/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..32690ea619ab02ed88e6de11559e8ac220500039 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/challenges.lua b/Angry Birds Project R/2.0.4/data/scripts/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/challenges.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/challenges/ChallengePage.lua b/Angry Birds Project R/2.0.4/data/scripts/challenges/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/challenges/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/challenges/challenges.lua b/Angry Birds Project R/2.0.4/data/scripts/challenges/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/challenges/challenges.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/cutscenes.lua b/Angry Birds Project R/2.0.4/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6a1001ab3c5497b34cf070da3d0b4b5d08cd4f4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/dynamic/default.lua b/Angry Birds Project R/2.0.4/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/episodes.lua b/Angry Birds Project R/2.0.4/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..71121df03844005be9efe4558a947291e74170ef Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/episodes_free.lua b/Angry Birds Project R/2.0.4/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/game_conf.lua b/Angry Birds Project R/2.0.4/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..5df0120a71cd1bc15b04b47319485fc7d113f80e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/2.0.4/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/iap.lua b/Angry Birds Project R/2.0.4/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/item.lua b/Angry Birds Project R/2.0.4/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/item.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/level_scripts.lua b/Angry Birds Project R/2.0.4/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..ac7c23b0fc1bbb0656090875048300c5352a5f1c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/loadgroups.lua b/Angry Birds Project R/2.0.4/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..af1ea39b22cfbb6a12edff714c069ca749ac4be4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/loadgroups.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menu_flow.lua b/Angry Birds Project R/2.0.4/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus.lua b/Angry Birds Project R/2.0.4/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..60aeca854ac9129122e3875ec92b7e901ca2c8b6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/ChallengePage.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/accordion.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/challenges.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/credits.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98eb89392c574acf02dc9915df85b67ef889906 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/ep9_level_selection.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/ep9_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..f9a855cc0b29f79e7a350e536224d7b2be9e51b0 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/ep9_level_selection.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black.lua new file mode 100644 index 0000000000000000000000000000000000000000..f262a3d256e1c56f7a97d2681818888e5311cc3f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black2.lua/episode_selection_crosspromo_black.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black2.lua/episode_selection_crosspromo_black.lua new file mode 100644 index 0000000000000000000000000000000000000000..631ab19f249d756dd17c8cf77c4c4265aec24e43 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black2.lua/episode_selection_crosspromo_black.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black2.lua/episode_selection_crosspromo_black2.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black2.lua/episode_selection_crosspromo_black2.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a506bdf64f16714865f6d138d6d62d180b2082e --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_crosspromo_black2.lua/episode_selection_crosspromo_black2.lua @@ -0,0 +1,756 @@ +EpisodeSelectionCrossPromoBlack = ui.Frame:inherit() +function EpisodeSelectionCrossPromoBlack.init(_ARG_0_) + _ARG_0_:loadStarWarsResources() +end +function EpisodeSelectionCrossPromoBlack.onEntry(_ARG_0_) + loadAssets({ + "ABSW_UPSELL" + }) + _ARG_0_:createDecorationSprites() + _ARG_0_:startStarWarsAnimation() +end +function EpisodeSelectionCrossPromoBlack.onExit(_ARG_0_) + releaseAssets({ + "ABSW_UPSELL" + }) +end +function EpisodeSelectionCrossPromoBlack.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_ABSW" then + eventManager:notify({ + id = events.EID_SW_CLICKED + }) + end +end +function EpisodeSelectionCrossPromoBlack.layout(_ARG_0_) + _ARG_0_.movement_scale_factor = screenWidth / 1024 + if g_isPC and screenHeight < 900 then + end + if deviceModel == "android" and screenWidth >= 1024 and (customerString == "nook" or isHDVersion) then + end + _ARG_0_.parent:getChild("left").scaleY, _ARG_0_.parent:getChild("left").scaleX, _ARG_0_.parent:getChild("right").scaleY, _ARG_0_.parent:getChild("right").scaleX = screenHeight / 1536, screenHeight / 1536, screenHeight / 1536, screenHeight / 1536 + left_sizex, left_sizey = _G.res.getSpriteBounds(_ARG_0_.parent:getChild("left").image) + right_sizex, right_sizey = _G.res.getSpriteBounds(_ARG_0_.parent:getChild("right").image) + if deviceModel == "android" and not isHDVersion and screenWidth > 800 and customerString ~= "nook" and customerString ~= "archos" then + elseif g_isPC and screenWidth < 1200 then + end + _ARG_0_.parent:getChild("left").x, _ARG_0_.parent:getChild("right").x = (screenWidth - 900) / 2, screenWidth - (screenWidth - 900) / 2 + _ARG_0_:getChild("star_wars_button").scaleY, _ARG_0_:getChild("star_wars_button").scaleX, _ARG_0_:getChild("star_wars_text").scaleY, _ARG_0_:getChild("star_wars_text").scaleX = screenHeight / 1536, screenHeight / 1536, screenHeight / 1536, screenHeight / 1536 + _ARG_0_:getChild("star_wars_text").x = screenWidth * 0.5 + _ARG_0_:getChild("star_wars_text").y = screenHeight - _ARG_0_:getChild("star_wars_text").h * 0.7 * (screenHeight / 1536) + _ARG_0_:getChild("star_wars_button").x = _ARG_0_:getChild("star_wars_text").x + (_ARG_0_:getChild("star_wars_text").w * 0.5 + _ARG_0_:getChild("star_wars_button").w * 0.5) * (screenHeight / 1536) + _ARG_0_:getChild("star_wars_button").y = screenHeight - _ARG_0_:getChild("star_wars_text").h * 0.7 * (screenHeight / 1536) + _ARG_0_:getChild("luke").scaleY, _ARG_0_:getChild("luke").scaleX = screenHeight / 1536, screenHeight / 1536 + _ARG_0_:getChild("luke").x = _G.math.floor(_ARG_0_.parent:getChild("left").x + (left_sizex - _ARG_0_:getChild("luke").w * 0.5) * (screenHeight / 1536)) + _ARG_0_:getChild("luke").y = _G.math.floor(screenHeight - left_sizey * 0.4 * (screenHeight / 1536)) + _ARG_0_:getChild("luke").original_x = _ARG_0_:getChild("luke").x + _ARG_0_:getChild("luke").original_y = _ARG_0_:getChild("luke").y + _ARG_0_:getChild("lightsaber").scaleY, _ARG_0_:getChild("lightsaber").scaleX = screenHeight / 1536, screenHeight / 1536 + _ARG_0_:getChild("lightsaber").x = _G.math.floor(_ARG_0_:getChild("luke").x + _ARG_0_:getChild("luke").w * 0.46 * (screenHeight / 1536)) + _ARG_0_:getChild("lightsaber").y = _G.math.floor(_ARG_0_:getChild("luke").y + _ARG_0_:getChild("luke").h * 0.2 * (screenHeight / 1536)) + _ARG_0_:getChild("lightsaber").angle = 0.5 + _ARG_0_:getChild("lightsaber").original_x = _ARG_0_:getChild("lightsaber").x + _ARG_0_:getChild("lightsaber").original_y = _ARG_0_:getChild("lightsaber").y + _ARG_0_:getChild("lightsaber").original_angle = _ARG_0_:getChild("lightsaber").angle + _ARG_0_:getChild("stormtrooper").scaleY, _ARG_0_:getChild("stormtrooper").scaleX = screenHeight / 1536, screenHeight / 1536 + _ARG_0_:getChild("stormtrooper").x = _G.math.floor(screenWidth - right_sizex * 0.6 * (screenHeight / 1536)) - (screenWidth - 900) / 2 + _ARG_0_:getChild("stormtrooper").y = _G.math.floor(screenHeight - right_sizey * 0.4 * (screenHeight / 1536)) + _ARG_0_:getChild("stormtrooper").original_x = _ARG_0_:getChild("stormtrooper").x + _ARG_0_:getChild("stormtrooper").original_y = _ARG_0_:getChild("stormtrooper").y + _ARG_0_:getChild("blaster").scaleY, _ARG_0_:getChild("blaster").scaleX = screenHeight / 1536, screenHeight / 1536 + _ARG_0_:getChild("blaster").x = _G.math.floor(_ARG_0_:getChild("stormtrooper").x - _ARG_0_:getChild("stormtrooper").w * 0.2 * (screenHeight / 1536)) + _ARG_0_:getChild("blaster").y = _G.math.floor(_ARG_0_:getChild("stormtrooper").y + _ARG_0_:getChild("stormtrooper").h * 0.2 * (screenHeight / 1536)) + _ARG_0_:getChild("blaster").original_x = _ARG_0_:getChild("blaster").x + _ARG_0_:getChild("blaster").original_y = _ARG_0_:getChild("blaster").y + _ARG_0_:getChild("explosion").x = _ARG_0_:getChild("blaster").x - _ARG_0_:getChild("blaster").w * 0.8 * (screenHeight / 1536) + _ARG_0_:getChild("explosion").y = _ARG_0_:getChild("blaster").y - _ARG_0_:getChild("blaster").h * 0.5 * (screenHeight / 1536) + _ARG_0_:getChild("blastershot1").x = -1000 + _ARG_0_:getChild("blastershot1").scaleY, _ARG_0_:getChild("blastershot1").scaleX, _ARG_0_:getChild("blastershot1").y = screenHeight / 1536, screenHeight / 1536, -1000 + _ARG_0_:getChild("blastershot2").x = -1000 + _ARG_0_:getChild("blastershot2").scaleY, _ARG_0_:getChild("blastershot2").scaleX, _ARG_0_:getChild("blastershot2").y = screenHeight / 1536, screenHeight / 1536, -1000 + _ARG_0_:getChild("blastershot3").x = -1000 + _ARG_0_:getChild("blastershot3").scaleY, _ARG_0_:getChild("blastershot3").scaleX, _ARG_0_:getChild("blastershot3").y = screenHeight / 1536, screenHeight / 1536, -1000 +end +function EpisodeSelectionCrossPromoBlack.createDecorationSprites(_ARG_0_) + _ARG_0_.parent:getChild("left"):setImage("ABSWPROMO_ELEMENTS_1") + _ARG_0_.parent:getChild("right"):setImage("ABSWPROMO_ELEMENTS_2") +end +function EpisodeSelectionCrossPromoBlack.loadStarWarsResources(_ARG_0_) + _ARG_0_.startAnimationTimer = 0 + _ARG_0_.lightsaberMoveTimer = 0 + _ARG_0_.animationTimer = 0 + _ARG_0_.currentLSphase = "" + ui.Image:new().name = "star_wars_text" + ui.Image:new():setImage("ABSWPROMO_PLAY") + _ARG_0_:addChild((ui.Image:new())) + ui.ImageButton:new().name = "star_wars_button" + if not disableExternalLinks and not disableCrossSell then + ui.ImageButton:new():setImage("ABSWPROMO_PLAY_2") + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new().returnValue = "GOTO_ABSW" + end + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Image:new().name = "lightsaber" + ui.Image:new():setImage("ABSW_PROMOLIGHTSABRE") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "luke" + ui.Image:new():setImage("ABSWPROMO_LUKE") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "stormtrooper" + ui.Image:new():setImage("ABSWPROMO_PORKVADER") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "blaster" + ui.Image:new():setImage("ABSW_PROMO_BLASTER") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "blastershot1" + ui.Image:new().visible = false + ui.Image:new():setImage("ABSW_PROMO_BLASTERSHOT") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "blastershot2" + ui.Image:new().visible = false + ui.Image:new():setImage("ABSW_PROMO_BLASTERSHOT") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "blastershot3" + ui.Image:new():setImage("ABSW_PROMO_BLASTERSHOT") + ui.Image:new().visible = false + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "explosion" + ui.Image:new():setImage("ABSW_PROMO_EXPLOSION") + ui.Image:new().visible = false + _ARG_0_:addChild((ui.Image:new())) +end +function EpisodeSelectionCrossPromoBlack.startStarWarsAnimation(_ARG_0_) + _ARG_0_.animationTimer = 0 + _ARG_0_.startAnimationTimer = 15 + _ARG_0_:getChild("lightsaber").currentLSphase = "" + _ARG_0_:getChild("lightsaber").currentParticlePhase = "" + _ARG_0_:getChild("lightsaber").moveTimer = nil + _ARG_0_:getChild("explosion").currentBlasterphase = "" + _ARG_0_:getChild("explosion").showTimer = nil + _ARG_0_:getChild("explosion").visible = false + _ARG_0_:getChild("blaster").currentBlasterMovephase = "" + _ARG_0_:getChild("blaster").moveTimer = nil + _ARG_0_:getChild("luke").moveTimer = nil + _ARG_0_:getChild("luke").currentPhase = "" + _ARG_0_:getChild("blastershot1").moveTimer = nil + _ARG_0_:getChild("blastershot1").phase = "" + _ARG_0_:getChild("blastershot2").moveTimer = nil + _ARG_0_:getChild("blastershot2").phase = "" + _ARG_0_:getChild("blastershot3").moveTimer = nil + _ARG_0_:getChild("blastershot3").phase = "" + _ARG_0_.particle1played = nil + _ARG_0_.particle2played = nil + _ARG_0_.particle3played = nil + _ARG_0_:layout() +end +function EpisodeSelectionCrossPromoBlack.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.startAnimationTimer = _ARG_0_.startAnimationTimer - _ARG_1_ + _ARG_0_.animationTimer = _ARG_0_.animationTimer + _ARG_1_ + if _ARG_0_.startAnimationTimer <= 0 then + _ARG_0_:startStarWarsAnimation() + return + end + if _ARG_0_:getChild("explosion").showTimer ~= nil then + _ARG_0_:getChild("explosion").showTimer = _ARG_0_:getChild("explosion").showTimer - _ARG_1_ + if 0 < _ARG_0_:getChild("explosion").showTimer then + _ARG_0_:getChild("explosion").visible = true + else + _ARG_0_:getChild("explosion").visible = false + _ARG_0_:getChild("explosion").showTimer = nil + end + end + if _ARG_0_:getChild("lightsaber").moveTimer ~= nil then + _ARG_0_:getChild("lightsaber").moveTimer = _ARG_0_:getChild("lightsaber").moveTimer - _ARG_1_ + if 0 < _ARG_0_:getChild("lightsaber").moveTimer then + _ARG_0_:getChild("lightsaber").angle = _ARG_0_:getChild("lightsaber").angle_easing_func(_ARG_0_:getChild("lightsaber").timeToMove - _ARG_0_:getChild("lightsaber").moveTimer, _ARG_0_:getChild("lightsaber").original_angle + _ARG_0_:getChild("lightsaber").startanglediff, _ARG_0_:getChild("lightsaber").anglediff, _ARG_0_:getChild("lightsaber").timeToMove) + _ARG_0_:getChild("lightsaber").x = tweenLinear(_ARG_0_:getChild("lightsaber").timeToMove - _ARG_0_:getChild("lightsaber").moveTimer, _ARG_0_:getChild("lightsaber").original_x + _ARG_0_:getChild("lightsaber").startxdiff, _ARG_0_:getChild("lightsaber").xdiff, _ARG_0_:getChild("lightsaber").timeToMove) + _ARG_0_:getChild("lightsaber").y = tweenLinear(_ARG_0_:getChild("lightsaber").timeToMove - _ARG_0_:getChild("lightsaber").moveTimer, _ARG_0_:getChild("lightsaber").original_y + _ARG_0_:getChild("lightsaber").startydiff, _ARG_0_:getChild("lightsaber").ydiff, _ARG_0_:getChild("lightsaber").timeToMove) + end + end + if _ARG_0_:getChild("luke").moveTimer ~= nil then + _ARG_0_:getChild("luke").moveTimer = _ARG_0_:getChild("luke").moveTimer - _ARG_1_ + if 0 < _ARG_0_:getChild("luke").moveTimer then + _ARG_0_:getChild("luke").x = tweenLinear(_ARG_0_:getChild("luke").timeToMove - _ARG_0_:getChild("luke").moveTimer, _ARG_0_:getChild("luke").original_x + _ARG_0_:getChild("luke").startxdiff, _ARG_0_:getChild("luke").xdiff, _ARG_0_:getChild("luke").timeToMove) + _ARG_0_:getChild("luke").y = tweenLinear(_ARG_0_:getChild("luke").timeToMove - _ARG_0_:getChild("luke").moveTimer, _ARG_0_:getChild("luke").original_y + _ARG_0_:getChild("luke").startydiff, _ARG_0_:getChild("luke").ydiff, _ARG_0_:getChild("luke").timeToMove) + end + end + if _ARG_0_:getChild("blaster").moveTimer ~= nil then + _ARG_0_:getChild("blaster").moveTimer = _ARG_0_:getChild("blaster").moveTimer - _ARG_1_ + if 0 < _ARG_0_:getChild("blaster").moveTimer then + _ARG_0_:getChild("blaster").angle = _G.math.atan2(_ARG_0_:getChild("blaster").y - (_ARG_0_:getChild("lightsaber").y - _ARG_0_:getChild("lightsaber").h / 3), _ARG_0_:getChild("blaster").x - _ARG_0_:getChild("lightsaber").x) + _ARG_0_:getChild("blaster").x = tweenLinear(_ARG_0_:getChild("blaster").timeToMove - _ARG_0_:getChild("blaster").moveTimer, _ARG_0_:getChild("blaster").original_x + _ARG_0_:getChild("blaster").startxdiff, _ARG_0_:getChild("blaster").xdiff, _ARG_0_:getChild("blaster").timeToMove) + _ARG_0_:getChild("blaster").y = tweenLinear(_ARG_0_:getChild("blaster").timeToMove - _ARG_0_:getChild("blaster").moveTimer, _ARG_0_:getChild("blaster").original_y + _ARG_0_:getChild("blaster").startydiff, _ARG_0_:getChild("blaster").ydiff, _ARG_0_:getChild("blaster").timeToMove) + _ARG_0_:getChild("stormtrooper").x = tweenLinear(_ARG_0_:getChild("blaster").timeToMove - _ARG_0_:getChild("blaster").moveTimer, _ARG_0_:getChild("stormtrooper").original_x + _ARG_0_:getChild("stormtrooper").startxdiff, _ARG_0_:getChild("stormtrooper").xdiff, _ARG_0_:getChild("blaster").timeToMove) + else + _ARG_0_:getChild("blaster").moveTimer = nil + end + end +end +function EpisodeSelectionCrossPromoBlack.updateLightSaber(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.pairs(lightSaberMovements) do + if _ARG_0_.animationTimer > _FORV_8_.starttime and _ARG_0_.animationTimer < _FORV_8_.endtime and _ARG_0_:getChild("lightsaber").currentLSphase ~= _FORV_8_.phasename then + _ARG_0_:getChild("lightsaber").currentLSphase = _FORV_8_.phasename + _ARG_0_:getChild("lightsaber").startAngle = _ARG_0_:getChild("lightsaber").angle + _ARG_0_:getChild("lightsaber").angleDifference = _FORV_8_.anglediff + _ARG_0_:getChild("lightsaber").startanglediff, _ARG_0_:getChild("lightsaber").startydiff, _ARG_0_:getChild("lightsaber").startxdiff = _ARG_0_:getChild("lightsaber").anglediff_from_origin or 0, _ARG_0_:getChild("lightsaber").ydiff_from_origin or 0, _ARG_0_:getChild("lightsaber").xdiff_from_origin or 0 + _ARG_0_:getChild("lightsaber").xdiff = _FORV_8_.xdiff * _ARG_0_.movement_scale_factor - (_ARG_0_:getChild("lightsaber").xdiff_from_origin or 0) + _ARG_0_:getChild("lightsaber").ydiff = _FORV_8_.ydiff * _ARG_0_.movement_scale_factor - (_ARG_0_:getChild("lightsaber").ydiff_from_origin or 0) + _ARG_0_:getChild("lightsaber").anglediff = _FORV_8_.anglediff - (_ARG_0_:getChild("lightsaber").anglediff_from_origin or 0) + _ARG_0_:getChild("lightsaber").xdiff_from_origin = _FORV_8_.xdiff * _ARG_0_.movement_scale_factor + _ARG_0_:getChild("lightsaber").ydiff_from_origin = _FORV_8_.ydiff * _ARG_0_.movement_scale_factor + _ARG_0_:getChild("lightsaber").anglediff_from_origin = _FORV_8_.anglediff + _ARG_0_:getChild("lightsaber").timeToMove = _FORV_8_.endtime - _FORV_8_.starttime + _ARG_0_:getChild("lightsaber").moveTimer = _FORV_8_.endtime - _FORV_8_.starttime + _ARG_0_:getChild("lightsaber").angle_easing_func = _FORV_8_.angle_easing_func + end + end +end +function EpisodeSelectionCrossPromoBlack.updateSaberParticles(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.pairs(saberParticles) do + if _ARG_0_.animationTimer > _FORV_8_.starttime and _ARG_0_.animationTimer < _FORV_8_.endtime and _ARG_0_:getChild("lightsaber").currentParticlePhase ~= _FORV_8_.phasename then + _ARG_0_:getChild("lightsaber").currentParticlePhase = _FORV_8_.phasename + _G.particles.addParticles("saberBuff", 1, _ARG_0_:getChild("lightsaber").x, _ARG_0_:getChild("lightsaber").y - _ARG_0_:getChild("lightsaber").h * 0.5 * _ARG_0_:getChild("lightsaber").scaleY, 0, 0, 0, true, true) + end + end +end +function EpisodeSelectionCrossPromoBlack.updateLukeMovement(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.pairs(lukeMovement) do + if _ARG_0_.animationTimer > _FORV_8_.starttime and _ARG_0_.animationTimer < _FORV_8_.endtime and _ARG_0_:getChild("luke").currentPhase ~= _FORV_8_.phasename then + _ARG_0_:getChild("luke").currentPhase = _FORV_8_.phasename + _ARG_0_:getChild("luke").moveTimer = _FORV_8_.endtime - _FORV_8_.starttime + _ARG_0_:getChild("luke").timeToMove = _FORV_8_.endtime - _FORV_8_.starttime + _ARG_0_:getChild("luke").x = _ARG_0_:getChild("luke").original_x + (_ARG_0_:getChild("luke").xdiff or 0) + _ARG_0_:getChild("luke").y = _ARG_0_:getChild("luke").original_y + (_ARG_0_:getChild("luke").ydiff or 0) + _ARG_0_:getChild("luke").startxdiff = _G.math.floor(_ARG_0_:getChild("luke").xdiff or 0) + _ARG_0_:getChild("luke").startydiff = _G.math.floor(_ARG_0_:getChild("luke").ydiff or 0) + _ARG_0_:getChild("luke").xdiff = _FORV_8_.xdiff * _ARG_0_.movement_scale_factor + _ARG_0_:getChild("luke").ydiff = _FORV_8_.ydiff * _ARG_0_.movement_scale_factor + end + end +end +function EpisodeSelectionCrossPromoBlack.updateLukeSprite(_ARG_0_) + for _FORV_5_, _FORV_6_ in _G.pairs(lukeSpriteChanges) do + if _ARG_0_.animationTimer > _FORV_6_.starttime and _ARG_0_.animationTimer < _FORV_6_.endtime and _ARG_0_:getChild("luke").image ~= _FORV_6_.sprite then + _ARG_0_:getChild("luke"):setImage(_FORV_6_.sprite) + end + end +end +function EpisodeSelectionCrossPromoBlack.updateBlasterExplosion(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.pairs(explosionShow) do + if _ARG_0_.animationTimer > _FORV_8_.starttime and _ARG_0_.animationTimer < _FORV_8_.endtime and _ARG_0_:getChild("explosion").currentBlasterphase ~= _FORV_8_.phasename then + _ARG_0_:getChild("explosion").currentBlasterphase = _FORV_8_.phasename + _ARG_0_:getChild("explosion").showTimer = _FORV_8_.endtime - _FORV_8_.starttime + end + end +end +function EpisodeSelectionCrossPromoBlack.updateBlasterMovement(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_8_, _FORV_9_ in _G.pairs(blasterMovement) do + if _ARG_0_.animationTimer > _FORV_9_.starttime and _ARG_0_.animationTimer < _FORV_9_.endtime and _ARG_0_:getChild("blaster").currentBlasterMovephase ~= _FORV_9_.phasename then + _ARG_0_:getChild("blaster").currentBlasterMovephase = _FORV_9_.phasename + _ARG_0_:getChild("blaster").moveTimer = _FORV_9_.endtime - _FORV_9_.starttime + _ARG_0_:getChild("blaster").timeToMove = _FORV_9_.endtime - _FORV_9_.starttime + _ARG_0_:getChild("blaster").startydiff, _ARG_0_:getChild("blaster").startxdiff = _ARG_0_:getChild("blaster").ydiff_from_origin or 0, _ARG_0_:getChild("blaster").xdiff_from_origin or 0 + _ARG_0_:getChild("blaster").xdiff = _FORV_9_.xdiff * _ARG_0_.movement_scale_factor - (_ARG_0_:getChild("blaster").xdiff_from_origin or 0) + _ARG_0_:getChild("blaster").ydiff = _FORV_9_.ydiff * _ARG_0_.movement_scale_factor - (_ARG_0_:getChild("blaster").ydiff_from_origin or 0) + _ARG_0_:getChild("blaster").xdiff_from_origin = _FORV_9_.xdiff * _ARG_0_.movement_scale_factor + _ARG_0_:getChild("blaster").ydiff_from_origin = _FORV_9_.ydiff * _ARG_0_.movement_scale_factor + _ARG_0_:getChild("stormtrooper").startydiff, _ARG_0_:getChild("stormtrooper").startxdiff = _ARG_0_:getChild("stormtrooper").ydiff_from_origin or 0, _ARG_0_:getChild("stormtrooper").xdiff_from_origin or 0 + _ARG_0_:getChild("stormtrooper").xdiff = _FORV_9_.xdiff * _ARG_0_.movement_scale_factor - (_ARG_0_:getChild("stormtrooper").xdiff_from_origin or 0) + _ARG_0_:getChild("stormtrooper").ydiff = _FORV_9_.ydiff * _ARG_0_.movement_scale_factor - (_ARG_0_:getChild("stormtrooper").ydiff_from_origin or 0) + _ARG_0_:getChild("stormtrooper").xdiff_from_origin = _G.math.floor(_FORV_9_.xdiff * _ARG_0_.movement_scale_factor * 0.4) + _ARG_0_:getChild("stormtrooper").ydiff_from_origin = _G.math.floor(_FORV_9_.ydiff * _ARG_0_.movement_scale_factor * 0.4) + end + if _ARG_0_.animationTimer < _FORV_9_.endtime then + ongoing_animation = true + end + end +end +function EpisodeSelectionCrossPromoBlack.updateBlasterShot(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + for _FORV_8_, _FORV_9_ in _G.pairs(blasterShots[_ARG_1_]) do + if _ARG_0_.animationTimer > _FORV_9_.starttime and _ARG_0_.animationTimer < _FORV_9_.endtime and _ARG_0_:getChild(_ARG_1_).phase ~= _FORV_9_.phasename then + if _FORV_9_.phasename == "p1" then + elseif _FORV_9_.phasename == "p2" then + end + _ARG_0_:getChild(_ARG_1_).phase = _FORV_9_.phasename + _ARG_0_:getChild(_ARG_1_).moveTimer = _FORV_9_.endtime - _FORV_9_.starttime + _ARG_0_:getChild(_ARG_1_).startx, _ARG_0_:getChild(_ARG_1_).timeToMove = _ARG_0_:getChild(_ARG_1_).x, _FORV_9_.endtime - _FORV_9_.starttime + _ARG_0_:getChild(_ARG_1_).starty, _ARG_0_:getChild(_ARG_1_).xdifference = _ARG_0_:getChild(_ARG_1_).y, _FORV_9_.endy_screen_width_multiplier * screenWidth - _ARG_0_:getChild(_ARG_1_).x + _ARG_0_:getChild(_ARG_1_).ydifference = _FORV_9_.endy_screen_height_multiplier * screenHeight - _ARG_0_:getChild(_ARG_1_).y + _ARG_0_:getChild(_ARG_1_).angle = _G.math.atan2(_ARG_0_:getChild(_ARG_1_).ydifference, _ARG_0_:getChild(_ARG_1_).xdifference) + end + end +end +function EpisodeSelectionCrossPromoBlack.moveLightSaberToAngle(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_:getChild("lightsaber").startAngle = _ARG_0_:getChild("lightsaber").angle + _ARG_0_:getChild("lightsaber").angleDifference = _ARG_1_ + _ARG_0_:getChild("lightsaber").timeToMove = _ARG_2_ + _ARG_0_.lightsaberMoveTimer = _ARG_2_ +end +function EpisodeSelectionCrossPromoBlack.draw(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_:getChild("stormtrooper").visible = false + _ARG_0_:getChild("blaster").visible = false + if _ARG_0_:getChild("explosion").visible then + _ARG_0_:getChild("explosion").visible = false + end + ui.Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_:getChild("blaster").visible = true + _ARG_0_:getChild("blaster"):draw(_ARG_1_, _ARG_2_) + if true then + _ARG_0_:getChild("explosion").visible = true + _ARG_0_:getChild("explosion"):draw(_ARG_1_, _ARG_2_) + end + _ARG_0_:getChild("lightsaber").visible = true + _ARG_0_:getChild("lightsaber"):draw(_ARG_1_, _ARG_2_) + _ARG_0_:getChild("lightsaber").visible = false + _ARG_0_:getChild("luke").visible = true + _ARG_0_:getChild("luke"):draw(_ARG_1_, _ARG_2_) + _ARG_0_:getChild("luke").visible = false + _ARG_0_:getChild("stormtrooper").visible = true + _ARG_0_:getChild("stormtrooper"):draw(_ARG_1_, _ARG_2_) +end +lightSaberMovements = { + { + phasename = "idle1a", + starttime = 0.1, + endtime = 1, + anglediff = -0.2, + xdiff = 0, + ydiff = 5, + angle_easing_func = tweenLinear + }, + { + phasename = "idle1b", + starttime = 1.1, + endtime = 2, + anglediff = 0, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenLinear + }, + { + phasename = "idle1c", + starttime = 2.1, + endtime = 3, + anglediff = -0.2, + xdiff = 0, + ydiff = 5, + angle_easing_func = tweenLinear + }, + { + phasename = "idle1d", + starttime = 3.1, + endtime = 4, + anglediff = 0, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenLinear + }, + { + phasename = "p2a", + starttime = 4.3, + endtime = 4.7, + anglediff = -0.4, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenEaseCubicOut + }, + { + phasename = "p2b", + starttime = 5.2, + endtime = 5.4, + anglediff = -0.5, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenEaseCubicOut + }, + { + phasename = "p3", + starttime = 5.6, + endtime = 6, + anglediff = 0, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenEaseCubicOut + }, + { + phasename = "p5", + starttime = 6.2, + endtime = 6.5, + anglediff = -0.6, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenEaseCubicOut + }, + { + phasename = "p6", + starttime = 6.5, + endtime = 6.9, + anglediff = 0.2, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenEaseCubicOut + }, + { + phasename = "idle2a", + starttime = 7, + endtime = 8, + anglediff = -0.2, + xdiff = 0, + ydiff = 5, + angle_easing_func = tweenLinear + }, + { + phasename = "idle2b", + starttime = 8, + endtime = 9, + anglediff = 0, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenLinear + }, + { + phasename = "idle2c", + starttime = 9, + endtime = 10, + anglediff = -0.2, + xdiff = 0, + ydiff = 5, + angle_easing_func = tweenLinear + }, + { + phasename = "idle2d", + starttime = 10, + endtime = 11, + anglediff = 0, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenLinear + }, + { + phasename = "idle2e", + starttime = 11, + endtime = 12, + anglediff = -0.2, + xdiff = 0, + ydiff = 5, + angle_easing_func = tweenLinear + }, + { + phasename = "idle2f", + starttime = 12, + endtime = 13, + anglediff = 0, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenLinear + }, + { + phasename = "idle2g", + starttime = 13, + endtime = 14, + anglediff = -0.2, + xdiff = 0, + ydiff = 5, + angle_easing_func = tweenLinear + }, + { + phasename = "idle2h", + starttime = 14, + endtime = 15, + anglediff = 0, + xdiff = 0, + ydiff = 0, + angle_easing_func = tweenLinear + } +} +saberParticles = { + { + phasename = "shot1hit", + starttime = 5.2, + endtime = 5.3, + particle = "saberBuff" + }, + { + phasename = "shot2hit", + starttime = 5.5, + endtime = 5.6, + particle = "saberBuff" + }, + { + phasename = "shot3hit", + starttime = 6.5, + endtime = 6.6, + particle = "saberBuff" + } +} +lukeMovement = { + { + phasename = "jumpback", + starttime = 5.1, + endtime = 5.2, + xdiff = -2, + ydiff = 0 + }, + { + phasename = "a1", + starttime = 5.8, + endtime = 6.2, + xdiff = 2, + ydiff = 0 + }, + { + phasename = "a2", + starttime = 6.4, + endtime = 6.5, + xdiff = -2, + ydiff = 0 + }, + { + phasename = "a2", + starttime = 6.9, + endtime = 7.3, + xdiff = 2, + ydiff = 0 + }, + { + phasename = "a2", + starttime = 7.5, + endtime = 8.5, + xdiff = 0, + ydiff = 0 + } +} +lukeSpriteChanges = { + { + phasename = "p1", + starttime = 0, + endtime = 4, + sprite = "ABSWPROMO_LUKE" + }, + { + phasename = "p2", + starttime = 4.8, + endtime = 5.8, + sprite = "ABSWPROMO_LUKE_YELL" + }, + { + phasename = "p3", + starttime = 5.8, + endtime = 6.4, + sprite = "ABSWPROMO_LUKE" + }, + { + phasename = "p4", + starttime = 6.4, + endtime = 6.9, + sprite = "ABSWPROMO_LUKE_YELL" + }, + { + phasename = "p5", + starttime = 6.9, + endtime = 8, + sprite = "ABSWPROMO_LUKE" + } +} +explosionShow = { + { + phasename = "p1", + starttime = 4.2, + endtime = 4.3 + }, + { + phasename = "p2", + starttime = 4.4, + endtime = 4.5 + }, + { + phasename = "p3", + starttime = 5.5, + endtime = 5.6 + } +} +blasterShots = { + blastershot1 = { + { + phasename = "p1", + starttime = 4.2, + endtime = 5.2 + }, + { + phasename = "p2", + starttime = 5.2, + endtime = 6.2, + endy_screen_width_multiplier = 1.1, + endy_screen_height_multiplier = 0.1 + } + }, + blastershot2 = { + { + phasename = "p1", + starttime = 4.4, + endtime = 5.4 + }, + { + phasename = "p2", + starttime = 5.4, + endtime = 6.4, + endy_screen_width_multiplier = 1.1, + endy_screen_height_multiplier = 0.2 + } + }, + blastershot3 = { + { + phasename = "p1", + starttime = 5.5, + endtime = 6.5 + }, + { + phasename = "p2", + starttime = 6.5, + endtime = 7.5, + endy_screen_width_multiplier = 1.1, + endy_screen_height_multiplier = 0.2 + } + } +} +blasterMovement = { + { + phasename = "idle1a", + starttime = 0, + endtime = 1, + xdiff = 0, + ydiff = 2 + }, + { + phasename = "idle1b", + starttime = 1, + endtime = 2, + xdiff = 0, + ydiff = -4 + }, + { + phasename = "idle1c", + starttime = 2, + endtime = 3, + xdiff = 0, + ydiff = 2 + }, + { + phasename = "idle1d", + starttime = 3, + endtime = 4, + xdiff = 0, + ydiff = -4 + }, + { + phasename = "p5", + starttime = 4.2, + endtime = 4.3, + xdiff = 10, + ydiff = 0 + }, + { + phasename = "p6", + starttime = 4.3, + endtime = 4.4, + xdiff = 0, + ydiff = 0 + }, + { + phasename = "p7", + starttime = 4.4, + endtime = 4.5, + xdiff = 10, + ydiff = 0 + }, + { + phasename = "p8", + starttime = 4.5, + endtime = 4.6, + xdiff = 0, + ydiff = 0 + }, + { + phasename = "p9", + starttime = 5.5, + endtime = 5.6, + xdiff = 10, + ydiff = 0 + }, + { + phasename = "p10", + starttime = 5.6, + endtime = 5.9, + xdiff = 0, + ydiff = 0 + }, + { + phasename = "idle2a", + starttime = 6, + endtime = 7, + xdiff = 0, + ydiff = 2 + }, + { + phasename = "idle2b", + starttime = 7, + endtime = 8, + xdiff = 0, + ydiff = -4 + }, + { + phasename = "idle2c", + starttime = 8, + endtime = 9, + xdiff = 0, + ydiff = 2 + }, + { + phasename = "idle2d", + starttime = 9, + endtime = 10, + xdiff = 0, + ydiff = -4 + }, + { + phasename = "idle2e", + starttime = 10, + endtime = 11, + xdiff = 0, + ydiff = 2 + }, + { + phasename = "idle2f", + starttime = 11, + endtime = 12, + xdiff = 0, + ydiff = -4 + }, + { + phasename = "idle2g", + starttime = 12, + endtime = 13, + xdiff = 0, + ydiff = 2 + }, + { + phasename = "idle2h", + starttime = 13, + endtime = 14, + xdiff = 0, + ydiff = -4 + }, + { + phasename = "idle2i", + starttime = 14, + endtime = 14.5, + xdiff = 0, + ydiff = 2 + }, + { + phasename = "idle2j", + starttime = 14.5, + endtime = 15, + xdiff = 0, + ydiff = 0 + } +} diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..d91ff0db569716f6533bf7e43f5b621e9b5f6f94 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/episode_selection_extra.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/keyboard.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/radio.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..91280b41d6a8475581738c7172c74d44ebc788be Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/sequencer.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/settings_page.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/soundboard.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/menus/splashes.lua b/Angry Birds Project R/2.0.4/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/mightyEagle.lua b/Angry Birds Project R/2.0.4/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/options.lua b/Angry Birds Project R/2.0.4/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..3064c9b0842d97822e6e3d3876e62f3d4a7c1b7c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/options.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/page.lua b/Angry Birds Project R/2.0.4/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/page.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/particles.lua b/Angry Birds Project R/2.0.4/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..86ad2cedd784111b6afecc317e06c0ffc0e9803d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/select_profiles.lua b/Angry Birds Project R/2.0.4/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/starLimits.lua b/Angry Birds Project R/2.0.4/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..d75f652cfe8fe0f0771ab471f53907bc9b836dcf Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/subsystems/ChallengePage.lua b/Angry Birds Project R/2.0.4/data/scripts/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/2.0.4/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/2.0.4/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..c9e58a57080c0ae98e89eb7145407dc4b078e077 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/2.0.4/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/2.0.4/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts/subsystems/challenges.lua b/Angry Birds Project R/2.0.4/data/scripts/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ChallengePage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/EventManager.lua b/Angry Birds Project R/2.0.4/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/challenges.lua b/Angry Birds Project R/2.0.4/data/scripts_common/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/challenges.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/default_conf.lua b/Angry Birds Project R/2.0.4/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..a2f91ee4fdf8d58c7309d4124a416f5eb00d4fa6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/2.0.4/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..9d88bfe75d899bc9e110ac6c81740c1c5532c77b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/events.lua b/Angry Birds Project R/2.0.4/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..cb6f5d2c5196ad5c87db1230b2a5f92bc289a7a2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/gamelogic.lua b/Angry Birds Project R/2.0.4/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..46e1fa5962a841820ddb927a4c99c16347a290e5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/2.0.4/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/howdoiplay.lua b/Angry Birds Project R/2.0.4/data/scripts_common/howdoiplay.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d8df9f6d131ae48e02b99002c12ddc8d8e13494 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/scripts_common/howdoiplay.lua @@ -0,0 +1,192 @@ +g_tutorialSprites = { + TUTORIAL_1 = "TUTORIAL_RED", + TUTORIAL_1_PIG = "RED_PIG_NORMAL", + TUTORIAL_2 = "TUTORIAL_BLUE", + TUTORIAL_3 = "TUTORIAL_YELLOW", + TUTORIAL_4 = "TUTORIAL_BLACK", + TUTORIAL_5 = "TUTORIAL_WHITE", + TUTORIAL_6 = "TUTORIAL_BOOMERANG", + TUTORIAL_7 = "TUTORIAL_BIG_BROTHER", + TUTORIAL_8 = "TUTORIAL_MIGHTYEAGLE", + TUTORIAL_9 = "TUTORIAL_PUFFER" +} +function showTrackpadTutorials() + return not g_usingGestureControls and g_usedGestureControls and isInFullScreenMode() +end +g_platformTutorials = { + osx = { + { + id = "TUTORIAL_OSX_1", + sprite = "TUTORIAL_TRACKPAD_1", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_2", + sprite = "TUTORIAL_TRACKPAD_2", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_3", + sprite = "TUTORIAL_TRACKPAD_3", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_4", + sprite = "TUTORIAL_TRACKPAD_4", + ignore_size = true, + condition = showTrackpadTutorials + } + }, + roku = { + { + id = "TUTORIAL_ROKU_1", + sprite = "TUTORIAL_CAMERA", + ignore_size = true + }, + { + id = "TUTORIAL_ROKU_2", + sprite = "TUTORIAL_ZOOMING", + ignore_size = true + } + } +} +function addTutorial(_ARG_0_, _ARG_1_) + if _G.type(_ARG_1_) == "string" then + _G.table.insert(_ARG_0_, {sprite = _ARG_1_}) + return true + elseif _G.type(_ARG_1_) == "table" and (not _ARG_1_.condition or _ARG_1_.condition and _ARG_1_.condition()) then + _G.table.insert(_ARG_0_, _ARG_1_) + return true + end + return false +end +function getTutorialSprite(_ARG_0_) + if _G.type(_ARG_0_) == "string" then + return _ARG_0_ + elseif _G.type(_ARG_0_) == "table" then + return _ARG_0_.sprite + end + return nil +end +Tutorial = ui.BackgroundBox:inherit() +function Tutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function Tutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.Image:new().name = "tutorial" + if _G.type(_ARG_0_.tutorial) == "table" then + ui.Image:new():setImage(_ARG_0_.tutorial.sprite) + _ARG_0_.tutorial_sprite = _ARG_0_.tutorial.sprite + elseif _G.type(_ARG_0_.tutorial) == "string" then + ui.Image:new():setImage(g_tutorialSprites[_ARG_0_.tutorial]) + _ARG_0_.tutorial_sprite = g_tutorialSprites[_ARG_0_.tutorial] + end + _ARG_0_:addChild((ui.Image:new())) + if _ARG_0_.tutorial == "TUTORIAL_5" and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + ui.ImageButton:new().name = "goldenEgg" + ui.ImageButton:new():setImage("GOLDEN_EGG_1") + ui.ImageButton:new().scaleX = 0.4 + ui.ImageButton:new().scaleY = 0.4 + ui.ImageButton:new().returnValue = "COLLECT_GOLDEN_EGG" + _ARG_0_:addChild((ui.ImageButton:new())) + end + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function Tutorial.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function Tutorial.onExit(_ARG_0_) + ui.BackgroundBox.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function Tutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + end + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + for _FORV_8_, _FORV_9_ in _G.pairs(g_tutorialSprites) do + end + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _FORV_8_, _FORV_9_ in _G.pairs(g_platformTutorials[deviceModel]) do + end + end + _ARG_0_.width = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + _ARG_0_.height = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").x = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * 0.18 * 2 + _ARG_0_:getChild("goldenEgg").y = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * -0.1 * 2 + end + _ARG_0_:getChild("close").x = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.35 * 2 + _ARG_0_:getChild("close").y = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.6 * 2 + for _FORV_22_, _FORV_23_ in _G.ipairs(_ARG_0_.children) do + _FORV_23_.scaleY, _FORV_23_.scaleX = 2, 2 + end +end +function Tutorial.collectGoldenEgg(_ARG_0_) + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").visible = false + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end +end +if not g_isAccelerometerControl then + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "COLLECT_GOLDEN_EGG" then + _ARG_0_:collectGoldenEgg() + elseif ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end + function Tutorial.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BUTTON_A" then + _ARG_0_:collectGoldenEgg() + end + end +end +function Tutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +filename = "tutorials.lua" diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/iap_new.lua b/Angry Birds Project R/2.0.4/data/scripts_common/iap_new.lua new file mode 100644 index 0000000000000000000000000000000000000000..a939aac47ebe419cefdc58780f4f48d78742596e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/iap_new.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/level_effects.lua b/Angry Birds Project R/2.0.4/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..1f1e0922fce554168278c665ecc637771d56c1cc Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/level_utils.lua b/Angry Birds Project R/2.0.4/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/ChallengePage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCanimated_tutorial.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCanimated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..9871f7e2ce23fa1d7b06a1edbb361008fedcac39 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCanimated_tutorial.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCmain_menu.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCmain_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..d152b9cec47870a5a911b12d5ed499c7ae59e10e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCmain_menu.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCtutorials.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCtutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a1e5ba530c3c0843944887dc04a0fac4961169c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ENCtutorials.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..6c64988e876c2f54c53b6bc56c7f5765bfaa4107 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c6397391e323e68dd141f5947ad52c01010d1b1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..f3e204c13f283cefa2ffd0bc0690705b0e3d3788 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8d162faff205e33758c6d85a45accbb52665b3f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/ads.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ads.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0bd4329f1c9d8ecd122ecacf0dcde39e3270915 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/ads.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a41550fd510f7a5318910e6ce93df21a54c4b95 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/challenges.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/credits.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..beb62177f65cbdafb67376a38bd9f20fe78b4314 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d642974ba4917b5e4fb4284f6c35265c3884b00 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/default_credits.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/default_credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..d3abc8dadf8fac4c50a208e920c21f04f51f6fb5 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/default_credits.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..aa7996c9aefc5ba3a5679c3e545492266b6940df Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/layout_select.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/layout_select.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd9aaba3ff1490147c53ab935d304108aeb7e0df --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/scripts_common/menus/layout_select.lua @@ -0,0 +1,252 @@ +function createLevelButton(_ARG_0_) + ui.ImageButton:new().name = "level" .. _ARG_0_.page .. "-" .. _ARG_0_.index + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setImage(_ARG_0_.level_button_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].level_button, _ARG_0_.disabled_button_override or "LS_LEVEL_BG_NORMAL_CLOSED") + ui.ImageButton:new().returnValue = "GOTO_LEVEL" + ui.ImageButton:new().disabledReturnValue = "DISABLED_LEVEL" + ui.ImageButton:new().meta = { + episode = _ARG_0_.episode, + page = _ARG_0_.page, + level = _ARG_0_.index, + levelName = _ARG_0_.name, + intro_cutscene = _ARG_0_.intro_cutscene + } + return (ui.ImageButton:new()) +end +function createBasicLevelButton(_ARG_0_, _ARG_1_) + ui.Text:new().name = "number" + ui.Text:new().font = fontBasic + ui.Text:new().text = _G.tostring(_ARG_1_.display_number) + _ARG_0_:addChild((ui.Text:new())) + ui.Image:new().name = "eagle" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.levelSelectionSilhouette or "LS_EAGLE_BUTTON") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "stars" + ui.Image:new():setVisible(false) + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "feather" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.collectableReward or "LS_EAGLE_FEATHER") + _ARG_0_:addChild((ui.Image:new())) +end +function openBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(true) + _ARG_0_:getChild("number").visible = true + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("stars").visible = false + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score > 0 and highscores[_ARG_1_.name].completed then + _ARG_0_:getChild("stars").visible = true + if highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].goldScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(3)) + elseif highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].silverScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(2)) + else + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(1)) + end + elseif highscores[_ARG_1_.name] and (not highscores[_ARG_1_.name].score or highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score == 0) and highscores[_ARG_1_.name].completed then + for _FORV_13_, _FORV_14_ in _G.ipairs((settingsWrapper:getEagleUsedIn())) do + if _FORV_14_.level == _ARG_1_.name then + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = true + end + end + end + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].eagleScore and highscores[_ARG_1_.name].eagleScore >= 100 then + _ARG_0_:getChild("feather").visible = true + end +end +function closeBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(false) + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("feather").visible = false +end +function getLevelSelectionLayoutSizes() + if _UPVALUE0_ then + else + end + return g_layoutMargin.x, screenWidth - g_layoutMargin.x, screenWidth - g_layoutMargin.x - g_layoutMargin.x +end +LSGridLayout = {} +LSGridLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE +} +function LSGridLayout.createPage(_ARG_0_, _ARG_1_) +end +function LSGridLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSGridLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:getLastOpenLevel(_ARG_0_.episode) >= _ARG_0_.index_in_episode +end +function LSGridLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + closeBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_14_ = 1, _ARG_1_.layout_params.rows do + for _FORV_19_ = 1, _ARG_1_.layout_params.cols do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * getLevelSelectionLayoutSizes() * (1 - 0.83) + getLevelSelectionLayoutSizes() + 0.83 * getLevelSelectionLayoutSizes() / (_ARG_1_.layout_params.cols - 1) * (_FORV_19_ - 1) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).y = -0.1 * screenHeight + screenHeight * (_FORV_14_ / (_ARG_1_.layout_params.rows + 2) * 1.2) + end + end +end +function LSGridLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSGridLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSFacebookLayout = {} +LSFacebookLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE, + events.EID_FACEBOOK_LIKE_CLICKED +} +function LSFacebookLayout.createPage(_ARG_0_, _ARG_1_) + ui.ImageButton:new().name = "fbButton" .. _ARG_1_.index + ui.ImageButton:new():setImage("FB_LIKE_BUTTON") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK_CONNECT" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function LSFacebookLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSFacebookLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isFbPageLiked() +end +function LSFacebookLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) + _ARG_1_:setImage(g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button, g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button) + _ARG_1_.returnValue = "GOTO_LEVEL" +end +function LSFacebookLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:getChild("number").visible = false + _ARG_1_:getChild("stars").visible = false + _ARG_1_:getChild("eagle").visible = false + _ARG_1_:getChild("feather").visible = false + _ARG_1_:setEnabled(true) + _ARG_1_.returnValue = "SHOW_FACEBOOK_PROMPT" + _ARG_1_:setImage("LS_LEVEL_BG_NORMAL_CLOSED", "LS_LEVEL_BG_NORMAL_CLOSED") +end +function LSFacebookLayout.layout(_ARG_0_, _ARG_1_) + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y = screenHeight / 2.75 + for _FORV_14_ = 1, _ARG_1_.layout_params.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth - (_ARG_1_.layout_params.levels - 1) * 0.5 * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + (_FORV_14_ - 1) * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).y = _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y + _G.res.getSpriteBounds(_ARG_0_:getChild("fbButton" .. _ARG_1_.index).image) / 2.28 + _G.res.getSpriteBounds(_ARG_1_.level_button) * 0.5 + end +end +function LSFacebookLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSFacebookLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + elseif _ARG_2_.id == events.EID_FACEBOOK_LIKE_CLICKED then + for _FORV_6_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):setImage(_ARG_1_.level_button, _ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_).returnValue = "GOTO_LEVEL" + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSGoldenEggsLayout = {} +LSGoldenEggsLayout.listen_events = {} +function LSGoldenEggsLayout.createPage(_ARG_0_, _ARG_1_) + for _FORV_5_ = 1, #_ARG_1_.levels do + ui.Image:new().name = "starEffect" .. _ARG_1_.index .. "-" .. _FORV_5_ + ui.Image:new():setImage("GOLDEN_EGG_STAR_EFFECT") + _ARG_0_:addChild((ui.Image:new())) + end +end +function LSGoldenEggsLayout.createLevelButton(_ARG_0_) + ui.Image:new().name = "star" + ui.Image:new():setImage(_ARG_0_.completed_sprite_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].layout_params.completed_sprite) + ui.Image:new():setVisible(false) + createLevelButton(_ARG_0_):addChild((ui.Image:new())) + return (createLevelButton(_ARG_0_)) +end +function LSGoldenEggsLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isGoldenEggUnlocked(_ARG_0_.name) +end +function LSGoldenEggsLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(true) + _ARG_1_:setVisible(true) + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = not settingsWrapper:isGoldenEggPlayed(_ARG_2_.name) + _ARG_1_:getChild("star"):setVisible(highscores[_ARG_2_.name] and highscores[_ARG_2_.name].completed or false) +end +function LSGoldenEggsLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(false) + if _ARG_2_.disabled_button_override == nil then + _ARG_1_:setVisible(false) + else + _ARG_1_:setVisible(true) + end + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = false +end +function LSGoldenEggsLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_8_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x = (_ARG_1_.index - 1) * screenWidth + (_ARG_1_.levels[_FORV_8_].x or 0.5) * getLevelSelectionLayoutSizes() + getLevelSelectionLayoutSizes() + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y = (_ARG_1_.levels[_FORV_8_].y or 0.5) * screenHeight + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).x = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).y = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y + end +end +function LSGoldenEggsLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + for _FORV_7_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle = _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle + _ARG_2_ * 0.6 + end +end +function LSGoldenEggsLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) +end +g_ls_layout_mapping = { + grid = LSGridLayout, + facebook = LSFacebookLayout, + goldeneggs = LSGoldenEggsLayout +} +filename = "level_selection_layouts.lua" diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..c59f2dd18a532d2c546d026a006568e48dc8d5e1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..74bb162675fcb8dccd747e9be406605972a47fef Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..67dc11d940875d5520fac91a2ecbfe528cb7a98f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/loading.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..ecf52854ba123b83206e78013d81f73e2ebd8bd3 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..547755c5bae35e2a5127dcf1b78439b2e1fc6644 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/option_menu.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/option_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..54a2cd24436dee632d2169ba70d7f281b5dbf51a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/scripts_common/menus/option_menu.lua @@ -0,0 +1,506 @@ +LevelSelectionRoot = ui.Frame:inherit() +function LevelSelectionRoot.draw(_ARG_0_, _ARG_1_, _ARG_2_) +function SeasonsEpisodeSelection:prepareForDynamicAssets() + local ep = settingsWrapper:getCurrentEpisode() + print("Current ep: " .. ep) + dynamic.setRequirements(self, { "episodeSelection" .. self.season, g_episodes[ep].dynamic_load_group }) +end + +function EpisodeSelection:draw(x,y) + self:drawBackground() + ui.Frame.draw(self, x, y) +end + +function EpisodeSelection:drawBackground() + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + + if g_episodes[self.currentEpisode].background_image then + local w,h = _G.res.getSpriteBounds(g_episodes[self.currentEpisode].background_image) + local scale = _G.math.max(screenWidth/w, screenHeight/h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite(g_episodes[self.currentEpisode].background_image, screenWidth/2/scale,screenHeight/scale,"HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) + end + + if g_episodes[self.currentEpisode].decor_left then + _G.res.drawSprite(g_episodes[self.currentEpisode].decor_left, 0,screenHeight) + end + if g_episodes[self.currentEpisode].decor_right then + _G.res.drawSprite(g_episodes[self.currentEpisode].decor_right, screenWidth,screenHeight) + end +end + +function LevelSelectionRoot.init(_ARG_0_) + ui.Frame.init(_ARG_0_) + _ARG_0_.name = _ARG_0_.name or "LevelSelectionRoot" + if deviceModel == "s60" then + ui.ImageButton:new().name = "closeButton" + ui.ImageButton:new():setImage("BUTTON_CLOSE") + ui.ImageButton:new().returnValue = "EXIT" + _ARG_0_:addChild((ui.ImageButton:new())) + end +end +function LevelSelectionRoot.layout(_ARG_0_) + ui.Frame.layout(_ARG_0_) + if deviceModel == "s60" then + _ARG_0_:getChild("closeButton").x = screenWidth - g_layoutMargin.x + _ARG_0_:getChild("closeButton").y = g_layoutMargin.y + end +end +function LevelSelectionRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _G.res.isAudioPlaying(currentMainMenuSong) == false and currentMainMenuSong ~= nil then + _G.res.playAudio(currentMainMenuSong, 0.8, true, 7) + end + ui.Frame.update(_ARG_0_, _ARG_1_, _ARG_2_) +end +function LevelSelectionRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EPISODE_SELECTION" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = _ARG_0_.exit_link, + from = "LEVEL_SELECTION" + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_LEVEL" then + if g_registrationEnabled and not g_isRegistered and not g_episodes[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).episode].pages[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).page].free_to_play then + end + if not ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).intro_cutscene then + else + end + if false then + eventManager:notify({ + id = events.EID_LOAD_INTRO_CUTSCENE, + cutscene = ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).intro_cutscene, + data = ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + }) + else + eventManager:notify({ + id = events.EID_SHOW_REGISTRATION_DIALOG, + from = "LEVEL_SELECTION", + success_event = { + id = events.EID_LOAD_INTRO_CUTSCENE, + cutscene = ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).intro_cutscene, + data = ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + } + }) + end + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "DISABLED_LEVEL" then + if g_episodes[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).episode].pages[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).page].levels[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).level].hint then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = GoldenEggHintPopup:new(g_episodes[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).episode].pages[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).page].levels[ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_).level].hint) + }) + end + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_FACEBOOK_CONNECT" then + eventManager:notify({ + id = events.EID_GOTO_FACEBOOK_CONNECT + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "EXIT" then + eventManager:notify({ + id = events.EID_EXIT_GAME + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "SHOW_FACEBOOK_PROMPT" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_FB_LEVELS_HINT_TITLE", + content = "TEXT_FB_LEVELS_HINT" + }) + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "ACTIVATE_KINGPIG" then + if currentMainMenuSong then + _G.res.stopAudio(currentMainMenuSong) + currentMainMenuSong = nil + end + eventManager:notify({ + id = events.EID_MATTEL_RANDOM_MODE, + popup = true, + return_function = function() + eventManager:queueEvent({ + id = events.EID_CHANGE_SCENE, + from = "INGAME", + target = "LEVEL_SELECTION_G" + }) + end + }) + elseif ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "OPEN_URL" then + openURL(ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_)) + end + return ui.Frame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +LevelSelection = LevelSelectionRoot:inherit() +function LevelSelection.new(_ARG_0_, _ARG_1_) + _ARG_1_ or {}.name = "LevelSelection" .. _G.tostring(_ARG_1_ or {}.episode) + return LevelSelectionRoot.new(_ARG_0_, _ARG_1_ or {}) +end +function LevelSelection.init(_ARG_0_) + if not _ARG_0_.episode then + return + end + _ARG_0_.backgroundColour = { + r = 0, + g = 0, + b = 0, + a = 255 + } + _ARG_0_:createDecorationSprites() + LevelScrollFrame:new(nil, _ARG_0_.episode).name = "levelButtons" + _ARG_0_:addChild((LevelScrollFrame:new(nil, _ARG_0_.episode))) + _ARG_0_.currentSelection = settingsWrapper:getCurrentLevelSelectionPage(_ARG_0_.episode) + if _ARG_0_.currentSelection > #g_episodes[_ARG_0_.episode].pages then + _ARG_0_.currentSelection = #g_episodes[_ARG_0_.episode].pages + settingsWrapper:setCurrentLevelSelectionPage(_ARG_0_.episode, _ARG_0_.currentSelection) + end + LevelScrollFrame:new(nil, _ARG_0_.episode).currentSelection = _ARG_0_.currentSelection + if g_episodes[_ARG_0_.episode].decor_left ~= nil then + _ARG_0_:getChild("left"):setVisible(true) + _ARG_0_:getChild("left"):setImage(g_episodes[_ARG_0_.episode].decor_left) + else + _ARG_0_:getChild("left"):setVisible(false) + end + if g_episodes[_ARG_0_.episode].decor_right ~= nil then + _ARG_0_:getChild("right"):setVisible(true) + _ARG_0_:getChild("right"):setImage(g_episodes[_ARG_0_.episode].decor_right) + else + _ARG_0_:getChild("right"):setVisible(false) + end + for _FORV_7_ = 1, #g_episodes[_ARG_0_.episode].pages do + ui.Image:new().name = "dot" .. _FORV_7_ + ui.Image:new():setImage("LS_DOT_BLACK") + ui.Image:new().attach = "fixed" + _ARG_0_:addChild((ui.Image:new())) + end + for _FORV_7_ = 1, #g_episodes[_ARG_0_.episode].pages do + ui.Text:new().name = "pageNumber" .. _FORV_7_ + if g_episodes[_ARG_0_.episode].pages[_FORV_7_].display_dot_numbers ~= false then + ui.Text:new().text = g_episodes[_ARG_0_.episode].pages[_FORV_7_].display_number or "" + else + ui.Text:new().text = "" + end + ui.Text:new().font = "FONT_LS_SMALL" + ui.Text:new().visible = false + ui.Text:new().attach = "fixed" + _ARG_0_:addChild((ui.Text:new())) + end + _FOR_.ImageButton:new().name = "backButton" + _FOR_.ImageButton:new():setImage("ARROW_LEFT") + _FOR_.ImageButton:new().returnValue = "EPISODE_SELECTION" + _FOR_.ImageButton:new().attach = "fixed" + _FOR_.ImageButton:new().activateOnRelease = true + _FOR_.ImageButton:new().clickSound = "menu_back" + _ARG_0_:addChild((_FOR_.ImageButton:new())) + if _UPVALUE0_ then + ui.ImageButton:new().name = "left_button" + ui.ImageButton:new():setImage("BUTTON_ARROW_LEFT") + ui.ImageButton:new().returnValue = "SCROLL_LEFT" + _ARG_0_:addChild((ui.ImageButton:new())) + LevelScrollFrame:new(nil, _ARG_0_.episode).left_button = ui.ImageButton:new() + ui.ImageButton:new().name = "right_button" + ui.ImageButton:new():setImage("BUTTON_ARROW_RIGHT") + ui.ImageButton:new().returnValue = "SCROLL_RIGHT" + _ARG_0_:addChild((ui.ImageButton:new())) + LevelScrollFrame:new(nil, _ARG_0_.episode).right_button = ui.ImageButton:new() + end + eventManager:addEventListener(events.EID_SCROLL_TO_NEXT_WORLD, _ARG_0_) + LevelSelectionRoot.init(_ARG_0_) +end +function LevelSelection.createDecorationSprites(_ARG_0_) + ui.Image:new().name = "left" + ui.Image:new():setImage("LS_MAIN_LEFT") + ui.Image:new().attach = "fixed" + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "right" + ui.Image:new():setImage("LS_MAIN_RIGHT") + ui.Image:new().attach = "fixed" + _ARG_0_:addChild((ui.Image:new())) +end +function LevelSelection.onEntry(_ARG_0_) + _ARG_0_:shadeBackground(_ARG_0_.currentSelection) + _ARG_0_:updateSelection(true) + levelRestartedFrom = nil + for _FORV_5_, _FORV_6_ in _G.ipairs(g_episodes[_ARG_0_.episode].pages) do + for _FORV_11_, _FORV_12_ in _G.ipairs(g_ls_layout_mapping[_FORV_6_.layout].listen_events) do + if not { + [_FORV_12_] = true + }[_FORV_12_] then + eventManager:addEventListener(_FORV_12_, _ARG_0_) + end + end + end + LevelSelectionRoot.onEntry(_ARG_0_) +end +function LevelSelection.onExit(_ARG_0_) + for _FORV_5_, _FORV_6_ in _G.ipairs(g_episodes[_ARG_0_.episode].pages) do + for _FORV_11_, _FORV_12_ in _G.ipairs(g_ls_layout_mapping[_FORV_6_.layout].listen_events) do + if not { + [_FORV_12_] = true + }[_FORV_12_] then + eventManager:removeEventListener(_FORV_12_, _ARG_0_) + end + end + end + LevelSelectionRoot.onExit(_ARG_0_) +end +function LevelSelection.layout(_ARG_0_) + _ARG_0_:getChild("left").y = screenHeight + _ARG_0_:getChild("right").x = screenWidth + _ARG_0_:getChild("right").y = screenHeight + _ARG_0_:getChild("backButton"):refresh() + _ARG_0_:getChild("backButton").x = _ARG_0_:getChild("backButton").w * 0.5 + g_layoutMargin.x + _ARG_0_:getChild("backButton").y = screenHeight - _ARG_0_:getChild("backButton").h * 0.5 - g_layoutMargin.y + if deviceModel == "roku" then + _ARG_0_:getChild("backButton").y = _ARG_0_:getChild("backButton").h * 0.5 + g_layoutMargin.y + end + for _FORV_12_ = 1, #g_episodes[_ARG_0_.episode].pages do + _ARG_0_:getChild("dot" .. _FORV_12_).x = screenWidth * 0.5 - (#g_episodes[_ARG_0_.episode].pages - 1) * 0.5 * (_G.res.getSpriteBounds("LS_DOT_WHITE") * 2) + _G.res.getSpriteBounds("LS_DOT_WHITE") * 2 * (_FORV_12_ - 1) + _ARG_0_:getChild("dot" .. _FORV_12_).y = screenHeight - 10 - g_layoutMargin.y + _ARG_0_:getChild("pageNumber" .. _FORV_12_).x = _ARG_0_:getChild("dot" .. _FORV_12_).x + _ARG_0_:getChild("pageNumber" .. _FORV_12_).y = screenHeight - (0.03 * screenHeight + 12) - g_layoutMargin.y + end + if _FOR_ then + _ARG_0_:getChild("left_button").x = _G.res.getSpriteBounds(_ARG_0_:getChild("left_button").image) * 0.5 + g_layoutMargin.x + _ARG_0_:getChild("left_button").y = screenHeight * 0.5 + _ARG_0_:getChild("right_button").x = screenWidth - _G.res.getSpriteBounds(_ARG_0_:getChild("left_button").image) * 0.5 - g_layoutMargin.x + _ARG_0_:getChild("right_button").y = screenHeight * 0.5 + end + for _FORV_15_ = 1, #g_episodes[_ARG_0_.episode].pages do + _G.table.insert({}, _FORV_15_, { + x = (_FORV_15_ - 1) * screenWidth, + y = 0 + }) + end + _ARG_0_:getChild("levelButtons"):setAnchors({}) + LevelSelectionRoot.layout(_ARG_0_) +end +function LevelSelection.setEpisode(_ARG_0_, _ARG_1_) + _ARG_0_.episode = _ARG_1_ +end +function LevelSelection.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_:shadeBackground(_ARG_0_:getChild("levelButtons"):getCurrentX() / screenWidth + 1) + if _ARG_0_.scroll_to_next_page then + _ARG_0_:getChild("levelButtons"):next() + _ARG_0_.scroll_to_next_page = false + end + LevelSelectionRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_:updateSelection() +end +if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "roku" or deviceModel == "freebox" then + function LevelSelection.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if LevelSelectionRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "SCROLL_LEFT" then + _ARG_0_:getChild("levelButtons"):previous() + elseif LevelSelectionRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "SCROLL_RIGHT" then + _ARG_0_:getChild("levelButtons"):next() + end + return LevelSelectionRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +end +function LevelSelection.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if not LevelSelectionRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) and _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "ESCAPE") then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = _ARG_0_.exit_link, + from = "LEVEL_SELECTION" + }) + end + return LevelSelectionRoot.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) +end +function LevelSelection.shadeBackground(_ARG_0_, _ARG_1_) + if _ARG_1_ <= 1 then + _ARG_0_.backgroundColour.r = g_episodes[_ARG_0_.episode].pages[1].colour.r + _ARG_0_.backgroundColour.g = g_episodes[_ARG_0_.episode].pages[1].colour.g + _ARG_0_.backgroundColour.b = g_episodes[_ARG_0_.episode].pages[1].colour.b + elseif _ARG_1_ >= #g_episodes[_ARG_0_.episode].pages then + _ARG_0_.backgroundColour.r = g_episodes[_ARG_0_.episode].pages[#g_episodes[_ARG_0_.episode].pages].colour.r + _ARG_0_.backgroundColour.g = g_episodes[_ARG_0_.episode].pages[#g_episodes[_ARG_0_.episode].pages].colour.g + _ARG_0_.backgroundColour.b = g_episodes[_ARG_0_.episode].pages[#g_episodes[_ARG_0_.episode].pages].colour.b + else + _ARG_0_.backgroundColour.r = g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_)].colour.r + (_ARG_1_ - _G.math.floor(_ARG_1_)) * (g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_) + 1].colour.r - g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_)].colour.r) + _ARG_0_.backgroundColour.g = g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_)].colour.g + (_ARG_1_ - _G.math.floor(_ARG_1_)) * (g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_) + 1].colour.g - g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_)].colour.g) + _ARG_0_.backgroundColour.b = g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_)].colour.b + (_ARG_1_ - _G.math.floor(_ARG_1_)) * (g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_) + 1].colour.b - g_episodes[_ARG_0_.episode].pages[_G.math.floor(_ARG_1_)].colour.b) + end +end +function LevelSelection.updateSelection(_ARG_0_, _ARG_1_) + if not _ARG_1_ then + end + if _ARG_0_.currentSelection ~= _ARG_0_:getChild("levelButtons"):getCurrentAnchor() or _ARG_1_ then + settingsWrapper:setCurrentLevelSelectionPage(_ARG_0_.episode, (_ARG_0_:getChild("levelButtons"):getCurrentAnchor())) + if _ARG_0_:getChild("dot" .. _ARG_0_:getChild("levelButtons"):getCurrentAnchor()) ~= nil then + _ARG_0_:getChild("dot" .. _ARG_0_.currentSelection):setImage("LS_DOT_BLACK") + _ARG_0_:getChild("pageNumber" .. _ARG_0_.currentSelection).visible = false + _ARG_0_:getChild("dot" .. _ARG_0_:getChild("levelButtons"):getCurrentAnchor()):setImage("LS_DOT_WHITE") + _ARG_0_.currentSelection, _ARG_0_:getChild("pageNumber" .. _ARG_0_:getChild("levelButtons"):getCurrentAnchor()).visible = _ARG_0_:getChild("levelButtons"):getCurrentAnchor(), true + end + _ARG_0_:getChild("levelButtons").currentSelection = _ARG_0_:getChild("levelButtons"):getCurrentAnchor() + if _UPVALUE0_ then + _ARG_0_:getChild("left_button"):setVisible(_ARG_0_:getChild("levelButtons"):getCurrentAnchor() > 1) + _ARG_0_:getChild("right_button"):setVisible(_ARG_0_:getChild("levelButtons"):getCurrentAnchor() < #g_episodes[_ARG_0_.episode].pages) + end + end +end +function LevelSelection.eventTriggered(_ARG_0_, _ARG_1_) + if _ARG_1_.id == events.EID_SCROLL_TO_NEXT_WORLD and _ARG_1_.episode == _ARG_0_.episode then + _ARG_0_.scroll_to_next_page = true + end + for _FORV_5_, _FORV_6_ in _G.ipairs(g_episodes[_ARG_0_.episode].pages) do + g_ls_layout_mapping[_FORV_6_.layout].eventTriggered(_ARG_0_, _FORV_6_, _ARG_1_) + end +end +LevelScrollFrame = ui.ScrollFrame:inherit() +function LevelScrollFrame.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_ or {}.episode = _ARG_2_ + return ui.ScrollFrame.new(_ARG_0_, _ARG_1_ or {}) +end +function LevelScrollFrame.init(_ARG_0_) + _ARG_0_.visible_children = {} + _ARG_0_.visible_images = {} + _ARG_0_.visible_text = {} + _ARG_0_.eventTimer = subsystems.Timer.new(g_time or 0) + for _FORV_5_ = 1, #g_episodes[_ARG_0_.episode].pages do + g_ls_layout_mapping[g_episodes[_ARG_0_.episode].pages[_FORV_5_].layout].createPage(_ARG_0_, g_episodes[_ARG_0_.episode].pages[_FORV_5_]) + for _FORV_10_, _FORV_11_ in _G.ipairs(g_episodes[_ARG_0_.episode].pages[_FORV_5_].levels) do + _ARG_0_:addChild(g_ls_layout_mapping[g_episodes[_ARG_0_.episode].pages[_FORV_5_].layout].createLevelButton(_FORV_11_)) + end + if g_episodes[_ARG_0_.episode].pages[_FORV_5_].locked then + ui.Image:new().name = "coming_soon" .. _FORV_5_ + ui.Image:new():setImage("LS_COMING_SOON") + _ARG_0_:addChild((ui.Image:new())) + end + end + _FOR_.ScrollFrame.init(_ARG_0_) +end +if g_isAccelerometerControl then + function LevelScrollFrame.wheel(_ARG_0_, _ARG_1_) + if _ARG_1_ > 0 then + _ARG_0_.left_button:onMouseEnter() + _ARG_0_.eventTimer:once(nil, function() + _UPVALUE0_.left_button:onMouseLeave() + end, 0.15) + elseif _ARG_1_ < 0 then + _ARG_0_.right_button:onMouseEnter() + _ARG_0_.eventTimer:once(nil, function() + _UPVALUE0_.right_button:onMouseLeave() + end, 0.15) + end + return ui.ScrollFrame.wheel(_ARG_0_, _ARG_1_) + end +end +function LevelScrollFrame.onEntry(_ARG_0_) + ui.ScrollFrame.onEntry(_ARG_0_) + for _FORV_5_ = 1, #g_episodes[_ARG_0_.episode].pages do + for _FORV_10_ = 1, #g_episodes[_ARG_0_.episode].pages[_FORV_5_].levels do + if g_ls_layout_mapping[g_episodes[_ARG_0_.episode].pages[_FORV_5_].layout].isLevelOpen(g_episodes[_ARG_0_.episode].pages[_FORV_5_].levels[_FORV_10_]) and not g_episodes[_ARG_0_.episode].pages[_FORV_5_].locked then + g_ls_layout_mapping[g_episodes[_ARG_0_.episode].pages[_FORV_5_].layout].onOpenLevelEntry(_ARG_0_, _ARG_0_:getChild("level" .. _FORV_5_ .. "-" .. _FORV_10_), g_episodes[_ARG_0_.episode].pages[_FORV_5_].levels[_FORV_10_]) + else + g_ls_layout_mapping[g_episodes[_ARG_0_.episode].pages[_FORV_5_].layout].onClosedLevelEntry(_ARG_0_, _ARG_0_:getChild("level" .. _FORV_5_ .. "-" .. _FORV_10_), g_episodes[_ARG_0_.episode].pages[_FORV_5_].levels[_FORV_10_]) + end + end + end + _FOR_(_FOR_) +end +function LevelScrollFrame.layout(_ARG_0_) + if _UPVALUE0_ then + else + end + ui.ScrollFrame.layout(_ARG_0_) + _ARG_0_:setCurrentAnchor(_ARG_0_.currentSelection) + for _FORV_7_ = 1, #g_episodes[_ARG_0_.episode].pages do + g_ls_layout_mapping[g_episodes[_ARG_0_.episode].pages[_FORV_7_].layout].layout(_ARG_0_, g_episodes[_ARG_0_.episode].pages[_FORV_7_]) + if g_episodes[_ARG_0_.episode].pages[_FORV_7_].locked then + _ARG_0_:getChild("coming_soon" .. _FORV_7_).x = (_FORV_7_ - 0.5) * screenWidth + _ARG_0_:getChild("coming_soon" .. _FORV_7_).y = 0.5 * screenHeight + end + end + _FOR_(_FOR_) +end +function LevelScrollFrame.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.eventTimer:update(_ARG_1_, _ARG_2_) + for _FORV_6_, _FORV_7_ in _G.ipairs(g_episodes[_ARG_0_.episode].pages) do + g_ls_layout_mapping[_FORV_7_.layout].update(_ARG_0_, _FORV_7_, _ARG_1_, _ARG_2_) + end + if _UPVALUE0_ then + ui.ScrollFrame.update(_ARG_0_, _ARG_1_, _ARG_2_) + else + _ARG_0_:updateSelf(_ARG_1_, _ARG_2_) + end + if _ARG_0_:getCurrentX() ~= _ARG_0_:getCurrentX() then + _ARG_0_:refreshVisibleChildren() + end +end +if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "freebox" then + function LevelScrollFrame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) + _ARG_1_ = _ARG_1_ or 0 + _ARG_2_ = _ARG_2_ or 0 + _ARG_1_ = _ARG_1_ - _ARG_0_:getCurrentX() + _ARG_2_ = _ARG_2_ - _ARG_0_:getCurrentY() + _ARG_5_ = _ARG_5_ or 0 + _ARG_1_ = _G.math.floor(_ARG_1_) + _ARG_2_ = _G.math.floor(_ARG_2_) + for _FORV_9_, _FORV_10_ in _G.ipairs(_ARG_0_.visible_images) do + if _FORV_10_.image.angle == 0 then + _ARG_0_:drawImage(_FORV_10_.image, _FORV_10_.x + _ARG_1_, _FORV_10_.y + _ARG_2_, _FORV_10_.parent) + else + _ARG_0_:drawImageWithAngle(_FORV_10_.image, _FORV_10_.x + _ARG_1_, _FORV_10_.y + _ARG_2_, _FORV_10_.parent) + end + end + setRenderState(0, 0, 1, 1, 0, 0, 0) + for _FORV_9_, _FORV_10_ in _G.ipairs(_ARG_0_.visible_text) do + _ARG_0_:drawText(_FORV_10_.text, _FORV_10_.x + _ARG_1_, _FORV_10_.y + _ARG_2_, _FORV_10_.parent) + end + end +end +if g_enableHoverScaling then + function LevelScrollFrame.drawImage(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + _ARG_1_:drawSelf(_ARG_2_, _ARG_3_, 1, 1, 0, _ARG_4_ and _ARG_4_:hoverScale() or 1) + end + function LevelScrollFrame.drawText(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + _ARG_1_:draw(_ARG_2_, _ARG_3_, 1, 1, 0, _ARG_4_ and _ARG_4_:hoverScale() or 1) + end +else + function LevelScrollFrame.drawImage(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_.visible == true then + _G.res.drawSprite(_ARG_1_.image, _G.math.floor(_ARG_1_.x + _ARG_2_), _G.math.floor(_ARG_1_.y + _ARG_3_)) + end + end + function LevelScrollFrame.drawText(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + setFont(_ARG_1_.font) + _G.res.drawString("TEXTS_BASIC", _ARG_1_.text, _G.math.floor(_ARG_1_.x + _ARG_2_), _G.math.floor(_ARG_1_.y + _ARG_3_), _ARG_1_.hanchor, _ARG_1_.vanchor) + end +end +function LevelScrollFrame.drawImageWithAngle(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_.visible == true then + setRenderState(_G.math.floor(_ARG_1_.x + _ARG_2_), _G.math.floor(_ARG_1_.y + _ARG_3_), 1, 1, _ARG_1_.angle, _ARG_1_.px, _ARG_1_.py) + _G.res.drawSprite(_ARG_1_.image, 0, 0) + setRenderState(0, 0, 1, 1, 0, 0, 0) + end +end +function LevelScrollFrame.refreshVisibleChildren(_ARG_0_) + for _FORV_8_, _FORV_9_ in _G.ipairs(_ARG_0_.children) do + if _FORV_9_.visible == true and _FORV_9_.x - (_ARG_0_:getCurrentX() or 0) >= -_FORV_9_.w and _FORV_9_.x - (_ARG_0_:getCurrentX() or 0) <= screenWidth + 0.5 * _FORV_9_.w then + _ARG_0_.visible_images[1] or {}.x, _ARG_0_.visible_images[1] or {}.y, _ARG_0_.visible_images[1] or {}.image, _ARG_0_.visible_images[1] or {}.parent = 0, 0, _FORV_9_, nil + _ARG_0_.visible_images[1] = _ARG_0_.visible_images[1] or {} + for _FORV_14_, _FORV_15_ in _G.ipairs(_FORV_9_.children) do + if _FORV_15_.text == nil and _FORV_15_.visible then + _ARG_0_.visible_images[1 + 1] or {}.x, _ARG_0_.visible_images[1 + 1] or {}.y, _ARG_0_.visible_images[1 + 1] or {}.image, _ARG_0_.visible_images[1 + 1] or {}.parent = _FORV_9_.x, _FORV_9_.y, _FORV_15_, _FORV_9_ + _ARG_0_.visible_images[1 + 1] = _ARG_0_.visible_images[1 + 1] or {} + elseif _FORV_15_.text ~= nil and _FORV_15_.visible then + _ARG_0_.visible_text[1] or {}.x, _ARG_0_.visible_text[1] or {}.y, _ARG_0_.visible_text[1] or {}.text, _ARG_0_.visible_text[1] or {}.parent = _FORV_9_.x, _FORV_9_.y, _FORV_15_, _FORV_9_ + _ARG_0_.visible_text[1] = _ARG_0_.visible_text[1] or {} + end + end + end + end + _ARG_0_.visible_images[1 + 1 + 1] = nil + _ARG_0_.visible_text[1 + 1] = nil +end +function LevelScrollFrame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if not type == "LHOLD" then + return ui.ScrollFrame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + else + if _ARG_0_:getCurrentX() ~= _ARG_0_:getCurrentX() then + _ARG_0_:refreshVisibleChildren() + end + return ui.ScrollFrame.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +end +filename = "level_selection.lua" diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/settings_page.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/shop3.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/shop3.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb99634991566d88de2c3f01073d90544af29b9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/shop3.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/slideshow.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/slideshow.lua new file mode 100644 index 0000000000000000000000000000000000000000..7741f64b7fbfd784214d4b2c53bdb158f3e7eb17 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/slideshow.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d4821684471ab0e7ff05947f834acd75c1355f1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/2.0.4/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..e759447d032b08fb3724a754b58aea26e825b0c2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/powerups.lua b/Angry Birds Project R/2.0.4/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/powerups2.lua b/Angry Birds Project R/2.0.4/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..29020e339e0a510c8717c5de3eaf8a16c56f813a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/puffer_bird.lua b/Angry Birds Project R/2.0.4/data/scripts_common/puffer_bird.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/2.0.4/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/sticky_block.lua b/Angry Birds Project R/2.0.4/data/scripts_common/sticky_block.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1d141bb211067cab0dc1436baf05e9e0e07f5ce Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/sticky_block.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ChallengePage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/CloudSync.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/CloudSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..e6196e7ead07b2c8ac9b980dc46b90d7ff66b771 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/CloudSync.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/RovioAccount.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/RovioAccount.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c16df839fe70d659317c0e8c7dbaf40da84ef35 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/RovioAccount.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/blockListSetup.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/blockListSetup.lua new file mode 100644 index 0000000000000000000000000000000000000000..c08bfae1e8e13b0ccc136876285b1d7763e75fee Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/blockListSetup.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/calendarSubsystem.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/calendarSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..209cfeb39539c57a9128c8ff258ae9bec65f82e6 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/calendarSubsystem.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/challenges.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..dc0f75c1bed06bc8c3341425a51a7a3296ab24c4 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/2.0.4/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/timer.lua b/Angry Birds Project R/2.0.4/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/trackpad.lua b/Angry Birds Project R/2.0.4/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/PageIndicatorDots.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/PageIndicatorDots.lua new file mode 100644 index 0000000000000000000000000000000000000000..25874c112860714619bf92d615e6fbcdd01e9492 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/PageIndicatorDots.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/2.0.4/data/scripts_common/utils.lua b/Angry Birds Project R/2.0.4/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/2.0.4/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/2.0.4/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/pp.fx b/Angry Birds Project R/2.0.4/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/2.0.4/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/2.0.4/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/2.0.4/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/2.0.4/desktop.ini b/Angry Birds Project R/2.0.4/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..410dccd781a90fdc7dfd7bb08abcc4c0228047f0 --- /dev/null +++ b/Angry Birds Project R/2.0.4/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\Users\norto\OneDrive\Desktop\FAVICON.ico,0 diff --git a/Angry Birds Project R/2.0.4/msvcp100.dll b/Angry Birds Project R/2.0.4/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/2.0.4/msvcp100.dll differ diff --git a/Angry Birds Project R/2.0.4/msvcr100.dll b/Angry Birds Project R/2.0.4/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/2.0.4/msvcr100.dll differ diff --git a/Angry Birds Project R/2.2.3/Angry Birds.exe b/Angry Birds Project R/2.2.3/Angry Birds.exe new file mode 100644 index 0000000000000000000000000000000000000000..6aae4bb54b0b3b71f4688228be920637df0986a2 --- /dev/null +++ b/Angry Birds Project R/2.2.3/Angry Birds.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58c8b02863cac5607a2cd81d8ad94905a8ec2701c49074addaac9039c3b21d93 +size 1560688 diff --git a/Angry Birds Project R/2.2.3/Angry Birds.gdf b/Angry Birds Project R/2.2.3/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/2.2.3/Angry Birds.gdf differ diff --git a/Angry Birds Project R/2.2.3/Changelog.txt b/Angry Birds Project R/2.2.3/Changelog.txt new file mode 100644 index 0000000000000000000000000000000000000000..7966753687ef29f45200e9c63bbbd7dbb5b3bec9 --- /dev/null +++ b/Angry Birds Project R/2.2.3/Changelog.txt @@ -0,0 +1,22 @@ +Welcome back to Angry Birds Project R! + +Changelog: + +2.2.3: +- Updated the Angry Birds King Pig link. + +2.2.2: +- The Cake Bunker's damage sprites have had their HP differently divided. +- Art fixes. + +2.2.1: +- Added a button to the AB Modding Direct's Gamejolt page. +- Out of respect and by request respectively, usernames in 2-17 and 4-6 have been removed. +- Version number is now displayed on the title screen instead of the credits. + +2.2.0: +- The second part of Time Tasum is open! Use your slingshot like a knight in shining armor and put on a reckless fireworks show! The third part will be coming in another update! +- Bubbles is on the hunt for treats! The all new Hallow Heist episode features 15 levels of spooky Bubbles action! +- Added music for the Episode selection. +- Bug and art fixes. +- Removed several unnecessary files from the game. \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/Readme.txt b/Angry Birds Project R/2.2.3/Readme.txt new file mode 100644 index 0000000000000000000000000000000000000000..8aac67b4ab4d9cc3d312d9d995f93a884aa56f5e --- /dev/null +++ b/Angry Birds Project R/2.2.3/Readme.txt @@ -0,0 +1,5 @@ +Thank you for choosing to play Angry Birds Project R! +This is my first Angry Birds mod i've made so that's cool. + +If you have any suggestions, complaints or anything like that, join the Discord server! +There's a link to it in-game. (Must be 13 or older to join) \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/config.lua b/Angry Birds Project R/2.2.3/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..378bf993815225bc0ad3b8897d0a87d5dec36123 --- /dev/null +++ b/Angry Birds Project R/2.2.3/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R" +publisher = "JPA" +name = "Angry Birds Project R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/2.2.3/data/audio/music/MTF_intro.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/MTF_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d9a227747348e160a01f7e9ae7e2b06315b119e5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/MTF_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90ca3f06f0092959c7fc6322e0d6cae9a43114c794af2cb6cb8ecc7447465f54 +size 343689 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/MTF_outro.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/MTF_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4f6e5a5aecb35627a00ed12fd8596d5558934bef --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/MTF_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4608c0849e9ee5d4e6a85f60e235e6db9ec077db89367ff478a00c052c9e69df +size 392174 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_0_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_0_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..97c79173a3bcb8073ff8068c6810065ca0892f87 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_0_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41fdbd2bc3a203c2e584b7d975661e4fe5c186c2a7528fd1199996812a681c7 +size 618188 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_1_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_1_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..467a67408a7954ba96b04569d8fda0a7cf350301 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_1_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2daf0d2e479b0b9599e2150d359caa4a574bb14cd7a89f210e52c918d14689bd +size 1016652 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_1_2.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_1_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..1cdd935680aa13d47b77a39bbfb4bdcdc2aa6d68 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_1_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6448af2f673dc4460d11202f6c7c5682d22b6a439e3d0e8b289de8f384ca2317 +size 1336378 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_2_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_2_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f9cd063498fa1a0b405f3d5258448d45e82fbc5a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_2_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c9834ed39442ed4324c8a07dfd707c26d2e19bc541c04cd3bf05cf77dc369b8 +size 950425 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_2_2.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_2_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..90c343302788c26484449ed170db1e391fb03869 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_2_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c5b31773a51f6dea76030a006911bffe16ff7b66b92a1af7ea1f7a1f090c54a +size 1230442 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_3_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_3_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..341f7ec99a19f4b4d16f3ae10ab3afa03350d51c --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_3_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d08684be8362ac245fc0e9a69ebf948661b6a2a7b6d960c825ede8b6c13e3ff +size 651520 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_3_2.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_3_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..436c26c43d140930c5e724f00eae6be39a1a0dd5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_3_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9233243f30b8d072437b11747664649bf99c35657e1b72bb8d9cf61bb0000ad8 +size 444899 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_4_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_4_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..036186a06cc5b6b3fd714dd52a38729ccde03f2a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_4_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76770de6d4e58d23fcb27b57fe2e0c7367d7304fb5bd2302163e483cc72c8798 +size 189842 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_4_2.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_4_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..06f4a7c32fedd8905f80ad7e4f6973cf10f9a9c8 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_4_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de8eaa5ea0c0b99a10552bbbcedbd393b38097683de4cb9a68f596f72e605df +size 639466 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_b_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_b_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6b2cbdcbe821eae8320f44cdbfc9f45631cbb68b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_b_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:998c899f61e7cb63d1f321d2a1d074eeeda9c88e25e9cad84f3f782887685376 +size 605366 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_c_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_c_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d232827e29eedd8a57fe9d870ea2f3c6de732723 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_c_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e22c4d22193fd6ec4db13650d62bd40f4fdf46b27154b752eaad695a3fc4af6c +size 1325001 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_d_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_d_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a6aba1462db5f4cb898d64d13cd9cf1f6afd19af --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_d_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:570aa3f1b30cad62daf8399fd98e5d19f52f59308b5852516b74e1c8d31b4889 +size 1030686 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_g_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_g_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2d628546b5947fd97c732e510a96e6c00db18f38 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_g_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9846a1505652c6c3fa4fe2b118e60f19642021c987f6595f05834cb5b9e0276 +size 458197 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_p_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_p_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5d87736f252b1bc7a9a7b4e834e2a7546cff6d3a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_p_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bf0415e85ae0e1469811a8fb0def7acc66fb2437452d13ec13b701c88afe58a +size 1333521 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/ambient_s_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/ambient_s_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3ebdf1779be60c5f3042f88eb2cb91990d6827d3 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/ambient_s_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b7d0b3e21dd243274cd956397ecb8dcfb4bea1b72cc83a76f398ad22d9fb78 +size 899834 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4b6dd2841ceeb593050d44db943b787da0ed4b88 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12dcb94b0c9549ddd0f4ba8ec743c02a2e706294715af8da467c41be5e718281 +size 154589 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..839ffd39e23bba195a2173521118cf454e65b445 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:625209401b32b85c3d1e563cced192b92be38fc770bebc08ea6d95f0fcb8282b +size 371553 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..39d12d35077d18ac2bd4708f1d616f910e398da3 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d9fb29f1bf5ba1f32b7914a51eaf051959e4c73372dbf206fb0d845aeecff5f +size 226998 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/boss_defeated.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/boss_defeated.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2a2a726abe825fdb38fde6251e7a49321d82450d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/boss_defeated.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:208d31756ce0c78350c9d9194ceda02c1ebe9d273c55dcceb5ca459f77f2aee7 +size 204591 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/credits_music.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/credits_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2476bc7ab87820ffba1bc10e5e328c9c8b1e771c --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/credits_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e90b52d34f451ba70b876732c70219996e30c9f2e5aa362826185d89c95b78b4 +size 3694155 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/episode_select_music.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/episode_select_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f2141a245326c3ba4026d2427e5594a14290687d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/episode_select_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:718ffe28c6a3ee407aaab94ba8d77927ad38ce4e186d3b84d41aee2be5111b4d +size 2292377 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/level_select_2_music.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/level_select_2_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7e35439e79967f326e7b6c9d55e415ff396418b0 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/level_select_2_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d53511f3153a8283a3b9321b169963396492b9f6f5fe06c213c0aa7677b1f9c +size 1321340 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/level_select_h_music.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/level_select_h_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..655bfa926c591e44d87c52b0c96514c45fe5b0df --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/level_select_h_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f8578228bb3295f449d14cd022e804dc62573a76a8358e6cdbf00b3d1d9845c +size 1610940 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/level_select_music.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/level_select_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3bd76fc90a0779ae53d0ebf868c301ceeffdb524 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/level_select_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:492122fc14612541af113edeafea798b1e5e9ec181e4b0c78e51e15e5b2f7790 +size 1540794 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_0.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_0.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3fb190d2e616797883ea383b43feb8b87be077d2 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_0.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20bb5bc762953bbba090df8865a6d658368e670710682c9cd06173902784a24c +size 3115098 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f80682632318b85aef587e6f299d5a360a64a285 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0ce7ee6b91a69c93c327ca0130a07d2848939a68d6937ff9397ce1fa8817197 +size 1993228 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6dc6de5fbabd8c09dd1261a025b861b687269226 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24c347b440ebadbe8b59dec24740b681a5b9122cee5084cc68f001396623399d +size 3910247 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_wiz.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_wiz.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9e8e66bf980a5dd9a590d1645434ca2b92a2f75b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/pig_boss_wiz.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5396516dc0345dfe4a8bb5c22a754667015060aaa4fb1ae7d26e54e935fdeda3 +size 4365648 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/reward_get.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/reward_get.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..55edda240cf1a3045602276c82dd29853917c708 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/reward_get.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:046b38a71b44937a09254d8bdf5d111b2f4ba6d559e6e8642c60717181ab079b +size 104452 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/startup.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/startup.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..47f5362d78845f3d3723cefdcab82ebcfaa2d7d5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/startup.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d43e9140f8000f014cb4931726436c9ac4c3849fd26a8eb9153b2ae313ef203 +size 62232 diff --git a/Angry Birds Project R/2.2.3/data/audio/music/title_theme.mp3 b/Angry Birds Project R/2.2.3/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6c0d80af80d6bb93a3a6cc1b6c2782623baa76ca --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b970513790ec2b40efbf39f7a22e7d535d4a1716b80d0800d0c35960291c2c7 +size 4618702 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Black_Idle1.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Black_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2b27375ecfd5daa354a6b4ba9a635b2cdef03240 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Black_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb58200682af2dd948351e3a9c169e3168580979690afe60e6b8559cda935b5f +size 9657 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Black_Idle2.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Black_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..7ab10d09a511894f03bdfdd4ddfb97ab0343435a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Black_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9006e7ae6bf70a95af8c49bff1de3b6759099806a8b98795de67e5473f1542c +size 4011 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle1.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f2c31438df2b4a5c11d20c6699621e21223a9d05 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:841010fc46ead4e59c464058d7b1e230d2e5621dafb7b6dc997da28a8c6549b5 +size 8874 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle2.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a786c13fec906fbaacb5d2608fa0abfc77c04b37 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be59113eb7c2de2c35c000a05276c97b0b29f81f57d885882f56b1cf86a516e7 +size 11745 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle3.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5945e8c1a13f88ec1ddf75013935fb0798495e2b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Blue_Idle3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03df6550abe97b1c8a630824ed15407199c2da138b797dbcf4a2307f497b050 +size 4959 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Red_Idle_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Red_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e8e1a7aee3622f063f22fce7bb92a3143a287b39 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_Red_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8081ac3830258e3aa72cb94fe639ee8edfd9033d9400517fb6205093fd455102 +size 4437 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_White_Idle_1.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_White_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..56a0ed1956d46f98eceae295b54dc036aaddd23a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bird_White_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6153339dbdd4e35536ce58b3da36defacd3cd9f5b6829678ec32355f4f39c048 +size 10028 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/Bouncer.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/Bouncer.wav new file mode 100644 index 0000000000000000000000000000000000000000..e62313dcce963a233caa1837657f147d5d7da702 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/Bouncer.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a789c2592d372c11e098498e512d2e4c6a40d1592f260034c47c5d0517fabc8 +size 68738 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_01.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..66b4213996addc410b3b4d002a7b7b450df639da --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd8f06ba2b8f091a47bfb82967a8b851d4e796620b9d73cb94a45988e2cd386c +size 42086 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_02.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..4f3ae518edac6f13456b2d3251a5370fac22feed --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3292d3f7062420c6c914cc656f82515790345c1a66eba15cee5779b3d0b08841 +size 42090 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_03.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..b49d5d8d4d18dab7069e5a733c4df50f155188a3 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/ball_bounce_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b055b0c82f742878108b59cb1c1abf8a51b508a5c5e8dce3e8157f6cfb58053 +size 42090 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c05651ec3f53f863e6d1a8be8579775a3576e26 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb8c031f4c0853b8f67b3152d648748581f031f61d74756e51fae37ea2a3a60 +size 62252 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/big_bird.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ac04069d76d28efea1468cc6af4c8fd5d847214 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875e6cc62f7f0d698574df6bdbba67633b8aedc47af35edb2923412c2e9eba28 +size 133932 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ang_flying.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ang_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..882ae50a2b7acd196cd5efc738eb27d4e132ad1e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ang_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:deb8b3359ac076d08a67cb4c7ebe6e1ed1d7fc6fb1f1fca5c2d44b0adbb22957 +size 179806 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird_cannon_launch.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_cannon_launch.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..27ba4068588360684c3987ca8861d2669997a436 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_cannon_launch.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d42ab9ec3593e5106b9f1f34c5d9e301ee6288a6f912faf9288728fb30955adc +size 8859 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird_cannon_prepare.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_cannon_prepare.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..0a484f9191dc2c9e5cb7e158189b6f3d4d39f9a7 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_cannon_prepare.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3e8aad4e7dda1836fc6ee25a8a3ef2d68a3b5ab9db8a3b0dd2f7a6e98ae076a +size 4950 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_01.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..4a3e1a5dfab04fa66dc1f5e4ab5bd2da20d484ed --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bc35a844799935559b70461db2a1c497f45a61233f1e3a09aac03cac68e29bc +size 23058 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_02.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..8ea07cd3d3d274833a55808222500d8361401ec3 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63a85616ceb3693a6c905804cab29f972a9d46ea34398229afc414eadfc8460f +size 23062 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_03.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ebee511c844b7b92a36a4871bd80cd3887c61f0 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bird_ground_collision_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:684b5445c18e56fa486f8184c35768fae7a569028554298d02ddd54f5dbea69b +size 22960 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bb0d151c143a831d7aee5fcc48083c2ae17e208e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:070dea108e7c6275c84be58c3852d5194825ef51dd3ee9e610f0844a7967b7b4 +size 86590 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c9b5d177bd92e8736433b4c5b74e17e3f756b4c --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b99397250959448d25d0d455c6db41fc655201fd4a622fe0865aee3cc74a631 +size 105022 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..4eac47606ca4c1c1b3a0b6b06034e442ec8b07aa --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_collision_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fe6fad537df62d7951a63cba308e9f6bddf126b8ea6f5e8f02eb15098ac0ed2 +size 77374 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_1.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..8766589d82311698cec31bd9eba6c622042dd0cc --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6b6821802805c6c516a04445a207ce478baffe444af23e7b0354d1b996c8927 +size 73192 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_2.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..8ed42bd1e546e849750ecbb6c1083ea576a1f923 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd27b33d94e8a2ebf5d1bfed273e28933bf4a3c86d229708c49ca70f6add0ef8 +size 61108 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_3.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..03c8a87d2885e08a6b9c2c5e65fc813693a5ad67 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_idle_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74ba015beec8f5dce1dfa7b06823f50875fe7c87f72708eea104fb6382d04aed +size 107326 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/brute_launch.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9d00058a1e1b52b771f974e25ed84a440729409 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/brute_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52d2b86fae18c3223b8c377e571ced76c8bb366a39b38027743f47f94ba25d6b +size 93082 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bumper.wav b/Angry Birds Project R/2.2.3/data/audio/sfx/bumper.wav new file mode 100644 index 0000000000000000000000000000000000000000..aaae91736f4997eff4a6034ba168461b95d38c5e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bumper.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f2f6b7bdbfa53761444be2f0b3c1695962c9fd34ead06ed4bd2126bb5eafc0 +size 48726 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_damage.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_damage.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b457d888f54ae2376862b59a55be32f6748baa5a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_damage.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7451e077ae97f79cb2e56e4f7e9217eea4f2a4e2fa35ef34397d412037bc7ae4 +size 21542 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_die.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_die.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..668a66be1692326dfa4bb21adcd24b2982c8a333 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_die.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b742beeccbde2c4977ca686af921fbf925ebc0f784715806fa9a16a23a7e24fa +size 45389 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_01.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_01.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..15afec2a0d13bec748fcf9aad6c714f323037b7f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_01.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98439146289b4bd4579103ba251fe74ad469208c52f99a0795f0d029ea15e8c9 +size 20552 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_02.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_02.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..debe950ec171436f9ee002412bc028378b08d2f9 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_02.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1eb684b15abbea17129fe68bffa2034b9b8d1b9d783b97eb9dbf89bf8f7854ef +size 39640 diff --git a/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_03.mp3 b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_03.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e4c3df97ad90f625deb24f41e33d4ced4a5293c9 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/audio/sfx/bunker_idle_03.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56eeeb74ebe744d6e4bd0a92933f4d5a6686f9848ff2bdb0b1759a4076760a9f +size 37524 diff --git a/Angry Birds Project R/2.2.3/data/editor/editor.lua b/Angry Birds Project R/2.2.3/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..8c185c140ab0f9a8309a3b3af9617796e0794362 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/editor/editor.lua differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..3ff26b31b8a325e5c4403bf71c14ef5981d99570 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6136c52b94d2c4139362c48ec1bb2049e9a7009a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BIG_NUMBERS.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BIG_NUMBERS.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BIG_NUMBERS.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png new file mode 100644 index 0000000000000000000000000000000000000000..828ff90b0c94e0facc91014ea88ed4b9d6e1df19 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0696066b532fca9e518a276fb6a98055535a63a3866f7175d1136945fe50ea96 +size 123524 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a7e2a3a366aa0e05bf6d53c96e2e1136ffa061b9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..0f93951c506607feec69ac99c37c482dd0bb3741 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..21ee51991fdfca7fe14c10a92ebee65fb42b2792 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..c872a89a8f99fdc02ef4f6af2082262423dea92b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU.png new file mode 100644 index 0000000000000000000000000000000000000000..95d8dc83a9abde8c73fb231268d25c637842afaa --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:419b025270bffddcfd399c90be7be9f37339789a9a9f4b698f8bfeb72d24e4a9 +size 205322 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.dat.bak b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.dat.bak differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.png new file mode 100644 index 0000000000000000000000000000000000000000..c79940bbcc900b3be385b08c746ca52424a869f5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b09a789437da11ae68ac448baafb55e981fc5d1409d6efe99843d4e3b97bb927 +size 137164 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..888dc8ebcc9940fed52de3cab06a20b89fd7938d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1b5b1feddf4339705d3f389709b7787050e5e4dada7cde069d613f74699a6ad +size 51899 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE_N900.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE_N900.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c080ee93c6f79db09b83f9faaeff18df9f4b1b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE_N900.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..25dda7672f62afcf12ab2970d57653016278cc1d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.png new file mode 100644 index 0000000000000000000000000000000000000000..3cf63f06358f42d03e277423a86eca2ccc616530 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41aeef377d94217c7f15dacab4ce8fe8efdabec618782a036447ad290e54156 +size 56251 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..0bf3c182e1ab96d954d0aeaa8def3ff28bfd95e6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..123c4209875fe6bf5fdc159002db84719474e59c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ba8841588e547450320b47f3e3f8c2fa184a165e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e15c9b51ba3bf11427a6c0c25a661b3d9c6e947b582e449dd830798d648c279 +size 1775668 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..7402010b1f0114167f70bf3095025ffb6beb0807 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..9b2833fd5f3083995321184e288010c23469d744 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..9715d99406d7b2d712406e02af99d0dc998cf0e7 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..224d416b8c1fc5b6fdb17e9cceeb216aac27fc78 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8fa2edaae3c41e0525bab2e2f56575bcd6daa9856722557e2ca61538419dfa2 +size 34585 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..dfac8a8fa39ce078553b44b52cefe2f49d90cadf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..bf8e1ef19bc1aa256426c0c58752cd6078568a1d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffc21881861a90afc90170438bf8a2770c266d4b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..75bd49c1764d2108878ffabd2ebccd0904fadea6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat new file mode 100644 index 0000000000000000000000000000000000000000..6d891f83354557574e84855b20c108ba5f6cb7cb Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..514ded8c1f4b3e65f967424846fb2c5b900fc78e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6a7f19c21484ffcc22f18e84a52ea888ed84e3599c109f7c45af54714471ca +size 150549 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..d5095b37201e962d7821bcaa4b3212dcd8907c11 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..02e33f2a5e97b13084bb892c9d9fa9c61f330a93 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e81b40d24e9e3038fbadedfd82cac5a866d68908 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33fbe429276400509676dc1a585c09154f7e130e93ccd53bc1c1e0cd6deac288 +size 3924020 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..98a6726164c6d99b8e7ea2427d443b3c17684aba Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..be162118ba009402d88dafb49bc20b4f4773c4f4 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f001e6995051d7645446149896d522ed73eae136fde852d23cb761a51f445acd +size 2056244 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.dat new file mode 100644 index 0000000000000000000000000000000000000000..1ce57631bf1750b50e72b84ad8a56d10c3889995 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.png new file mode 100644 index 0000000000000000000000000000000000000000..1cd8ad43461218393688c86fc8988c5f19c559d4 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f50578f42731b15475121bea5ad4dd4cb7955698e69bf5027e84c7b0cec8f7d1 +size 4536 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6dce52ef607b084180bacd92f5fcaebb364e388e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_LS.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.png new file mode 100644 index 0000000000000000000000000000000000000000..8f8a3d1b80361d40933ae08c20afed0d989f77e8 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f098ce8177e2eb5ca7554d03faace614d95869e90489c6e0d2fb918d4aa15b +size 8147 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr new file mode 100644 index 0000000000000000000000000000000000000000..35f323806696f766b38420be91427754743d5d44 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..6b1927d5f3e0d6aa44cbb27f27f45b9392e21fa6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..812d4c5d3388dec5b6c124f5ecd6377b136a4e0c --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6723c58df5dbbe20b5c9efaa690c34e597acb1bc18778fcdd8317390ade27c4 +size 4994 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..704658963fbec424de7709687cbbc312ab758087 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat new file mode 100644 index 0000000000000000000000000000000000000000..7462024fab694eaf7776906a7b671975c7186a18 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png new file mode 100644 index 0000000000000000000000000000000000000000..a5d395040da5ede3f0cf0739164802503b86a21e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32912bf2460c9f5b052e8cac64e8a8c0b4b4b6820e4b7630ef08b592dc6ee64d +size 27198 diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr new file mode 100644 index 0000000000000000000000000000000000000000..c92c4da49a4673a84d8a58f0629dee1914281167 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..382fcef11e22a6cb0cb2f82cac07f08b98582587 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..f18f772f96a73158edcb7a1e26553d8653613137 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SW_BIG_HEADLINE.png b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SW_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb797dd63b799c57809dd3cfa662fd78930a0e5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/fonts/pc/FONT_SW_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a7267c28faca8b04317b53ffb0e02238e740d7c763c273d122e740da21fb98 +size 341382 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/2.2.3/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..114b02a2d8ce22e7f290db73deffa22671107732 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8d4f93d2c14453c44f7daab5c07f402372c1176ac32d31b8a76e3bd9c121c84 +size 181645 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..faff67923602e08b3281b0e821dabea375bf7498 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..54e7fe9dc3962efc9fffd6990be3af92b9d5d18d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2fd92878816f6174ffe22a3790d846955b9f750 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png new file mode 100644 index 0000000000000000000000000000000000000000..8f590a9cb0482621bc1970ffb72a10e1b171f870 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b56f8016cefab230e1b32adb86a5deb4049d0022e127d562f2d1718b1f80d045 +size 11475 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_EXTRA.dat b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..53e692242a525cdde0d0b20081be969b2af1533d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_EXTRA.png b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_EXTRA.png new file mode 100644 index 0000000000000000000000000000000000000000..006c1ab48667b6a76e471bfdeae966ac1b3b7bca --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_EXTRA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a1c20e837683fe342142d651ef0979288d594e4ba906d10d58f1f65fe6a06d0 +size 317319 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_LOCALIZATION.dat b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_LOCALIZATION.dat new file mode 100644 index 0000000000000000000000000000000000000000..518254cca96ed163aa3283ae54f6b811fa4d4b3f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_LOCALIZATION.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_LOCALIZATION.png b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_LOCALIZATION.png new file mode 100644 index 0000000000000000000000000000000000000000..8540c0388ae41ba938ac8479c60b679d683fcc5f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_LOCALIZATION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea8ff5e03b87a3d6eea6fedb3e78776681884dd905231ec25262ca8cd4ee0a6e +size 91025 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a8609738e94015d89a3d3bd4a27fc7936970b7b3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4eea04e139c1398e00328be0e46cdbc24d9f4215 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ea6afcd97e4d82a8c729e0e3c75d4c9b16fcb82bb3c63d6f1335e7abd62daca +size 470128 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/CHANNEL_SHEET_0.dat b/Angry Birds Project R/2.2.3/data/images/pc/CHANNEL_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0477a4eaef990a9796500d59fb969e7667331e06 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/CHANNEL_SHEET_0.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/CHANNEL_SHEET_0.png b/Angry Birds Project R/2.2.3/data/images/pc/CHANNEL_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea943b4191cc83db76608eae32ec9f4ca4f1b32 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/CHANNEL_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba65b86e84d496230feb3db482e4d289fa03acbc742ad578606751ceea51c9a8 +size 17787 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/2.2.3/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..7a321f8cddf72f40c1e631a933cfb855719a5bd9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_1.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_1.png new file mode 100644 index 0000000000000000000000000000000000000000..614fcbba1073f4fc03befbd22f2bb9d2218d602d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f2cbe4e0a032c0b2f33d4dcf936d6955381bf5677edfb5b7d171808ff8d4479 +size 894502 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6303468b33b630b0710582736169198e09d96e82 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_2.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_2.png new file mode 100644 index 0000000000000000000000000000000000000000..93ceb5f4c6e9df66a7c808301907e7e16be36091 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfff5a7ba446d15505e387758d9fe132aa052b755b3f90beb4613be2e92321b3 +size 752287 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_3.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..4baea306b9406098a44d63d704c139787afbad43 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_3.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_3.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_3.png new file mode 100644 index 0000000000000000000000000000000000000000..c06ad3c34937de4f9cf5d5990b7a992a069a7999 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d28c62aa426814d622389e37f9e6c4bf3a6e13c72d390ab4508a97cfe4f5a0ef +size 554444 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_4.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_4.dat new file mode 100644 index 0000000000000000000000000000000000000000..03651272ebbbab28c120631469e6be180edf979d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_4.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_4.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_4.png new file mode 100644 index 0000000000000000000000000000000000000000..49a7a745e154f753eb523c2f3724423db247e43f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:303169d066b55486e0234a9f3640f78d6addc2d7ab0ced15adcd628bed14e0d1 +size 520796 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_5.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_5.dat new file mode 100644 index 0000000000000000000000000000000000000000..398b0b521a36abc92e989194a730678d58ca8e0a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_5.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_5.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_5.png new file mode 100644 index 0000000000000000000000000000000000000000..b080c5fb2c3dac44599355bc018e9b98db2a6ea3 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5527f566c975c172dd592926cf4a1f4f03f300c795b49389cf4e8a6b584df253 +size 774235 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_6.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_6.dat new file mode 100644 index 0000000000000000000000000000000000000000..46b88a4f0e2c7721ae15444d9b501f70007aadb5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_6.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_6.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_6.png new file mode 100644 index 0000000000000000000000000000000000000000..db683c1f4f58ea243ea8c34e0d057a426b2f65b1 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b281dbb1aa44cf4971c0dc2dfb175422860fa07732ef5e3db2dd9e967b8ec4bd +size 407515 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_B.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_B.dat new file mode 100644 index 0000000000000000000000000000000000000000..f83d13c44bdda54ed009265c3f971aebd1ed0cc4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_B.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_B.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_B.png new file mode 100644 index 0000000000000000000000000000000000000000..b79efb532ce7ed96f4c2c5483f9a609ecacc48eb --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_B.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fc87bb878432a50046b7bbabf4ffc95f6fcf10a36ef953a81789211f24a66c8 +size 735941 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_BG_1.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5f1980ad479bb8d5fbca14fc95c72f4b4b91480f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4b8425f5f47cee50f75335997c722577da94efd57416c8bd93b62f9df82bf5 +size 6361 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_C.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_C.dat new file mode 100644 index 0000000000000000000000000000000000000000..e2636258f8328b16f0a36d360bb565e284f0ba07 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_C.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_C.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_C.png new file mode 100644 index 0000000000000000000000000000000000000000..32fd50599d654efdaae3774088bcc221ab11d49b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_C.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7fd2ba1da2360ad4a62692963ac639f7fe2dbbca4de17f6106af02c1b4d4f950 +size 436690 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_D.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_D.dat new file mode 100644 index 0000000000000000000000000000000000000000..5377ccdb4ddd3dcff643c3dfbfc730fa89cfca5e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_D.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_D.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_D.png new file mode 100644 index 0000000000000000000000000000000000000000..238ce659ca3015f1d94192d49316741d366a7e38 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_D.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d64728fd4a3a1790f3e34e69c46ee59ae65e848942a379ba4b16f833e1070eb6 +size 702458 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..0324c1fe7cc1116e011586f7a5fe4dcff4e12830 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da2428b1c8e6ad6f59c27be57b0b2eb55e83b9c1db4d42d29a6ac2b11a0e813 +size 17893 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ae8fec0291eff4ec5da0634d28a4a725f91868bc --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76e0e8009d2987c997a93aab5c0cd97f0c8826d0a5a199446d17bce426959ea +size 271919 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..0412ba5e6058500ad69b27b867ec9d4636a0f1d3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..f564011d92bec62bf121e1244d1e7e4d9017c661 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f65fed03a92449fd1d8467a12950be4cc0d930466d17e5dec174afde9521f44 +size 370334 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..eede2a4ed979baa5ded7e3c064761b35a649ee48 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..38c453ed4c79780748a31a6600ee4cb8a30deb16 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc88d74b417aeb916fae3dfe0b1231bfc870766241fedd649c5d327ac10ea243 +size 339735 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat new file mode 100644 index 0000000000000000000000000000000000000000..a57dd0d3a5c65de990cae5cfb66f5c898dbf648d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png new file mode 100644 index 0000000000000000000000000000000000000000..0f3a394b5789125982880704331c293f5c0e0de5 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a52113f048023c908e9edee35c2292fe144d772625ea4bc97a442ff9540c7cfc +size 486833 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..91dd2165ccc1bec5f6214706f3ccfba8dabcd259 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..02685b722b7d4766d800e328b79e2a7d0acb749d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c033cf5c414f181ccdaaa354ddf3a794e41a46a123b992c187f874962a4041d +size 433186 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..3650a42b4ff6c610f2028a0458a57d5c055f9446 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png new file mode 100644 index 0000000000000000000000000000000000000000..0ba9f2950719c39c9f7ef0c2cb9c71724c34fc69 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0768f3974c31025f66f893c040249ba4a4cc500b2dae17f53018f021e435130b +size 431927 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES1.dat b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a0a254925cdc63d819b1d1eb39d93ac467accfe9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES1.png b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..13c2ae3ba9286e1617f6949c632bc15343825064 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d46df425efb81c3986bdc8b886c2c838277469437368028f5b74dca10c62a01 +size 1379274 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES2.dat b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES2.dat new file mode 100644 index 0000000000000000000000000000000000000000..a71d02c29183fc0fbad3ef63a69984a4abb651a2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES2.png b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES2.png new file mode 100644 index 0000000000000000000000000000000000000000..d498cb10e2e5aef1c0e3ebe35fb66279737c4117 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/Episodes/EPISODES2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c93bfab2ca9458ea0756fd310b4dca464c92428896a2a8c58c786aab0c973b62 +size 307970 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_GRANDPA.dat b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_GRANDPA.dat new file mode 100644 index 0000000000000000000000000000000000000000..e66efcb2398664cd38b336679b035c1ec53b0499 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_GRANDPA.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_GRANDPA.png b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_GRANDPA.png new file mode 100644 index 0000000000000000000000000000000000000000..afb247d6304a69689e94dfc194c4c8e8b978f569 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_GRANDPA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417c778e23c21f132106e8555de1e201e35b9016d2473897ae3d0fd471ff38a7 +size 41978 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..389f975deb60dc545ef0a114141f4d3b59e09d01 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_1.png b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4e4dd9067a6d455b1afecdfea786671c4c58b6f3 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:946ef4d2bc5d130d28eb15393a537eebef758e0852c06a5f9d65aa23ab844da4 +size 507351 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..0272c99635b9e7a7201c6307bf957a28ec7b32d6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_2.png b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..f371fccc2421abffd20d997b03ecc47ce0f2eab4 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/GOLDEN_EGGS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57edc45894ebdbafd74904a09641c34986926c68112aa66ecbe933ffb3216c2 +size 240993 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/HAT1_EXTRA_TEXTURE.dat b/Angry Birds Project R/2.2.3/data/images/pc/HAT1_EXTRA_TEXTURE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a3ac6321f47b1eb4f8b730c6b312ec804965bea4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/HAT1_EXTRA_TEXTURE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/HAT1_EXTRA_TEXTURE.png b/Angry Birds Project R/2.2.3/data/images/pc/HAT1_EXTRA_TEXTURE.png new file mode 100644 index 0000000000000000000000000000000000000000..d202a2a6f8b360a95321c0401f76e8077c1d1214 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/HAT1_EXTRA_TEXTURE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4529b3188c0388cfa5e63dcf5634c8e5878bee5ded2b2386d07bcf2a7a8499bb +size 9371 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/HUD_INGAME_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/HUD_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..65d408402889c3338e6d684306646716d9426896 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/HUD_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/HUD_INGAME_1.png b/Angry Birds Project R/2.2.3/data/images/pc/HUD_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..3ba6f706962538e832c6ac3e8d1cd8a6d05cbbe4 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/HUD_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87db1e14886db0b1498eceb34819f456275e0685f9a37f5be3f60394ff80ffb6 +size 297246 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/HUD_MENU_UI.dat b/Angry Birds Project R/2.2.3/data/images/pc/HUD_MENU_UI.dat new file mode 100644 index 0000000000000000000000000000000000000000..1bea177399cc435a6432573dc68e471b2f657c14 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/HUD_MENU_UI.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/HUD_MENU_UI.png b/Angry Birds Project R/2.2.3/data/images/pc/HUD_MENU_UI.png new file mode 100644 index 0000000000000000000000000000000000000000..c6e495d04b3373d45563b5cd40a5b647d82f7438 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/HUD_MENU_UI.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad0dce1df314d89de351695e2957ee14b0993bedcf0cb57ffc54aee78cfd6213 +size 4657 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS.dat new file mode 100644 index 0000000000000000000000000000000000000000..daa510114be814f09d006bd3adf5eb4864990f5a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS.png new file mode 100644 index 0000000000000000000000000000000000000000..43108c2d14e0257e23cb6a497be4c8ffd68ae0e7 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d6d60ccb8efcd055b146a6f6d1110bd81551d76124e5d4235814bcb54a5a26e +size 796982 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6102cd88ce8c3a1eba5a666ede6727c6c8cdc099 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS_2.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..67eb0802f8f7570eb832a495e6fc731071334c39 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_ABPR_EXTRAS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6b196ba143de8ca6e1f087b77f52b04b0e9dd57126830300c300792e4cbfa6f +size 615017 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f563df05f4dbce2d30a98ad3af512d38fce0dae7 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..f9795a0a5cf07ed7543a7af395eb6e211100e281 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c30e3f6a7315d2a0b67d63cb3fab020b5afb7449d569ddf4a4bcda75ab86df55 +size 869795 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..4b7b188f0ca4a6939c2ed540e9ce8ab00031d92d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_2.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..32e837614def893407819fb6ef1b163cc3e114fa --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77bf6d0d096775faa79ecb62213cb39de21b7d71c5b17f62d44ca94853cbea5 +size 202964 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_3.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..484e5ad270b72b280d7219f0397c495cc853052b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_3.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_3.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_3.png new file mode 100644 index 0000000000000000000000000000000000000000..aa3b37f3384f84a62a0f4458b7bec630d46d2179 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd66fbf36f4a9ece2a79b3ca4dd0c942f291b8451f99a7fd58c4a6ccad202709 +size 124547 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_7.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_7.dat new file mode 100644 index 0000000000000000000000000000000000000000..18eabbd9f56b428c0e85fdb3066de0211a05df12 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_7.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_7.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_7.png new file mode 100644 index 0000000000000000000000000000000000000000..c946504144c7f4d8e4dc620682c80172371fb449 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BIRDS_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf62f5abd168676c479ee0b7d8a342ed5febfb84cc9724a5211b45b991f86860 +size 914698 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f09c29637550ed97b6c07073a6d818f325c7f45c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..22b1a2df10581b21e8270024a6985b7e3922fd3d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff2cf95dc37ecb0f673873becdedd892f445dd051b799d52fa5a042e7f8c9fca +size 494815 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..5e9bac5128ad4f9ba90591646c3bc37123d04ac4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_2.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..89e8ae08403574d5e033bd29c06aa74a33258bef --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1363bda37b8db7dbdf68b79f81e4b542f6fd746eac39ab9eb7a3604be1a5a97f +size 235759 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_3.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..f6cc5f217fb3765964991848e5850cf8780d1bb5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_3.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_3.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_3.png new file mode 100644 index 0000000000000000000000000000000000000000..07cb1b898dd321ae504fe96ebd8ef377db2da184 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10a3fa4b7735c2db47675e1c6631ca1fa442a1a7f70311bd9bf2a633a407fe7b +size 552404 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..8436dfba5fb515b25e42507a4b1f22c4e538da2c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5d63a04bd19e0127087764eb64f44e88b4d10e0d --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddb3fdcd574abaca32037f29f161256bd4a2e047522dacc713030010b8e7b334 +size 803860 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_GLASS_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_GLASS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..76c44257fc4da655b2618822f5384d41d5d830f2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_GLASS_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_GLASS_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_GLASS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..7a79ae7afb2c081665594560b6b094ac1f066916 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_GLASS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a693f1adaf939fd7ca8fff6f3aa1eae87f0fd724ec82296d6c04ef539268cac +size 290206 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..0120f14f823306905dd24c23633b8cbf61420ecf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_1.png new file mode 100644 index 0000000000000000000000000000000000000000..c1a20eac89319db3700add262331323202ee1a22 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff73639b11d30671777d5ec55f00b338a334867f1648805e58ebbc430d5071bf +size 695795 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..04e220f3e476c87bd057a3865a00a17881bb34d0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_2.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_2.png new file mode 100644 index 0000000000000000000000000000000000000000..84b3299b43fa76c51dc724a0437682d6cc5a31ba --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_MISC_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e90b833c9280308d710b8734b2c02ce9f8875b04cc53de7d4a1258d4a26badb +size 942618 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_STONE_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_STONE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..434ad1b92cabb74089fbbd2004fc0db0d7d95279 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_STONE_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_STONE_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_STONE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8a864c038f457c4fb34bdf576c20abfdf886c438 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_STONE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1167c9ecb32aff439f64dbd69a2c6bbecb8b3c3494dabf71f455b50da737bd8 +size 187589 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_WOOD_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_WOOD_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..4005d9af6e4e36cbcf388d09a840c31a6ecc2332 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_WOOD_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_WOOD_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_WOOD_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e0aa9fa8f90338cccbd23a3b7d7ee0a96c897dfc --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOCKS_WOOD_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c19149cd491dac9b32157e8c443ea65b7b57d1d94c8925952a3080ab605fc7e +size 244156 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOFKS_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOFKS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..776014e91320d66b692c5882bac41440556a9fe0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOFKS_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOFKS_2.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOFKS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..2c75148e4ef7b0867a4b08e9132feec07da0db07 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BLOFKS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82ee55e4346d0319308c8d002ca31e5cac218c11e176180547bcd1bb0470166f +size 286736 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BUNKER.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BUNKER.dat new file mode 100644 index 0000000000000000000000000000000000000000..26c0b494e075a5ac9fa0851d3bdabf1a7a369c08 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BUNKER.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BUNKER.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BUNKER.png new file mode 100644 index 0000000000000000000000000000000000000000..5ccf632dd73e27e99d92602a833cb79666786167 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_BUNKER.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79ba7fff1af26bd6a21b7dd974df02cb6bb71e48b2cbdcf19f39577a5a159679 +size 269690 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_CANNON.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_CANNON.dat new file mode 100644 index 0000000000000000000000000000000000000000..5b57550f03945686067a2bc2e49823c61fec4409 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_CANNON.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_CANNON.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_CANNON.png new file mode 100644 index 0000000000000000000000000000000000000000..0cfe0aeef516d7147c4cc404ec8f334f1fe2388e --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_CANNON.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6669ebc4c375aedda0b976db7c3987dc96b01af4e0e7abf30f5f3dd12087314 +size 161595 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat new file mode 100644 index 0000000000000000000000000000000000000000..5332479378f5aa9849205c6946441e8b5b59ffee Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png new file mode 100644 index 0000000000000000000000000000000000000000..8719a793100e0d86060ab75bb2fba723b5fada26 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3ccd0d2a320950fcd910c0b318f5a7e5312791192d3e0ad286a0702068aee6e +size 429214 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_SCORES.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_SCORES.dat new file mode 100644 index 0000000000000000000000000000000000000000..67b88f7c5294ccce1225ed7391a0f427d06a9895 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_SCORES.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_SCORES.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_SCORES.png new file mode 100644 index 0000000000000000000000000000000000000000..d795a90bbea4ee1714bad915ce0ca5f90869ad8b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMMON_SCORES.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f58ba024449bf7fb006049c74d6d93dea32974bb90d4fbf0d9c27ec8ba4f13d +size 161670 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMPOSPRITES.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..b81f1714744e47a6352013380059258a3ff4955a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0291b58a5aa2c1be95550d3a53a1f2c9936549f6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..adee3cea6932bbf219bb6c7ce557c457d09113cf --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdbad3a4fca752d0eb4a5128da5c50d37788a66c609068fdded75c9e00abe63f +size 317774 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_FAT_SHEET.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_FAT_SHEET.dat new file mode 100644 index 0000000000000000000000000000000000000000..c36950f6d632592ceef41b397911c8d673a7aac8 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_FAT_SHEET.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_FAT_SHEET.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_FAT_SHEET.png new file mode 100644 index 0000000000000000000000000000000000000000..c9b4ac6a0d040411f56fe2fc203e588ab067d485 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_FAT_SHEET.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b6c9ad8f014746513742b10184e11d742afd2f05f32324a4267e61bb713a48c +size 607419 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PARALLAX_CRANES.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PARALLAX_CRANES.dat new file mode 100644 index 0000000000000000000000000000000000000000..448a8068668d6ca6d1bff321c367e3c07fb3f542 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PARALLAX_CRANES.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PARALLAX_CRANES.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PARALLAX_CRANES.png new file mode 100644 index 0000000000000000000000000000000000000000..00cc636eef9681437b6cbbabdda9dd2838c38c37 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PARALLAX_CRANES.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e7a2ed3081c9104668dab24d593e2eea0890cf6a51257fbdaedebe49fe6284e +size 47469 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PIZZASCAPE.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PIZZASCAPE.dat new file mode 100644 index 0000000000000000000000000000000000000000..b7096585775c6c60bba27b3d83d429e440219f2d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PIZZASCAPE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PIZZASCAPE.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PIZZASCAPE.png new file mode 100644 index 0000000000000000000000000000000000000000..1769bbcb207b19a8654be787c6b959d2da1f4ec0 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PIZZASCAPE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37bd7266a47e0eff8bfaa6c1ac3b00c9370927617f18cd1ab7bb9321e852b092 +size 249276 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKO.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKO.dat new file mode 100644 index 0000000000000000000000000000000000000000..03824ea4e9f0fbb3db612a49c23d183fc0bcf449 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKO.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKO.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKO.png new file mode 100644 index 0000000000000000000000000000000000000000..953a98bf218795244836130cc3e5557433940247 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1251ac982503f791c95e7a69a0497aaf6eedd08e2fb24258bca72699f5fd4fd8 +size 77812 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKY.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKY.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc59f7c17fda79ec693d4420d0c339882e320adf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKY.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKY.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKY.png new file mode 100644 index 0000000000000000000000000000000000000000..1a573dcbb2a4b297ba82ebd752351baea0425a3a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PORKY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4de9f07706ea27bdd949fa1b048603e10c7623e68b20673e58421015607cfa93 +size 112648 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PT_EXPLOSION.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PT_EXPLOSION.dat new file mode 100644 index 0000000000000000000000000000000000000000..98cd17595b5180fabdab377180ea8f8c98c43604 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PT_EXPLOSION.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PT_EXPLOSION.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PT_EXPLOSION.png new file mode 100644 index 0000000000000000000000000000000000000000..9eb91c59603bcbac4c28c8486a2e8ae36a6e9497 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_PT_EXPLOSION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aae0f358ea0acc325be517c80f33ec5d8f4d51f165e3374ce8e408515fcf1fa6 +size 67448 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SCORES_SHEET_1.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SCORES_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffccc1958c82b3ebe5dbb78cac13d7d0d9d08bf4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SCORES_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SCORES_SHEET_1.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SCORES_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..6a50fbed8b9a2a1d68a1afbd9cce57b510588fc0 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SCORES_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3886e77790952c92b622d9e102a89506e0c7d6e8b633d422355b7a9f1698f1e5 +size 66875 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SEASON_2.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SEASON_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6a2af6a7653005ebcbeb3f44e1db415537ca8a88 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SEASON_2.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SEASON_2.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SEASON_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4b8becf31a0904f71ad810d6ca4dcfc0fea50bc4 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_SEASON_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:414e1fa9b6a9bb22d519d5533af8d486247a2bcd7c0f9fc1a8ec6242652b3ea4 +size 607580 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_UTOPIA_ELEMENTS.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_UTOPIA_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72f6f25973524ef71cfe2af1b26a26c7aff3a701 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_UTOPIA_ELEMENTS.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_UTOPIA_ELEMENTS.png b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_UTOPIA_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..f21ee1a626b7d69bc3baa7467d34f646ee185750 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_UTOPIA_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0173bd13a7e7e483b9c82a68cac955b7a09a2ecb29e597680a0a9d118804b8ee +size 165781 diff --git a/Angry Birds Project R/2.2.3/data/images/pc/INGAME_WIZPIG.dat b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_WIZPIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..d1c4ebcc88fe034f798895528c50fc406e0d1eeb Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/images/pc/INGAME_WIZPIG.dat differ diff --git a/Angry Birds Project R/2.2.3/data/images/pc/desktop.ini b/Angry Birds Project R/2.2.3/data/images/pc/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..9967b13b4923b1063deaefa6850a1e63f500b6c0 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/images/pc/desktop.ini @@ -0,0 +1,3 @@ +[LocalizedFileNames] +THEME_HAT_1_TEXTURE.png=@THEME_HAT_1_TEXTURE,0 +HAT1_EXTRA_TEXTURE.png=@HAT1_EXTRA_TEXTURE,0 diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5310c1444abddca4e223bdc8042e6a5c84fbd41 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level10.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..20a28a3ae5fe3a2219b8077e1846927d377ce57a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level10.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level11.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..d8d1aa93ad832d35728326f7d800d2369aca8f6d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level11.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level12.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..c5f664d9dca1307757a2e57335f97313fe142291 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level12.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level13.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..7a616fef15b7bb9e2499f020cd00b2c037c90714 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level13.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level14.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..ecf75a73977c32f919c9c79e6045dd1c4f2b53c7 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level14.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level15.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..c53a0eab1ccd693fddccbc63019ebe7defdfe814 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level15.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..61ae98fde099a93507930795bc5934413fcd856b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..8caaf77b73d5bbef061de9bb456dd79f6f2a84cf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level4.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..3b1497e1a5bc0e6ac7a810320d82da9beae74590 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level4.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level5.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..3f681b29ccbd0bd74ff727ae9f4b6b2855e28390 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level5.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level6.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..64da71ac94779d4ac116c6f437f128679978e578 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level6.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level7.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9deb60eaaeba33244cc3efa3a4451ab50e0edf8 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level7.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level8.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9813edad585c7de8dac62885b14a188b1295b74 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level8.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level9.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..7a363b524ff02907e0be35d002d2fa7cb6be0bad Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 0 - Meet The Flock/Level9.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..154b4f6510fbf2b70d8de06be159683c8e32e20e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..43d23fee978e7b82b4e1bfaa9de936172c6c9964 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..833b7387ba97afd7e7f344c6ddcba01219abd8bf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..aebcfe0d7165ca4341b8eb06c479ee3bfcd0dbd3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcb4582ee9e1b0a95601ed25df0fbfea8f74fae0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..e468b2a97d5bb00e27bd3dfb2d21e32c38a21a44 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..fc1b8492c8e77ae38ff972fa9f7740a6af173272 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..17cec68c3ba967e8b5b215bb114c95f409119fed Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7c2919ca5404351182327b4913139d202f56e8c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..26be914aed6601d6cbc42a043f258e520c2b473e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..e7b6ed633a5eee2d3870b2c1809e729c191c3b9b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ea4ef534fa07c40962bf3d98b08f2ea4ac10fe1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..925d9a10b2eebb989df74889552b638b1331d806 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..22a962f2e81e4ff8b16b4ba3bfd46e26066d00d2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..7f3fdcd0b3c4c962d8afcf0332b5f5c3d619f7fa Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..a25c7ae0963b63271fd6626141117305b1200a5f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..542833d6acb42531fccc88c093458943d2438ac6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..35dbe7d753b815f5660b91d4fdc7b6ce035624d9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..bb720255cc7c46043b665f3c58fe6e0578f57e1c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d62228cb728d0fcdbf524c494888af3beff5d04 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..d89d48dfca057a4be34759343624f8fcf3b40b8a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..54671db565c549056ffa659e5c5110749bcf3f99 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..48b3168021ebb865b98fadd50a5a6e3655e5af74 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua new file mode 100644 index 0000000000000000000000000000000000000000..f3e1e5d18225a6b4fdd63192881832f7d52add66 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..fb7753a8a15388cfea740f47355e1f44ed69c3cb Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..c76a9611a46963d1ea9bfa4e13f87a2f3cd2ba4f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_10.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..f7baa2544b70813ab0ee16898a4cb4cb2f93eac1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_10.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_11.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..23098a284bc7a05d3ff904b5a2d13c78c659932a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_11.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_12.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..e14623992449144cad4fe852ab1ea2e9e1096c64 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_12.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_13.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..63786e86701d5e2dcd9d3a27a1c78471c1887169 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_13.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_14.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9b8c6d848942cfe75fed185277e45c3929d01ee5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_14.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_16.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..ce69ca014db55550f65a6fa989b9913be1e0b1d9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_16.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_17.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..84798dd64915da985375cd30244fe531109aee5f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_17.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_18.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..9916fb6fdde271361109cefd73d688b4a191f073 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_18.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_19.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..2d12fb0cfa1c33f877ddfc73036e9d79e2b7fd51 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_19.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..c6e5e57c8135187d353150f00f13c129d33de08d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_20.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..a602b307d8133272fa0db01a51952f754392fe44 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_20.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_21.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..7bbf2fae633b9e903c6634a3ad60d1cbe21ef1ea Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_21.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_22.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ceee38bb1e2cec7cdd193f494671dfe1fe00e07 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_22.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_23.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..77eaab4dae1b22ebd5d393ef2d090d5c08889e6a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_23.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_24.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..63aa3fa9f4cb4345fc3e2f2af2d8ba28633fcc43 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_24.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_25.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c763cb81373669d330078a0157fcf7afc8d0128 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_25.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_26.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..fed6035fb9f7a5ab12cf6c8d71b7df99abb739d3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_26.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_27.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..0856c889ba1b2c87287501d542ebdd6f772a1682 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_27.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_28.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..e605f01a2690b394aeedc006ef210baf64774cf1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_28.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_29.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..7ca87a5130ca3badb6c59e60e5a4f94072d6761a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_29.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..185381004de80815eddaf720b12e6cb1c7431e13 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_4.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..f9d94896f4917fe907054bd1d694c469441ea2c9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_4.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_5.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..d2cd860875c57710b83fca057be924c2b96afacf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_5.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_6.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..4c6e01960aa6955a6c8bdb8c8ba29236a38c6cfe Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_6.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_7.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a79c69e59fad8bdcbed5a7d72b1f768168207a9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_7.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_8.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..24580c9d9af880a17af450d0edad336535473a2c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_8.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_9.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..334e9d44d4a911b9326b3add45ec36d6168c05ce Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_9.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca7878b9551afbe3eb343d2f5e6c913b409fa933 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua new file mode 100644 index 0000000000000000000000000000000000000000..87c9efedddfd2d876972bdf1a2c78dc3b8f84984 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua new file mode 100644 index 0000000000000000000000000000000000000000..811f6339d63202614d1ab0bbf2affd0bd4aa2317 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..74661c03be2961bf0dcc0be8a43db8c908180199 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_10.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..bf050aebfa062d87e8446dd93bbb87a33f44455a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_10.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_11.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..965b93d53af70494f8a7792ef073ab1066a450c4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_11.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_12.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..3caf204b03189a0f98b6c67aa59e3e226dfb7664 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_12.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_13.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..54af7b7f66b512ed1eae1b4be82eb1541c19db67 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_13.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_14.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9b031a796de6ce3632c4630a6ec0ab902492987e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_14.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_16.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..249aa305327e373b1cc33ef2a31cf90745ee30f2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_16.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_17.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..ddcc397fc49e620e8c8fe7df06043da991c79010 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_17.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_18.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..385a7d6077f49be5eb964f6871d57670f803b6d0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_18.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_19.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..85faf85f8e2d66aa68cf289ceb9418c66bd86d04 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_19.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..d8b86df70d731d869df0f56a598cb4b221b80292 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_20.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..40cacac605dbe93e9a8fc9ded992fe7f774004ad Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_20.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_21.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..c83ef157591be574eb220f358af2b66af6bf20c4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_21.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_22.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..dea0747bfc244568fe543852c17575e74b1f907f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_22.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_23.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..08ae42ef93d1a58ac79731bf4d67763466ebf9ee Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_23.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_24.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..bddcf79101ce106539b1f324cc37a5a25cd3f10a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_24.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_25.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..5890f50687e2c364e39f009e2e0a297724d82de3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_25.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_26.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e990fde2d7cb257711c6d8630773d9340176eb4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_26.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_27.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ec141fa3ca4a9b136591e1a6e4ad236b4c1ba1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_27.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_28.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..36e671dc7c893ac78616ec44f97af64a20a62fdc Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_28.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_29.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ae047a74d0fce692caaefcd22bd6a0d0abf68e1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_29.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..82a6fc513a5483b3aae522a7eb515b05eb310285 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_4.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca659c882c89d73676d553e1279d89d7578a2a10 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_4.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_5.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..2c5645064aea8e52b90e0201084da6d1105d7fd3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_5.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_6.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e1f59e59e7e8a59fab5f4e121f8c1497b011d6d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_6.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_7.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..8daa241a59ea3a1f1772da8db9e99fd2c93563d5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_7.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_8.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..3840e6bd9492b1522529e2e58fca08798109eaca Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_8.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_9.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..30c4cfd7d0ca3fa6802c265a058861d2ddc7228a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 3 - Sweet Swines/W3_9.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..78965b810208b6526a846b7b6ae074ea76adcdee Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua new file mode 100644 index 0000000000000000000000000000000000000000..4a8d83db25b01b3e0f1c8f99ed65d919bdeb8559 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..c3438cfe7b8faf6cc653b25c87e1721ffa9cdf9c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_10.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b1e1f9bd85ea3e656f7e79929de282c94cc04bb Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_10.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_11.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..e9e43726b42d82061f90581a88a8849122f65806 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_11.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_12.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..f6772899277a4e74bad25c8bd4420c65e5abc150 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_12.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_13.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..145da287e0bcd6825c3eb5dc59d484efebbb8b1f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_13.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_14.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..cb6593b43fa5a446c768ab52b826bf600dd368d1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_14.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_16.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..970ce7e4cfa9b5d591dc7ef9ec677c0614464dc7 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_16.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_17.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8bb4cfc0d59622cc193256a124bfcce5ca6c5cd Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_17.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_18.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..56c2992de3944a9fa4be0d6b3462e2ff771d1cc0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_18.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_19.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..22050ff2b6fb897f52a86aef68d1b287b2309ca5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_19.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..2c3e4962c1e7a2539378c578815a4c02e4483aae Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_20.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..8344fb7133efd6a49f76ab71d32fc649d516eded Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_20.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_21.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..d64d12855fbad33253ee4d0d4063ef8ae94c1aa1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_21.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_22.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..a5a21ae46348d1aee92995af716b9a5ce2d633e1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_22.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_23.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..7f80d6fad5873e2ab4e7fd9bb656ab3de8b50abf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_23.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_24.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f24b4dfbd41ca887d042431241a4d48daacad3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_24.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_25.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c33afe42c4a7cf3daf0f7f6289f48776b25f05c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_25.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_26.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b0f856507e5572c5a7991b33f624063cda93c3d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_26.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_27.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff1e6461ea004270ed8423352665c00f843f4f2d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_27.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_28.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ef1eb96889374d72431688fee552e90721e425c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_28.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_29.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..c158dfe4d3a4b88f97d4a3e150d4f7fdd0d38c23 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_29.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..326b0b67ce0e1ba4f73cfc1b79f1ea4d6cfcf943 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_4.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..0aa0707ffcae15fc8902b44e23d37254d3eea9f8 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_4.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_5.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c9038417451ac1b12fe981fd0ac5d70bb91118d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_5.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_6.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..fae81202685f49c6fc9e7342804f98c48c045bf0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_6.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_7.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..49d09a6f2644c515af04ef2877d248f097cde32e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_7.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_8.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..e8cc4bfe9cdea737dee8ee7446c289e38cb8e248 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_8.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_9.lua b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..697195c28e4de8a3dae2f47b085c5f368e583ef2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode 4 - Time Tasum/W4_9.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua new file mode 100644 index 0000000000000000000000000000000000000000..cebcb2c05120ca11657fb7e195d2a496d36fbf72 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua new file mode 100644 index 0000000000000000000000000000000000000000..a02a92af983beb9c1672de36685181af7c648406 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD1.lua new file mode 100644 index 0000000000000000000000000000000000000000..25e07084848fc1ddbf8c2856838104b6be20afc1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD2.lua new file mode 100644 index 0000000000000000000000000000000000000000..2384501d306afa1fe8ea4795b297fcd3c1d335ad Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD3.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ec33e9f0cc70da43bc83d9598c893a05cb1cc7d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelD3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a340177d9a8665f640c13e0006e0b5dc9e3d808 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_10.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..41460b2787417725b51ee0499b717eab9c4f69ba Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_10.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_11.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..858e1469d6c52086f42e997fc2f96265432aea6a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_11.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_12.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..d269527b952b62c6205b3ce3e068c8faefac0f10 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_12.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_13.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..a771902e61c43e18949ec8c794b0ae80e646b98b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_13.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_14.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f25e906ed323101355eb48a3516afe066ecf01a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_14.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..3017d07be13060479d0d0f845190f63a4dc7b199 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..f266c92851ca766deeb90e9601d37a81863b6ced Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_4.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb2c6979b8116292193e151a03a72df562fc4e2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_4.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_5.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8ca41417612dd7bd3e6ce94208dce9ec8e1247b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_5.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_6.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c4f15fdc2fca91aade755370021bad0063b7870 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_6.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_7.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..b9658260ef2c1a3aa177d8767373020d7d0f4d64 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_7.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_8.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..677133aa9fd4f26e4e3e6d4610742b12e9a40f4a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_8.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_9.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..f23e46702e68c5d994aec0340f384063b672b893 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_9.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua new file mode 100644 index 0000000000000000000000000000000000000000..a51c1284e96b5db5e9d82cefa6bf81ad8d417279 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua new file mode 100644 index 0000000000000000000000000000000000000000..ccbefb1668cd8cad1f644db31df1332be4a0e920 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua new file mode 100644 index 0000000000000000000000000000000000000000..d6359e5fb1069a297db6ed17bb967589340109d5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua new file mode 100644 index 0000000000000000000000000000000000000000..d66cb61716fd53be892e9df5306a7499dbc42e12 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua new file mode 100644 index 0000000000000000000000000000000000000000..187061683dc4681fdef7ebb578b8c2096ee82791 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_1.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..45ac99e7f8ab8053104551b9b995270e5a1562ef Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_10.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..441294f00ad278261a710c2fa238ad0b4abf69f1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_10.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_11.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..8fa0e367e0b97f259d838634d192a72ec53c55b9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_11.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_12.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18243e59f4425efb15238f38ad2f183cd1c5e12 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_12.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_13.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..2dd16cdf9bb1072aee9b4336d47f6f6dc9e7188f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_13.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_14.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9164c5bb620cc701d387386231dfc4f2b82c256b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_14.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_15.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e2ace50fb8195bacbb66e4336b0da538917cb5c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_15.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_2.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..7e58271e52a19377d91be5b8d4408aa395e9fe25 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_3.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..689e341ca0a5ec8bdea057999cf6b9651bb9e41c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_4.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..7f6e59ae5cf9dcdcdc1ff11ece94010a198dfab4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_4.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_5.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..2151daddcfd1c464b929c0542a6f280abe532639 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_5.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_6.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..38928aed0e2ad90a6f84003119a6a7e39ca4e85b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_6.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_7.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e8f0d75c9f44f37f96e86176c38ee73f3f5c2de Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_7.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_8.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..8489055c7a70233fe2f48a1dedd1994a814a6680 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_8.lua differ diff --git a/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_9.lua b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..90db70aa339cc11802bfe62a4e00a366b57357f2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/levels/Episode H - Hallow Heist/H_9.lua differ diff --git a/Angry Birds Project R/2.2.3/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/2.2.3/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/2.2.3/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/2.2.3/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..7711a7c71e96e0e222fcc07eadd96e5cc679697b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/2.2.3/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/2.2.3/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/2.2.3/data/localization/angry.exe b/Angry Birds Project R/2.2.3/data/localization/angry.exe new file mode 100644 index 0000000000000000000000000000000000000000..8be4dfa95adff797fcac14848d2f3594f976e4db Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/localization/angry.exe differ diff --git a/Angry Birds Project R/2.2.3/data/localization/english.txt b/Angry Birds Project R/2.2.3/data/localization/english.txt new file mode 100644 index 0000000000000000000000000000000000000000..9b91ebe7eca0619d7ba8d6505416d2a3d788228f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/localization/english.txt @@ -0,0 +1,258 @@ +SK_SELECT=Select +SK_EXIT=Exit +SK_OK=Ok +SK_YES=Yes +SK_NO=No +SK_CONTINUE=Continue +SK_HELP=Help +SK_ERASE=Erase +TITLE_CHOOSE_LANGUAGE=Choose Language +ITEM_ENABLE_SOUNDS_QUERY=Enable sounds? +ITEM_ENABLE_VIBRATION_QUERY=Enable vibration? +ITEM_HIGH_SCORES=High Scores +ITEM_HELP=Help +ITEM_ERASE_DATA=Erase data +ITEM_ERASE_HIGHSCORE=Erase highscores +ITEM_ARE_YOU_SURE=Are you sure? +ITEM_SFX_ON=SFX: ON +ITEM_SFX_OFF=SFX: OFF +ITEM_MUSIC_ON=Music: ON +ITEM_MUSIC_OFF=Music: OFF +ITEM_VIBRATION_ON=Vibra: ON +ITEM_VIBRATION_OFF=Vibra: OFF +ITEM_CONTINUE_GAME=Continue game +ITEM_PAUSE=Pause +ITEM_LEVEL_SELECTION=Level selection +ITEM_OPTIONS=Options +MI_PLAY=Play +MI_SETTINGS=Settings +MI_ABOUT=About +MT_MORE_GAMES=More Games! +MI_EDIT=Edit +MT_SETTINGS=Settings +MT_ABOUT=About +MT_LEVEL_SKIPPED=LEVEL SKIPPED! +MT_LEVEL_COMPLETE=LEVEL CLEARED! +MI_CONTINUE=Continue +MT_PAUSE=paused +MT_LEVEL_FAILED=LEVEL FAILED! +MI_RESTART=Retry +MI_RETRY=Retry +MI_BACK=Back +MI_SCORE=Score +MI_HIGH_SCORE=Highscore +MI_OK=OK +TEXT_SELECT_LEVEL=Select level +TEXT_FB_LEVELS_HINT_TITLE=Discord bonus levels! +TEXT_FB_LEVELS_HINT=Tap the yellow button above to visit my Discord Server.\0ATalk with people and hear the latest news about the mod! +TEXT_NETWORK_ERROR_TITLE=Network error. +TEXT_NETWORK_ERROR=A connection error has occurred, please try again. +TEXT_LIKE_CONFIRMED_TITLE=Thank you! +TEXT_LIKE_CONFIRMED=Be sure to follow the development! +TEXT_EXIT_CONFIRM=Are you sure you want to quit? we'll miss you! +MI_EXIT=Quit +MI_AUDIO=Audio +MI_VIBRA=Vibra +MI_MENU=Menu +MI_LOADING=Loading... +MI_NEW_HIGHSCORE=New Highscore! +TEXT_BEST_SCORE=Previous Best +MI_MORE_GAMES=Check out other great games from Rovio! +HELP_TITLE_HOWTOPLAY=How To Play +HELP_TITLE_BLUE=Blue Groupie +HELP_TITLE_YELLOW=Yellow speedster +HELP_TITLE_BLACK=Black Blaster +HELP_TITLE_GREEN=Eggy Bomber +HELP_TITLE_SPECIAL=Special Moves +HELP_TEXT_HOWTOPLAY_1=Launch the birds by using the slingshot. +HELP_TEXT_HOWTOPLAY_2=Pop all of the pigs to clear the level! +HELP_TEXT_BLUE=Strong against ice blocks +HELP_TEXT_YELLOW=Strong against wood blocks +HELP_TEXT_BLACK=Strong against stone blocks +HELP_TEXT_GREEN=Fat & Lazy +HELP_TEXT_SPECIAL=Activate special move by tapping the screen while the bird is flying in the air +HELP_SUBTITLE_SPECIAL=Special move: +HELP_SPECIAL_BLUE=Group Attack +HELP_SPECIAL_YELLOW=Turbo Boost +HELP_SPECIAL_BLACK=Explosion +HELP_SPECIAL_EGGY=Egg Grenade +TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CHILLINGO=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CLICKGAMER_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT=\0A\0A 2022-2023 Jeremiah Plays Again, The AB Characters are trademarks of Rovio Entertainment Ltd and Sega. They are protected by international copyright laws. A mod developed by Jeremiah Plays Again and published by ABPlay.\0AAll rights reserved to their owners. Angry Birds Power Trouble by NickDoesStuff. +TEXT_ABOUT_PALM=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM_LITE=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID=Angry Birds Project R\0Av1.0.1\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_HD=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_2=© Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_BETA=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PC=TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\Beta 3.3\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_CREDITS=CREDITS\0A\0A- Director -\0AJeremiah Plays Again\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AJeremiah Plays Again\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0ANickDoesStuff\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0AArthumgo\0ANopenop!\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0Axxxman360\0ATcd729\0Aknoxider\0A\0A- Music And Sound Effects -\0AAri Pulkkinen\0AThe Default Pro\0Aflamerfan2000\0AJeremiah Plays Again\0ATour De Pizza\0ASEGA\0AZeptolab\0A\0A- Level Designers -\0AJeremiah Plays Again\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0AYan_IDK24\0ATcd729\0ALucasX2\0AThe name's Army\0AHruman\0AAlternatExpungle\0A\0A- Dev Build Testers -\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0Asnowy_outbreak\0ALogic\0ATcd729\0AHruman\0AMarisa Kirisame\0AAssasain 2.0\0AThe Default Pro\0Aflamerfan2000\0AGloopyStuff\0ADrew\0Aernestomoise65\0Aluckyblock30\0Asomeguyonthewebfr\0A\0A- Ideas And Other Characters -\0ANickDoesStuff\0Aepikbirb\0Asome guy\0AAssasain 2.0\0ATcd729\0ATour De Pizza\0AThe Sugary Spire team\0A5xGame\0ALogic\0A\0AShoutout to all of the public beta players and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull:\0A\0AThanks For Playing! +TEXT_CREDITS_PC=CREDITS\0A\0A- Director -\0AJeremiah Plays Again\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AJeremiah Plays Again\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0ANickDoesStuff\0AMason The Maniac\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0AArthumgo\0ANopenop!\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0Axxxman360\0ATcd729\0A\0A- Music And Sound Effects -\0AAri Pulkkinen\0AThe Default Pro\0Aflamerfan2000\0AJeremiah Plays Again\0ATour De Pizza\0ASEGA\0A\0A- Level Designers -\0AJeremiah Plays Again\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0AYan_IDK24\0ATcd729\0ALucasX2\0AThe name's Army\0AAlternatExpungle\0A\0A- Dev Build Testers -\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0Asnowy_outbreak\0ALogic\0ATcd729\0AMarisa Kirisame\0AAssasain 2.0\0AThe Default Pro\0Aflamerfan2000\0AHruman\0Ajkio\0AGloopyStuff\0ADrew\0Aernestomoise65\0A\0A- Ideas And Other Characters -\0ANickDoesStuff\0Aepikbirb\0Asome guy\0AAssasain 2.0\0ATcd729\0ATour De Pizza\0ALogic\0A\0AShoutout to all of the public beta players and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull:\0A\0AThanks For Playing! +TEXT_CREDITS_ORIGINAL=ORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS_AB=Powered by Box2D +TEXT_CREDITS_ADDITIONAL=ADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS=THANKS\0A\0A(todo) +TEXT_PERFECT=Total destruction - three stars in all levels!\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_PERFECT_LP1=Destroy all pigs to clear the level! +TEXT_PERFECT_LP2=Total destruction - three stars in all levels!\0A\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_COMPLETE=Congratulations for completing the episode!\0A\0AThere's room for improvement though...\0ANow try to get three stars in all levels! +TEXT_COMPLETE_LP1=Congratulations for completing all levels in the episode!\0A\0AGet three stars in all levels to become an honorary Angry Bird! +TEXT_COMPLETE_LP2=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to prove yourself to The Mighty Eagle! +TEXT_UPSELL=More levels, more FUN! +TEXT_UPSELL_LITE=105 levels, 106% FUN! +TEXT_UPSELL_BUTTON=BUY HERE +TEXT_UPSELL_BUTTON_2=Get it Here! +TEXT_LP_NAME_1= Meet The Flock +TEXT_LP_NAME_2= Breakfast Brawl +TEXT_LP_NAME_3= Moral Mixup +TEXT_LP_NAME_4= Sweet Swines +TEXT_LP_NAME_5= Rebuilding Time +TEXT_LP_NAME_6= Big World Adventure +TEXT_LP_NAME_7= Road Hogs +TEXT_LP_NAME_8= Battle For The Moon +TEXT_LP_NAME_9= Mirror Curse +TEXT_LP_NAME_10= Tower Of Misfortune +TEXT_LP_NAME_SURF= Summer Madness +TEXT_LP_NAME_EGGS=Golden Eggs +TEXT_SELECT_LP=Select Episode +TEXT_LITE_BUY_BUTTON=FULL VERSION +TEXT_COMING_SOON=Coming soon +TEXT_CONGRATULATIONS=Congratulations! +TEXT_HIGHSCORE_SPRITE=NEW_HIGHSCORE_EN +TEXT_SCORE_SPRITE=SCORE_EN +TEXT_PLAY_SPRITE=MENU_PLAY_EN +TEXT_SPLASH_LOADING_SPRITE=LOADING_EN +TEXT_GOLDEN_EGG_HELP=Search throughout the game to find hidden golden eggs, each one unlocks a new secret level! +FONT_HIGHSCORE=FONT_CURRENT_HIGHSCORE +FONT_BASIC=FONT_BASIC +FONT_MENU=FONT_MENU +FONT_SPACE_SCORE_BIG=FONT_SPACE_SCORE_BIG +TEXT_EAGLE_HIGHSCORE=Eagle Highscore: +TEXT_EAGLE_SCORE=Eagle Score: +TEXT_EAGLE_TOTAL_DESTRUCTION=TOTAL DESTRUCTION! +TEXT_MIGHTY_EAGLE_RETURNS=Mighty Eagle is back in business! +TEXT_EAGLE_UPSELL=Having trouble finding those Golden Eggs? +TEXT_EAGLE_UPSELL2=The Hint List is here to help!\0APress the right button at the bottom to check it out! +TEXT_REMOVE_ADS_UPSELL=Go ad-free. +TEXT_REMOVE_ADS_UPSELL2=One time payment. +TEXT_POWERUP_RECEIVED_SLINGSCOPE=Sling Scopes gained +TEXT_POWERUP_RECEIVED_BIRDQUAKE=Birdquakes gained +TEXT_POWERUP_RECEIVED_KINGSLING=King Slings gained +TEXT_POWERUP_RECEIVED_SUPERSEEDS=Power Potions gained +TEXT_POWERUP_RECIEVED_BUNDLE=Power-up bundles received +TEXT_POWERUP_PARENTAL= You have now disabled Power-ups. You can enable them again at any time. +TEXT_POWERUP_PARENTAL_LOCK= You currently have Power-ups disabled. Go to the title screen settings to enable them. +TEXT_SHOP_PRICE=Price: +TEXT_SHOP_KING_SLING_DESCRIPTION=Upgrade to the almighty King Sling for maximum power and velocity! +TEXT_SHOP_SUPER_SEED_DESCRIPTION=Supersize your bird! Power Potions turn any bird into a pig-popping giant. +TEXT_SHOP_BIRDQUAKE=Rattle the battle! Use the Birdquake to bring pigs' defenses crashing to the ground! +TEXT_SHOP_SLING_SCOPE_DESCRIPTION=Looking for the perfect shot? Use Sling Scope Laser Targeting for pinpoint precision! +TEXT_SHOP_ALL-IN-ONE-BUNDLE=This ultimate combo pack gives you all four power-ups! +TEXT_SHOP_PURCHASE=Purchase +TEXT_FREE_POWERUPS_TITLE=Angry Birds now has power-ups! +TEXT_FREE_POWERUPS=Enjoy these 20 free power-ups, and come back tomorrow for more rewards! +TEXT_FREE_FREE=FREE +TEXT_KING_PIG_MODE_KING_PIG_TAGLINE=your gay +TEXT_KING_PIG_MODE_BIRD_FRENZY_TAGLINE=Beat the level with unlimited birds! +TEXT_KING_PIG_MODE_TOTAL_DESTRUCTION_TAGLINE=Tap on the level to explode it! +TEXT_KING_PIG_MODE_MATERIAL_MIX-UP_TAGLINE=Two materials have been swapped! +TEXT_MIGHTY_EAGLE_RESTORE_QUERY=Do you wish to restore Mighty Eagle from your iTunes account? +TEXT_MIGHTY_EAGLE_PURCHASE_QUERY=Mighty Eagle has not been purchased yet. Do you wish to do that now? +TEXT_MIGHTY_EAGLE_RESTORE_PROCESSING=Restoring Mighty Eagle... +TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS=Mighty Eagle has been successfully restored. +TEXT_MIGHTY_EAGLE_RESTORE_FAILURE=Restoring Mighty Eagle failed. Please, try again. +TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY=Mighty Eagle is already active, no need for restoration. +TEXT_MAGICPLACES_PP_UNLOCK=To earn rewards with Magic Places, you need to agree to our privacy policy +TEXT_MAGICPLACES_PP_AGREE=Button: I Agree +TEXT_MAGICPLACES_PP_WOULD="Angry Birds" would like to use your ip address +TEXT_MAGICPLACES_PP_DATAPROVIDED=Magic Places location data is provided by CloudMade +TEXT_MAGICPLACES_NOLOCATION_NOSERVICES=Location services are not allowed. +TEXT_MAGICPLACES_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_NOSERVICES=Location services are turned off +TEXT_MAGICPLACES_AND_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_GOTOSETTINGS=Button: Go to settings +TEXT_MAGICPLACES_BIRD_YOUAREHERE=You are here! +TEXT_MAGICPLACES_POWERUPS_GAINED=%s %s gained +TEXT_MAGICPLACES_POWERUPS_EACHGAINED=%s of each Power Up gained! +TEXT_MAGICPLACES_POWERUPS_GETMORE=Go to Magic Places to unlock more Power Ups +TEXT_MAGICPLACES_POWERUPS_RAISEFLAG=Button: Raise a flag! +TEXT_MAGICPLACES_TUTORIAL_DISCOVER=Visit Magic Places to earn power-ups! +TEXT_MAGICPLACES_TUTORIAL_BROWSE=Browse the map to find Magic gift boxes and earn power-ups! +TEXT_MAGICPLACES_NOTIFICATION_STANDARD=Ca-caw! You're close to a Magic Place +TEXT_MAGICPLACES_NOTIFICATION_VARIATION1=Ta-daa! Magic Places are nearby, make a visit! +TEXT_MAGICPLACES_NOTIFICATION_VARIATION2=Woohoo, something Magic is in the air! +TEXT_MAGICPLACES_PP_MESSAGE=Joining the hunt for power-ups will give Angry Birds access to your location and agree with the privacy policy. +TEXT_MAGICPLACES_KP_MESSAGE=Try out our new King Pig mode +TEXT_MAGICPLACES_POWERUPS_NOPLACES=There are no magic places nearby. Search a little further! +TEXT_MAGICPLACES_SETTINGS=When you turn on Magic Places notifications, your device will track your location, even if the application is not running. +TEXT_MAGICPLACES_LONG_DESCRIPTION=Discover free power-ups at real-world locations! To use this feature, you need to enable access to your location and agree to Rovio's privacy policy and End User License Agreement (EULA). +TEXT_MAGICPLACES_HOW_MAGIC_WORKS=Magic uses your location to determine if you are in a Magic Place. +TEXT_MAGICPLACES_SERVICE_TOGGLE=You can turn location services on/off in your device settings. +TEXT_MAGICPLACES_SERVICE_COMBINATION=Location data may be combined with other Rovio services in the future. +TEXT_MAGICPLACES_FAQ=More info is available in the FAQ (rov.io/MagicPlacesFAQ) +NOTIFICATION_1=Chirp!! You're missing out on stars! Come and get them! +NOTIFICATION_2=Ca-caw! The Pigs have the Eggs! Go stop em! +NOTIFICATION_3=Squawk! We miss you! Come play! +NOTIFICATION_4=Haven't seen you in a long time! Time to pop some pigs! +TEXT_SHOP_ANDROID_DAILY_PURCHASE_LIMIT=You've reached the daily purchase limit. Come back tomorrow to buy more! +TEXT_ROVIO_ID_INTRODUCTION=Sign in now to save your progress and sync it across devices! +TEXT_ROVIO_ID_SAVING_PROGRESS=Saving game progress... +TEXT_ROVIO_ID_SAVING_FAILED=Saving game progress...failed. +TEXT_ROVIO_ID_POP-UP_TITLE=Rovio Account +TEXT_ROVIO_ID_SIGN_OUT=Sign out as: %s? +TEXT_ROVIO_ID_SIGN_IN=Sign in +TEXT_ROVIO_ID_SIGN_UP=Sign up +TEXT_ROVIO_ID_EMAIL_ADDRESS=Email +TEXT_ROVIO_ID_PASSWORD=Password +TEXT_ROVIO_ID_NEW_PASSWORD=New password +TEXT_ROVIO_ID_FORGOT_PASSWORD=Forgot your password? +TEXT_ROVIO_ID_not_have_account_yet=Don't have an account yet? +TEXT_ROVIO_ID_SIGN_UP_NOW=Sign up now! +TEXT_ROVIO_ID_BIRTHDAY=Birthday +TEXT_ROVIO_ID_DATE_FIELD_MONTH=Month +TEXT_ROVIO_ID_DATE_FIELD_DAY=Day +TEXT_ROVIO_ID_DATE_FIELD_YEAR=Year +TEXT_ROVIO_ID_MONTH_JAN=Jan +TEXT_ROVIO_ID_month_feb=Feb +TEXT_ROVIO_ID_month_mar=Mar +TEXT_ROVIO_ID_month_apr=Apr +TEXT_ROVIO_ID_month_may=May +TEXT_ROVIO_ID_month_jun=Jun +TEXT_ROVIO_ID_month_jul=Jul +TEXT_ROVIO_ID_month_aug=Aug +TEXT_ROVIO_ID_month_sep=Sep +TEXT_ROVIO_ID_month_oct=Oct +TEXT_ROVIO_ID_month_nov=Nov +TEXT_ROVIO_ID_month_dec=Dec +TEXT_ROVIO_ID_AGREE_BY_SIGN_IN=By signing up, you are agreeing to our EULA and Privacy Policy. +TEXT_ROVIO_ID_EULA=EULA +TEXT_ROVIO_ID_PRIVACY_POLICY=Privacy Policy +TEXT_ROVIO_ID_FORGOT_PASSWORD-RESET=To reset your password, enter the email address associated with your account below. +TEXT_ROVIO_ID_RESET_PASSWORD_TITLE=Reset password +TEXT_ROVIO_ID_EMAIL_SENT=Email has been sent! +TEXT_ROVIO_ID_RESET_PASSWORD_MESSAGE=Please, check your email for password reset information. +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_TITLE=Thanks for signing up! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_SENT=A verification email is sent to: +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio within 48 hours. +TEXT_ROVIO_ID_SORRY_TITLE=Sorry! +TEXT_ROVIO_ID_SIGN_UP_FAILED_MESSAGE=We could not create your account. +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_TITLE=You have not verified your account yet! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_RESENT=A verification email is re-sent to: +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio. +TEXT_ROVIO_ID_VALIDATE_PASSWORD=Please, enter a password. +TEXT_ROVIO_ID_VALIDATE_PASSWORD_INVALID=Password is too short. +TEXT_ROVIO_ID_VALIDATE_EMAIL_INVALID=Please, enter a valid email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL=Please, enter your email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL_RESERVED=This email address is already taken. +TEXT_ROVIO_ID_VALIDATE_EMAIL_FALSE=Wrong email +TEXT_ROVIO_ID_WRONG_PASSWORD=Wrong password +TEXT_ROVIO_ID_PASSWORD_HELP_TEXT=Password must contain 8 characters at the minimum. +TEXT_ROVIO_ID_WRONG_ACCOUNT=Sync failed. This device already uses another account. +TEXT_ROVIO_ID_SIGN_OUT_QUERY=Your progress will be saved online only when you are signed in. Do you want to sign out as: +TEXT_ROVIO_ID_ACCOUNT_DESCRIPTION=Rovio Account lets you automatically save your game progress online and synchronize between devices. Currently, Rovio Account is available for Angry Birds on iOS, but it will be available on other Rovio games and platforms in the future. +TEXT_ROVIO_ID_OR=or +TEXT_ROVIO_ID_SIGNED_IN_AS=You are signed in as +TEXT_CREDITS_ZIGI=Magic Places not powered by Zigi. diff --git a/Angry Birds Project R/2.2.3/data/scripts/ABIDUtils.lua b/Angry Birds Project R/2.2.3/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/ABSync.lua b/Angry Birds Project R/2.2.3/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/ChallengePage.lua b/Angry Birds Project R/2.2.3/data/scripts/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/PC_DRM.lua b/Angry Birds Project R/2.2.3/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/achievements.lua b/Angry Birds Project R/2.2.3/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/audio.lua b/Angry Birds Project R/2.2.3/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..3df4feb435bd96e7c1a8588ef9c766c8812cd06e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/blocks.lua b/Angry Birds Project R/2.2.3/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..6092d89f900763bc1adcec2fe0621e601b9d9ccb Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/challenges.lua b/Angry Birds Project R/2.2.3/data/scripts/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/challenges.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/challenges/ChallengePage.lua b/Angry Birds Project R/2.2.3/data/scripts/challenges/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/challenges/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/challenges/challenges.lua b/Angry Birds Project R/2.2.3/data/scripts/challenges/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/challenges/challenges.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/cutscenes.lua b/Angry Birds Project R/2.2.3/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..5cccdff80f25d80065287981a0a629ba2d3141a4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/dynamic/default.lua b/Angry Birds Project R/2.2.3/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/episodes.lua b/Angry Birds Project R/2.2.3/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..c55a2620c651d241bcba9132ac6cfae4ab48dd4d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/episodes_free.lua b/Angry Birds Project R/2.2.3/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/game_conf.lua b/Angry Birds Project R/2.2.3/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..3480cef65430afba67c52090ead3f53728ee59c1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/2.2.3/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/iap.lua b/Angry Birds Project R/2.2.3/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/item.lua b/Angry Birds Project R/2.2.3/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/item.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/level_scripts.lua b/Angry Birds Project R/2.2.3/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..ea8a9babffdbaba569f6e90001471673f5983eb3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/loadgroups.lua b/Angry Birds Project R/2.2.3/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..731c02ec0949d16a22cf7f1dc4d68bbb4b73aee7 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts/loadgroups.lua @@ -0,0 +1,2 @@ +žÏ*t¢w…hÂÇ©ne ãA 7ˆ&"pº wu#{½^‚ö‹›¸aËq‹Úa²¬Xöö _¿›Ìyu)ˆ´Ü|¥Mçcω¤ ñ0à6GÆðrŽ¯Êñ/<¨<’ÚA ¾]=>{€]Móö£báÇèÿHú†’ÞÏŸH#!Hc¬Ìš»Zu·¤,Ôb?ÞÐ˦|eOàÖš¯m² +^¹*9&íªÏ6zC’õwœeI85…Œë“]ï θ \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/scripts/menu_flow.lua b/Angry Birds Project R/2.2.3/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus.lua b/Angry Birds Project R/2.2.3/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..60aeca854ac9129122e3875ec92b7e901ca2c8b6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/ChallengePage.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/accordion.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/challenges.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/credits.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98eb89392c574acf02dc9915df85b67ef889906 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/ep9_level_selection.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/ep9_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..f9a855cc0b29f79e7a350e536224d7b2be9e51b0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/ep9_level_selection.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection_crosspromo_black.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection_crosspromo_black.lua new file mode 100644 index 0000000000000000000000000000000000000000..f262a3d256e1c56f7a97d2681818888e5311cc3f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection_crosspromo_black.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e00446746bf30bcc6c2176d0471a4d4d96ac9e8 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts/menus/episode_selection_extra.lua @@ -0,0 +1,4 @@ +“w—1&1Z‚Ö±s¬«ÕÑÝýÝ£Ëe +Ï!a` ØD=#texÍðÛ൭uÅÿƒÈ*î™±8ª§_? +ùøYpµL©õn«iûy×}¦4>EX_ç>œçüΨ ‘ wfœØï*¿ öG°ÚæȹWBÃJS»ŒòjªJåjƒ:§Iª…'¯_ƒPrQ­­!;£«"\Kf7ŒëÉMðß°Ó+uª8Ä=ôöÊañ]ƒÇoPc½"NÑàZS/xz½ Qì¿|ð“ 8õ«ë°K j¶à³W p‹Å?‰y`åèå=;x¡þ¿é>sýÿ·±þHš`Š_ +DÙ{ö᜚ª¡SRåiº­¾R§¢~œGêâf5äåü ž<$m¸c²¥™U Å+ª¤DþΠͧÞÖª~ûÞ'li¡‹Ý,{“¾ý²Œð+Â`nÃÎcyL¸ÏDñuR\Y €Épळ2ñ†ËïºNN}…‘@1¸¬aAÒK¬ «á‰iã>ª^¹TÏâpêÅ-ç_MõßÚ+Ol‰R)N;$@:ÅyŠæ:´ã@ÉNyVÓ*5ˆ’óä±te}åge—íp—7銗M1µó¼Sò#Í"G$Q«`ÏÉž4J;àüLËŒnua’§ã _EüB€ÕÛ8#¤þJÓöQ¶°-(„¸”ã#_y œ?¹Üñ \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/keyboard.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/radio.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..ee3c1ba06979ba5e473210dbef63653f64d194e4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/sequencer.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/settings_page.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/soundboard.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/menus/splashes.lua b/Angry Birds Project R/2.2.3/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/mightyEagle.lua b/Angry Birds Project R/2.2.3/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/options.lua b/Angry Birds Project R/2.2.3/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..3a511b681ca728e5593006e892566bec7e51d642 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/options.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/page.lua b/Angry Birds Project R/2.2.3/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/page.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/particles.lua b/Angry Birds Project R/2.2.3/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..d9dbb142232287e4287cbf0053949ad8af683ed0 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/select_profiles.lua b/Angry Birds Project R/2.2.3/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/starLimits.lua b/Angry Birds Project R/2.2.3/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..02d66b869d9fb6333d3806450ac738eebbe9ef47 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/subsystems/ChallengePage.lua b/Angry Birds Project R/2.2.3/data/scripts/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/2.2.3/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/2.2.3/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..f46c678e49d69fb0c3a6c31aa850198af073ef05 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/2.2.3/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/2.2.3/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts/subsystems/challenges.lua b/Angry Birds Project R/2.2.3/data/scripts/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ABPR_GAMELOGIC.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ABPR_GAMELOGIC.lua new file mode 100644 index 0000000000000000000000000000000000000000..16dd596e02186e3381637454d086d692ae95a673 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts_common/ABPR_GAMELOGIC.lua @@ -0,0 +1,11266 @@ +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or devwModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + _G.res.playAudio(getAudioName"credits_music", 1,true) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("SANTA_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("SANTA_BOMB").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BRUTE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BRUTE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_PURPLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("BARTLETT") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BARTLETT").sprite) + end + if settingsWrapper:getTutorialsForItem("BOUNCI") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOUNCI").sprite) + end + if settingsWrapper:getTutorialsForItem("ANGELO_IDLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("ANGELO_IDLE").sprite) + end + if settingsWrapper:getTutorialsForItem("TELEPIG") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("TELEPIG").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + _G.res.playAudio("star_collect"), + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + addParticles = "smokeBuff", + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level, + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_SETTINGS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "android" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + APP_STORE_HALLOWEEN_URL = "https://tcd729.itch.io/angry-birds-adventures" + NEWSLETTER_URL = "https://gamejolt.com/@ABDirect" + ANDROID_MARKET_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + ALEX_URL = "https://gamejolt.com/games/ABKP/856533" + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = "https://youtu.be/4dtja7FqmVM" + OVI_STORE_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + TWITTER_URL = "https://discord.gg/TuFKJhNk9u" + RIO_CONTEST_URL = "https://gamejolt.com/games/abpt/646947" + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + RENREN_URL = "https://gamejolt.com/games/ABKP/856533" + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = "https://discord.gg/TuFKJhNk9u" + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") + fontSpaceScore = _G.res.getString("TEXTS_BASIC", "FONT_SPACE_SCORE_BIG") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function getFontSpaceScore() + return fontSpaceScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_BASIC_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_LS.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_SCORE_BIG.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + _G.res.stopAllAudio() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = false +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, false, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 150 + softLimitSimultaneousParticles = 75 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted, sorry!" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(scriptPath .. "/menus/ep9_level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/settings_page.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function prepareSpecialEvents() +if not g_episodes or not getLevelById(levelName) then + return +end +local level, episode, page, levelNumber = getLevelById(levelName) +local selectedEpisode = g_episodes[episode] +local selectedLevel = g_episodes[episode].pages[page].levels[levelNumber] + if selectedLevel.hasSpecialMusic then + specialMusic = selectedLevel.specialMusic + else + specialMusic = nil + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + _G.res.playAudio("edit_music", true) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawCreditsBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end + function drawTitleBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawESBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawEditBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_EDIT") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_EDIT", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = true + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme2" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = specialMusic or v0.music + currentMainMenuSong = v0.menuMusic + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + -- setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.smileTimer = _G.math.random(30, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block put it back in please \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local sn = blockDef.sn + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if floatability == nil then + floatability = materialDef.floatability + definitions.blocks[objectDefinition].floatability = floatability + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].sn = sn + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + objects.world[name].floatability = floatability + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + _G.res.stopAllAudio() + playAudio("edit_menu", 1, true) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + playAudio("level_saved", 1, false) + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + _G.res.stopAudio("edit_music") + playAudio("edit_test", 0.8, true) + playAudio("editor_action", 1, false) + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + _G.res.playAudio("menu_select") + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + playAudio("object_placed", 1, false) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + playAudio("object_placed", 1, false) + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + playAudio("object_placed", 1, false) + local name = v.definition .. "_" .. objects.counts[v.definition] + playAudio("object_placed", 1, false) + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + playAudio("object_placed", 1, false) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + playAudio("object_placed", 1, false) + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + playAudio("object_removed", 1, false) + objects.themeSprites[v.name] = nil + playAudio("object_removed", 1, false) + themeSpriteObjects[v.name] = nil + playAudio("object_removed", 1, false) + removeThemeSprite(name, editor.currentLayer) + playAudio("object_removed", 1, false) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + playAudio("object_removed", 1, false) + removeObject(name) + playAudio("object_removed", 1, false) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 16 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + playAudio("joint", 1, false) + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + playAudio("birds_misc", 1, false) + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + playAudio("piglette", 1, false) + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + if objects.theme then + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", "Current Theme: " .. blockTable.themes[objects.theme].themeName, 0, 100, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if #selectedObjects == 1 then + setFont(fontBasic) + if selectedObjects[1].sn ~= nil then + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].sn, 6, 220, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].definition, 6, 220, "TOP", "LEFT") + end + if selectedObjects[1].startNumber ~= nil then + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Number In Line: " .. selectedObjects[1].startNumber, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 280, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 310, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 340, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 280, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 320, "TOP", "LEFT") + end + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + setFont(fontBasic) + _G.res.drawString("", "Blocks selected: " .. #selectedObjects, 6, 220, "TOP", "LEFT") + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PIG_PIZZA_TIME", screenWidth, screenHeight) + else + _G.res.drawSprite("", "EDITOR_PIG_NORMAL", screenWidth, screenHeight) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + _G.res.playAudio("edit_music", true) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end + +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopAudio(currentMusic) + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(blockTable.blocks[nbo.definition].idleSound or g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + if _G.res.isAudioPlaying(currentMusic) == true then + _G.res.stopAudio(currentMusic) + else + if _G.res.isAudioPlaying(currentMusic) == false then + _G.res.playAudio("nothing") + end + _G.res.playAudio(getAudioName(blockTable.themes[currentTheme].winMusic or g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + if explosionCameraShakeDuration ~= nil and explosionCameraShakeDuration > 0 then + explosionCameraShakeDuration = explosionCameraShakeDuration - dt + if cameraShake == nil or 0 >= cameraShake then + cameraShake = explosionCameraShakeAmount + end + elseif explosionCameraShakeDuration ~= nil then + explosionCameraShakeDuration = nil + cameraShake = 0 + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(startMusic or g_sound_level_start), 1, false) + _G.res.playAudio(currentMusic, 1, true, 7) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 1 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLength(lx - bt[#bt].x, ly - bt[#bt].y) > 20 then + -- if getObjectDefinition(flyingBird.name).particlesTrail ~= nil then + -- addParticles(flyingBird.name, getObjectDefinition(flyingBird.name).particlesTrail, 1) + -- end + _G.table.insert(bt, { x = lx, y = ly }) + addToTrajectory(1, lx, ly) + end + + if getObjectDefinition(flyingBird.name).rotateWhileFlying then + rotateFlyingBird(flyingBird.name) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("tnt_explodes")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.redBirdTimer ~= nil then + local x = v.x + local y = v.y + local redImpulse = nil + v.rotateWhileFlying = false + v.redBirdTimer = v.redBirdTimer - dt + if v.redBirdTimer < 0 and v.collision ~= true then + setAngularVelocity(v.name, 30, 30) + redImpulse = false + v.xVel = velX + v.yVel = velY + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + v.particleTrail = "mightyRedBuff" + elseif v.redBirdTimer < 0.2 and v.collision ~= true then + redImpulse = true + if redImpulse ~= false then + local x, y = screenToPhysicsTransform(cursor.x, cursor.y) + v.frozenTargetPosition = {x = x, y = y} + v.targetAngle = _G.math.atan2(v.frozenTargetPosition.x - v.x, v.frozenTargetPosition.y - v.y) - _G.math.pi / 2 + end + local g_shootSpeed = 75 + velX, velY = _G.math.cos(v.targetAngle), _G.math.sin(v.targetAngle) + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + setVelocity(v.name, velX * g_shootSpeed, -velY * g_shootSpeed) + v.particleTrail = "mightyRedBuff" + + elseif v.redBirdTimer < 1 and v.collision ~= true then + setPosition(v.name, v.x, v.y) + addParticles(cursorPhysics, "smokeBuff", 1, true, false) + setVelocity(v.name, 0, 0) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, false, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, false, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = (v1.x - v.x) * 1.3 + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 2 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, false, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 2.5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "TEST" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "C_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "BOMB_JUMP" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + applyImpulse(flyingBird.name, 0, 1 * 0 * -100, flyingBird.x, flyingBird.y) + end + if birdSpecialty == "SUCK" then + makeSuck(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound))playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + if birdSpecialty == "TELEPORT" then + makeExplosion(flyingBird, bDef) + local bDef = getObjectDefinition(flyingBird.name) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "JEWEL" then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].redBirdTimer = 0 + +end + if birdSpecialty == "ROCKET_BIRD" then + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = "BIRD_YELLOW_SPECIAL" + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "WIZPIG_1_1" + objects.world[newName].xVel = 100 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = -10 --flyingBird.yVel * 0.5 + setSprite(newName, "WIZPIG_1_1") + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -100*defaultForce * flyingBird.mass, + 0*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + +end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end +if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + createCircle(newName, grenade_def.sprite, flyingBird.x + flyingBird.radius * 2, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + else + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + end + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + objects.world[newName].xVel = 100 + objects.world[newName].yVel = 0 + else + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + end + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + applyImpulse(flyingBird.name, 0.2 * defaultForce * flyingBird.mass, 0 * defaultForce * flyingBird.mass, flyingBird.x - 0, flyingBird.y) + else + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + end + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + elseif particle == "popcornBuff" then + particleAmount = 5 + elseif particle == "bigExplosionBuff" then + _G.res.stopAudio(currentMusic) + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if bDef.specialty == "C_BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if particle == "rat_death" then + particleAmount = 1 + end + if particle == "explosionBuff" then + particleAmount = 1 + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, false, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, false, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, + "displacement vector missing x/y members") + + local distToRest = vLength(displacement.x, displacement.y) + + rubberBandAngle = _G.math.atan2(displacement.y, displacement.x) + + -- ? + local newAngle = rubberBandAngle + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + if getObjectDefinition(selectedBird.name).rotateWhileSlinging then + setRotation(selectedBird.name, newAngle) + end + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite or v.smileSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_pigs), 1, false, 0) + end + end + end + for k, v in _G.pairs(levelGoals) do + v.smileTimer = v.smileTimer - dt + if v.smileTimer < 0 then + if v.smileOn == true then + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.damageSprite) + v.smileOn = false + else + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.smileSprite) + v.smileOn = true + end + end + end + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_birds), 1, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" and birdSpecialty ~= "C_BOMB" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" and birdSpecialty ~= "C_BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, false, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, false, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName(destroyedSound or "bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + sprites.smile = v.smileSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function addExplosionScore(object, score) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + explosionCameraShakeDuration = 0.15 + explosionCameraShakeAmount = definition.explosionForce / 1000 + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius then + local damage = definition.explosionDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addExplosionScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function makeSuck(object, definition, sound) + addParticles(object.name, "shineBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createSuck(object, definition, sound) +end +function addSuckScore(object, score) +end +function createSuck(object, definition, sound) + if definition.suckForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.suckRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.suckForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.suckDamageRadius then + local damage = definition.suckDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addSuckScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function rotateFlyingBird(name) + if objects.world[name] ~= nil then + local bird = objects.world[name] + local newAngle = _G.math.atan2(bird.yVel, bird.xVel) + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + setRotation(name, newAngle) + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function updateObjectProperties(name, positionx, positiony, velocityx, velocityy, angle, sleeping, outsideBoundaries) + local block = objects.world[name] + block.x = positionx + block.y = positiony + block.xVel = velocityx + block.yVel = velocityy + block.angle = angle + block.sleeping = sleeping + block.outsideBoundaries = outsideBoundaries +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ABPR_GAMELOGIC.lua.bak b/Angry Birds Project R/2.2.3/data/scripts_common/ABPR_GAMELOGIC.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..75995144e2e9e0182fe00d4780d8c973406e7ffb --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts_common/ABPR_GAMELOGIC.lua.bak @@ -0,0 +1,11266 @@ +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or devwModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + _G.res.playAudio(getAudioName"credits_music", 1,true) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("SANTA_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("SANTA_BOMB").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BRUTE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BRUTE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_PURPLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("BARTLETT") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BARTLETT").sprite) + end + if settingsWrapper:getTutorialsForItem("BOUNCI") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOUNCI").sprite) + end + if settingsWrapper:getTutorialsForItem("ANGELO_IDLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("ANGELO_IDLE").sprite) + end + if settingsWrapper:getTutorialsForItem("TELEPIG") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("TELEPIG").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + _G.res.playAudio("star_collect"), + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + addParticles = "smokeBuff", + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level, + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_SETTINGS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "android" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + APP_STORE_HALLOWEEN_URL = "https://tcd729.itch.io/angry-birds-adventures" + NEWSLETTER_URL = "https://gamejolt.com/@ABDirect" + ANDROID_MARKET_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + ALEX_URL = "https://gamejolt.com/games/abkp/801638" + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = "https://youtu.be/4dtja7FqmVM" + OVI_STORE_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + TWITTER_URL = "https://discord.gg/TuFKJhNk9u" + RIO_CONTEST_URL = "https://gamejolt.com/games/abpt/646947" + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + RENREN_URL = "https://gamejolt.com/games/abkp/801638" + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = "https://discord.gg/TuFKJhNk9u" + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") + fontSpaceScore = _G.res.getString("TEXTS_BASIC", "FONT_SPACE_SCORE_BIG") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function getFontSpaceScore() + return fontSpaceScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_BASIC_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_LS.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_SCORE_BIG.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + _G.res.stopAllAudio() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = false +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, false, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 150 + softLimitSimultaneousParticles = 75 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted, sorry!" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(scriptPath .. "/menus/ep9_level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/settings_page.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function prepareSpecialEvents() +if not g_episodes or not getLevelById(levelName) then + return +end +local level, episode, page, levelNumber = getLevelById(levelName) +local selectedEpisode = g_episodes[episode] +local selectedLevel = g_episodes[episode].pages[page].levels[levelNumber] + if selectedLevel.hasSpecialMusic then + specialMusic = selectedLevel.specialMusic + else + specialMusic = nil + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + _G.res.playAudio("edit_music", true) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawCreditsBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end + function drawTitleBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawESBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawEditBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_EDIT") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_EDIT", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = true + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme2" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = specialMusic or v0.music + currentMainMenuSong = v0.menuMusic + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, 5, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + -- setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.smileTimer = _G.math.random(30, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block put it back in please \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local sn = blockDef.sn + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if floatability == nil then + floatability = materialDef.floatability + definitions.blocks[objectDefinition].floatability = floatability + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].sn = sn + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + objects.world[name].floatability = floatability + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + _G.res.stopAllAudio() + playAudio("edit_menu", 1, true) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + playAudio("level_saved", 1, false) + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + _G.res.stopAudio("edit_music") + playAudio("edit_test", 0.8, true) + playAudio("editor_action", 1, false) + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + _G.res.playAudio("menu_select") + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + playAudio("object_placed", 1, false) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + playAudio("object_placed", 1, false) + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + playAudio("object_placed", 1, false) + local name = v.definition .. "_" .. objects.counts[v.definition] + playAudio("object_placed", 1, false) + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + playAudio("object_placed", 1, false) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + playAudio("object_placed", 1, false) + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + playAudio("object_removed", 1, false) + objects.themeSprites[v.name] = nil + playAudio("object_removed", 1, false) + themeSpriteObjects[v.name] = nil + playAudio("object_removed", 1, false) + removeThemeSprite(name, editor.currentLayer) + playAudio("object_removed", 1, false) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + playAudio("object_removed", 1, false) + removeObject(name) + playAudio("object_removed", 1, false) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 16 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + playAudio("joint", 1, false) + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + playAudio("birds_misc", 1, false) + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + playAudio("piglette", 1, false) + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + if objects.theme then + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", "Current Theme: " .. blockTable.themes[objects.theme].themeName, 0, 100, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if #selectedObjects == 1 then + setFont(fontBasic) + if selectedObjects[1].sn ~= nil then + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].sn, 6, 220, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].definition, 6, 220, "TOP", "LEFT") + end + if selectedObjects[1].startNumber ~= nil then + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Number In Line: " .. selectedObjects[1].startNumber, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 280, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 310, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 340, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 280, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 320, "TOP", "LEFT") + end + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + setFont(fontBasic) + _G.res.drawString("", "Blocks selected: " .. #selectedObjects, 6, 220, "TOP", "LEFT") + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PIG_PIZZA_TIME", screenWidth, screenHeight) + else + _G.res.drawSprite("", "EDITOR_PIG_NORMAL", screenWidth, screenHeight) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + _G.res.playAudio("edit_music", true) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end + +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopAudio(currentMusic) + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(blockTable.blocks[nbo.definition].idleSound or g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + if _G.res.isAudioPlaying(currentMusic) == true then + _G.res.stopAudio(currentMusic) + else + if _G.res.isAudioPlaying(currentMusic) == false then + _G.res.playAudio("nothing") + end + _G.res.playAudio(getAudioName(blockTable.themes[currentTheme].winMusic or g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + if explosionCameraShakeDuration ~= nil and explosionCameraShakeDuration > 0 then + explosionCameraShakeDuration = explosionCameraShakeDuration - dt + if cameraShake == nil or 0 >= cameraShake then + cameraShake = explosionCameraShakeAmount + end + elseif explosionCameraShakeDuration ~= nil then + explosionCameraShakeDuration = nil + cameraShake = 0 + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(startMusic or g_sound_level_start), 1, false) + _G.res.playAudio(currentMusic, 1, true, 7) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 1 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLength(lx - bt[#bt].x, ly - bt[#bt].y) > 20 then + -- if getObjectDefinition(flyingBird.name).particlesTrail ~= nil then + -- addParticles(flyingBird.name, getObjectDefinition(flyingBird.name).particlesTrail, 1) + -- end + _G.table.insert(bt, { x = lx, y = ly }) + addToTrajectory(1, lx, ly) + end + + if getObjectDefinition(flyingBird.name).rotateWhileFlying then + rotateFlyingBird(flyingBird.name) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("tnt_explodes")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.redBirdTimer ~= nil then + local x = v.x + local y = v.y + local redImpulse = nil + v.rotateWhileFlying = false + v.redBirdTimer = v.redBirdTimer - dt + if v.redBirdTimer < 0 and v.collision ~= true then + setAngularVelocity(v.name, 30, 30) + redImpulse = false + v.xVel = velX + v.yVel = velY + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + v.particleTrail = "mightyRedBuff" + elseif v.redBirdTimer < 0.2 and v.collision ~= true then + redImpulse = true + if redImpulse ~= false then + local x, y = screenToPhysicsTransform(cursor.x, cursor.y) + v.frozenTargetPosition = {x = x, y = y} + v.targetAngle = _G.math.atan2(v.frozenTargetPosition.x - v.x, v.frozenTargetPosition.y - v.y) - _G.math.pi / 2 + end + local g_shootSpeed = 75 + velX, velY = _G.math.cos(v.targetAngle), _G.math.sin(v.targetAngle) + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + setVelocity(v.name, velX * g_shootSpeed, -velY * g_shootSpeed) + v.particleTrail = "mightyRedBuff" + + elseif v.redBirdTimer < 1 and v.collision ~= true then + setPosition(v.name, v.x, v.y) + addParticles(cursorPhysics, "smokeBuff", 1, true, false) + setVelocity(v.name, 0, 0) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, false, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, false, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = (v1.x - v.x) * 1.3 + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 2 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, false, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 2.5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "TEST" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, false, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "C_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "BOMB_JUMP" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + applyImpulse(flyingBird.name, 0, 1 * 0 * -100, flyingBird.x, flyingBird.y) + end + if birdSpecialty == "SUCK" then + makeSuck(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound))playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + if birdSpecialty == "TELEPORT" then + makeExplosion(flyingBird, bDef) + local bDef = getObjectDefinition(flyingBird.name) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "JEWEL" then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].redBirdTimer = 0 + +end + if birdSpecialty == "ROCKET_BIRD" then + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = "BIRD_YELLOW_SPECIAL" + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "WIZPIG_1_1" + objects.world[newName].xVel = 100 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = -10 --flyingBird.yVel * 0.5 + setSprite(newName, "WIZPIG_1_1") + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -100*defaultForce * flyingBird.mass, + 0*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + +end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end +if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + createCircle(newName, grenade_def.sprite, flyingBird.x + flyingBird.radius * 2, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + else + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + end + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + objects.world[newName].xVel = 100 + objects.world[newName].yVel = 0 + else + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + end + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + applyImpulse(flyingBird.name, 0.2 * defaultForce * flyingBird.mass, 0 * defaultForce * flyingBird.mass, flyingBird.x - 0, flyingBird.y) + else + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + end + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + elseif particle == "popcornBuff" then + particleAmount = 5 + elseif particle == "bigExplosionBuff" then + _G.res.stopAudio(currentMusic) + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if bDef.specialty == "C_BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if particle == "rat_death" then + particleAmount = 1 + end + if particle == "explosionBuff" then + particleAmount = 1 + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, false, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, false, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, + "displacement vector missing x/y members") + + local distToRest = vLength(displacement.x, displacement.y) + + rubberBandAngle = _G.math.atan2(displacement.y, displacement.x) + + -- ? + local newAngle = rubberBandAngle + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + if getObjectDefinition(selectedBird.name).rotateWhileSlinging then + setRotation(selectedBird.name, newAngle) + end + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite or v.smileSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_pigs), 1, false, 0) + end + end + end + for k, v in _G.pairs(levelGoals) do + v.smileTimer = v.smileTimer - dt + if v.smileTimer < 0 then + if v.smileOn == true then + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.damageSprite) + v.smileOn = false + else + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.smileSprite) + v.smileOn = true + end + end + end + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_birds), 1, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" and birdSpecialty ~= "C_BOMB" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" and birdSpecialty ~= "C_BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, false, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, false, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName(destroyedSound or "bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + sprites.smile = v.smileSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function addExplosionScore(object, score) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + explosionCameraShakeDuration = 0.15 + explosionCameraShakeAmount = definition.explosionForce / 1000 + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius then + local damage = definition.explosionDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addExplosionScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function makeSuck(object, definition, sound) + addParticles(object.name, "shineBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createSuck(object, definition, sound) +end +function addSuckScore(object, score) +end +function createSuck(object, definition, sound) + if definition.suckForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.suckRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.suckForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.suckDamageRadius then + local damage = definition.suckDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addSuckScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function rotateFlyingBird(name) + if objects.world[name] ~= nil then + local bird = objects.world[name] + local newAngle = _G.math.atan2(bird.yVel, bird.xVel) + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + setRotation(name, newAngle) + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function updateObjectProperties(name, positionx, positiony, velocityx, velocityy, angle, sleeping, outsideBoundaries) + local block = objects.world[name] + block.x = positionx + block.y = positiony + block.xVel = velocityx + block.yVel = velocityy + block.angle = angle + block.sleeping = sleeping + block.outsideBoundaries = outsideBoundaries +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ChallengePage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/EventManager.lua b/Angry Birds Project R/2.2.3/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/challenges.lua b/Angry Birds Project R/2.2.3/data/scripts_common/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/challenges.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/default_conf.lua b/Angry Birds Project R/2.2.3/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..83512db9f055abe97f3c63175703d8c42692f0e4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/desktop.ini b/Angry Birds Project R/2.2.3/data/scripts_common/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..74ddc1323b48f35f87c2fe87da869d4ad26c2d6b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts_common/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,72 diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/2.2.3/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..72ab5e70808efeb50baab94f51678796a7049232 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/events.lua b/Angry Birds Project R/2.2.3/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..cb6f5d2c5196ad5c87db1230b2a5f92bc289a7a2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/gamelogic.lua b/Angry Birds Project R/2.2.3/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..59b3c44dff81adcbfb764fd435a4644aa97c6ba5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/2.2.3/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/howdoiplay.lua b/Angry Birds Project R/2.2.3/data/scripts_common/howdoiplay.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d8df9f6d131ae48e02b99002c12ddc8d8e13494 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts_common/howdoiplay.lua @@ -0,0 +1,192 @@ +g_tutorialSprites = { + TUTORIAL_1 = "TUTORIAL_RED", + TUTORIAL_1_PIG = "RED_PIG_NORMAL", + TUTORIAL_2 = "TUTORIAL_BLUE", + TUTORIAL_3 = "TUTORIAL_YELLOW", + TUTORIAL_4 = "TUTORIAL_BLACK", + TUTORIAL_5 = "TUTORIAL_WHITE", + TUTORIAL_6 = "TUTORIAL_BOOMERANG", + TUTORIAL_7 = "TUTORIAL_BIG_BROTHER", + TUTORIAL_8 = "TUTORIAL_MIGHTYEAGLE", + TUTORIAL_9 = "TUTORIAL_PUFFER" +} +function showTrackpadTutorials() + return not g_usingGestureControls and g_usedGestureControls and isInFullScreenMode() +end +g_platformTutorials = { + osx = { + { + id = "TUTORIAL_OSX_1", + sprite = "TUTORIAL_TRACKPAD_1", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_2", + sprite = "TUTORIAL_TRACKPAD_2", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_3", + sprite = "TUTORIAL_TRACKPAD_3", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_4", + sprite = "TUTORIAL_TRACKPAD_4", + ignore_size = true, + condition = showTrackpadTutorials + } + }, + roku = { + { + id = "TUTORIAL_ROKU_1", + sprite = "TUTORIAL_CAMERA", + ignore_size = true + }, + { + id = "TUTORIAL_ROKU_2", + sprite = "TUTORIAL_ZOOMING", + ignore_size = true + } + } +} +function addTutorial(_ARG_0_, _ARG_1_) + if _G.type(_ARG_1_) == "string" then + _G.table.insert(_ARG_0_, {sprite = _ARG_1_}) + return true + elseif _G.type(_ARG_1_) == "table" and (not _ARG_1_.condition or _ARG_1_.condition and _ARG_1_.condition()) then + _G.table.insert(_ARG_0_, _ARG_1_) + return true + end + return false +end +function getTutorialSprite(_ARG_0_) + if _G.type(_ARG_0_) == "string" then + return _ARG_0_ + elseif _G.type(_ARG_0_) == "table" then + return _ARG_0_.sprite + end + return nil +end +Tutorial = ui.BackgroundBox:inherit() +function Tutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function Tutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.Image:new().name = "tutorial" + if _G.type(_ARG_0_.tutorial) == "table" then + ui.Image:new():setImage(_ARG_0_.tutorial.sprite) + _ARG_0_.tutorial_sprite = _ARG_0_.tutorial.sprite + elseif _G.type(_ARG_0_.tutorial) == "string" then + ui.Image:new():setImage(g_tutorialSprites[_ARG_0_.tutorial]) + _ARG_0_.tutorial_sprite = g_tutorialSprites[_ARG_0_.tutorial] + end + _ARG_0_:addChild((ui.Image:new())) + if _ARG_0_.tutorial == "TUTORIAL_5" and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + ui.ImageButton:new().name = "goldenEgg" + ui.ImageButton:new():setImage("GOLDEN_EGG_1") + ui.ImageButton:new().scaleX = 0.4 + ui.ImageButton:new().scaleY = 0.4 + ui.ImageButton:new().returnValue = "COLLECT_GOLDEN_EGG" + _ARG_0_:addChild((ui.ImageButton:new())) + end + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function Tutorial.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function Tutorial.onExit(_ARG_0_) + ui.BackgroundBox.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function Tutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + end + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + for _FORV_8_, _FORV_9_ in _G.pairs(g_tutorialSprites) do + end + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _FORV_8_, _FORV_9_ in _G.pairs(g_platformTutorials[deviceModel]) do + end + end + _ARG_0_.width = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + _ARG_0_.height = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").x = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * 0.18 * 2 + _ARG_0_:getChild("goldenEgg").y = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * -0.1 * 2 + end + _ARG_0_:getChild("close").x = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.35 * 2 + _ARG_0_:getChild("close").y = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.6 * 2 + for _FORV_22_, _FORV_23_ in _G.ipairs(_ARG_0_.children) do + _FORV_23_.scaleY, _FORV_23_.scaleX = 2, 2 + end +end +function Tutorial.collectGoldenEgg(_ARG_0_) + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").visible = false + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end +end +if not g_isAccelerometerControl then + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "COLLECT_GOLDEN_EGG" then + _ARG_0_:collectGoldenEgg() + elseif ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end + function Tutorial.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BUTTON_A" then + _ARG_0_:collectGoldenEgg() + end + end +end +function Tutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +filename = "tutorials.lua" diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/iap_new.lua b/Angry Birds Project R/2.2.3/data/scripts_common/iap_new.lua new file mode 100644 index 0000000000000000000000000000000000000000..a939aac47ebe419cefdc58780f4f48d78742596e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/iap_new.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/level_effects.lua b/Angry Birds Project R/2.2.3/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9ca8bf271c232bbf996c532b9e20f0e4752b073 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/level_utils.lua b/Angry Birds Project R/2.2.3/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/ChallengePage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..6c64988e876c2f54c53b6bc56c7f5765bfaa4107 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c6397391e323e68dd141f5947ad52c01010d1b1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..ba50343339d2775f80db502611870c09d500f27e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8d162faff205e33758c6d85a45accbb52665b3f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/ads.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ads.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0bd4329f1c9d8ecd122ecacf0dcde39e3270915 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/ads.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..954126043ecae79386e3e23c1102bce844b56e9b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/challenges.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/credits.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..beb62177f65cbdafb67376a38bd9f20fe78b4314 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d642974ba4917b5e4fb4284f6c35265c3884b00 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/default_credits.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/default_credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..d3abc8dadf8fac4c50a208e920c21f04f51f6fb5 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/default_credits.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef84c0ab8e01240dea9864641fe37d481491bf79 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/layout_select.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/layout_select.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd9aaba3ff1490147c53ab935d304108aeb7e0df --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts_common/menus/layout_select.lua @@ -0,0 +1,252 @@ +function createLevelButton(_ARG_0_) + ui.ImageButton:new().name = "level" .. _ARG_0_.page .. "-" .. _ARG_0_.index + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setImage(_ARG_0_.level_button_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].level_button, _ARG_0_.disabled_button_override or "LS_LEVEL_BG_NORMAL_CLOSED") + ui.ImageButton:new().returnValue = "GOTO_LEVEL" + ui.ImageButton:new().disabledReturnValue = "DISABLED_LEVEL" + ui.ImageButton:new().meta = { + episode = _ARG_0_.episode, + page = _ARG_0_.page, + level = _ARG_0_.index, + levelName = _ARG_0_.name, + intro_cutscene = _ARG_0_.intro_cutscene + } + return (ui.ImageButton:new()) +end +function createBasicLevelButton(_ARG_0_, _ARG_1_) + ui.Text:new().name = "number" + ui.Text:new().font = fontBasic + ui.Text:new().text = _G.tostring(_ARG_1_.display_number) + _ARG_0_:addChild((ui.Text:new())) + ui.Image:new().name = "eagle" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.levelSelectionSilhouette or "LS_EAGLE_BUTTON") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "stars" + ui.Image:new():setVisible(false) + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "feather" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.collectableReward or "LS_EAGLE_FEATHER") + _ARG_0_:addChild((ui.Image:new())) +end +function openBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(true) + _ARG_0_:getChild("number").visible = true + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("stars").visible = false + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score > 0 and highscores[_ARG_1_.name].completed then + _ARG_0_:getChild("stars").visible = true + if highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].goldScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(3)) + elseif highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].silverScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(2)) + else + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(1)) + end + elseif highscores[_ARG_1_.name] and (not highscores[_ARG_1_.name].score or highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score == 0) and highscores[_ARG_1_.name].completed then + for _FORV_13_, _FORV_14_ in _G.ipairs((settingsWrapper:getEagleUsedIn())) do + if _FORV_14_.level == _ARG_1_.name then + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = true + end + end + end + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].eagleScore and highscores[_ARG_1_.name].eagleScore >= 100 then + _ARG_0_:getChild("feather").visible = true + end +end +function closeBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(false) + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("feather").visible = false +end +function getLevelSelectionLayoutSizes() + if _UPVALUE0_ then + else + end + return g_layoutMargin.x, screenWidth - g_layoutMargin.x, screenWidth - g_layoutMargin.x - g_layoutMargin.x +end +LSGridLayout = {} +LSGridLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE +} +function LSGridLayout.createPage(_ARG_0_, _ARG_1_) +end +function LSGridLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSGridLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:getLastOpenLevel(_ARG_0_.episode) >= _ARG_0_.index_in_episode +end +function LSGridLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + closeBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_14_ = 1, _ARG_1_.layout_params.rows do + for _FORV_19_ = 1, _ARG_1_.layout_params.cols do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * getLevelSelectionLayoutSizes() * (1 - 0.83) + getLevelSelectionLayoutSizes() + 0.83 * getLevelSelectionLayoutSizes() / (_ARG_1_.layout_params.cols - 1) * (_FORV_19_ - 1) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).y = -0.1 * screenHeight + screenHeight * (_FORV_14_ / (_ARG_1_.layout_params.rows + 2) * 1.2) + end + end +end +function LSGridLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSGridLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSFacebookLayout = {} +LSFacebookLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE, + events.EID_FACEBOOK_LIKE_CLICKED +} +function LSFacebookLayout.createPage(_ARG_0_, _ARG_1_) + ui.ImageButton:new().name = "fbButton" .. _ARG_1_.index + ui.ImageButton:new():setImage("FB_LIKE_BUTTON") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK_CONNECT" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function LSFacebookLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSFacebookLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isFbPageLiked() +end +function LSFacebookLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) + _ARG_1_:setImage(g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button, g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button) + _ARG_1_.returnValue = "GOTO_LEVEL" +end +function LSFacebookLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:getChild("number").visible = false + _ARG_1_:getChild("stars").visible = false + _ARG_1_:getChild("eagle").visible = false + _ARG_1_:getChild("feather").visible = false + _ARG_1_:setEnabled(true) + _ARG_1_.returnValue = "SHOW_FACEBOOK_PROMPT" + _ARG_1_:setImage("LS_LEVEL_BG_NORMAL_CLOSED", "LS_LEVEL_BG_NORMAL_CLOSED") +end +function LSFacebookLayout.layout(_ARG_0_, _ARG_1_) + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y = screenHeight / 2.75 + for _FORV_14_ = 1, _ARG_1_.layout_params.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth - (_ARG_1_.layout_params.levels - 1) * 0.5 * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + (_FORV_14_ - 1) * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).y = _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y + _G.res.getSpriteBounds(_ARG_0_:getChild("fbButton" .. _ARG_1_.index).image) / 2.28 + _G.res.getSpriteBounds(_ARG_1_.level_button) * 0.5 + end +end +function LSFacebookLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSFacebookLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + elseif _ARG_2_.id == events.EID_FACEBOOK_LIKE_CLICKED then + for _FORV_6_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):setImage(_ARG_1_.level_button, _ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_).returnValue = "GOTO_LEVEL" + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSGoldenEggsLayout = {} +LSGoldenEggsLayout.listen_events = {} +function LSGoldenEggsLayout.createPage(_ARG_0_, _ARG_1_) + for _FORV_5_ = 1, #_ARG_1_.levels do + ui.Image:new().name = "starEffect" .. _ARG_1_.index .. "-" .. _FORV_5_ + ui.Image:new():setImage("GOLDEN_EGG_STAR_EFFECT") + _ARG_0_:addChild((ui.Image:new())) + end +end +function LSGoldenEggsLayout.createLevelButton(_ARG_0_) + ui.Image:new().name = "star" + ui.Image:new():setImage(_ARG_0_.completed_sprite_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].layout_params.completed_sprite) + ui.Image:new():setVisible(false) + createLevelButton(_ARG_0_):addChild((ui.Image:new())) + return (createLevelButton(_ARG_0_)) +end +function LSGoldenEggsLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isGoldenEggUnlocked(_ARG_0_.name) +end +function LSGoldenEggsLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(true) + _ARG_1_:setVisible(true) + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = not settingsWrapper:isGoldenEggPlayed(_ARG_2_.name) + _ARG_1_:getChild("star"):setVisible(highscores[_ARG_2_.name] and highscores[_ARG_2_.name].completed or false) +end +function LSGoldenEggsLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(false) + if _ARG_2_.disabled_button_override == nil then + _ARG_1_:setVisible(false) + else + _ARG_1_:setVisible(true) + end + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = false +end +function LSGoldenEggsLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_8_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x = (_ARG_1_.index - 1) * screenWidth + (_ARG_1_.levels[_FORV_8_].x or 0.5) * getLevelSelectionLayoutSizes() + getLevelSelectionLayoutSizes() + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y = (_ARG_1_.levels[_FORV_8_].y or 0.5) * screenHeight + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).x = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).y = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y + end +end +function LSGoldenEggsLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + for _FORV_7_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle = _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle + _ARG_2_ * 0.6 + end +end +function LSGoldenEggsLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) +end +g_ls_layout_mapping = { + grid = LSGridLayout, + facebook = LSFacebookLayout, + goldeneggs = LSGoldenEggsLayout +} +filename = "level_selection_layouts.lua" diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..49e866b5f365201b1a5ad43f5e1a4491b5b76549 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5118fd8f6aeb826af45dcc057d89f7ac4c78f1b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..04162665aad97768e447cfb13d673db6ae14279f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/loading.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..c92891b6f7b9a3113cf5d1a20f9347f6d25dc098 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..696fc2d4cc6f7b361f4d4199a93f001c85372674 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/settings_page.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/shop3.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/shop3.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb99634991566d88de2c3f01073d90544af29b9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/shop3.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..759fe7303ff87c9a3fd4943b50c14297aefb3403 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/2.2.3/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..8905559369866711bc6d2357a23ebed12261375e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/powerups.lua b/Angry Birds Project R/2.2.3/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..887173274877bebbf4ea1cdcadf00f497513702a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/powerups2.lua b/Angry Birds Project R/2.2.3/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..887173274877bebbf4ea1cdcadf00f497513702a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/puffer_bird.lua b/Angry Birds Project R/2.2.3/data/scripts_common/puffer_bird.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/2.2.3/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/sticky_block.lua b/Angry Birds Project R/2.2.3/data/scripts_common/sticky_block.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1d141bb211067cab0dc1436baf05e9e0e07f5ce Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/sticky_block.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ChallengePage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/CloudSync.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/CloudSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..e6196e7ead07b2c8ac9b980dc46b90d7ff66b771 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/CloudSync.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/RovioAccount.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/RovioAccount.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c16df839fe70d659317c0e8c7dbaf40da84ef35 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/RovioAccount.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/blockListSetup.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/blockListSetup.lua new file mode 100644 index 0000000000000000000000000000000000000000..c08bfae1e8e13b0ccc136876285b1d7763e75fee Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/blockListSetup.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/calendarSubsystem.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/calendarSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..209cfeb39539c57a9128c8ff258ae9bec65f82e6 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/calendarSubsystem.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/challenges.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..dc0f75c1bed06bc8c3341425a51a7a3296ab24c4 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/2.2.3/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/timer.lua b/Angry Birds Project R/2.2.3/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/trackpad.lua b/Angry Birds Project R/2.2.3/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image1.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image1.lua new file mode 100644 index 0000000000000000000000000000000000000000..e58cfe35dd7177286d2671b3325e2e985f385dcf Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image1.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image2.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image2.lua new file mode 100644 index 0000000000000000000000000000000000000000..aff34fa9340a5d8fd0ccdd40958f84192e40f558 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Image2.lua @@ -0,0 +1,66 @@ +Image = Frame:inherit() +function Image.init(_ARG_0_) + _ARG_0_.visible = true + _ARG_0_.angle = 0 + _ARG_0_.alpha = nil + _ARG_0_.floorCoordinates = true + _ARG_0_.scaleX = 1 + _ARG_0_.scaleY = 1 + _ARG_0_.rotatePivotX = 0 + _ARG_0_.rotatePivotY = 0 +end +function Image.setVisible(_ARG_0_, _ARG_1_) + _ARG_0_.visible = _ARG_1_ +end +function Image.refresh(_ARG_0_) + if not _ARG_0_.image then + return + end + _ARG_0_.w, _ARG_0_.h = _G.res.getSpriteBounds(_ARG_0_.image) + _ARG_0_.px, _ARG_0_.py = _G.res.getSpritePivot(_ARG_0_.image) + _ARG_0_.rotatePivotX = _ARG_0_.px + _ARG_0_.rotatePivotY = _ARG_0_.py +end +function Image.layout(_ARG_0_) + _ARG_0_:refresh() + Frame.layout(_ARG_0_) +end +function Image.setImage(_ARG_0_, _ARG_1_) + _ARG_0_.image = _ARG_1_ + _ARG_0_:refresh() +end +function Image.setSize(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ ~= nil then + _ARG_0_.w = _ARG_1_ + end + if _ARG_2_ ~= nil then + _ARG_0_.h = _ARG_2_ + end +end +function Image.drawSelf(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + if _ARG_0_.image ~= nil and _ARG_0_.visible == true then + px, py = _ARG_0_.pivotX or px, _ARG_0_.pivotY or py + if _ARG_0_.alpha == nil then + gamelua.setRenderState(_G.math.floor((_ARG_1_ or 0) + _ARG_0_.x * (_ARG_6_ or 1)) / ((_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1)), _G.math.floor((_ARG_2_ or 0) + _ARG_0_.y * (_ARG_6_ or 1)) / ((_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1)), (_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1), (_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1), (_ARG_5_ or 0) + _ARG_0_.angle, _ARG_0_.rotatePivotX or px, _ARG_0_.rotatePivotY or py) + else + gamelua.setRenderState(_G.math.floor((_ARG_1_ or 0) + _ARG_0_.x * (_ARG_6_ or 1)) / ((_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1)), _G.math.floor((_ARG_2_ or 0) + _ARG_0_.y * (_ARG_6_ or 1)) / ((_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1)), (_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1), (_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1), (_ARG_5_ or 0) + _ARG_0_.angle, _ARG_0_.rotatePivotX or px, _ARG_0_.rotatePivotY or py, _ARG_0_.alpha) + end + _G.res.drawSprite("", _ARG_0_.image, 0, 0, "HPIVOT", "VPIVOT", _G.math.floor(_ARG_0_.w), _G.math.floor(_ARG_0_.h)) + end + if _ARG_0_.alpha ~= nil then + gamelua.setRenderState(0, 0, 1, 1, 0, 0, 0, 1) + else + gamelua.setRenderState(0, 0, 1, 1, 0, 0, 0) + end +end +function Image.drawFast(_ARG_0_, _ARG_1_, _ARG_2_) + _G.res.drawSprite(_ARG_0_.image, _G.math.floor(_ARG_0_.x + _ARG_1_), _G.math.floor(_ARG_0_.y + _ARG_2_)) +end +function Image.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + _ARG_0_:drawSelf(_ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) +end +function Image.setAngle(_ARG_0_, _ARG_1_) + _ARG_0_.angle = _ARG_1_ +end +filename = "Image.lua" diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/PageIndicatorDots.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/PageIndicatorDots.lua new file mode 100644 index 0000000000000000000000000000000000000000..25874c112860714619bf92d615e6fbcdd01e9492 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/PageIndicatorDots.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/2.2.3/data/scripts_common/utils.lua b/Angry Birds Project R/2.2.3/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/2.2.3/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/2.2.3/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/pp.fx b/Angry Birds Project R/2.2.3/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/2.2.3/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/2.2.3/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/2.2.3/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/2.2.3/desktop.ini b/Angry Birds Project R/2.2.3/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..37a739e79b97c460dc0baf0be6595d16de1f092c --- /dev/null +++ b/Angry Birds Project R/2.2.3/desktop.ini @@ -0,0 +1,6 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,4 +[ViewState] +Mode= +Vid= +FolderType=StorageProviderGeneric diff --git a/Angry Birds Project R/2.2.3/msvcp100.dll b/Angry Birds Project R/2.2.3/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/2.2.3/msvcp100.dll differ diff --git a/Angry Birds Project R/2.2.3/msvcr100.dll b/Angry Birds Project R/2.2.3/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/2.2.3/msvcr100.dll differ diff --git a/Angry Birds Project R/2.3.0/Angry Birds.exe b/Angry Birds Project R/2.3.0/Angry Birds.exe new file mode 100644 index 0000000000000000000000000000000000000000..cd03446a4cc66cf0af40dbd46c27d6409bc59b21 --- /dev/null +++ b/Angry Birds Project R/2.3.0/Angry Birds.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4224f2c89fd6a2496c45526e04dcbb745022344545025e8b1a1b92f9d83fdfa +size 2785904 diff --git a/Angry Birds Project R/2.3.0/Angry Birds.gdf b/Angry Birds Project R/2.3.0/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/2.3.0/Angry Birds.gdf differ diff --git a/Angry Birds Project R/2.3.0/Changelog.txt b/Angry Birds Project R/2.3.0/Changelog.txt new file mode 100644 index 0000000000000000000000000000000000000000..249f5fe310b9564f1fa72cef7e8080219176f854 --- /dev/null +++ b/Angry Birds Project R/2.3.0/Changelog.txt @@ -0,0 +1,10 @@ +Welcome back to Angry Birds Project R! + +Changelog: + +2.3.0: +- The third and final part of Time Tasum is here! Propel yourself witht the new fans mechanic and take on Hat Pig! +- Visual improvements to older parts of the game, Moral Mixup's first background has recieved an upgrade, and new decorations have been added to most levels. +- The boss theme in Meet The Flock has recieved a remake. +- The Discord Levels are now calculated with the rest of the Golden Eggs, for technical reasons I can't count them separatley from the other levels on the pause screen without all the page levels getting separated and I can't move them somewhere else because then the game would crash upon trying to go to Golden Eggs. +- Bug and art fixes. \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/config.lua b/Angry Birds Project R/2.3.0/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..378bf993815225bc0ad3b8897d0a87d5dec36123 --- /dev/null +++ b/Angry Birds Project R/2.3.0/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R" +publisher = "JPA" +name = "Angry Birds Project R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ABPR_OST_COVER.png b/Angry Birds Project R/2.3.0/data/audio/music/ABPR_OST_COVER.png new file mode 100644 index 0000000000000000000000000000000000000000..5f3e66077ba2f0f1e118129c5e39b57508abf36e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ABPR_OST_COVER.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:742ff70f4e65514758facacd0aa84e8a412955b1be414fb0bcfe85c81d6bf41f +size 498282 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/MTF_intro.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/MTF_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6e517a5bc6664624392464d89f91e41603912f27 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/MTF_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddc5d988ee947661a94f11e8d4e796d2df113767df0e84f710ecd974b3b5f5de +size 583111 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/MTF_outro.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/MTF_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a68041d5d4067dd67ddebefc1748f2f97d8d83d9 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/MTF_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:729b0f741a984ca7c84c99b6927de534f7f3888fb2c63b5c51a8d3dd3d92d9cb +size 631745 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_0_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_0_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..97c79173a3bcb8073ff8068c6810065ca0892f87 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_0_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41fdbd2bc3a203c2e584b7d975661e4fe5c186c2a7528fd1199996812a681c7 +size 618188 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_1_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_1_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..467a67408a7954ba96b04569d8fda0a7cf350301 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_1_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2daf0d2e479b0b9599e2150d359caa4a574bb14cd7a89f210e52c918d14689bd +size 1016652 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_1_2.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_1_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..1cdd935680aa13d47b77a39bbfb4bdcdc2aa6d68 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_1_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6448af2f673dc4460d11202f6c7c5682d22b6a439e3d0e8b289de8f384ca2317 +size 1336378 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_2_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_2_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f9cd063498fa1a0b405f3d5258448d45e82fbc5a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_2_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c9834ed39442ed4324c8a07dfd707c26d2e19bc541c04cd3bf05cf77dc369b8 +size 950425 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_2_2.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_2_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..90c343302788c26484449ed170db1e391fb03869 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_2_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c5b31773a51f6dea76030a006911bffe16ff7b66b92a1af7ea1f7a1f090c54a +size 1230442 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_3_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_3_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..341f7ec99a19f4b4d16f3ae10ab3afa03350d51c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_3_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d08684be8362ac245fc0e9a69ebf948661b6a2a7b6d960c825ede8b6c13e3ff +size 651520 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_3_2.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_3_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..436c26c43d140930c5e724f00eae6be39a1a0dd5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_3_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9233243f30b8d072437b11747664649bf99c35657e1b72bb8d9cf61bb0000ad8 +size 444899 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..036186a06cc5b6b3fd714dd52a38729ccde03f2a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76770de6d4e58d23fcb27b57fe2e0c7367d7304fb5bd2302163e483cc72c8798 +size 189842 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_2.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..06f4a7c32fedd8905f80ad7e4f6973cf10f9a9c8 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de8eaa5ea0c0b99a10552bbbcedbd393b38097683de4cb9a68f596f72e605df +size 639466 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_3.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b690c507d89b75c54ba7b29db1127f56c035f6c9 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_4_3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3502b06e7859dfa7b3b33c2d83d707265013d69f7fbad985180ef8195856ed4b +size 1223669 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_b_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_b_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6b2cbdcbe821eae8320f44cdbfc9f45631cbb68b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_b_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:998c899f61e7cb63d1f321d2a1d074eeeda9c88e25e9cad84f3f782887685376 +size 605366 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_c_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_c_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d232827e29eedd8a57fe9d870ea2f3c6de732723 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_c_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e22c4d22193fd6ec4db13650d62bd40f4fdf46b27154b752eaad695a3fc4af6c +size 1325001 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_d_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_d_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a6aba1462db5f4cb898d64d13cd9cf1f6afd19af --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_d_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:570aa3f1b30cad62daf8399fd98e5d19f52f59308b5852516b74e1c8d31b4889 +size 1030686 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_g_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_g_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2d628546b5947fd97c732e510a96e6c00db18f38 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_g_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9846a1505652c6c3fa4fe2b118e60f19642021c987f6595f05834cb5b9e0276 +size 458197 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_p_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_p_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5d87736f252b1bc7a9a7b4e834e2a7546cff6d3a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_p_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bf0415e85ae0e1469811a8fb0def7acc66fb2437452d13ec13b701c88afe58a +size 1333521 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/ambient_s_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/ambient_s_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3ebdf1779be60c5f3042f88eb2cb91990d6827d3 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/ambient_s_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b7d0b3e21dd243274cd956397ecb8dcfb4bea1b72cc83a76f398ad22d9fb78 +size 899834 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4b6dd2841ceeb593050d44db943b787da0ed4b88 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12dcb94b0c9549ddd0f4ba8ec743c02a2e706294715af8da467c41be5e718281 +size 154589 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b7f74909b0c8082631d5c819a1ebd4f0450412b9 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e96dcfede5e460776f3d66992f725814eea83826f0457b3c8d1e7e693af0b920 +size 607028 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d376885bac85139024b41574549d71a1f6dbcfa7 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58bad34a444a2048990e3f78287cafd432ea9ef0e8ae50adde8c2fcc40d7ee86 +size 466470 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/boss_defeated.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/boss_defeated.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..765a4dd7c1bde1aed4f15a63e87f20d019fb722e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/boss_defeated.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:823365094c422e79b0d220944c26b845f524f1fb3b72c026e5f1d41f3c17647b +size 440067 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/credits_music.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/credits_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..226e7ad42d6455427e6ad13f90d8c001c330a70b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/credits_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:834584bb178a8c87119887de26e4f88cd6a1b2d5327a0366a309a36d978c0ce3 +size 3929655 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/crimson_stinger_light1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/crimson_stinger_light1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..75cc74deb4c4d89aff3c5ee98d25ed14e8260f6c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/crimson_stinger_light1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1f7b208ad943dc8c76c312d4c7409771069796bf4ea70e323bba4ff108f1211 +size 67678 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/episode_select_music.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/episode_select_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..0ca13a3ecd7b8836923c9d0e45329fa567eac1dc --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/episode_select_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3975af5bb2c121f4872cd3edaaf2f9420ec5d7751205ea4383a57629ce9db6bb +size 2531936 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/level_select_2_music.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/level_select_2_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..431a0c9e3981511700a093219d52d9c1d3d05608 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/level_select_2_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2c1de9aac510c0d50f38653df72db083b24a9625942f8d0ed27df2a91b0c2cd +size 1556844 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/level_select_h_music.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/level_select_h_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9fd9d67da79fb56447e63961fa5b75242e162be5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/level_select_h_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce6b315d9fe930ab02b986643c9dfc0b873f75bd3af5646ac4b72ca1dbe1d1f4 +size 1850517 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/level_select_music.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/level_select_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..06bbe035fc33d77fa9c7ad75c348e0b95ac7d5f1 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/level_select_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:349bd5942e1a36452c244de3871578b18ad53216a6a59f09d2f89f83a5569ebe +size 1776256 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_0.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_0.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4fac85ed2a1aaffe23ab8d227c115e2b02697ab6 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_0.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30ff117bab41b2e48f6058ad4fa0f23223a0f4d33aa5de187952f2ea6d4a88ca +size 3525054 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..092f0a7c527deb486e8ff09179836d5a42d71faf --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3318a5d7c8e243c4eb9b5dda83459dd50c84f8432d91fe78d30f9143f781859d +size 2228720 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b1bd0c0792e1ead38b8568c93d4bc2ac850a1c38 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef0608fbb539d750c4b74effeb5bef56aef49966dfcda2246e405e99a60f833c +size 4145717 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_2_2.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_2_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9490a89def64a2fbce66f31fac03af274b2d7025 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_2_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6333f79b05eda2a459f0bf3e9cdc8d97ae5eca02ff3974444f32a10242484a33 +size 4197513 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_wiz.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_wiz.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e856dcf18f61785206a71103b64f2a147a733821 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/pig_boss_wiz.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36939d74d2844d2dcc931aaaa35fa7d2db5b3eadcd74ad186e67fbcb5497a048 +size 4605212 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/reward_get.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/reward_get.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..55edda240cf1a3045602276c82dd29853917c708 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/reward_get.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:046b38a71b44937a09254d8bdf5d111b2f4ba6d559e6e8642c60717181ab079b +size 104452 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/splash_rovio.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/splash_rovio.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..aa7ccd7d138db3c6ae75b24c5e75e8f98e9e588e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/splash_rovio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7bae9f3fbff15cbe5a8925c454e8bbf0ccf652579034b5a7d2a995897fbbe9f +size 8823 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/startup.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/startup.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a8e58d25be492a25c8a62c1dc35cb2e40ff3c0b4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/startup.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9542ccc02b8dff1c0f403cee851472a2fa67c8b7ccad5a0987762375524df137 +size 2098851 diff --git a/Angry Birds Project R/2.3.0/data/audio/music/title_theme.mp3 b/Angry Birds Project R/2.3.0/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..12f27a6513d43809a304dd34cf03b89603788907 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eeca3b0408b55db2d6144ba69ef906f3af998bfd1d05c60b330613827a6c4819 +size 4854177 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Black_Idle1.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Black_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2b27375ecfd5daa354a6b4ba9a635b2cdef03240 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Black_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb58200682af2dd948351e3a9c169e3168580979690afe60e6b8559cda935b5f +size 9657 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Black_Idle2.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Black_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f24d39c5eb9bac7f7db51829105e1357c523af2d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Black_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e237f9985f82b190b4982319a6a6c9749c8e5455174d937a3fdfb7ebf2378d1 +size 5451 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle1.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f2c31438df2b4a5c11d20c6699621e21223a9d05 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:841010fc46ead4e59c464058d7b1e230d2e5621dafb7b6dc997da28a8c6549b5 +size 8874 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle2.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a786c13fec906fbaacb5d2608fa0abfc77c04b37 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be59113eb7c2de2c35c000a05276c97b0b29f81f57d885882f56b1cf86a516e7 +size 11745 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle3.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5945e8c1a13f88ec1ddf75013935fb0798495e2b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Blue_Idle3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03df6550abe97b1c8a630824ed15407199c2da138b797dbcf4a2307f497b050 +size 4959 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Red_Idle_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Red_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e8e1a7aee3622f063f22fce7bb92a3143a287b39 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_Red_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8081ac3830258e3aa72cb94fe639ee8edfd9033d9400517fb6205093fd455102 +size 4437 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_White_Idle_1.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_White_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..56a0ed1956d46f98eceae295b54dc036aaddd23a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bird_White_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6153339dbdd4e35536ce58b3da36defacd3cd9f5b6829678ec32355f4f39c048 +size 10028 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/Bouncer.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/Bouncer.wav new file mode 100644 index 0000000000000000000000000000000000000000..e62313dcce963a233caa1837657f147d5d7da702 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/Bouncer.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a789c2592d372c11e098498e512d2e4c6a40d1592f260034c47c5d0517fabc8 +size 68738 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_01.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..66b4213996addc410b3b4d002a7b7b450df639da --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd8f06ba2b8f091a47bfb82967a8b851d4e796620b9d73cb94a45988e2cd386c +size 42086 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_02.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..4f3ae518edac6f13456b2d3251a5370fac22feed --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3292d3f7062420c6c914cc656f82515790345c1a66eba15cee5779b3d0b08841 +size 42090 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_03.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..b49d5d8d4d18dab7069e5a733c4df50f155188a3 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/ball_bounce_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b055b0c82f742878108b59cb1c1abf8a51b508a5c5e8dce3e8157f6cfb58053 +size 42090 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c05651ec3f53f863e6d1a8be8579775a3576e26 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb8c031f4c0853b8f67b3152d648748581f031f61d74756e51fae37ea2a3a60 +size 62252 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/big_bird.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ac04069d76d28efea1468cc6af4c8fd5d847214 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875e6cc62f7f0d698574df6bdbba67633b8aedc47af35edb2923412c2e9eba28 +size 133932 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ang_flying.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ang_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..882ae50a2b7acd196cd5efc738eb27d4e132ad1e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ang_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:deb8b3359ac076d08a67cb4c7ebe6e1ed1d7fc6fb1f1fca5c2d44b0adbb22957 +size 179806 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird_cannon_launch.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_cannon_launch.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..27ba4068588360684c3987ca8861d2669997a436 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_cannon_launch.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d42ab9ec3593e5106b9f1f34c5d9e301ee6288a6f912faf9288728fb30955adc +size 8859 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird_cannon_prepare.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_cannon_prepare.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..0a484f9191dc2c9e5cb7e158189b6f3d4d39f9a7 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_cannon_prepare.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3e8aad4e7dda1836fc6ee25a8a3ef2d68a3b5ab9db8a3b0dd2f7a6e98ae076a +size 4950 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_01.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..4a3e1a5dfab04fa66dc1f5e4ab5bd2da20d484ed --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bc35a844799935559b70461db2a1c497f45a61233f1e3a09aac03cac68e29bc +size 23058 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_02.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..8ea07cd3d3d274833a55808222500d8361401ec3 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63a85616ceb3693a6c905804cab29f972a9d46ea34398229afc414eadfc8460f +size 23062 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_03.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ebee511c844b7b92a36a4871bd80cd3887c61f0 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bird_ground_collision_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:684b5445c18e56fa486f8184c35768fae7a569028554298d02ddd54f5dbea69b +size 22960 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bb0d151c143a831d7aee5fcc48083c2ae17e208e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:070dea108e7c6275c84be58c3852d5194825ef51dd3ee9e610f0844a7967b7b4 +size 86590 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c9b5d177bd92e8736433b4c5b74e17e3f756b4c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b99397250959448d25d0d455c6db41fc655201fd4a622fe0865aee3cc74a631 +size 105022 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..4eac47606ca4c1c1b3a0b6b06034e442ec8b07aa --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_collision_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fe6fad537df62d7951a63cba308e9f6bddf126b8ea6f5e8f02eb15098ac0ed2 +size 77374 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_1.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..8766589d82311698cec31bd9eba6c622042dd0cc --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6b6821802805c6c516a04445a207ce478baffe444af23e7b0354d1b996c8927 +size 73192 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_2.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..8ed42bd1e546e849750ecbb6c1083ea576a1f923 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd27b33d94e8a2ebf5d1bfed273e28933bf4a3c86d229708c49ca70f6add0ef8 +size 61108 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_3.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..03c8a87d2885e08a6b9c2c5e65fc813693a5ad67 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_idle_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74ba015beec8f5dce1dfa7b06823f50875fe7c87f72708eea104fb6382d04aed +size 107326 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/brute_launch.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9d00058a1e1b52b771f974e25ed84a440729409 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/brute_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52d2b86fae18c3223b8c377e571ced76c8bb366a39b38027743f47f94ba25d6b +size 93082 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bumper.wav b/Angry Birds Project R/2.3.0/data/audio/sfx/bumper.wav new file mode 100644 index 0000000000000000000000000000000000000000..aaae91736f4997eff4a6034ba168461b95d38c5e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bumper.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f2f6b7bdbfa53761444be2f0b3c1695962c9fd34ead06ed4bd2126bb5eafc0 +size 48726 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_damage.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_damage.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b457d888f54ae2376862b59a55be32f6748baa5a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_damage.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7451e077ae97f79cb2e56e4f7e9217eea4f2a4e2fa35ef34397d412037bc7ae4 +size 21542 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_die.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_die.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..668a66be1692326dfa4bb21adcd24b2982c8a333 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_die.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b742beeccbde2c4977ca686af921fbf925ebc0f784715806fa9a16a23a7e24fa +size 45389 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_01.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_01.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..15afec2a0d13bec748fcf9aad6c714f323037b7f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_01.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98439146289b4bd4579103ba251fe74ad469208c52f99a0795f0d029ea15e8c9 +size 20552 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_02.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_02.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..debe950ec171436f9ee002412bc028378b08d2f9 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_02.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1eb684b15abbea17129fe68bffa2034b9b8d1b9d783b97eb9dbf89bf8f7854ef +size 39640 diff --git a/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_03.mp3 b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_03.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e4c3df97ad90f625deb24f41e33d4ced4a5293c9 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/audio/sfx/bunker_idle_03.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56eeeb74ebe744d6e4bd0a92933f4d5a6686f9848ff2bdb0b1759a4076760a9f +size 37524 diff --git a/Angry Birds Project R/2.3.0/data/editor/editor.lua b/Angry Birds Project R/2.3.0/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..8c185c140ab0f9a8309a3b3af9617796e0794362 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/editor/editor.lua differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..06c5c429e5cb88180be6e202213c2b50e0921f35 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BIG_NUMBERS.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BIG_NUMBERS.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BIG_NUMBERS.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png new file mode 100644 index 0000000000000000000000000000000000000000..828ff90b0c94e0facc91014ea88ed4b9d6e1df19 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0696066b532fca9e518a276fb6a98055535a63a3866f7175d1136945fe50ea96 +size 123524 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a7e2a3a366aa0e05bf6d53c96e2e1136ffa061b9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..0f93951c506607feec69ac99c37c482dd0bb3741 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..21ee51991fdfca7fe14c10a92ebee65fb42b2792 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..c872a89a8f99fdc02ef4f6af2082262423dea92b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU.png new file mode 100644 index 0000000000000000000000000000000000000000..95d8dc83a9abde8c73fb231268d25c637842afaa --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:419b025270bffddcfd399c90be7be9f37339789a9a9f4b698f8bfeb72d24e4a9 +size 205322 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.dat.bak b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.dat.bak differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.png new file mode 100644 index 0000000000000000000000000000000000000000..c79940bbcc900b3be385b08c746ca52424a869f5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b09a789437da11ae68ac448baafb55e981fc5d1409d6efe99843d4e3b97bb927 +size 137164 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..888dc8ebcc9940fed52de3cab06a20b89fd7938d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1b5b1feddf4339705d3f389709b7787050e5e4dada7cde069d613f74699a6ad +size 51899 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE_N900.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE_N900.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c080ee93c6f79db09b83f9faaeff18df9f4b1b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE_N900.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC.png new file mode 100644 index 0000000000000000000000000000000000000000..a48f7659e37d7b47e9ab31a757a9d65cd37d7420 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2e847067fe14e687f4b6347a3bda4878afdd028daafeda0a06ac3d50418ca82 +size 49434 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..0bf3c182e1ab96d954d0aeaa8def3ff28bfd95e6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..123c4209875fe6bf5fdc159002db84719474e59c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ba8841588e547450320b47f3e3f8c2fa184a165e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e15c9b51ba3bf11427a6c0c25a661b3d9c6e947b582e449dd830798d648c279 +size 1775668 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..7402010b1f0114167f70bf3095025ffb6beb0807 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..9b2833fd5f3083995321184e288010c23469d744 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..9715d99406d7b2d712406e02af99d0dc998cf0e7 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..224d416b8c1fc5b6fdb17e9cceeb216aac27fc78 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8fa2edaae3c41e0525bab2e2f56575bcd6daa9856722557e2ca61538419dfa2 +size 34585 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..dfac8a8fa39ce078553b44b52cefe2f49d90cadf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..bf8e1ef19bc1aa256426c0c58752cd6078568a1d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffc21881861a90afc90170438bf8a2770c266d4b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..75bd49c1764d2108878ffabd2ebccd0904fadea6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat new file mode 100644 index 0000000000000000000000000000000000000000..6d891f83354557574e84855b20c108ba5f6cb7cb Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..514ded8c1f4b3e65f967424846fb2c5b900fc78e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6a7f19c21484ffcc22f18e84a52ea888ed84e3599c109f7c45af54714471ca +size 150549 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..d5095b37201e962d7821bcaa4b3212dcd8907c11 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..02e33f2a5e97b13084bb892c9d9fa9c61f330a93 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e81b40d24e9e3038fbadedfd82cac5a866d68908 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33fbe429276400509676dc1a585c09154f7e130e93ccd53bc1c1e0cd6deac288 +size 3924020 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..98a6726164c6d99b8e7ea2427d443b3c17684aba Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..be162118ba009402d88dafb49bc20b4f4773c4f4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f001e6995051d7645446149896d522ed73eae136fde852d23cb761a51f445acd +size 2056244 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.dat new file mode 100644 index 0000000000000000000000000000000000000000..1ce57631bf1750b50e72b84ad8a56d10c3889995 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.png new file mode 100644 index 0000000000000000000000000000000000000000..1cd8ad43461218393688c86fc8988c5f19c559d4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f50578f42731b15475121bea5ad4dd4cb7955698e69bf5027e84c7b0cec8f7d1 +size 4536 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6dce52ef607b084180bacd92f5fcaebb364e388e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_LS.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.png new file mode 100644 index 0000000000000000000000000000000000000000..8f8a3d1b80361d40933ae08c20afed0d989f77e8 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f098ce8177e2eb5ca7554d03faace614d95869e90489c6e0d2fb918d4aa15b +size 8147 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr new file mode 100644 index 0000000000000000000000000000000000000000..35f323806696f766b38420be91427754743d5d44 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..6b1927d5f3e0d6aa44cbb27f27f45b9392e21fa6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..812d4c5d3388dec5b6c124f5ecd6377b136a4e0c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6723c58df5dbbe20b5c9efaa690c34e597acb1bc18778fcdd8317390ade27c4 +size 4994 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..704658963fbec424de7709687cbbc312ab758087 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat new file mode 100644 index 0000000000000000000000000000000000000000..7462024fab694eaf7776906a7b671975c7186a18 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png new file mode 100644 index 0000000000000000000000000000000000000000..a5d395040da5ede3f0cf0739164802503b86a21e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32912bf2460c9f5b052e8cac64e8a8c0b4b4b6820e4b7630ef08b592dc6ee64d +size 27198 diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr new file mode 100644 index 0000000000000000000000000000000000000000..c92c4da49a4673a84d8a58f0629dee1914281167 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..382fcef11e22a6cb0cb2f82cac07f08b98582587 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..f18f772f96a73158edcb7a1e26553d8653613137 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SW_BIG_HEADLINE.png b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SW_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb797dd63b799c57809dd3cfa662fd78930a0e5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/fonts/pc/FONT_SW_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a7267c28faca8b04317b53ffb0e02238e740d7c763c273d122e740da21fb98 +size 341382 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/2.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..114b02a2d8ce22e7f290db73deffa22671107732 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8d4f93d2c14453c44f7daab5c07f402372c1176ac32d31b8a76e3bd9c121c84 +size 181645 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..faff67923602e08b3281b0e821dabea375bf7498 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..54e7fe9dc3962efc9fffd6990be3af92b9d5d18d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2fd92878816f6174ffe22a3790d846955b9f750 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png new file mode 100644 index 0000000000000000000000000000000000000000..8f590a9cb0482621bc1970ffb72a10e1b171f870 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b56f8016cefab230e1b32adb86a5deb4049d0022e127d562f2d1718b1f80d045 +size 11475 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_EXTRA.dat b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..8859857d60bb1210558b7d5793f418072805594d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_EXTRA.png b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_EXTRA.png new file mode 100644 index 0000000000000000000000000000000000000000..b52c7b376ff4501d6566abb8023952469f9e68af --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_EXTRA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:476a0fdaa351d4530199cdec69155258f5e5c3d35e435fb43aad918be41c5101 +size 332078 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_LOCALIZATION.dat b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_LOCALIZATION.dat new file mode 100644 index 0000000000000000000000000000000000000000..518254cca96ed163aa3283ae54f6b811fa4d4b3f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_LOCALIZATION.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_LOCALIZATION.png b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_LOCALIZATION.png new file mode 100644 index 0000000000000000000000000000000000000000..8540c0388ae41ba938ac8479c60b679d683fcc5f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_LOCALIZATION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea8ff5e03b87a3d6eea6fedb3e78776681884dd905231ec25262ca8cd4ee0a6e +size 91025 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a8609738e94015d89a3d3bd4a27fc7936970b7b3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4eea04e139c1398e00328be0e46cdbc24d9f4215 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ea6afcd97e4d82a8c729e0e3c75d4c9b16fcb82bb3c63d6f1335e7abd62daca +size 470128 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/CHANNEL_SHEET_0.dat b/Angry Birds Project R/2.3.0/data/images/pc/CHANNEL_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0477a4eaef990a9796500d59fb969e7667331e06 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/CHANNEL_SHEET_0.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/CHANNEL_SHEET_0.png b/Angry Birds Project R/2.3.0/data/images/pc/CHANNEL_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea943b4191cc83db76608eae32ec9f4ca4f1b32 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/CHANNEL_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba65b86e84d496230feb3db482e4d289fa03acbc742ad578606751ceea51c9a8 +size 17787 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/2.3.0/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..7a321f8cddf72f40c1e631a933cfb855719a5bd9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_1.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_1.png new file mode 100644 index 0000000000000000000000000000000000000000..614fcbba1073f4fc03befbd22f2bb9d2218d602d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f2cbe4e0a032c0b2f33d4dcf936d6955381bf5677edfb5b7d171808ff8d4479 +size 894502 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6303468b33b630b0710582736169198e09d96e82 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_2.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_2.png new file mode 100644 index 0000000000000000000000000000000000000000..059d4d51226336c921f1595cad181f445af7c885 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e9fd3ab1aa538b5a7ff16e8c24b63f92022a8318e9c72edcd1a65a20e5ded6a +size 653447 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_3.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..4baea306b9406098a44d63d704c139787afbad43 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_3.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_3.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_3.png new file mode 100644 index 0000000000000000000000000000000000000000..c06ad3c34937de4f9cf5d5990b7a992a069a7999 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d28c62aa426814d622389e37f9e6c4bf3a6e13c72d390ab4508a97cfe4f5a0ef +size 554444 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_4.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_4.dat new file mode 100644 index 0000000000000000000000000000000000000000..03651272ebbbab28c120631469e6be180edf979d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_4.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_4.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_4.png new file mode 100644 index 0000000000000000000000000000000000000000..49a7a745e154f753eb523c2f3724423db247e43f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:303169d066b55486e0234a9f3640f78d6addc2d7ab0ced15adcd628bed14e0d1 +size 520796 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_5.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_5.dat new file mode 100644 index 0000000000000000000000000000000000000000..398b0b521a36abc92e989194a730678d58ca8e0a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_5.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_5.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_5.png new file mode 100644 index 0000000000000000000000000000000000000000..b080c5fb2c3dac44599355bc018e9b98db2a6ea3 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5527f566c975c172dd592926cf4a1f4f03f300c795b49389cf4e8a6b584df253 +size 774235 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6.dat new file mode 100644 index 0000000000000000000000000000000000000000..46b88a4f0e2c7721ae15444d9b501f70007aadb5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6.png new file mode 100644 index 0000000000000000000000000000000000000000..f1198cd03539c39fb91f0da3bb0be50b0e68ab10 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73e7f3e0746a5626e8181b09dd0ca972c83094088b3ea7b546f313c439b99824 +size 423204 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6_END.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..aa88237b58ef778c2a2c5ab8aa4aa14c1a74cd0d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6_END.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6_END.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6_END.png new file mode 100644 index 0000000000000000000000000000000000000000..a2b38a0b7a550b09821a4e2b1e99b92e4d2e814a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_6_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ce1e5064032b015fa154b3f1ae3b4ac2e5308d03f7dfe377cef386a1f71a4ad +size 495644 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_B.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_B.dat new file mode 100644 index 0000000000000000000000000000000000000000..f83d13c44bdda54ed009265c3f971aebd1ed0cc4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_B.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_B.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_B.png new file mode 100644 index 0000000000000000000000000000000000000000..0492d9fbc93bb3201b19427bf95d114c6f1f3dd6 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_B.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14426c55f6ad6fea3e36fec5032349cee78859098a7a0cad31acca0bcd8eafee +size 840475 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_BG_1.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5f1980ad479bb8d5fbca14fc95c72f4b4b91480f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4b8425f5f47cee50f75335997c722577da94efd57416c8bd93b62f9df82bf5 +size 6361 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_C.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_C.dat new file mode 100644 index 0000000000000000000000000000000000000000..e2636258f8328b16f0a36d360bb565e284f0ba07 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_C.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_C.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_C.png new file mode 100644 index 0000000000000000000000000000000000000000..32fd50599d654efdaae3774088bcc221ab11d49b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_C.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7fd2ba1da2360ad4a62692963ac639f7fe2dbbca4de17f6106af02c1b4d4f950 +size 436690 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_D.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_D.dat new file mode 100644 index 0000000000000000000000000000000000000000..5377ccdb4ddd3dcff643c3dfbfc730fa89cfca5e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_D.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_D.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_D.png new file mode 100644 index 0000000000000000000000000000000000000000..238ce659ca3015f1d94192d49316741d366a7e38 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_D.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d64728fd4a3a1790f3e34e69c46ee59ae65e848942a379ba4b16f833e1070eb6 +size 702458 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..0324c1fe7cc1116e011586f7a5fe4dcff4e12830 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da2428b1c8e6ad6f59c27be57b0b2eb55e83b9c1db4d42d29a6ac2b11a0e813 +size 17893 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ae8fec0291eff4ec5da0634d28a4a725f91868bc --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76e0e8009d2987c997a93aab5c0cd97f0c8826d0a5a199446d17bce426959ea +size 271919 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..0412ba5e6058500ad69b27b867ec9d4636a0f1d3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..f564011d92bec62bf121e1244d1e7e4d9017c661 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f65fed03a92449fd1d8467a12950be4cc0d930466d17e5dec174afde9521f44 +size 370334 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..eede2a4ed979baa5ded7e3c064761b35a649ee48 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..38c453ed4c79780748a31a6600ee4cb8a30deb16 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc88d74b417aeb916fae3dfe0b1231bfc870766241fedd649c5d327ac10ea243 +size 339735 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat new file mode 100644 index 0000000000000000000000000000000000000000..a57dd0d3a5c65de990cae5cfb66f5c898dbf648d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png new file mode 100644 index 0000000000000000000000000000000000000000..0f3a394b5789125982880704331c293f5c0e0de5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a52113f048023c908e9edee35c2292fe144d772625ea4bc97a442ff9540c7cfc +size 486833 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..91dd2165ccc1bec5f6214706f3ccfba8dabcd259 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..02685b722b7d4766d800e328b79e2a7d0acb749d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c033cf5c414f181ccdaaa354ddf3a794e41a46a123b992c187f874962a4041d +size 433186 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..3650a42b4ff6c610f2028a0458a57d5c055f9446 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png new file mode 100644 index 0000000000000000000000000000000000000000..0ba9f2950719c39c9f7ef0c2cb9c71724c34fc69 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0768f3974c31025f66f893c040249ba4a4cc500b2dae17f53018f021e435130b +size 431927 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES1.dat b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a0a254925cdc63d819b1d1eb39d93ac467accfe9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES1.png b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..d1115a1cef8d987cb9b7ca4cc613abd136fe011c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32e0a17127b5e1978b492c477bd6b47abb86bcbb2dea8c5f8d96c30a91bce55f +size 1379319 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES2.dat b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES2.dat new file mode 100644 index 0000000000000000000000000000000000000000..a71d02c29183fc0fbad3ef63a69984a4abb651a2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES2.png b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES2.png new file mode 100644 index 0000000000000000000000000000000000000000..d498cb10e2e5aef1c0e3ebe35fb66279737c4117 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Episodes/EPISODES2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c93bfab2ca9458ea0756fd310b4dca464c92428896a2a8c58c786aab0c973b62 +size 307970 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat new file mode 100644 index 0000000000000000000000000000000000000000..e66efcb2398664cd38b336679b035c1ec53b0499 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png new file mode 100644 index 0000000000000000000000000000000000000000..afb247d6304a69689e94dfc194c4c8e8b978f569 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_GRANDPA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417c778e23c21f132106e8555de1e201e35b9016d2473897ae3d0fd471ff38a7 +size 41978 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..389f975deb60dc545ef0a114141f4d3b59e09d01 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4e4dd9067a6d455b1afecdfea786671c4c58b6f3 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:946ef4d2bc5d130d28eb15393a537eebef758e0852c06a5f9d65aa23ab844da4 +size 507351 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..0272c99635b9e7a7201c6307bf957a28ec7b32d6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..f371fccc2421abffd20d997b03ecc47ce0f2eab4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/GOLDEN_EGGS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57edc45894ebdbafd74904a09641c34986926c68112aa66ecbe933ffb3216c2 +size 240993 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/HAT1_EXTRA_TEXTURE.dat b/Angry Birds Project R/2.3.0/data/images/pc/HAT1_EXTRA_TEXTURE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a3ac6321f47b1eb4f8b730c6b312ec804965bea4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/HAT1_EXTRA_TEXTURE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/HAT1_EXTRA_TEXTURE.png b/Angry Birds Project R/2.3.0/data/images/pc/HAT1_EXTRA_TEXTURE.png new file mode 100644 index 0000000000000000000000000000000000000000..d202a2a6f8b360a95321c0401f76e8077c1d1214 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/HAT1_EXTRA_TEXTURE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4529b3188c0388cfa5e63dcf5634c8e5878bee5ded2b2386d07bcf2a7a8499bb +size 9371 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/HUD_INGAME_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/HUD_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..65d408402889c3338e6d684306646716d9426896 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/HUD_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/HUD_INGAME_1.png b/Angry Birds Project R/2.3.0/data/images/pc/HUD_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..3ba6f706962538e832c6ac3e8d1cd8a6d05cbbe4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/HUD_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87db1e14886db0b1498eceb34819f456275e0685f9a37f5be3f60394ff80ffb6 +size 297246 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/HUD_MENU_UI.dat b/Angry Birds Project R/2.3.0/data/images/pc/HUD_MENU_UI.dat new file mode 100644 index 0000000000000000000000000000000000000000..1bea177399cc435a6432573dc68e471b2f657c14 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/HUD_MENU_UI.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/HUD_MENU_UI.png b/Angry Birds Project R/2.3.0/data/images/pc/HUD_MENU_UI.png new file mode 100644 index 0000000000000000000000000000000000000000..c6e495d04b3373d45563b5cd40a5b647d82f7438 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/HUD_MENU_UI.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad0dce1df314d89de351695e2957ee14b0993bedcf0cb57ffc54aee78cfd6213 +size 4657 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..95f994905e48b4c27cb29b3769c402e0d886b8bb Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..13d828be207cfd33088338e348420b97cc780960 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf04c677896f1212f1ded12c8522c9c2aba934682daa3819b907494a29d4708c +size 171647 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..49e5b3525336ad8b973595214051e1e72da25e4f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_1.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_1.png new file mode 100644 index 0000000000000000000000000000000000000000..84bcb2dce6879fd4a89f64b47ce9c6469c34072d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da9b03ce91de8e5e918bda2ad87a5f55985619129baa11deef27a975460f16c3 +size 41004 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..46eeb657a86a8d0e3ec8d777a649d1625c6e8870 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_2.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_2.png new file mode 100644 index 0000000000000000000000000000000000000000..81051da5828b31573d16758477d6ab69fedcba9f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c40eced48bba860e57115e6940531f61e95aa493ccc4cb5103b3da0beeb6a460 +size 121381 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_3.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..c38862816ede02041333010bd887762114970a9e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_3.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_3.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_3.png new file mode 100644 index 0000000000000000000000000000000000000000..da776f278283b904af1f69ec8f050c9e23be69e2 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd6753765fa8a704d6e1552ca436879afdf02086c1d27059b7d7c7d6bf0c1c1e +size 56626 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_4.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_4.dat new file mode 100644 index 0000000000000000000000000000000000000000..284247ee68fdafbf7f6be90d2b326517177f00af Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_4.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_4.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_4.png new file mode 100644 index 0000000000000000000000000000000000000000..6344a8c1558645f366476cc00a9e58c1ce1aedde --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fceb35ad5cd29fb5e0c5b22ff622111a720817980e4e6c8d38c5ba391b424f87 +size 22882 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_5.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_5.dat new file mode 100644 index 0000000000000000000000000000000000000000..5a2c0048cb7a67060cd15f5c819e3fbf24bfa708 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_5.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_5.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_5.png new file mode 100644 index 0000000000000000000000000000000000000000..9498e8ece6d0eef38ac1eadd2d7db33d6487655c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:438544e98889ba2d8dc7e63de469f448906995be21cc59d985309af2459c3779 +size 198143 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c4aa1e96798d1dc09bd12268cfd0589580c0f3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.png new file mode 100644 index 0000000000000000000000000000000000000000..d27e712a4bbf39ae4c203d58a87ffa5c4c00b077 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe3132f9171d9015c106c2dd77e387bf8ddd984ac7d08c1228e234dc693c7eb +size 9998 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.dat b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.dat new file mode 100644 index 0000000000000000000000000000000000000000..438a32d6878aec7b6cc8a8040d5d4185f08c3bef Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.png b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.png new file mode 100644 index 0000000000000000000000000000000000000000..71d6f8a2be58987e287ebe677bb8f5786c399930 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f07e1428c214f9e32c808935d96f3632b92b2c56287e27835728b3eb14d24c58 +size 6010 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS.dat new file mode 100644 index 0000000000000000000000000000000000000000..33cbdeabaf6965f5b4b2a25ebba08ba6f831211a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS.png new file mode 100644 index 0000000000000000000000000000000000000000..75bf8440e7537192400517efd3fe61427b61eb2f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29ded5d572076a1227557e78571d82ce03d5cd4502d0703e744de124f826dd1a +size 1007274 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..9f2d2a53366b155d6c98e54ece4d95977f983a7a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS_2.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..56a4e78dd75a8981084406610b612c6077ab9901 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_ABPR_EXTRAS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eac53a06a1c12489cb39e95db9ae3c53bba3556e4ea88b18108392b52e7bdbcb +size 767606 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f563df05f4dbce2d30a98ad3af512d38fce0dae7 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..f9795a0a5cf07ed7543a7af395eb6e211100e281 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c30e3f6a7315d2a0b67d63cb3fab020b5afb7449d569ddf4a4bcda75ab86df55 +size 869795 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..4b7b188f0ca4a6939c2ed540e9ce8ab00031d92d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_2.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..32e837614def893407819fb6ef1b163cc3e114fa --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77bf6d0d096775faa79ecb62213cb39de21b7d71c5b17f62d44ca94853cbea5 +size 202964 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_3.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..484e5ad270b72b280d7219f0397c495cc853052b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_3.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_3.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_3.png new file mode 100644 index 0000000000000000000000000000000000000000..aa3b37f3384f84a62a0f4458b7bec630d46d2179 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd66fbf36f4a9ece2a79b3ca4dd0c942f291b8451f99a7fd58c4a6ccad202709 +size 124547 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_7.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_7.dat new file mode 100644 index 0000000000000000000000000000000000000000..18eabbd9f56b428c0e85fdb3066de0211a05df12 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_7.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_7.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_7.png new file mode 100644 index 0000000000000000000000000000000000000000..c946504144c7f4d8e4dc620682c80172371fb449 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BIRDS_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf62f5abd168676c479ee0b7d8a342ed5febfb84cc9724a5211b45b991f86860 +size 914698 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f09c29637550ed97b6c07073a6d818f325c7f45c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..22b1a2df10581b21e8270024a6985b7e3922fd3d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff2cf95dc37ecb0f673873becdedd892f445dd051b799d52fa5a042e7f8c9fca +size 494815 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..5e9bac5128ad4f9ba90591646c3bc37123d04ac4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_2.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..89e8ae08403574d5e033bd29c06aa74a33258bef --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1363bda37b8db7dbdf68b79f81e4b542f6fd746eac39ab9eb7a3604be1a5a97f +size 235759 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_3.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..f6cc5f217fb3765964991848e5850cf8780d1bb5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_3.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_3.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_3.png new file mode 100644 index 0000000000000000000000000000000000000000..07cb1b898dd321ae504fe96ebd8ef377db2da184 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10a3fa4b7735c2db47675e1c6631ca1fa442a1a7f70311bd9bf2a633a407fe7b +size 552404 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..8436dfba5fb515b25e42507a4b1f22c4e538da2c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5d63a04bd19e0127087764eb64f44e88b4d10e0d --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddb3fdcd574abaca32037f29f161256bd4a2e047522dacc713030010b8e7b334 +size 803860 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_GLASS_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_GLASS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..76c44257fc4da655b2618822f5384d41d5d830f2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_GLASS_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_GLASS_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_GLASS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..7a79ae7afb2c081665594560b6b094ac1f066916 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_GLASS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a693f1adaf939fd7ca8fff6f3aa1eae87f0fd724ec82296d6c04ef539268cac +size 290206 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..0120f14f823306905dd24c23633b8cbf61420ecf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_1.png new file mode 100644 index 0000000000000000000000000000000000000000..c1a20eac89319db3700add262331323202ee1a22 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff73639b11d30671777d5ec55f00b338a334867f1648805e58ebbc430d5071bf +size 695795 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..04e220f3e476c87bd057a3865a00a17881bb34d0 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_2.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_2.png new file mode 100644 index 0000000000000000000000000000000000000000..84b3299b43fa76c51dc724a0437682d6cc5a31ba --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_MISC_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e90b833c9280308d710b8734b2c02ce9f8875b04cc53de7d4a1258d4a26badb +size 942618 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STEEL_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STEEL_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..af9e84ec2724a5484387ff692d26ffe70ea079e6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STEEL_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STEEL_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STEEL_1.png new file mode 100644 index 0000000000000000000000000000000000000000..6af7618bad8557a253dcdc6ab8299286b81164cf --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STEEL_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd79cee651b688cd5afdf6a0b42e065fe6f90ffc47beb898b039338187c59056 +size 22042 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STONE_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STONE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..434ad1b92cabb74089fbbd2004fc0db0d7d95279 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STONE_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STONE_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STONE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8a864c038f457c4fb34bdf576c20abfdf886c438 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_STONE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1167c9ecb32aff439f64dbd69a2c6bbecb8b3c3494dabf71f455b50da737bd8 +size 187589 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_WOOD_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_WOOD_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..4005d9af6e4e36cbcf388d09a840c31a6ecc2332 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_WOOD_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_WOOD_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_WOOD_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e0aa9fa8f90338cccbd23a3b7d7ee0a96c897dfc --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOCKS_WOOD_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c19149cd491dac9b32157e8c443ea65b7b57d1d94c8925952a3080ab605fc7e +size 244156 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOFKS_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOFKS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..776014e91320d66b692c5882bac41440556a9fe0 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOFKS_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOFKS_2.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOFKS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..2c75148e4ef7b0867a4b08e9132feec07da0db07 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BLOFKS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82ee55e4346d0319308c8d002ca31e5cac218c11e176180547bcd1bb0470166f +size 286736 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BUNKER.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BUNKER.dat new file mode 100644 index 0000000000000000000000000000000000000000..26c0b494e075a5ac9fa0851d3bdabf1a7a369c08 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BUNKER.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BUNKER.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BUNKER.png new file mode 100644 index 0000000000000000000000000000000000000000..5ccf632dd73e27e99d92602a833cb79666786167 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_BUNKER.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79ba7fff1af26bd6a21b7dd974df02cb6bb71e48b2cbdcf19f39577a5a159679 +size 269690 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_CANNON.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_CANNON.dat new file mode 100644 index 0000000000000000000000000000000000000000..5b57550f03945686067a2bc2e49823c61fec4409 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_CANNON.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_CANNON.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_CANNON.png new file mode 100644 index 0000000000000000000000000000000000000000..0cfe0aeef516d7147c4cc404ec8f334f1fe2388e --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_CANNON.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6669ebc4c375aedda0b976db7c3987dc96b01af4e0e7abf30f5f3dd12087314 +size 161595 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat new file mode 100644 index 0000000000000000000000000000000000000000..5332479378f5aa9849205c6946441e8b5b59ffee Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png new file mode 100644 index 0000000000000000000000000000000000000000..8719a793100e0d86060ab75bb2fba723b5fada26 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3ccd0d2a320950fcd910c0b318f5a7e5312791192d3e0ad286a0702068aee6e +size 429214 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_SCORES.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_SCORES.dat new file mode 100644 index 0000000000000000000000000000000000000000..67b88f7c5294ccce1225ed7391a0f427d06a9895 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_SCORES.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_SCORES.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_SCORES.png new file mode 100644 index 0000000000000000000000000000000000000000..d795a90bbea4ee1714bad915ce0ca5f90869ad8b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMMON_SCORES.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f58ba024449bf7fb006049c74d6d93dea32974bb90d4fbf0d9c27ec8ba4f13d +size 161670 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMPOSPRITES.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..b81f1714744e47a6352013380059258a3ff4955a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0291b58a5aa2c1be95550d3a53a1f2c9936549f6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..adee3cea6932bbf219bb6c7ce557c457d09113cf --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdbad3a4fca752d0eb4a5128da5c50d37788a66c609068fdded75c9e00abe63f +size 317774 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_FAT_SHEET.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_FAT_SHEET.dat new file mode 100644 index 0000000000000000000000000000000000000000..c36950f6d632592ceef41b397911c8d673a7aac8 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_FAT_SHEET.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_FAT_SHEET.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_FAT_SHEET.png new file mode 100644 index 0000000000000000000000000000000000000000..c9b4ac6a0d040411f56fe2fc203e588ab067d485 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_FAT_SHEET.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b6c9ad8f014746513742b10184e11d742afd2f05f32324a4267e61bb713a48c +size 607419 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PARALLAX_CRANES.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PARALLAX_CRANES.dat new file mode 100644 index 0000000000000000000000000000000000000000..448a8068668d6ca6d1bff321c367e3c07fb3f542 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PARALLAX_CRANES.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PARALLAX_CRANES.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PARALLAX_CRANES.png new file mode 100644 index 0000000000000000000000000000000000000000..00cc636eef9681437b6cbbabdda9dd2838c38c37 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PARALLAX_CRANES.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e7a2ed3081c9104668dab24d593e2eea0890cf6a51257fbdaedebe49fe6284e +size 47469 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PIZZASCAPE.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PIZZASCAPE.dat new file mode 100644 index 0000000000000000000000000000000000000000..b7096585775c6c60bba27b3d83d429e440219f2d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PIZZASCAPE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PIZZASCAPE.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PIZZASCAPE.png new file mode 100644 index 0000000000000000000000000000000000000000..1769bbcb207b19a8654be787c6b959d2da1f4ec0 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PIZZASCAPE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37bd7266a47e0eff8bfaa6c1ac3b00c9370927617f18cd1ab7bb9321e852b092 +size 249276 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKO.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKO.dat new file mode 100644 index 0000000000000000000000000000000000000000..03824ea4e9f0fbb3db612a49c23d183fc0bcf449 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKO.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKO.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKO.png new file mode 100644 index 0000000000000000000000000000000000000000..953a98bf218795244836130cc3e5557433940247 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1251ac982503f791c95e7a69a0497aaf6eedd08e2fb24258bca72699f5fd4fd8 +size 77812 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKY.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKY.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc59f7c17fda79ec693d4420d0c339882e320adf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKY.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKY.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKY.png new file mode 100644 index 0000000000000000000000000000000000000000..1a573dcbb2a4b297ba82ebd752351baea0425a3a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PORKY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4de9f07706ea27bdd949fa1b048603e10c7623e68b20673e58421015607cfa93 +size 112648 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PT_EXPLOSION.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PT_EXPLOSION.dat new file mode 100644 index 0000000000000000000000000000000000000000..98cd17595b5180fabdab377180ea8f8c98c43604 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PT_EXPLOSION.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PT_EXPLOSION.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PT_EXPLOSION.png new file mode 100644 index 0000000000000000000000000000000000000000..9eb91c59603bcbac4c28c8486a2e8ae36a6e9497 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_PT_EXPLOSION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aae0f358ea0acc325be517c80f33ec5d8f4d51f165e3374ce8e408515fcf1fa6 +size 67448 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SCORES_SHEET_1.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SCORES_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffccc1958c82b3ebe5dbb78cac13d7d0d9d08bf4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SCORES_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SCORES_SHEET_1.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SCORES_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..6a50fbed8b9a2a1d68a1afbd9cce57b510588fc0 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SCORES_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3886e77790952c92b622d9e102a89506e0c7d6e8b633d422355b7a9f1698f1e5 +size 66875 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SEASON_2.dat b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SEASON_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6a2af6a7653005ebcbeb3f44e1db415537ca8a88 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SEASON_2.dat differ diff --git a/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SEASON_2.png b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SEASON_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4b8becf31a0904f71ad810d6ca4dcfc0fea50bc4 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/INGAME_SEASON_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:414e1fa9b6a9bb22d519d5533af8d486247a2bcd7c0f9fc1a8ec6242652b3ea4 +size 607580 diff --git a/Angry Birds Project R/2.3.0/data/images/pc/desktop.ini b/Angry Birds Project R/2.3.0/data/images/pc/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..9967b13b4923b1063deaefa6850a1e63f500b6c0 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/images/pc/desktop.ini @@ -0,0 +1,3 @@ +[LocalizedFileNames] +THEME_HAT_1_TEXTURE.png=@THEME_HAT_1_TEXTURE,0 +HAT1_EXTRA_TEXTURE.png=@HAT1_EXTRA_TEXTURE,0 diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b6063ee2244db8fa06b24c7e6e832a357bc5af49 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level10.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..e4908b0b4759d83601d60050330e6d1a966a4eaf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level10.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level11.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcb0466a6b15ca2339bc978236972b44968a3d22 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level11.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level12.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..a0722a089653584570a6bb4c4fbb2312061a68b5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level12.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level13.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..27a32b65f2f6f564835b3f732afdc3e724158822 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level13.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level14.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f80e316de64e3a178cee6d9cc5a13c240be9167 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level14.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level15.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..60b39edff8c479d696cf8ba172f287a3af4f2ad8 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level15.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef3314903c465e1bfedbaee0bf9d34a995387226 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..9cd6b62bb1bd032172cb3e821898a030ee8ad09d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..ad0fd22c50035d52ddfe7e8fba99aa8c05f956f3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level5.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..25544b0a4115a4ab0b48f5dadd7f7c222099987d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level5.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level6.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..868646f2f78e035b024ad69af505b00484fdcfec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level6.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level7.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..c15c1d8543f7aa9d94bfc0431b3e07ea64207814 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level7.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level8.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..ea8005a4a2aed82ee562020df880431cdb6f38dd Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level8.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level9.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..fbf0dbdd80f4858bacdbfbf5c8c2f2068b3fac5a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 0 - Meet The Flock/Level9.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..154b4f6510fbf2b70d8de06be159683c8e32e20e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..6570fef9a8ef646cd3ad47ab568fffa8942ce44b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..096a85077bfba60eceaeb049d6f9a5aaeee3df6c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..b730faed6a1e81caaf9e855804697cd5a7298134 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..820bc7de535f7e7dcf84be9ffb3ea27df42831c4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c89a7ac8bd3b618863a183439a76f4ea295c5ce Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..fc1b8492c8e77ae38ff972fa9f7740a6af173272 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..7fd23bcdfcfe6d7cda138596413532e08e15c28c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7c2919ca5404351182327b4913139d202f56e8c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..021d1611e4fa4b3e4cbe1051cae30971a1b0908a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..98370093018652c3d007274c8ef43f708442bac3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..55b4e974790502c40e03c7f2c8e356b1150934ae Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..5521d54f37ed07d69204dae757dc1306035f5474 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..243b23ae71cee81fa882bcd2a3a34b69c51d9b23 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..4602eb09ab51cc2c7989c132e50d309bfdc32d20 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d670c8817af78a93a49e957c71aaf8d91c35730 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ff5fb253d2ecdf825a96b421b178baebb34a27c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f3de5f925c8278b4a70bc01ecec9909316cbe78 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..73fedb7d5ed9584df245e3828011e87cbee19ea6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..6adefc3b0627628891c3e30284f15fdaa4f4ffad Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e8f547a29179e6b7e4e7ebb8c58ff92da6c6932 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..54671db565c549056ffa659e5c5110749bcf3f99 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b92cc3f6880176bcc3d9586c8423c17d7ab1e0ec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua new file mode 100644 index 0000000000000000000000000000000000000000..64968378d530b52a6c97c8be00896e93283775aa Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..fb7753a8a15388cfea740f47355e1f44ed69c3cb Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..3191bee4a656118a71c7a40307ed36f64ad513f9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_10.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..81e8304833c3cb5db8bc9c96e10f4d6b73670b34 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_10.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_11.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..4a31090c22f44f9a6b806997d5e00c3200841b23 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_11.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_12.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..7615427b503be8cf6240f4063e2ab41605de205d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_12.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_13.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..63786e86701d5e2dcd9d3a27a1c78471c1887169 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_13.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_14.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..c863913c3b3eef424881916062097926a9ff0641 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_14.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_16.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..ce69ca014db55550f65a6fa989b9913be1e0b1d9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_16.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_17.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..42fa8c05162f0672de93096d31e72dea60015395 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_17.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_18.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..df3bebe276362d9594ad16b15f42e1bdd98c05f1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_18.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_19.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..2d12fb0cfa1c33f877ddfc73036e9d79e2b7fd51 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_19.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e0e5c925f631f631e6c05cab8ab960b35997b74 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_20.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..a602b307d8133272fa0db01a51952f754392fe44 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_20.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_21.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..7bbf2fae633b9e903c6634a3ad60d1cbe21ef1ea Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_21.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_22.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ceee38bb1e2cec7cdd193f494671dfe1fe00e07 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_22.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_23.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..77eaab4dae1b22ebd5d393ef2d090d5c08889e6a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_23.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_24.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..63aa3fa9f4cb4345fc3e2f2af2d8ba28633fcc43 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_24.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_25.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c763cb81373669d330078a0157fcf7afc8d0128 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_25.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_26.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..8206cb9aa6cce742a6fe6e5dc77bd9beaba1293d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_26.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_27.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..0856c889ba1b2c87287501d542ebdd6f772a1682 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_27.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_28.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..8f9f2d10f5d2b5042e86dc63359fb9796fb2dfa1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_28.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_29.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..47003028728f2918b98d553f1e79a676f23fc731 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_29.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcb65d9cd3ed98d1b2dd24b0d1223f3753e3fe6e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..a64426210e0fa839fbbfba4ae910ce8a87f97a12 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_5.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..d2cd860875c57710b83fca057be924c2b96afacf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_5.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_6.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..4c6e01960aa6955a6c8bdb8c8ba29236a38c6cfe Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_6.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_7.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..86e2b8810ce808fadfabe0c30dc5e0a4487fb9d9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_7.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_8.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..0311309b54d38eea01068770bcd38aadb9f5466d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_8.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_9.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..84043a5f411c09138fc149c839ad8d730b2638dc Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_9.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..d258b532472c028eca8dd9d349b3938219d5e5cc Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua new file mode 100644 index 0000000000000000000000000000000000000000..b2f4b1cc4cb1cd5eb3bdf2ce1fd3f79fb0fcd89b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua new file mode 100644 index 0000000000000000000000000000000000000000..225e139216eadece98927097c08b389b22510909 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..74661c03be2961bf0dcc0be8a43db8c908180199 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_10.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..07abb28dd2700c3e708e101aa35223ae16a19666 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_10.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_11.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..965b93d53af70494f8a7792ef073ab1066a450c4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_11.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_12.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c38a8b5987c649de9a6c22fd809241653858858 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_12.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_13.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..54af7b7f66b512ed1eae1b4be82eb1541c19db67 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_13.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_14.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9b031a796de6ce3632c4630a6ec0ab902492987e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_14.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_16.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..47a832e6134af8813a22ea99fda628249baa273e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_16.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_17.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..55e0817f71f2b60e31348928d6fc1f2f61bb1d77 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_17.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_18.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..ace35bf9934e80636b09b54b7810c1727eda1cc6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_18.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_19.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..2fc0eec272bfa8c8fca42a50949eb750b3651216 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_19.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..d8b86df70d731d869df0f56a598cb4b221b80292 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_20.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..d14fc4bc3e4c3a4795f9ab91c6e57ccbd6ae6f50 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_20.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_21.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..3512779927ffa43e75cd526d5852e405aa6ca851 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_21.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_22.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..6d8e8dc589eb834e94e82abd58023c71fcee7db3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_22.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_23.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..d1ea4263680fec27802f421a2da4a1a883c9d0a6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_23.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_24.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c6c921254cd4bcb8e3969f6a7d8569883369b08 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_24.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_25.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..deca5fdcfaabe6156f9d2ae7cd6987716c6b536a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_25.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_26.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..2cb6088a15903900a74d010a269976167546e9cf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_26.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_27.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..2253aa76981028cf6c3f56a4cdd6cf215d4e09ba Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_27.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_28.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..f47562dda553218093b90db5067bc8a0c4fc1ac8 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_28.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_29.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..d02f6405028a74e8bbfd1a59e780c2187dd5498b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_29.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..82a6fc513a5483b3aae522a7eb515b05eb310285 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca659c882c89d73676d553e1279d89d7578a2a10 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_5.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..612daef504f0a0557c4f618b82328fe211595386 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_5.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_6.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e1f59e59e7e8a59fab5f4e121f8c1497b011d6d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_6.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_7.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..8daa241a59ea3a1f1772da8db9e99fd2c93563d5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_7.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_8.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..3840e6bd9492b1522529e2e58fca08798109eaca Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_8.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_9.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..30c4cfd7d0ca3fa6802c265a058861d2ddc7228a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 3 - Sweet Swines/W3_9.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Hat_Kid.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Hat_Kid.lua new file mode 100644 index 0000000000000000000000000000000000000000..82116876533a03ef071be706bcfa5855960c8f4c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Hat_Kid.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..78965b810208b6526a846b7b6ae074ea76adcdee Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua new file mode 100644 index 0000000000000000000000000000000000000000..4a8d83db25b01b3e0f1c8f99ed65d919bdeb8559 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..c3438cfe7b8faf6cc653b25c87e1721ffa9cdf9c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_10.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b1e1f9bd85ea3e656f7e79929de282c94cc04bb Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_10.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_11.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..e9e43726b42d82061f90581a88a8849122f65806 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_11.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_12.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..f6772899277a4e74bad25c8bd4420c65e5abc150 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_12.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_13.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..145da287e0bcd6825c3eb5dc59d484efebbb8b1f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_13.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_14.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..cb6593b43fa5a446c768ab52b826bf600dd368d1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_14.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_16.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..970ce7e4cfa9b5d591dc7ef9ec677c0614464dc7 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_16.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_17.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8bb4cfc0d59622cc193256a124bfcce5ca6c5cd Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_17.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_18.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..56c2992de3944a9fa4be0d6b3462e2ff771d1cc0 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_18.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_19.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..22050ff2b6fb897f52a86aef68d1b287b2309ca5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_19.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..2c3e4962c1e7a2539378c578815a4c02e4483aae Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_20.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..8344fb7133efd6a49f76ab71d32fc649d516eded Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_20.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_21.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..d64d12855fbad33253ee4d0d4063ef8ae94c1aa1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_21.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_22.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..a5a21ae46348d1aee92995af716b9a5ce2d633e1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_22.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_23.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..7f80d6fad5873e2ab4e7fd9bb656ab3de8b50abf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_23.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_24.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f24b4dfbd41ca887d042431241a4d48daacad3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_24.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_25.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c33afe42c4a7cf3daf0f7f6289f48776b25f05c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_25.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_26.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b0f856507e5572c5a7991b33f624063cda93c3d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_26.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_27.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff1e6461ea004270ed8423352665c00f843f4f2d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_27.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_28.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ef1eb96889374d72431688fee552e90721e425c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_28.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_29.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..c158dfe4d3a4b88f97d4a3e150d4f7fdd0d38c23 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_29.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..326b0b67ce0e1ba4f73cfc1b79f1ea4d6cfcf943 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_31.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_31.lua new file mode 100644 index 0000000000000000000000000000000000000000..5edd6ea055d894481e534ec2f2a6bfb2c26dae23 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_31.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_32.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_32.lua new file mode 100644 index 0000000000000000000000000000000000000000..b00a1f9464e72d6620f549b033383aeb196d4be9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_32.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_33.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_33.lua new file mode 100644 index 0000000000000000000000000000000000000000..9989fc7104a53fe41c2103df19b9d62a7f8c2b98 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_33.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_34.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_34.lua new file mode 100644 index 0000000000000000000000000000000000000000..370244e2e23233324cd3d4bf2be6687744062fbd Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_34.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_35.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_35.lua new file mode 100644 index 0000000000000000000000000000000000000000..3eb9bfd8a8e9c1d6c531a3bd65c844025115e996 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_35.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_36.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_36.lua new file mode 100644 index 0000000000000000000000000000000000000000..52ac7e321bc89a054c0056c4c0fcc566e82ebe3c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_36.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_37.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_37.lua new file mode 100644 index 0000000000000000000000000000000000000000..fdf6995b69bafae522d9a334682c44e3875c340a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_37.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_38.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_38.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ad355356b45c1beb58ec383a54a673e8de9ca0a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_38.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_39.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_39.lua new file mode 100644 index 0000000000000000000000000000000000000000..ed5b096b8fcae34e4fa81d132eee359b6e7811dc Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_39.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..0aa0707ffcae15fc8902b44e23d37254d3eea9f8 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_40.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_40.lua new file mode 100644 index 0000000000000000000000000000000000000000..8538af70103138cc78919d8ea01de6ee69b2e135 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_40.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_41.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_41.lua new file mode 100644 index 0000000000000000000000000000000000000000..2a481b72723f2088e51a345b61a4d2fab2ef41dc Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_41.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_42.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_42.lua new file mode 100644 index 0000000000000000000000000000000000000000..745dbba3f39914b173ff05151e3cbf8c8234ebd2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_42.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_43.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_43.lua new file mode 100644 index 0000000000000000000000000000000000000000..610516154183482a13e459a92f468235f648ca89 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_43.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_44.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_44.lua new file mode 100644 index 0000000000000000000000000000000000000000..12a6c77845aa284c6e781669f84f4c9282a71820 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_44.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_5.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c9038417451ac1b12fe981fd0ac5d70bb91118d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_5.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_6.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..fae81202685f49c6fc9e7342804f98c48c045bf0 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_6.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_7.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..49d09a6f2644c515af04ef2877d248f097cde32e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_7.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_8.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..e8cc4bfe9cdea737dee8ee7446c289e38cb8e248 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_8.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_9.lua b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..697195c28e4de8a3dae2f47b085c5f368e583ef2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode 4 - Time Tasum/W4_9.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f6569c04fdafe4cc9510e8926cbe3da4a5b6ccd Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua new file mode 100644 index 0000000000000000000000000000000000000000..a02a92af983beb9c1672de36685181af7c648406 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD1.lua new file mode 100644 index 0000000000000000000000000000000000000000..25e07084848fc1ddbf8c2856838104b6be20afc1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD2.lua new file mode 100644 index 0000000000000000000000000000000000000000..2384501d306afa1fe8ea4795b297fcd3c1d335ad Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD3.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ec33e9f0cc70da43bc83d9598c893a05cb1cc7d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelD3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ce2980f537a1c0ecd5a734f2cd861e6ac68e097 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_10.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..489bde2d4847ef661fe4b4855a0909dd51e6b72e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_10.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_11.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..858e1469d6c52086f42e997fc2f96265432aea6a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_11.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_12.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..d269527b952b62c6205b3ce3e068c8faefac0f10 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_12.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_13.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..a771902e61c43e18949ec8c794b0ae80e646b98b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_13.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_14.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f25e906ed323101355eb48a3516afe066ecf01a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_14.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_15.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..1b5fb3713d4ae5974d1c62b8f43d97bd8ebbb772 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_15.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_16.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..762ced4c1f5ead879f532b24e2f1c20f5da3885d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_16.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..91de332df44c292525833b8a34b4790d4ebe9c6c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..97a0672193527181db10e066a4cfc424c6958b95 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..3e25fcfe09513ed0dfe769497f7d9f0800471323 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_5.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8ca41417612dd7bd3e6ce94208dce9ec8e1247b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_5.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_6.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c4f15fdc2fca91aade755370021bad0063b7870 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_6.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_7.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..b1207e3429857c7f5ba04058571c227e4f97bd66 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_7.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_8.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..677133aa9fd4f26e4e3e6d4610742b12e9a40f4a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_8.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_9.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..f23e46702e68c5d994aec0340f384063b672b893 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_9.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua new file mode 100644 index 0000000000000000000000000000000000000000..a51c1284e96b5db5e9d82cefa6bf81ad8d417279 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua new file mode 100644 index 0000000000000000000000000000000000000000..ccbefb1668cd8cad1f644db31df1332be4a0e920 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_EP4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_EP4.lua new file mode 100644 index 0000000000000000000000000000000000000000..e53294fd4d358b16398c4418becfd2a1100e2c16 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_EP4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f4d5ffe75fd6f90c0404808deb8ea0b7a61fad8 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua new file mode 100644 index 0000000000000000000000000000000000000000..d66cb61716fd53be892e9df5306a7499dbc42e12 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua new file mode 100644 index 0000000000000000000000000000000000000000..52e4ada9a41447fad2950bca0e1a2bd4437e2027 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_1.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca51531280aefed9288733dc4020974ee1e45f76 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_10.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..07c5702d7d5c22e3669bb619fe5c526ae9e734df Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_10.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_11.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..8fa0e367e0b97f259d838634d192a72ec53c55b9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_11.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_12.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18243e59f4425efb15238f38ad2f183cd1c5e12 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_12.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_13.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..2dd16cdf9bb1072aee9b4336d47f6f6dc9e7188f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_13.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_14.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..950717b47b0c8f110357a3e646231ad321b3acea Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_14.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_15.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..a8f545f919206e0101fb057ca4f6a6451c4dda72 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_15.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_2.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..9b50d1f46c3ad0d5b5320ac875a94f9819df9ab0 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_3.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..87b7ef1cf6346a50e9708b429b05ead4594dcc8b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_4.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..386dc09970ee61f4916acb08344d270b7c9442f8 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_4.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_5.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..2151daddcfd1c464b929c0542a6f280abe532639 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_5.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_6.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..38928aed0e2ad90a6f84003119a6a7e39ca4e85b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_6.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_7.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd1db8240fa7c13551099d0b701afaebb4f26e10 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_7.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_8.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..52168af4218c8b4b4104232c223c52156ad1b064 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_8.lua differ diff --git a/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_9.lua b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..90db70aa339cc11802bfe62a4e00a366b57357f2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/levels/Episode H - Hallow Heist/H_9.lua differ diff --git a/Angry Birds Project R/2.3.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/2.3.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/2.3.0/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/2.3.0/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..115e2f3eb71493d361ebbd929e8e3c3fac96ba3f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/2.3.0/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/2.3.0/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/2.3.0/data/localization/angry.exe b/Angry Birds Project R/2.3.0/data/localization/angry.exe new file mode 100644 index 0000000000000000000000000000000000000000..8be4dfa95adff797fcac14848d2f3594f976e4db Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/localization/angry.exe differ diff --git a/Angry Birds Project R/2.3.0/data/localization/english.txt b/Angry Birds Project R/2.3.0/data/localization/english.txt new file mode 100644 index 0000000000000000000000000000000000000000..59669e91f343c019569dd6ae3f1f4c59b873ed8c --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/localization/english.txt @@ -0,0 +1,258 @@ +SK_SELECT=Select +SK_EXIT=Exit +SK_OK=Ok +SK_YES=Yes +SK_NO=No +SK_CONTINUE=Continue +SK_HELP=Help +SK_ERASE=Erase +TITLE_CHOOSE_LANGUAGE=Choose Language +ITEM_ENABLE_SOUNDS_QUERY=Enable sounds? +ITEM_ENABLE_VIBRATION_QUERY=Enable vibration? +ITEM_HIGH_SCORES=High Scores +ITEM_HELP=Help +ITEM_ERASE_DATA=Erase data +ITEM_ERASE_HIGHSCORE=Erase highscores +ITEM_ARE_YOU_SURE=Are you sure? +ITEM_SFX_ON=SFX: ON +ITEM_SFX_OFF=SFX: OFF +ITEM_MUSIC_ON=Music: ON +ITEM_MUSIC_OFF=Music: OFF +ITEM_VIBRATION_ON=Vibra: ON +ITEM_VIBRATION_OFF=Vibra: OFF +ITEM_CONTINUE_GAME=Continue game +ITEM_PAUSE=Pause +ITEM_LEVEL_SELECTION=Level selection +ITEM_OPTIONS=Options +MI_PLAY=Play +MI_SETTINGS=Settings +MI_ABOUT=About +MT_MORE_GAMES=More Games! +MI_EDIT=Edit +MT_SETTINGS=Settings +MT_ABOUT=About +MT_LEVEL_SKIPPED=LEVEL SKIPPED! +MT_LEVEL_COMPLETE=LEVEL CLEARED! +MI_CONTINUE=Continue +MT_PAUSE=paused +MT_LEVEL_FAILED=LEVEL FAILED! +MI_RESTART=Retry +MI_RETRY=Retry +MI_BACK=Back +MI_SCORE=Score +MI_HIGH_SCORE=Highscore +MI_OK=OK +TEXT_SELECT_LEVEL=Select level +TEXT_FB_LEVELS_HINT_TITLE=Discord bonus levels! +TEXT_FB_LEVELS_HINT=Tap the yellow button above to visit my Discord Server.\0ATalk with people and hear the latest news about the mod! +TEXT_NETWORK_ERROR_TITLE=Network error. +TEXT_NETWORK_ERROR=A connection error has occurred, please try again. +TEXT_LIKE_CONFIRMED_TITLE=Thank you! +TEXT_LIKE_CONFIRMED=Be sure to follow the development! +TEXT_EXIT_CONFIRM=Are you sure you want to quit? we'll miss you! +MI_EXIT=Quit +MI_AUDIO=Audio +MI_VIBRA=Vibra +MI_MENU=Menu +MI_LOADING=Loading... +MI_NEW_HIGHSCORE=New Highscore! +TEXT_BEST_SCORE=Previous Best +MI_MORE_GAMES=Check out other great games from Rovio! +HELP_TITLE_HOWTOPLAY=How To Play +HELP_TITLE_BLUE=Blue Groupie +HELP_TITLE_YELLOW=Yellow speedster +HELP_TITLE_BLACK=Black Blaster +HELP_TITLE_GREEN=Eggy Bomber +HELP_TITLE_SPECIAL=Special Moves +HELP_TEXT_HOWTOPLAY_1=Launch the birds by using the slingshot. +HELP_TEXT_HOWTOPLAY_2=Pop all of the pigs to clear the level! +HELP_TEXT_BLUE=Strong against ice blocks +HELP_TEXT_YELLOW=Strong against wood blocks +HELP_TEXT_BLACK=Strong against stone blocks +HELP_TEXT_GREEN=Fat & Lazy +HELP_TEXT_SPECIAL=Activate special move by tapping the screen while the bird is flying in the air +HELP_SUBTITLE_SPECIAL=Special move: +HELP_SPECIAL_BLUE=Group Attack +HELP_SPECIAL_YELLOW=Turbo Boost +HELP_SPECIAL_BLACK=Explosion +HELP_SPECIAL_EGGY=Egg Grenade +TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CHILLINGO=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CLICKGAMER_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT=\0A\0A 2022-2024 Jeremiah Plays Again, The AB Characters are trademarks of Rovio Entertainment Ltd and Sega. They are protected by international copyright laws. A mod developed by Jeremiah Plays Again and currently published by Angry Birds Modding Direct.\0AOriginally published by Angry Birds Play.\0AAll rights reserved to their owners.\0AAngry Birds Power Trouble by NickDoesStuff. +TEXT_ABOUT_PALM=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM_LITE=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID=Angry Birds Project R\0Av1.0.1\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_HD=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_2=© Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_BETA=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PC=TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\Beta 3.3\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_CREDITS=CREDITS\0A\0A- Director -\0AJeremiah Plays Again\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AJeremiah Plays Again\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0ANickDoesStuff\0AMason The Maniac\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0AArthumgo\0ANopenop!\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0Axxxman360\0ATcd729\0Aknoxider\0A\0A- Music And Sound Effects -\0AAri Pulkkinen\0AThe Default Pro\0Aflamerfan2000\0AJeremiah Plays Again\0ATour De Pizza\0ASEGA\0AZeptolab\0A\0A- Level Designers -\0AJeremiah Plays Again\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0AYan_IDK24\0ATcd729\0ALucasX2\0AThe name's Army\0AHruman\0AAlternatExpungle\0AOlivr\0A\0A- Dev Build Testers -\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0Asnowy_outbreak\0ALogic\0ATcd729\0AHruman\0AMarisa Kirisame\0AAssasain 2.0\0AThe Default Pro\0Aflamerfan2000\0AGloopyStuff\0ADrew\0Aernestomoise65\0Aluckyblock30\0Asomeguyonthewebfr\0AOlivr\0A\0A- Ideas And Other Characters -\0ANickDoesStuff\0Aepikbirb\0Asome guy\0AAssasain 2.0\0ATcd729\0ATour De Pizza\0AThe Sugary Spire team\0A5xGame\0ALogic\0A\0AShoutout to all of the public beta players and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull:\0A\0AThanks For Playing! +TEXT_CREDITS_PC=CREDITS\0A\0A- Director -\0AJeremiah Plays Again\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AJeremiah Plays Again\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0ANickDoesStuff\0AMason The Maniac\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0AArthumgo\0ANopenop!\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0Axxxman360\0ATcd729\0A\0A- Music And Sound Effects -\0AAri Pulkkinen\0AThe Default Pro\0Aflamerfan2000\0AJeremiah Plays Again\0ATour De Pizza\0ASEGA\0A\0A- Level Designers -\0AJeremiah Plays Again\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0AYan_IDK24\0ATcd729\0ALucasX2\0AThe name's Army\0AAlternatExpungle\0A\0A- Dev Build Testers -\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0Asnowy_outbreak\0ALogic\0ATcd729\0AMarisa Kirisame\0AAssasain 2.0\0AThe Default Pro\0Aflamerfan2000\0AHruman\0Ajkio\0AGloopyStuff\0ADrew\0Aernestomoise65\0A\0A- Ideas And Other Characters -\0ANickDoesStuff\0Aepikbirb\0Asome guy\0AAssasain 2.0\0ATcd729\0ATour De Pizza\0ALogic\0A\0AShoutout to all of the public beta players and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull:\0A\0AThanks For Playing! +TEXT_CREDITS_ORIGINAL=ORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS_AB=Powered by Box2D +TEXT_CREDITS_ADDITIONAL=ADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS=THANKS\0A\0A(todo) +TEXT_PERFECT=Total destruction - three stars in all levels!\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_PERFECT_LP1=Destroy all pigs to clear the level! +TEXT_PERFECT_LP2=Total destruction - three stars in all levels!\0A\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_COMPLETE=Congratulations for completing the episode!\0A\0AThere's room for improvement though...\0ANow try to get three stars in all levels! +TEXT_COMPLETE_LP1=Congratulations for completing all levels in the episode!\0A\0AGet three stars in all levels to become an honorary Angry Bird! +TEXT_COMPLETE_LP2=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to prove yourself to The Mighty Eagle! +TEXT_UPSELL=More levels, more FUN! +TEXT_UPSELL_LITE=105 levels, 106% FUN! +TEXT_UPSELL_BUTTON=BUY HERE +TEXT_UPSELL_BUTTON_2=Get it Here! +TEXT_LP_NAME_1= Meet The Flock +TEXT_LP_NAME_2= Breakfast Brawl +TEXT_LP_NAME_3= Moral Mixup +TEXT_LP_NAME_4= Sweet Swines +TEXT_LP_NAME_5= Rebuilding Time +TEXT_LP_NAME_6= Big World Adventure +TEXT_LP_NAME_7= Road Hogs +TEXT_LP_NAME_8= Battle For The Moon +TEXT_LP_NAME_9= Mirror Curse +TEXT_LP_NAME_10= Tower Of Misfortune +TEXT_LP_NAME_SURF= Summer Madness +TEXT_LP_NAME_EGGS=Golden Eggs +TEXT_SELECT_LP=Select Episode +TEXT_LITE_BUY_BUTTON=FULL VERSION +TEXT_COMING_SOON=Coming soon +TEXT_CONGRATULATIONS=Congratulations! +TEXT_HIGHSCORE_SPRITE=NEW_HIGHSCORE_EN +TEXT_SCORE_SPRITE=SCORE_EN +TEXT_PLAY_SPRITE=MENU_PLAY_EN +TEXT_SPLASH_LOADING_SPRITE=LOADING_EN +TEXT_GOLDEN_EGG_HELP=Search throughout the game to find hidden golden eggs, each one unlocks a new secret level! +FONT_HIGHSCORE=FONT_CURRENT_HIGHSCORE +FONT_BASIC=FONT_BASIC +FONT_MENU=FONT_MENU +FONT_SPACE_SCORE_BIG=FONT_SPACE_SCORE_BIG +TEXT_EAGLE_HIGHSCORE=Eagle Highscore: +TEXT_EAGLE_SCORE=Eagle Score: +TEXT_EAGLE_TOTAL_DESTRUCTION=TOTAL DESTRUCTION! +TEXT_MIGHTY_EAGLE_RETURNS=Mighty Eagle is back in business! +TEXT_EAGLE_UPSELL=Having trouble finding those Golden Eggs? +TEXT_EAGLE_UPSELL2=The Hint List is here to help!\0APress the right button at the bottom to check it out! +TEXT_REMOVE_ADS_UPSELL=Go ad-free. +TEXT_REMOVE_ADS_UPSELL2=One time payment. +TEXT_POWERUP_RECEIVED_SLINGSCOPE=Sling Scopes gained +TEXT_POWERUP_RECEIVED_BIRDQUAKE=Birdquakes gained +TEXT_POWERUP_RECEIVED_KINGSLING=King Slings gained +TEXT_POWERUP_RECEIVED_SUPERSEEDS=Power Potions gained +TEXT_POWERUP_RECIEVED_BUNDLE=Power-up bundles received +TEXT_POWERUP_PARENTAL= You have now disabled Power-ups. You can enable them again at any time. +TEXT_POWERUP_PARENTAL_LOCK= You currently have Power-ups disabled. Go to the title screen settings to enable them. +TEXT_SHOP_PRICE=Price: +TEXT_SHOP_KING_SLING_DESCRIPTION=Upgrade to the almighty King Sling for maximum power and velocity! +TEXT_SHOP_SUPER_SEED_DESCRIPTION=Supersize your bird! Power Potions turn any bird into a pig-popping giant. +TEXT_SHOP_BIRDQUAKE=Rattle the battle! Use the Birdquake to bring pigs' defenses crashing to the ground! +TEXT_SHOP_SLING_SCOPE_DESCRIPTION=Looking for the perfect shot? Use Sling Scope Laser Targeting for pinpoint precision! +TEXT_SHOP_ALL-IN-ONE-BUNDLE=This ultimate combo pack gives you all four power-ups! +TEXT_SHOP_PURCHASE=Purchase +TEXT_FREE_POWERUPS_TITLE=Angry Birds now has power-ups! +TEXT_FREE_POWERUPS=Enjoy these 20 free power-ups, and come back tomorrow for more rewards! +TEXT_FREE_FREE=FREE +TEXT_KING_PIG_MODE_KING_PIG_TAGLINE=your gay +TEXT_KING_PIG_MODE_BIRD_FRENZY_TAGLINE=Beat the level with unlimited birds! +TEXT_KING_PIG_MODE_TOTAL_DESTRUCTION_TAGLINE=Tap on the level to explode it! +TEXT_KING_PIG_MODE_MATERIAL_MIX-UP_TAGLINE=Two materials have been swapped! +TEXT_MIGHTY_EAGLE_RESTORE_QUERY=Do you wish to restore Mighty Eagle from your iTunes account? +TEXT_MIGHTY_EAGLE_PURCHASE_QUERY=Mighty Eagle has not been purchased yet. Do you wish to do that now? +TEXT_MIGHTY_EAGLE_RESTORE_PROCESSING=Restoring Mighty Eagle... +TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS=Mighty Eagle has been successfully restored. +TEXT_MIGHTY_EAGLE_RESTORE_FAILURE=Restoring Mighty Eagle failed. Please, try again. +TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY=Mighty Eagle is already active, no need for restoration. +TEXT_MAGICPLACES_PP_UNLOCK=To earn rewards with Magic Places, you need to agree to our privacy policy +TEXT_MAGICPLACES_PP_AGREE=Button: I Agree +TEXT_MAGICPLACES_PP_WOULD="Angry Birds" would like to use your ip address +TEXT_MAGICPLACES_PP_DATAPROVIDED=Magic Places location data is provided by CloudMade +TEXT_MAGICPLACES_NOLOCATION_NOSERVICES=Location services are not allowed. +TEXT_MAGICPLACES_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_NOSERVICES=Location services are turned off +TEXT_MAGICPLACES_AND_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_GOTOSETTINGS=Button: Go to settings +TEXT_MAGICPLACES_BIRD_YOUAREHERE=You are here! +TEXT_MAGICPLACES_POWERUPS_GAINED=%s %s gained +TEXT_MAGICPLACES_POWERUPS_EACHGAINED=%s of each Power Up gained! +TEXT_MAGICPLACES_POWERUPS_GETMORE=Go to Magic Places to unlock more Power Ups +TEXT_MAGICPLACES_POWERUPS_RAISEFLAG=Button: Raise a flag! +TEXT_MAGICPLACES_TUTORIAL_DISCOVER=Visit Magic Places to earn power-ups! +TEXT_MAGICPLACES_TUTORIAL_BROWSE=Browse the map to find Magic gift boxes and earn power-ups! +TEXT_MAGICPLACES_NOTIFICATION_STANDARD=Ca-caw! You're close to a Magic Place +TEXT_MAGICPLACES_NOTIFICATION_VARIATION1=Ta-daa! Magic Places are nearby, make a visit! +TEXT_MAGICPLACES_NOTIFICATION_VARIATION2=Woohoo, something Magic is in the air! +TEXT_MAGICPLACES_PP_MESSAGE=Joining the hunt for power-ups will give Angry Birds access to your location and agree with the privacy policy. +TEXT_MAGICPLACES_KP_MESSAGE=Try out our new King Pig mode +TEXT_MAGICPLACES_POWERUPS_NOPLACES=There are no magic places nearby. Search a little further! +TEXT_MAGICPLACES_SETTINGS=When you turn on Magic Places notifications, your device will track your location, even if the application is not running. +TEXT_MAGICPLACES_LONG_DESCRIPTION=Discover free power-ups at real-world locations! To use this feature, you need to enable access to your location and agree to Rovio's privacy policy and End User License Agreement (EULA). +TEXT_MAGICPLACES_HOW_MAGIC_WORKS=Magic uses your location to determine if you are in a Magic Place. +TEXT_MAGICPLACES_SERVICE_TOGGLE=You can turn location services on/off in your device settings. +TEXT_MAGICPLACES_SERVICE_COMBINATION=Location data may be combined with other Rovio services in the future. +TEXT_MAGICPLACES_FAQ=More info is available in the FAQ (rov.io/MagicPlacesFAQ) +NOTIFICATION_1=Chirp!! You're missing out on stars! Come and get them! +NOTIFICATION_2=Ca-caw! The Pigs have the Eggs! Go stop em! +NOTIFICATION_3=Squawk! We miss you! Come play! +NOTIFICATION_4=Haven't seen you in a long time! Time to pop some pigs! +TEXT_SHOP_ANDROID_DAILY_PURCHASE_LIMIT=You've reached the daily purchase limit. Come back tomorrow to buy more! +TEXT_ROVIO_ID_INTRODUCTION=Sign in now to save your progress and sync it across devices! +TEXT_ROVIO_ID_SAVING_PROGRESS=Saving game progress... +TEXT_ROVIO_ID_SAVING_FAILED=Saving game progress...failed. +TEXT_ROVIO_ID_POP-UP_TITLE=Rovio Account +TEXT_ROVIO_ID_SIGN_OUT=Sign out as: %s? +TEXT_ROVIO_ID_SIGN_IN=Sign in +TEXT_ROVIO_ID_SIGN_UP=Sign up +TEXT_ROVIO_ID_EMAIL_ADDRESS=Email +TEXT_ROVIO_ID_PASSWORD=Password +TEXT_ROVIO_ID_NEW_PASSWORD=New password +TEXT_ROVIO_ID_FORGOT_PASSWORD=Forgot your password? +TEXT_ROVIO_ID_not_have_account_yet=Don't have an account yet? +TEXT_ROVIO_ID_SIGN_UP_NOW=Sign up now! +TEXT_ROVIO_ID_BIRTHDAY=Birthday +TEXT_ROVIO_ID_DATE_FIELD_MONTH=Month +TEXT_ROVIO_ID_DATE_FIELD_DAY=Day +TEXT_ROVIO_ID_DATE_FIELD_YEAR=Year +TEXT_ROVIO_ID_MONTH_JAN=Jan +TEXT_ROVIO_ID_month_feb=Feb +TEXT_ROVIO_ID_month_mar=Mar +TEXT_ROVIO_ID_month_apr=Apr +TEXT_ROVIO_ID_month_may=May +TEXT_ROVIO_ID_month_jun=Jun +TEXT_ROVIO_ID_month_jul=Jul +TEXT_ROVIO_ID_month_aug=Aug +TEXT_ROVIO_ID_month_sep=Sep +TEXT_ROVIO_ID_month_oct=Oct +TEXT_ROVIO_ID_month_nov=Nov +TEXT_ROVIO_ID_month_dec=Dec +TEXT_ROVIO_ID_AGREE_BY_SIGN_IN=By signing up, you are agreeing to our EULA and Privacy Policy. +TEXT_ROVIO_ID_EULA=EULA +TEXT_ROVIO_ID_PRIVACY_POLICY=Privacy Policy +TEXT_ROVIO_ID_FORGOT_PASSWORD-RESET=To reset your password, enter the email address associated with your account below. +TEXT_ROVIO_ID_RESET_PASSWORD_TITLE=Reset password +TEXT_ROVIO_ID_EMAIL_SENT=Email has been sent! +TEXT_ROVIO_ID_RESET_PASSWORD_MESSAGE=Please, check your email for password reset information. +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_TITLE=Thanks for signing up! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_SENT=A verification email is sent to: +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio within 48 hours. +TEXT_ROVIO_ID_SORRY_TITLE=Sorry! +TEXT_ROVIO_ID_SIGN_UP_FAILED_MESSAGE=We could not create your account. +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_TITLE=You have not verified your account yet! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_RESENT=A verification email is re-sent to: +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio. +TEXT_ROVIO_ID_VALIDATE_PASSWORD=Please, enter a password. +TEXT_ROVIO_ID_VALIDATE_PASSWORD_INVALID=Password is too short. +TEXT_ROVIO_ID_VALIDATE_EMAIL_INVALID=Please, enter a valid email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL=Please, enter your email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL_RESERVED=This email address is already taken. +TEXT_ROVIO_ID_VALIDATE_EMAIL_FALSE=Wrong email +TEXT_ROVIO_ID_WRONG_PASSWORD=Wrong password +TEXT_ROVIO_ID_PASSWORD_HELP_TEXT=Password must contain 8 characters at the minimum. +TEXT_ROVIO_ID_WRONG_ACCOUNT=Sync failed. This device already uses another account. +TEXT_ROVIO_ID_SIGN_OUT_QUERY=Your progress will be saved online only when you are signed in. Do you want to sign out as: +TEXT_ROVIO_ID_ACCOUNT_DESCRIPTION=Rovio Account lets you automatically save your game progress online and synchronize between devices. Currently, Rovio Account is available for Angry Birds on iOS, but it will be available on other Rovio games and platforms in the future. +TEXT_ROVIO_ID_OR=or +TEXT_ROVIO_ID_SIGNED_IN_AS=You are signed in as +TEXT_CREDITS_ZIGI=Magic Places not powered by Zigi. diff --git a/Angry Birds Project R/2.3.0/data/scripts/ABIDUtils.lua b/Angry Birds Project R/2.3.0/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/ABSync.lua b/Angry Birds Project R/2.3.0/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/ChallengePage.lua b/Angry Birds Project R/2.3.0/data/scripts/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/PC_DRM.lua b/Angry Birds Project R/2.3.0/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/achievements.lua b/Angry Birds Project R/2.3.0/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/audio.lua b/Angry Birds Project R/2.3.0/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..958bd3d04712e9815d80fee787d0f6e0bf7c16f6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/blocks.lua b/Angry Birds Project R/2.3.0/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..c6a1d226a9c32bcbe3e3212dd2eea2513f090d2a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/challenges.lua b/Angry Birds Project R/2.3.0/data/scripts/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/challenges.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/challenges/ChallengePage.lua b/Angry Birds Project R/2.3.0/data/scripts/challenges/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/challenges/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/challenges/challenges.lua b/Angry Birds Project R/2.3.0/data/scripts/challenges/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/challenges/challenges.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/cutscenes.lua b/Angry Birds Project R/2.3.0/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..cdf7dcee43727fd0dcdaeb4a5525f7776dc74b6d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/dynamic/default.lua b/Angry Birds Project R/2.3.0/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/episodes.lua b/Angry Birds Project R/2.3.0/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..8508dbc69fe2284753b216caca7d894c8a7f7573 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/episodes_free.lua b/Angry Birds Project R/2.3.0/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/game_conf.lua b/Angry Birds Project R/2.3.0/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..3480cef65430afba67c52090ead3f53728ee59c1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/2.3.0/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/iap.lua b/Angry Birds Project R/2.3.0/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/item.lua b/Angry Birds Project R/2.3.0/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/item.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/level_scripts.lua b/Angry Birds Project R/2.3.0/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..48b259b9c4ee0857c94ee1531710db097f77a59f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/loadgroups.lua b/Angry Birds Project R/2.3.0/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..731c02ec0949d16a22cf7f1dc4d68bbb4b73aee7 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts/loadgroups.lua @@ -0,0 +1,2 @@ +žÏ*t¢w…hÂÇ©ne ãA 7ˆ&"pº wu#{½^‚ö‹›¸aËq‹Úa²¬Xöö _¿›Ìyu)ˆ´Ü|¥Mçcω¤ ñ0à6GÆðrŽ¯Êñ/<¨<’ÚA ¾]=>{€]Móö£báÇèÿHú†’ÞÏŸH#!Hc¬Ìš»Zu·¤,Ôb?ÞÐ˦|eOàÖš¯m² +^¹*9&íªÏ6zC’õwœeI85…Œë“]ï θ \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/scripts/menu_flow.lua b/Angry Birds Project R/2.3.0/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus.lua b/Angry Birds Project R/2.3.0/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..60aeca854ac9129122e3875ec92b7e901ca2c8b6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/ChallengePage.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/accordion.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/challenges.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/credits.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98eb89392c574acf02dc9915df85b67ef889906 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/ep9_level_selection.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/ep9_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..f9a855cc0b29f79e7a350e536224d7b2be9e51b0 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/ep9_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection_crosspromo_black.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection_crosspromo_black.lua new file mode 100644 index 0000000000000000000000000000000000000000..f262a3d256e1c56f7a97d2681818888e5311cc3f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection_crosspromo_black.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e00446746bf30bcc6c2176d0471a4d4d96ac9e8 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts/menus/episode_selection_extra.lua @@ -0,0 +1,4 @@ +“w—1&1Z‚Ö±s¬«ÕÑÝýÝ£Ëe +Ï!a` ØD=#texÍðÛ൭uÅÿƒÈ*î™±8ª§_? +ùøYpµL©õn«iûy×}¦4>EX_ç>œçüΨ ‘ wfœØï*¿ öG°ÚæȹWBÃJS»ŒòjªJåjƒ:§Iª…'¯_ƒPrQ­­!;£«"\Kf7ŒëÉMðß°Ó+uª8Ä=ôöÊañ]ƒÇoPc½"NÑàZS/xz½ Qì¿|ð“ 8õ«ë°K j¶à³W p‹Å?‰y`åèå=;x¡þ¿é>sýÿ·±þHš`Š_ +DÙ{ö᜚ª¡SRåiº­¾R§¢~œGêâf5äåü ž<$m¸c²¥™U Å+ª¤DþΠͧÞÖª~ûÞ'li¡‹Ý,{“¾ý²Œð+Â`nÃÎcyL¸ÏDñuR\Y €Épळ2ñ†ËïºNN}…‘@1¸¬aAÒK¬ «á‰iã>ª^¹TÏâpêÅ-ç_MõßÚ+Ol‰R)N;$@:ÅyŠæ:´ã@ÉNyVÓ*5ˆ’óä±te}åge—íp—7銗M1µó¼Sò#Í"G$Q«`ÏÉž4J;àüLËŒnua’§ã _EüB€ÕÛ8#¤þJÓöQ¶°-(„¸”ã#_y œ?¹Üñ \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/keyboard.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/radio.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..ee3c1ba06979ba5e473210dbef63653f64d194e4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/sequencer.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/settings_page.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/soundboard.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/menus/splashes.lua b/Angry Birds Project R/2.3.0/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/mightyEagle.lua b/Angry Birds Project R/2.3.0/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/options.lua b/Angry Birds Project R/2.3.0/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..bf240ffe8e3edbfc55ebcbf26eac1dd9f481566a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/options.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/page.lua b/Angry Birds Project R/2.3.0/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/page.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/particles.lua b/Angry Birds Project R/2.3.0/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..96a4ad060a72fe5891d3bf96536958b1beecf200 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/select_profiles.lua b/Angry Birds Project R/2.3.0/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/starLimits.lua b/Angry Birds Project R/2.3.0/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e54a35451c2b8b9ec34ecde73aec6135b673211 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/subsystems/ChallengePage.lua b/Angry Birds Project R/2.3.0/data/scripts/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/2.3.0/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/2.3.0/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..f46c678e49d69fb0c3a6c31aa850198af073ef05 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/2.3.0/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/2.3.0/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts/subsystems/challenges.lua b/Angry Birds Project R/2.3.0/data/scripts/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ABPR_GAMELOGIC.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ABPR_GAMELOGIC.lua new file mode 100644 index 0000000000000000000000000000000000000000..977571a8c0ab984a5446d57f53bec470a096dab2 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/ABPR_GAMELOGIC.lua @@ -0,0 +1,11515 @@ +-- Hello fellow modder, if you're reading this and not part of the dev team, I reccommend closing this file. +--Not all of the custom code in this game is by me, if you want to take anything... +-- refer to the tutorial_abclassicseries channel in the AB Modding hub. If it's not on there... +-- Then don't take it. Thank you. +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or devwModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + _G.res.playAudio(getAudioName"credits_music", 1,true) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("SANTA_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("SANTA_BOMB").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BRUTE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BRUTE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_PURPLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("BARTLETT") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BARTLETT").sprite) + end + if settingsWrapper:getTutorialsForItem("BOUNCI") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOUNCI").sprite) + end + if settingsWrapper:getTutorialsForItem("ANGELO_IDLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("ANGELO_IDLE").sprite) + end + if settingsWrapper:getTutorialsForItem("TELEPIG") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("TELEPIG").sprite) + end + if settingsWrapper:getTutorialsForItem("PEPPINO") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("PEPPINO").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + _G.res.playAudio("star_collect"), + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + addParticles = "smokeBuff", + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level, + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_SETTINGS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "android" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + APP_STORE_HALLOWEEN_URL = "https://tcd729.itch.io/angry-birds-adventures" + NEWSLETTER_URL = "https://discord.gg/TuFKJhNk9u" + ANDROID_MARKET_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + ALEX_URL = "https://gamejolt.com/games/abkp/801638" + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = "https://youtu.be/4dtja7FqmVM" + OVI_STORE_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + TWITTER_URL = "https://discord.gg/TuFKJhNk9u" + RIO_CONTEST_URL = "https://gamejolt.com/games/ABPT/865603" + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + RENREN_URL = "https://gamejolt.com/games/abkp/801638" + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = "https://discord.gg/TuFKJhNk9u" + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") + fontSpaceScore = _G.res.getString("TEXTS_BASIC", "FONT_SPACE_SCORE_BIG") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function getFontSpaceScore() + return fontSpaceScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_BASIC_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_LS.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_SCORE_BIG.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + _G.res.stopAllAudio() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = false +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, true, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, true, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 256 + softLimitSimultaneousParticles = 256 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted, sorry!" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(scriptPath .. "/menus/ep9_level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/settings_page.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function prepareSpecialEvents() +if not g_episodes or not getLevelById(levelName) then + return +end +local level, episode, page, levelNumber = getLevelById(levelName) +local selectedEpisode = g_episodes[episode] +local selectedLevel = g_episodes[episode].pages[page].levels[levelNumber] + if selectedLevel.hasSpecialMusic then + specialMusic = selectedLevel.specialMusic + else + specialMusic = nil + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + _G.res.playAudio("edit_music", true) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawCreditsBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end + function drawTitleBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawESBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawEditBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_EDIT") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_EDIT", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = true + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme2" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, blockTable.themes[currentTheme].groundLevel, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = specialMusic or v0.music + currentMainMenuSong = v0.menuMusic + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, blockTable.themes[currentTheme].groundLevel, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + -- setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.smileTimer = _G.math.random(30, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block put it back in please \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local specialBlock = blockDef.specialBlock + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local sn = blockDef.sn + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if floatability == nil then + floatability = materialDef.floatability + definitions.blocks[objectDefinition].floatability = floatability + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].specialBlock = specialBlock + objects.world[name].sn = sn + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + objects.world[name].floatability = floatability + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + _G.res.stopAllAudio() + playAudio("edit_menu", 1, true) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + playAudio("level_saved", 1, false) + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + _G.res.stopAudio("edit_music") + playAudio("edit_test", 0.8, true) + playAudio("editor_action", 1, false) + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + _G.res.playAudio("menu_select") + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + playAudio("object_placed", 1, false) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + playAudio("object_placed", 1, false) + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + playAudio("object_placed", 1, false) + local name = v.definition .. "_" .. objects.counts[v.definition] + playAudio("object_placed", 1, false) + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + playAudio("object_placed", 1, false) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + playAudio("object_placed", 1, false) + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + playAudio("object_removed", 1, false) + objects.themeSprites[v.name] = nil + playAudio("object_removed", 1, false) + themeSpriteObjects[v.name] = nil + playAudio("object_removed", 1, false) + removeThemeSprite(name, editor.currentLayer) + playAudio("object_removed", 1, false) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + playAudio("object_removed", 1, false) + removeObject(name) + playAudio("object_removed", 1, false) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 16 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + playAudio("joint", 1, false) + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + playAudio("birds_misc", 1, false) + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + playAudio("piglette", 1, false) + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + if objects.theme then + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", "Current Theme: " .. blockTable.themes[objects.theme].themeName, 0, 100, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if #selectedObjects == 1 then + setFont(fontBasic) + if selectedObjects[1].sn ~= nil then + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].sn, 6, 220, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].definition, 6, 220, "TOP", "LEFT") + end + if selectedObjects[1].startNumber ~= nil then + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Number In Line: " .. selectedObjects[1].startNumber, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 280, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 310, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 340, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 280, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 320, "TOP", "LEFT") + end + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + setFont(fontBasic) + _G.res.drawString("", "Blocks selected: " .. #selectedObjects, 6, 220, "TOP", "LEFT") + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PIG_PIZZA_TIME", screenWidth, screenHeight) + else + _G.res.drawSprite("", "EDITOR_PIG_NORMAL", screenWidth, screenHeight) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end + +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopAudio(currentMusic) + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(blockTable.blocks[nbo.definition].idleSound or g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + if _G.res.isAudioPlaying(currentMusic) == true then + _G.res.stopAudio(currentMusic) + else + if _G.res.isAudioPlaying(currentMusic) == false then + _G.res.playAudio("nothing") + end + _G.res.playAudio(getAudioName(blockTable.themes[currentTheme].winMusic or g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + if explosionCameraShakeDuration ~= nil and explosionCameraShakeDuration > 0 then + explosionCameraShakeDuration = explosionCameraShakeDuration - dt + if cameraShake == nil or 0 >= cameraShake then + cameraShake = explosionCameraShakeAmount + end + elseif explosionCameraShakeDuration ~= nil then + explosionCameraShakeDuration = nil + cameraShake = 0 + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(startMusic or g_sound_level_start), 1, false) + _G.res.playAudio(currentMusic, 1, true, 7) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 0.2 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLength(lx - bt[#bt].x, ly - bt[#bt].y) > 20 then + -- if getObjectDefinition(flyingBird.name).particlesTrail ~= nil then + -- addParticles(flyingBird.name, getObjectDefinition(flyingBird.name).particlesTrail, 1) + -- end + _G.table.insert(bt, { x = lx, y = ly }) + addToTrajectory(1, lx, ly) + end + + if getObjectDefinition(flyingBird.name).rotateWhileFlying then + rotateFlyingBird(flyingBird.name) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("tnt_explodes")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.redBirdTimer ~= nil then + local x = v.x + local y = v.y + local redImpulse = nil + v.rotateWhileFlying = false + v.redBirdTimer = v.redBirdTimer - dt + if v.redBirdTimer < 0 and v.collision ~= true then + setAngularVelocity(v.name, 30, 30) + redImpulse = false + v.xVel = velX + v.yVel = velY + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + v.particleTrail = "mightyRedBuff" + elseif v.redBirdTimer < 0.2 and v.collision ~= true then + redImpulse = true + if redImpulse ~= false then + local x, y = screenToPhysicsTransform(cursor.x, cursor.y) + v.frozenTargetPosition = {x = x, y = y} + v.targetAngle = _G.math.atan2(v.frozenTargetPosition.x - v.x, v.frozenTargetPosition.y - v.y) - _G.math.pi / 2 + end + local g_shootSpeed = 75 + velX, velY = _G.math.cos(v.targetAngle), _G.math.sin(v.targetAngle) + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + setVelocity(v.name, velX * g_shootSpeed, -velY * g_shootSpeed) + v.particleTrail = "mightyRedBuff" + + elseif v.redBirdTimer < 1 and v.collision ~= true then + setPosition(v.name, v.x, v.y) + addParticles(cursorPhysics, "smokeBuff", 1, true, false) + setVelocity(v.name, 0, 0) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, true, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, true, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = (v1.x - v.x) * 1.3 + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, true, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 2 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, true, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 2.5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, true, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, true, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "TEST" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, true, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "C_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "BOMB_JUMP" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + applyImpulse(flyingBird.name, 0, 1 * 0 * -100, flyingBird.x, flyingBird.y) + end + if birdSpecialty == "SUCK" then + makeSuck(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound))playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + if birdSpecialty == "TELEPORT" then + makeExplosion(flyingBird, bDef) + local bDef = getObjectDefinition(flyingBird.name) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "JEWEL" then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].redBirdTimer = 0 + +end + if birdSpecialty == "ROCKET_BIRD" then + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = "BIRD_YELLOW_SPECIAL" + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "WIZPIG_1_1" + objects.world[newName].xVel = 100 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = -10 --flyingBird.yVel * 0.5 + setSprite(newName, "WIZPIG_1_1") + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -100*defaultForce * flyingBird.mass, + 0*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + +end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end +if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + createCircle(newName, grenade_def.sprite, flyingBird.x + flyingBird.radius * 2, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + else + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + end + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + objects.world[newName].xVel = 100 + objects.world[newName].yVel = 0 + else + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + end + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + applyImpulse(flyingBird.name, 0.2 * defaultForce * flyingBird.mass, 0 * defaultForce * flyingBird.mass, flyingBird.x - 0, flyingBird.y) + else + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + end + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + + if v.specialBlock and getObjectDefinition(k).audioInfo ~= nil then + _G.res.stopAudio(getObjectDefinition(k).audioInfo.audio) + end + + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + elseif particle == "popcornBuff" then + particleAmount = 5 + elseif particle == "bigExplosionBuff" then + _G.res.stopAudio(currentMusic) + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if bDef.specialty == "C_BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if particle == "rat_death" then + particleAmount = 1 + end + if particle == "explosionBuff" then + particleAmount = 1 + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, true, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, true, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, + "displacement vector missing x/y members") + + local distToRest = vLength(displacement.x, displacement.y) + + rubberBandAngle = _G.math.atan2(displacement.y, displacement.x) + + -- ? + local newAngle = rubberBandAngle + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + if getObjectDefinition(selectedBird.name).rotateWhileSlinging then + setRotation(selectedBird.name, newAngle) + end + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite or v.smileSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_pigs), 1, false, 0) + end + end + end + for k, v in _G.pairs(levelGoals) do + v.smileTimer = v.smileTimer - dt + if v.smileTimer < 0 then + if v.smileOn == true then + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.damageSprite) + v.smileOn = false + else + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.smileSprite) + v.smileOn = true + end + end + end + + +for k1, v1 in _G.pairs(objects.world) do + + if v1.specialBlock then + --local object = objects.world[k] + --local objDef = getObjectDefinition(k1) + local def = blockTable.blocks[v1.definition] + + if getObjectDefinition(k1).animationSprites then + playAnimation(k1, dt) + end + + if getObjectDefinition(k1).audioInfo then + local lsx, lsy = physicsToWorldTransform(v1.x, v1.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + playAudioOfObject(k1, dt, dist) + end + + if getObjectDefinition(k1).spawnParticles then + spawnParticlesOfObject(k1, dt, v1) + end + + if getObjectDefinition(k1).BadPiggiesFan then + + for k2, v2 in _G.pairs(objects.world) do + distXw = v1.x - v2.x + distYw = v1.y - v2.y + local TotalFanForce = v2.mass*def.FanForce + if def.fanType == 1 then --Up + if (distYw < def.FanY and distYw > 0 and distXw > -def.FanX and distXw < def.FanX) then + applyForce(k2, 0, -TotalFanForce, v2.x, v2.y) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + elseif def.fanType == 2 then --Right + if (distYw < def.FanY and distYw > -def.FanY and distXw < 0 and distXw > -def.FanX) then + applyForce( k2, TotalFanForce, 0, v2.x, v2.y ) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + elseif def.fanType == 3 then --Down + if (distYw > -def.FanY and distYw < 0 and distXw > -def.FanX and distXw < def.FanX) then + applyForce(k2, 0, TotalFanForce, v2.x, v2.y) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + elseif def.fanType == 4 then --Left + if (distYw < def.FanY and distYw > -def.FanY and distXw > 0 and distXw < def.FanX) then + applyForce(k2, -TotalFanForce, 0, v2.x, v2.y) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + end + end + end + + + + end + + +end + + --[[ + * fanType -> 1 = Up, 2 = Right, 3 = Down, 4 = Left + * FanForce -> Intensity, basically + * BadPiggiesFan -> Must be true in order to work + * FanY -> Hitbox height + * FanX -> Hitbox width + * + * Quick example: + * + * This fan will push objects to the left + * + * FanLeft = { + * specialBlock = true, + * BadPiggiesFan = true, + * FanX = 33, + * FanY = 5, + * FanForce = 200, + * fanType = 4, + * } + ]]-- + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_birds), 1, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + + if blockDef.BadPiggiesFan == true then + if blockDef.fanType == 2 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - (blockDef.FanX*20), y + local x2, y2 = x + (blockDef.FanX*20), y - (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + elseif blockDef.fanType == 1 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x, y + (blockDef.FanY*20) + local x2, y2 = x + (blockDef.FanX*20), y - (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + elseif blockDef.fanType == 4 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - (blockDef.FanX*20), y + local x2, y2 = x + (blockDef.FanX*20), y + (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + elseif blockDef.fanType == 3 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x, y + (blockDef.FanY*20) + local x2, y2 = x - (blockDef.FanX*20), y - (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + end + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" and birdSpecialty ~= "C_BOMB" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" and birdSpecialty ~= "C_BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, true, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, true, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName(destroyedSound or "bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + sprites.smile = v.smileSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function addExplosionScore(object, score) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + explosionCameraShakeDuration = 0.15 + explosionCameraShakeAmount = definition.explosionForce / 1000 + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius then + local damage = definition.explosionDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addExplosionScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function makeSuck(object, definition, sound) + addParticles(object.name, "shineBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createSuck(object, definition, sound) +end +function addSuckScore(object, score) +end +function createSuck(object, definition, sound) + if definition.suckForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.suckRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.suckForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.suckDamageRadius then + local damage = definition.suckDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addSuckScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function rotateFlyingBird(name) + if objects.world[name] ~= nil then + local bird = objects.world[name] + local newAngle = _G.math.atan2(bird.yVel, bird.xVel) + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + setRotation(name, newAngle) + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function updateObjectProperties(name, positionx, positiony, velocityx, velocityy, angle, sleeping, outsideBoundaries) + local block = objects.world[name] + block.x = positionx + block.y = positiony + block.xVel = velocityx + block.yVel = velocityy + block.angle = angle + block.sleeping = sleeping + block.outsideBoundaries = outsideBoundaries +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end + +function playAudioOfObject(k, dt, dist) + + local objDef = getObjectDefinition(k) + local object = objects.world[k] + local audioInfo = objDef.audioInfo + + local alwaysPlay = audioInfo.alwaysPlay or false + -- If alwaysPlay is true then it won't check the distance of the audio + local checkDistance = not alwaysPlay + + local loopAudio = audioInfo.loop or false + local audioToPlay = audioInfo.audio or "bird_01_flying" + local audioVolume = audioInfo.volume or 1 + + if object.alreadyDisabledAudio == nil then + object.alreadyDisabledAudio = false + end + + if object.alreadyDisabledAudio == false then + if checkDistance == true then + audioVolume = audioVolume - dist / 1000 + if audioVolume > 0 then + object.playAudio = true + else + if _G.res.isAudioPlaying(audioToPlay) == true then + _G.res.stopAudio(audioToPlay) + object.alreadyDisabledAudio = true + end + object.playAudio = false + end + else + object.playAudio = true + end + end + + if object.playAudio == true then + if loopAudio == true then + if _G.res.isAudioPlaying(audioToPlay) == false then + _G.res.playAudio(audioToPlay, audioVolume, true, 4) + end + else + local audioLoopTime = audioInfo.loopTime or 1 + + if object.elapsedAudioTime == nil then + object.elapsedAudioTime = audioLoopTime + if audioInfo.playImmediately == true then + _G.res.playAudio(audioToPlay, audioVolume, false, 4) + end + end + if object.elapsedAudioTime ~= nil then + object.elapsedAudioTime = object.elapsedAudioTime - dt + if object.elapsedAudioTime <= 0 then + object.elapsedAudioTime = audioLoopTime + _G.res.playAudio(audioToPlay, audioVolume, false, 4) + end + end + end + end +end +function spawnParticlesOfObject(k, dt, v) + + local objDef = getObjectDefinition(k) + local object = objects.world[k] + local particlesInfo = objDef.spawnParticles + + local particle = particlesInfo.particle + local particleAmount = _G.math.abs(particlesInfo.amount) + local particleLoopTime = _G.math.abs(particlesInfo.loopTime) or 1 + local waitingTime = _G.math.abs(particlesInfo.waitingTime) or 1 + + if object.elapsedParticleTime == nil then + object.elapsedParticleTime = waitingTime + end + + object.elapsedParticleTime = object.elapsedParticleTime - dt + + if object.elapsedParticleTime < 0 then + object.elapsedParticleTime = particleLoopTime + addParticles(v.name, particle, particleAmount, true, false) + end + +end +function playAnimation(k, dt) + local objDef = getObjectDefinition(k) + local object = objects.world[k] + local animationInfo = objDef.animationSprites + if object.elapsedTime == nil then + object.elapsedTime = animationInfo[1][2] + setSprite(object.name, animationInfo[1][1]) + end + if object.elapsedTime ~= nil then + + local spritesAmount = #animationInfo + + if object.spriteIndex == nil then + object.spriteIndex = 2 + end + + object.elapsedTime = object.elapsedTime - dt + if object.elapsedTime < 0 then + --setVelocity(v1.name, 0, -10) + if object.spriteIndex > spritesAmount then + object.spriteIndex = 1 + end + setSprite(object.name, animationInfo[object.spriteIndex][1]) + object.elapsedTime = animationInfo[object.spriteIndex][2] + object.spriteIndex = object.spriteIndex+1 + end + end +end + +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ABPR_GAMELOGIC.lua.bak b/Angry Birds Project R/2.3.0/data/scripts_common/ABPR_GAMELOGIC.lua.bak new file mode 100644 index 0000000000000000000000000000000000000000..eb5c58f0fa470f55305dde3064d00a6ed239cc27 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/ABPR_GAMELOGIC.lua.bak @@ -0,0 +1,11515 @@ +-- Hello fellow modder, if you're reading this and not part of the dev team, I reccommend closing this file. +--Not all of the custom code in this game is by me, if you want to take anything... +-- refer to the tutorial_abclassicseries channel in the AB Modding hub. If it's not on there... +-- Then don't take it. Thank you. +function loadFiles() + loadLuaFileToObject(scriptPath .. "/options.lua", this, "options") + loadLuaFile(commonScriptPath .. "/default_conf.lua", "") + loadLuaFile(scriptPath .. "/game_conf.lua", "") + loadLuaFile(commonScriptPath .. "/utils.lua", "") + loadLuaFileToObject(commonScriptPath .. "/events.lua", this, "events") + loadLuaFileToObject(commonScriptPath .. "/subsystemsapi.lua", this, "subsystemsapi") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Frame.lua", this, "ui") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Text.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TextButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Image.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BGBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ImageButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScallableButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/StaticButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ProgressBar.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/AudioToggleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/GridFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/SliderFrame.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/ScrollFrame2.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/TiledImage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/BackgroundBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Slider.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/Rect.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/InvisibleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/ui_components/MenuManager.lua", this, "MenuManager") + loadLuaFileToObject(commonScriptPath .. "/menus/MightyEagleButton.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/Prompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/MessageBox.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/ConfirmPrompt.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/GameHud.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/PausePage.lua", this.ui, "") + loadLuaFileToObject(commonScriptPath .. "/menus/NotificationsFrame.lua", this.ui, "") + notificationsFrame = ui.NotificationsFrame:new() + loadLuaFileToObject(commonScriptPath .. "/menus/rovio_news.lua", this.ui, "") + loadLuaFileToObject(scriptPath .. "/episodes.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/loadgroups.lua", this, "_") + loadLuaFileToObject(scriptPath .. "/menus/episode_selection_extra.lua", this, "_") + loadLuaFile(scriptPath .. "/select_profiles.lua", "") + loadLuaFile(scriptPath .. "/menu_flow.lua", "") + loadLuaFile(scriptPath .. "/level_scripts.lua", "") + loadLuaFile(commonScriptPath .. "/powerups.lua", "") + loadLuaFile(commonScriptPath .. "/powerups2.lua", "") + loadLuaFile(scriptPath .. "/iap.lua", "") + loadLuaFile(scriptPath .. "/achievements.lua", "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/subsystems.lua", this, "subsystems") + loadLuaFileToObject(commonScriptPath .. "/EventManager.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/timer.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/flurry.lua", this.subsystems, "") + loadLuaFileToObject(commonScriptPath .. "/subsystems/loader.lua", this.subsystems, "") + loadLuaFileToObject(scriptPath .. "/subsystems/achievementProcessor.lua", this.subsystems, "") + if showEditor then + loadLuaFile(commonScriptPath .. "/../editor/editor.lua", "") + else + function updateEditor() + end + end + loadLuaFileToObject(commonScriptPath .. "/menus/infoFrame.lua", this, "info") + loadLuaFile(commonScriptPath .. "/menus/MEPage.lua", "") + loadLuaFile(commonScriptPath .. "/menus/daily_reward.lua", "") + if deviceModel == "android" or isLiteVersion then + loadLuaFile(commonScriptPath .. "/menus/AdsOffPage.lua", "") + end + if subsystemsapi:isAndroid() then + loadLuaFile(commonScriptPath .. "/menus/GoogleCheckoutPage.lua", "") + end + if customerString == "nook" then + loadLuaFileToObject(scriptPath .. "/subsystems/Nook.lua", this.subsystems, "") + end + loadLuaFile(commonScriptPath .. "/menus/ProcessManager.lua", "") + loadLuaFile(commonScriptPath .. "/menus/cutscene.lua", "") + loadLuaFile(commonScriptPath .. "/settingsWrapper.lua", "") + loadLuaFile(scriptPath .. "/game_settings_wrapper.lua", "") + loadLuaFile(commonScriptPath .. "/subsystems/adsSubsystem.lua", "") + loadLuaFile(scriptPath .. "/cutscenes.lua", "cutscenes") + loadLuaFile(commonScriptPath .. "/level_effects.lua", "") + loadLuaFile(commonScriptPath .. "/level_utils.lua", "") + if ABIDEnabled then + loadLuaFileToObject(scriptPath .. "/ABSync.lua", this, "utils") + loadLuaFileToObject(scriptPath .. "/ABIDUtils.lua", this, "ABIDUtils") + loadLuaFileToObject(scriptPath .. "/subsystems/ABIDSubSystem.lua", this.subsystems, "") + end + if g_ABsync_enabled then + loadLuaFileToObject(commonScriptPath .. "/subsystems/ABsync.lua", this, "ABsync") + rovioProfile = {} + end + loadLuaFile(commonScriptPath .. "/menus/splashes.lua", "") + loadLuaFile(scriptPath .. "/menus/splashes.lua", "") + if g_registrationEnabled then + loadLuaFileToObject(scriptPath .. "/menus/registration_dialog.lua", this, "DRM") + loadLuaFileToObject(scriptPath .. "/PC_DRM.lua", this.DRM, "") + end + if deviceModel == "osx" then + loadLuaFileToObject(commonScriptPath .. "/trackpad.lua", this, "OSX") + end + if deviceModel == "windows" or devwModel == "osx" then + loadLuaFile(commonScriptPath .. "/menus/resolution.lua", "") + end + if cheatsEnabled then + loadLuaFileToObject(commonScriptPath .. "/menus/DebugConsole.lua", this, "DebugConsole") + end + loadLuaFileToObject(commonScriptPath .. "/subsystems/notifications.lua", this, "Notifications") +end +loadFiles() +postHighscores = true +g_forceFunctions = {} +loadlist = {} +g_menu_particle_scale = 1 +waterMaxBuoyancyDepth = 5 +g_eagleClickedFrom = nil +g_isRegistered = false +g_cursorEnabled = false +g_updateAvailable = false +g_currentCursorName = "CURSOR_HAND_POINT" +g_usingGestureControls = false +debugShowGameCenter = false +g_haveEagleScores = false +g_freeEagleUnlockStatus = {} +g_menu_sequence = {} +iOS = false +if deviceModel == "iphone" or deviceModel == "ipad" then + iOS = true +end +g_isPC = false +if deviceModel == "windows" or deviceModel == "osx" then + g_isPC = true +end +if releaseBuild then + showEditor = false + postHighscores = true + function _G.assert() + end +end +function _G.assert() +end +function but() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "AB Classic With Seasons 2.3.0", + content = "Ported to Windows by ...Vanya456", + box_width = 0.5 + }) + }) + end +subSystemsList = {} +processManager = ProcessManager:new() +eventManager = nil +achievementProcessor = nil +function startLevel() + eventManager:notify({ + id = events.EID_LEVEL_LOADING_DONE + }) + if not startedFromEditor then + eventManager:notify({ + id = events.EID_GOTO_GAME + }) + end +end +function getLevelNumber(levelName) + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + if g_episodes[i].pages[j].levels[k].name == levelName then + return k + end + end + end + end + return 0 +end +function getLevelIndexInEpisode(level) + for i = 1, #g_episodeIds do + local index = 1 + for j = 1, #g_episodes[g_episodeIds[i]].pages do + for k = 1, #g_episodes[g_episodeIds[i]].pages[j].levels do + if g_episodes[g_episodeIds[i]].pages[j].levels[k].name == level then + return index + end + index = index + 1 + end + end + end + return nil +end +function getLevelById(level) + for _, k in _G.ipairs(g_episodeIds) do + local v = g_episodes[k] + for i = 1, #v.pages do + for j = 1, #v.pages[i].levels do + if v.pages[i].levels[j].name == level then + return v.pages[i].levels[j], k, i, j + end + end + end + end + return nil +end +function getNextLevel(level) + local next = false + for k, _ in allLevels() do + if k == level then + next = true + elseif next then + return k + end + end + return nil +end +function allLevels() + local iterator = function(_, i) + if i == nil then + local level = g_episodes[g_episodeIds[1]].pages[1].levels[1] + return level.name, level + end + local _, episode, page, index = getLevelById(i) + for j = 1, #g_episodeIds do + if g_episodeIds[j] == episode then + episode = j + break + end + end + index = index + 1 + if index > #g_episodes[g_episodeIds[episode]].pages[page].levels then + page = page + 1 + index = 1 + if page > #g_episodes[g_episodeIds[episode]].pages then + episode = episode + 1 + page = 1 + if episode > #g_episodeIds then + return nil + end + end + end + local level = g_episodes[g_episodeIds[episode]].pages[page].levels[index] + return level.name, level + end + return iterator, nil, nil +end +function allEpisodes() + local iterator = function(_, i) + if i == nil then + local episode = g_episodes[g_episodeIds[1]] + return g_episodeIds[1], episode + end + local episode + for j = 1, #g_episodeIds do + if g_episodeIds[j] == i then + episode = j + break + end + end + episode = episode + 1 + if g_episodeIds[episode] == nil then + return nil + end + return g_episodeIds[episode], g_episodes[g_episodeIds[episode]] + end + return iterator, nil, nil +end +function isNextLevelButtonDisabled(level_id) + local level, episode, page, _ = getLevelById(level_id) + local disable_next_button = false + if g_episodes[episode].disable_next_level_button then + disable_next_button = true + end + if g_episodes[episode].pages[page].disable_next_level_button or g_episodes[episode].pages[page].golden_egg_end_screen then + disable_next_button = true + elseif g_episodes[episode].pages[page].disable_next_level_button == false then + disable_next_button = false + end + if level.disable_next_level_button then + disable_next_button = true + elseif level.disable_next_level_button == false then + disable_next_button = false + end + return disable_next_button +end +function isEagleDisabled(level_id) + if g_eagle_disabled then + return true + end + local level, episode, page, _ = getLevelById(level_id) + if level == nil then + return true + end + local mighty_eagle_disabled = false + if g_episodes[episode].mighty_eagle_disabled then + mighty_eagle_disabled = true + end + if g_episodes[episode].pages[page].mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif g_episodes[episode].pages[page].mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + if level.mighty_eagle_disabled then + mighty_eagle_disabled = true + elseif level.mighty_eagle_disabled == false then + mighty_eagle_disabled = false + end + return mighty_eagle_disabled +end +function isPowerupsDisabled(level_id) + if g_powerups_disabled then + return true + end +end +function prepareLevel(meta, eventFrom) + setEditing(false) + setPhysicsEnabled(false) + local previous_level_count = 0 + for i = 1, meta.page - 1 do + previous_level_count = previous_level_count + #g_episodes[meta.episode].pages[meta.page].levels + end + currentLevelNumber = previous_level_count + meta.level + currentLevelNumberInTheme = getLevelNumber(meta.levelName) + currentThemeNumber = meta.episode + currentWorldNumber = g_episodes[meta.episode].pages[meta.page].world_number + currentPageNumber = meta.page + levelFolder = "levels/" .. g_episodes[meta.episode].pages[meta.page].folder_name .. "/" + levelName = meta.levelName + numberOfAttemptsInLevel = 1 + currentEpisode = meta.episode + if g_episodes[meta.episode].no_level_progression or g_episodes[meta.episode].pages[meta.page].no_level_progression then + settingsWrapper:setGoldenEggPlayed(levelName) + eventManager:notify({ + id = events.EID_GE_LEVEL_STARTED, + levelName = levelName + }) + else + eventManager:notify({ + id = events.EID_LEVEL_STARTED, + levelName = levelName, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + from = eventFrom + }) + end + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +loadFrameCount = 0 +gameluaMenuListener = { + eventTriggered = function(o, event) + if event.id == events.EID_FULLSCREEN_AD_SHOWING then + menuManager.delegateBackClicks = false + if settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = true + end + end + if event.id == events.EID_FULLSCREEN_AD_DISMISSED then + menuManager.delegateBackClicks = true + if changeAudioBackAfterAd and not settingsWrapper:isAudioEnabled() then + changeAudio() + changeAudioBackAfterAd = false + end + end + if event.id == events.EID_EXIT_FROM_MAIN_REQUESTED then + requestExit() + end + if event.id == events.EID_LEVEL_RESTART_CLICKED then + restartLevelIngame(event.hidden) + end + if event.id == events.EID_PAUSE_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(false) + setGameMode(function() + end) + end + if event.id == events.EID_BACK_TO_GAME_CLICKED then + _G.res.playAudio("menu_select") + setPhysicsEnabled(true) + hidePauseMenu() + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + setGameMode(updateGame) + skipInput = true + end + if event.id == events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED then + if event.from == "LEVEL_FAILED" then + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + elseif event.from == "INGAME" then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + end + if event.id == events.EID_GOTO_FACEBOOK_CONNECT then + gotoABFBConnect() + end + if event.id == events.EID_TWITTER_OPENED then + settingsWrapper:setTwitterFollowed() + openURL(AB_TWITTER_URL) + end + if event.id == events.EID_QZONE_OPENED then + settingsWrapper:setFbPageLiked() + openURL(AB_QZONE_URL) + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLICKED then + print(" ### EID_GOOGLE_CHECKOUT_CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_OPERATOR_CHECKOUT_CLICKED then + print(" ### OPERATOR CHECKOUT CLICKED; ITEM = " .. event.item) + end + if event.id == events.EID_MIGHTY_EAGLE_BUTTON_CLICKED then + if startedFromEditor then + launchMightyBait() + else + g_eagleClickedFrom = event.from + if isEagleEnabled() == true then + if event.from and event.from == "MAIN_MENU" then + return + end + if isEagleUnavailableForShot() == true then + eagleInfoTimer = 3 + else + launchMightyBait() + if event.from == "LEVEL_FAILED" then + menuManager:changeRoot(g_hud_class:new()) + end + end + elseif event.from == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = MEPage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif event.from == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePage:new()) + elseif event.from == "INGAME" then + goToMightyEagleDemoPageFromGame() + end + end + skipInput = true + end + if event.id == events.EID_LEVEL_LOADING_INIT then + end + if event.id == events.EID_SHOW_LOADING_PAGE then + menuManager:setAllowInput(false) + end + if event.id == events.EID_HIDE_LOADING_PAGE then + menuManager:setAllowInput(true) + end + if event.id == events.EID_GOLDEN_EGG_FROM_MENU then + revealGoldenEgg(event.levelName) + end + if event.id == events.EID_BOOMERANG_BIRD_POPUP then + showRewardPopup("BOOMERANG_BIRD") + end + if event.id == events.EID_STAR_POPUP then + showRewardPopup("STAR", { + first_time = event.first_time + }) + end + if event.id == events.EID_REWARD_POPUP then + showRewardPopup("GENERIC_REWARD", { + sprite = event.sprite, + sound = event.sound + }) + end + if event.id == events.EID_CHANGE_SCENE then + if not event.dontClearParticles then + clearParticles() + end + if event.from == "INGAME" then + setGameMode(function() + end) + _G.res.stopAllAudio() + stopIngameSounds() + end + end + if event.id == events.EID_LEVEL_COMPLETED then + loginfo(" EID_LEVEL_COMPLETED. levelName = " .. event.levelName .. " eagleBaitLaunched=" .. _G.tostring(event.eagleBaitLaunched) .. "\n") + if event.eagleBaitLaunched ~= true and settingsWrapper:removeEagleUsedInLevel(event.levelName) then + loginfo("removing eagle used in from " .. event.levelName) + settingsWrapper:setEagleUsedTime(nil) + removeNotification("mightyEagleAvailable") + end + local level, episode, page, index = getLevelById(event.levelName) + if settingsWrapper:getLastOpenLevel(episode) <= getLevelIndexInEpisode(event.levelName) and not g_episodes[episode].no_level_progression and not g_episodes[episode].pages[page].no_level_progression then + settingsWrapper:incrementLastOpenLevel(episode) + saveLuaFileWrapper("settings.lua", "settings", true) + end + end + if event.id == events.EID_CHANGE_LEVEL then + local meta = event.data + if g_level_scripts[meta.levelName] and g_level_scripts[meta.levelName].onPrepareOverride then + g_level_scripts[meta.levelName].onPrepareOverride() + else + prepareLevel(meta, event.from) + end + end + if event.id == events.EID_GAMELUA_POPUP then + dummyPopupPage.rootContainer = event.root + setActivePopupPage(dummyPopupPage) + end + if event.id == events.EID_EXIT_CONFIRMED then + requestExit() + end + if event.id == events.EID_EXIT_GAME then + if deviceModel ~= "android" and not g_isPC then + requestExit() + else + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_EXIT_CONFIRM", + confirmOnLeft = deviceModel ~= "osx", + reverse_back_key = deviceModel == "android", + confirm_event = { + id = events.EID_EXIT_CONFIRMED + }, + reverse_back_key = deviceModel == "android" + })) + end + end + if event.id == events.EID_GOTO_GAME then + initCameras() + setGameMode(updateGame) + g_drawHud = true + if settingsWrapper:isAudioEnabled() then + setMusicVolume(1) + setEffectsVolume(1) + end + menuManager:changeRoot(g_hud_class:new()) + end + if event.id == events.EID_LOAD_INTRO_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_INTRO_CUTSCENE, + cutscene = event.cutscene, + data = event.data + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_INTRO_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_CHANGE_LEVEL, + data = event.data + })) + end + if event.id == events.EID_LOAD_END_CUTSCENE then + local play_cutscene = { + id = events.EID_PLAY_END_CUTSCENE, + cutscene = event.cutscene, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {loadCutScenes}, + completion_event = play_cutscene + }) + end + if event.id == events.EID_PLAY_END_CUTSCENE then + menuManager:changeRoot(CutScene:new(event.cutscene, { + id = events.EID_END_CUTSCENE_FINISHED, + episode = event.episode, + page = event.page, + level_index = event.level_index + })) + end + if event.id == events.EID_END_CUTSCENE_FINISHED then + local return_event = { + id = events.EID_RETURN_TO_MENU_FROM_CUTSCENE, + episode = event.episode, + page = event.page, + level_index = event.level_index + } + eventManager:notify({ + id = events.EID_DO_LOADING, + items = {releaseCutScenes}, + completion_event = return_event + }) + end + if event.id == events.EID_RETURN_TO_MENU_FROM_CUTSCENE then + if not g_episodes[event.episode].pages[event.page].levels[event.level_index].episode_end and not g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_SCROLL_TO_NEXT_WORLD, + episode = event.episode + }) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif g_episodes[event.episode].pages[event.page].levels[event.level_index].temporary_end then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. event.episode + }) + elseif event.episode == #g_episodes then + local credits_event = { + id = events.EID_GOTO_CREDITS + } + eventManager:notify(credits_event) + _G.res.playAudio(getAudioName"credits_music", 1,true) + else + if _G.tonumber(event.episode) then + eventManager:notify({ + id = events.EID_SCROLL_TO_EPISODE, + from = event.episode, + to = event.episode + 1 + }) + end + local episode_event = { + id = events.EID_CHANGE_SCENE, + target = "EPISODE_SELECTION" + } + eventManager:notify(episode_event) + end + end + if event.id == events.EID_GOTO_CREDITS then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "CREDITS" + }) + end + if event.id == events.EID_LEVEL_PLAYED_WITH_EAGLE then + local eagle_already_used = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == event.level then + eagle_already_used = true + end + end + if not event.skipped then + eagle_already_used = true + end + if event.level ~= nil and highscores[event.level] ~= nil and highscores[event.level].score > 0 then + eagle_already_used = true + loginfo("eagle was already used in level (score found)") + end + if not eagle_already_used then + settingsWrapper:setEagleUsedInLevel(event.level) + settingsWrapper:setEagleUsedTime(currentTime()) + local eagleNotificationText = _G.res.getString("TEXTS_BASIC", "TEXT_MIGHTY_EAGLE_RETURNS") + addNotificationAfter("mightyEagleAvailable", eagleLockedTime, eagleNotificationText) + end + end + if event.id == events.EID_THREE_STARS_GAINED then + local _, episode, _, _ = getLevelById(event.level) + local stars, total_stars = calculateEpisodeStars(episode) + if stars == total_stars and not settingsWrapper:isEpisodeThreeStarred(episode) and not g_episodes[episode].disable_episode_completion_screens then + eventManager:notify({ + id = events.EID_EPISODE_THREE_STARRED, + episode = episode + }) + end + end + if event.id == events.EID_EPISODE_THREE_STARRED then + settingsWrapper:setEpisodeThreeStarred(event.episode) + if g_episodes[event.episode].three_stars_goldenegg then + if g_episodes[event.episode].three_stars_goldenegg.level then + settingsWrapper:unlockGoldenEgg(g_episodes[event.episode].three_stars_goldenegg.level) + highscores[g_episodes[event.episode].three_stars_goldenegg.level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GENERIC_REWARD", { + sprite = g_episodes[event.episode].three_stars_goldenegg.sprite, + sound = g_episodes[event.episode].three_stars_goldenegg.sprite or "goldenegg" + }) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + else + goldenEggAchieved(g_episodes[event.episode].three_stars_goldenegg) + end + end + end + if event.id == events.EID_STARS_GAINED then + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + event.stars) + end + if event.id == events.EID_WORLD_COMPLETED then + settingsWrapper:setThemeCompleted(event.worldNumber) + end + if event.id == events.EID_LEVEL_ENDED then + levelCompleteTimer = 0 + lastScoreTime = 0 + endTimeout = false + if startedFromEditor then + return + end + setPhysicsEnabled(false) + setGameMode(function() + end) + stopIngameSounds() + if not g_special_game_mode then + levelEnded(event) + end + end + if event.id == events.EID_SHOW_TUTORIALS then + birdTutorialPopups = {} + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + addTutorial(birdTutorialPopups, v) + end + end + if settingsWrapper:getTutorialsForItem("BIRD_RED") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_RED").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BLUE").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_YELLOW") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_YELLOW").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREEN") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREEN").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_GREY") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_GREY").sprite) + end + if settingsWrapper:getTutorialsForItem("SANTA_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("SANTA_BOMB").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BOOMERANG").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_BIG_BROTHER").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PUFFER_1").sprite) + end + if settingsWrapper:getTutorialsForItem("BIRD_PINK") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BIRD_PINK").sprite) + end + if settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("RED_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BLUE_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("YELLOW_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOMB_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("EGG_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("GREEN_PIG_NORMAL").sprite) + end + if settingsWrapper:getTutorialsForItem("BRUTE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BRUTE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_PURPLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BLUE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("CANNON_BOMB") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("CANNON_PURPLE").sprite) + end + if settingsWrapper:getTutorialsForItem("BARTLETT") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BARTLETT").sprite) + end + if settingsWrapper:getTutorialsForItem("BOUNCI") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BOUNCI").sprite) + end + if settingsWrapper:getTutorialsForItem("ANGELO_IDLE") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("ANGELO_IDLE").sprite) + end + if settingsWrapper:getTutorialsForItem("TELEPIG") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("TELEPIG").sprite) + end + if settingsWrapper:getTutorialsForItem("PEPPINO") then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("PEPPINO").sprite) + end + if settingsWrapper:getTutorialsForItem("BAIT_SARDINE") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("BAIT_SARDINE").sprite) + end + if settingsWrapper:getTutorialsForItem("DRAGON_FISH") ~= nil then + _G.table.insert(birdTutorialPopups, settingsWrapper:getTutorialsForItem("DRAGON_FISH").sprite) + end + if 1 < #birdTutorialPopups then + eventManager:notify({ + id = events.EID_SHOW_TUTORIAL, + tutorial = birdTutorialPopups[1], + _G.res.playAudio("star_collect"), + from = "PAUSE_MENU" + }) + end + end + if event.id == events.EID_SHOW_TUTORIAL then + _G.table.remove(birdTutorialPopups, 1) + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + end + if useDynamicAssets then + dynamic.load({"tutorials"}) + end + g_tutorialActive = { + tutorial = event.tutorial, + from = event.from + } + if _G.type(event.tutorial) == "string" and not g_disableAnimatedTutorials then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = AnimatedTutorial:new(event.tutorial) + }) + else + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = Tutorial:new(event.tutorial) + }) + end + if event.from == "INGAME" then + setPhysicsEnabled(false) + setGameMode(function() + end) + end + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME then + setPhysicsEnabled(false) + function currentGameMode() + end + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = AdsOffPage:new() + }) + end + if event.id == events.EID_ADS_PURCHASE_OFF_CLICKED then + purchaseAdRemoval() + end + if event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame ~= true then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + end + if event.id == events.EID_ADS_PURCHASE_CLOSE_CLICKED or event.id == events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED and event.inGame == true then + menuManager:changeRoot(g_hud_class:new()) + setGameMode(updateGame) + setPhysicsEnabled(true) + end + if event.id == events.EID_CLOSE_TUTORIAL then + local tutorial = g_tutorialActive + if #birdTutorialPopups == 0 then + setPhysicsEnabled(true) + setGameMode(updateGame) + g_tutorialActive = nil + eventManager:notify({ + id = events.EID_POP_FRAME + }) + eventManager:notify({ + id = events.EID_TUTORIALS_DONE + }) + else + g_tutorialActive.ready_for_next_tutorial = true + end + end + if event.id == events.EID_SKIP_TUTORIALS then + birdTutorialPopups = {} + if g_tutorialActive then + eventManager:notify({ + id = events.EID_POP_FRAME + }) + g_tutorialActive = nil + end + end + if event.id == events.EID_LEAVE_GAME then + end + if event.id == events.EID_SHOW_REGISTRATION_DIALOG then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = DRM.RegistrationDialog:new(event.from, event.success_event, event.success_call) + }) + end + if event.id == events.EID_UPDATE_GAME then + callVersionUpdater() + requestExit() + end + if event.id == events.EID_TOGGLE_FULLSCREEN then + if isInFullScreenMode() then + setFullScreenMode(false) + else + setFullScreenMode(true) + end + end + if event.id == events.EID_POWERUP_WILL_BE_USED then + print(" consuming powerup of type " .. _G.tostring(event.type) .. "\n") + settingsWrapper:consumeItem(event.type) + _G.table.insert(g_powerups_used, event.type) + eventManager:notify({ + id = events.EID_POWERUP_WAS_USED, + type = event.type, + total_used = #g_powerups_used, + level = levelName + }) + end + if event.id == events.EID_CONTINUE_MENU_SEQUENCE then + if #g_menu_sequence > 0 then + local menu = _G.table.remove(g_menu_sequence, 1) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = menu + }) + else + print(" attempted to continue empty menu sequence\n") + end + end + if event.id == events.EID_PUSH_TO_MENU_SEQUENCE then + _G.table.insert(g_menu_sequence, event.menu) + end + end +} +function levelEnded(event) + local level, episode, page, index = getLevelById(event.level) + local first_time = true + if highscores[event.level] and highscores[event.level].completed then + first_time = false + end + if highscores[event.level] == nil then + highscores[event.level] = {score = 0} + end + if highscores[event.level].score == nil then + highscores[event.level].score = 0 + end + if highscores[event.level].legitScore == nil then + highscores[event.level].legitScore = highscores[event.level].score + end + if not highscores[event.level].completed and event.levelComplete then + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_FIRST_TIME, + level = event.level + }) + highscores[event.level].completed = true + end + local stars = 0 + if event.levelComplete and (g_episodes[episode].extra or g_episodes[episode].pages[page].golden_egg_end_screen) then + local old_highscore = highscores[event.level].score or 0 + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + addParticles = "smokeBuff", + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels() + } + }) + end + menuManager:changeRoot(LevelEndRoot:new()) + local end_page = GoldenEggComplete:new(event.level, event.score, old_highscore, { + powerups_used = 0 < #g_powerups_used + }) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif event.levelComplete and not eagleBaitLaunched then + stars = getStarCount(event.level, event.score) + local old_highscore = highscores[event.level].score or 0 + local old_ep_stars, total_stars = calculateEpisodeStars(episode) + if event.score > highscores[event.level].score then + eventManager:notify({ + id = events.EID_NEW_HIGHSCORE, + level = event.level, + oldHighscore = highscores[event.level].score, + newHighscore = event.score + }) + highscores[event.level].score = event.score + highscores[event.level].birds = birdsShot + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + setPostedStatus(event.level) + end + end + if #g_powerups_used == 0 and event.score > highscores[event.level].legitScore then + highscores[event.level].legitScore = event.score + end + local new_ep_stars = calculateEpisodeStars(episode) + if highscores[event.level].lowScore == nil or event.score < highscores[event.level].lowScore then + highscores[event.level].lowScore = event.score + end + if event.score >= starTable[event.level].goldScore then + eventManager:notify({ + id = events.EID_THREE_STARS_GAINED, + level = event.level + }) + end + eventManager:notify({ + id = events.EID_STARS_GAINED, + level = event.level, + stars = stars + }) + if iOS then + postTotalHighScores() + if not isLiteVersion then + postLevelHighScore(levelName, highscores[levelName].score, true) + end + end + local end_stars = stars + local end_page = LevelComplete:new({ + powerups_used = 0 < #g_powerups_used + }, event.level, first_time, end_stars, event.score, old_highscore, isEagleUnavailableForShot()) + local episode_completed = false + local episode_three_starred = false + if stars == 3 and total_stars <= new_ep_stars and old_ep_stars < new_ep_stars and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeThreeStars:new(nil, end_page, episode) + episode_three_starred = true + end + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + if not episode_three_starred then + end_page = EpisodeComplete:new(nil, end_page, episode) + end + episode_completed = true + end + local reward = 0 + if g_powerups_enabled then + if episode_completed and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode)) + reward = reward + 5 + end + if episode_three_starred and not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode) .. "3stars") then + settingsWrapper:setRewardCollected("episode" .. _G.tostring(episode) .. "3stars") + reward = reward + 5 + end + end + if settingsWrapper:isChildlockOn() then + reward = 0 + end + g_episode_rewards = false + if 0 < reward then + if not episode_completed then + bundleReward(reward) + else + g_episode_rewards = reward + end + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + elseif eagleBaitLaunched then + print(" score for " .. _G.tostring(event.level) .. ": " .. _G.tostring(event.score) .. "\n") + local eagle_score = _G.math.min(_G.math.floor(event.score / starTable[event.level].eagleScore * 100), 100) + local old_eagle_score = highscores[event.level].eagleScore or 0 + if eagle_score > old_eagle_score then + eventManager:notify({ + id = events.EID_NEW_EAGLE_HIGHSCORE, + level = event.level, + oldHighscore = old_eagle_score, + newHighscore = eagle_score + }) + storeEagleScore(event.level, eagle_score) + if 100 <= eagle_score then + eventManager:notify({ + id = events.EID_EAGLE_FEATHER_GAINED, + level = event.level + }) + end + end + if highscores[event.level].eagleScoreMax == nil or event.score > highscores[event.level].eagleScoreMax then + highscores[event.level].eagleScoreMax = event.score + end + if highscores[event.level].eagleScoreMin == nil or event.score > highscores[event.level].eagleScoreMin then + highscores[event.level].eagleScoreMin = event.score + end + print("level played using mighty eagle\n") + eventManager:notify({ + id = events.EID_LEVEL_PLAYED_WITH_EAGLE, + level = event.level, + skipped = first_time + }) + local end_page = EagleScore:new(nil, event.level, first_time, eagle_score, old_eagle_score) + local episode_completed = false + if level.episode_end and first_time and not g_episodes[episode].disable_episode_completion_screens then + end_page = EpisodeComplete:new(nil, end_page, episode) + episode_completed = true + end + if not episode_completed or not settingsWrapper:isRewardCollected("episode" .. _G.tostring(episode)) then + end + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = end_page + }) + else + menuManager:changeRoot(LevelEndRoot:new()) + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = LevelFailed:new(event.level, not isEagleUnavailableForShot(), not first_time) + }) + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + if event.levelComplete then + local level, e, w, levelNumber = getLevelById(event.level) + if levelNumber == #g_episodes[episode].pages[page].levels then + eventManager:notify({ + id = events.EID_EPISODE_COMPLETED, + episodeNumber = e + }) + end + if not g_episodes[episode].extra and not g_episodes[episode].pages[page].extra and g_episodes[episode].pages[page].world_number and 0 < g_episodes[episode].pages[page].world_number and index == #g_episodes[episode].pages[page].levels then + local first_time_completed = not settingsWrapper:isThemeCompleted(g_episodes[episode].pages[page].world_number) + eventManager:notify({ + id = events.EID_WORLD_COMPLETED, + worldNumber = g_episodes[episode].pages[page].world_number, + firstTime = first_time_completed, + clearAchievement = g_episodes[episode].pages[page].clear_achievement + }) + end + if not g_episodes[episode].extra then + local episode_stars, episode_total_stars = calculateEpisodeStars(episode) + eventManager:notify({ + id = events.EID_LEVEL_COMPLETED, + levelName = event.level, + totalScore = calculateEpisodeScore(episode), + gainedStars = stars, + themeNumber = episode, + stars = episode_stars, + totalStars = episode_total_stars, + cumulativeStars = settingsWrapper:getCumulativeStars(), + extraWorld = g_episodes[episode].extra, + feathers = calculateAllFeathers(), + scoreAchievementLimit = g_episodes[episode].score_achievement_limit, + eagleBaitLaunched = eagleBaitLaunched + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_COMPLETED, + level = event.level, + }) + end + elseif not g_episodes[episode].extra then + eventManager:notify({ + id = events.EID_LEVEL_FAILED, + level = event.level + }) + else + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FAILED, + level = event.level + }) + end +end +function purchaseCheckoutErrorCallback() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_NETWORK_ERROR_TITLE", + content = "TEXT_NETWORK_ERROR" + }) + }) +end +function notifyEventManager(event, params) + if eventManager then + params = params or {} + params.id = event + eventManager:notify(params) + end +end +function initSubsystems() + achievementProcessor = subsystems.AchievementProcessor:new() + achievementProcessor:checkForAchievements() + adSystem = AdsSubSystem:new() + linkListener = subsystems.LinkListener:new() + if showEditor then + editorListener = Editor:new() + end + flurry = subsystems.Flurry:new() + loaderSystem = subsystems.Loader:new() + if customerString == "nook" then + nook_subsystem = subsystems.NookSubsystem:new() + end + if ABIDEnabled then + ABIDSubSystem = subsystems.ABIDSubSystem:new() + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABIDSubSystem) + eventManager:addEventListener(events.EID_ABID_CLICKED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_PAUSED, ABIDSubSystem) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABIDSubSystem) + end + if g_ABsync_enabled then + eventManager:addEventListener(events.EID_GAME_INITIALIZED, ABsync) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, ABsync) + eventManager:addEventListener(events.EID_CHANGE_SCENE, ABsync) + eventManager:addEventListener(events.EID_NEXT_LEVEL, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGIN_SUCCESS, ABsync) + eventManager:addEventListener(events.EID_ROVIO_ID_LOGOUT, ABsync) + eventManager:addEventListener(events.EID_GAME_DEACTIVATED, ABsync) + eventManager:addEventListener(events.EID_GAME_RESUMED, ABsync) + end + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, notificationsFrame) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, notificationsFrame) + eventManager:addEventListener(events.EID_PROCESS_FINISHED, notificationsFrame) + eventManager:addEventListener(events.EID_GOLDEN_EGG_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, achievementProcessor) + eventManager:addEventListener(events.EID_TUTORIAL_WATCHED, achievementProcessor) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, achievementProcessor) + eventManager:addEventListener(events.EID_BLOCKS_DESTROYED, achievementProcessor) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP_SHOWN, achievementProcessor) + eventManager:addEventListener(events.EID_BIRD_SHOT, achievementProcessor) + eventManager:addEventListener(events.EID_BIRDS_COLLIDED_ON_FLY, achievementProcessor) + eventManager:addEventListener(events.EID_ACHIEVEMENT_BULLSEYE, achievementProcessor) + eventManager:addEventListener(events.EID_CAKE_COLLECTED, achievementProcessor) + eventManager:addEventListener(events.EID_SPACE_INVANDER, achievementProcessor) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_MAIN_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_GAMELUA_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHANGE_SCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FROM_MENU, gameluaMenuListener) + eventManager:addEventListener(events.EID_BOOMERANG_BIRD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_STAR_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_REWARD_POPUP, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, gameluaMenuListener) + eventManager:addEventListener(events.EID_THREE_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EPISODE_THREE_STARRED, gameluaMenuListener) + eventManager:addEventListener(events.EID_STARS_GAINED, gameluaMenuListener) + eventManager:addEventListener(events.EID_WORLD_COMPLETED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_ENDED, gameluaMenuListener) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, gameluaMenuListener) + eventManager:addEventListener(events.EID_START_NEXT_CHALLENGE_LEVEL, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, gameluaMenuListener) + eventManager:addEventListener(events.EID_TWITTER_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_QZONE_OPENED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEAVE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_PURCHASE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_INIT, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_HIDE_LOADING_PAGE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_LOAD_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_INTRO_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PLAY_END_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_RETURN_TO_MENU_FROM_CUTSCENE, gameluaMenuListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_END_CUTSCENE_FINISHED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_CREDITS, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOTO_SETTINGS, gameluaMenuListener) + eventManager:addEventListener(events.EID_PAUSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_BACK_TO_GAME_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_LEVEL_RESTART_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_EXIT_CONFIRMED, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_SHOWING, gameluaMenuListener) + eventManager:addEventListener(events.EID_FULLSCREEN_AD_DISMISSED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_OPERATOR_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_GOOGLE_CHECKOUT_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_POWERUP_WILL_BE_USED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_CLOSE_TUTORIAL, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_SKIP_TUTORIALS, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED_INGAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_CLOSE_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_ADS_PURCHASE_OFF_CLICKED, gameluaMenuListener) + eventManager:addEventListener(events.EID_SHOW_REGISTRATION_DIALOG, gameluaMenuListener) + eventManager:addEventListener(events.EID_UPDATE_GAME, gameluaMenuListener) + eventManager:addEventListener(events.EID_TOGGLE_FULLSCREEN, gameluaMenuListener) + if showEditor then + eventManager:addEventListener(events.EID_LEVEL_ENDED, editorListener) + end + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_AB_SHOP_CLICKED, linkListener) + eventManager:addEventListener(events.EID_ALEX_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LENOVO_ADFREE_CLICKED, linkListener) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_SEASONS_CLICKED, linkListener) + eventManager:addEventListener(events.EID_CLASSIC_CLICKED, linkListener) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, linkListener) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, linkListener) + eventManager:addEventListener(events.EID_LEVEL_PLAYED_WITH_EAGLE, flurry) + eventManager:addEventListener(events.EID_EAGLE_FEATHER_GAINED, flurry) + eventManager:addEventListener(events.EID_NEW_HIGHSCORE, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED, flurry) + eventManager:addEventListener(events.EID_LEVEL_FAILED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_STARTED_FIRSTTIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_RESTARTED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_FAILED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_COMPLETE_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_CHALLENGE_UNLOCKED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED_OTHER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_RESTORED, flurry) + eventManager:addEventListener(events.EID_IAP_CANCELLED_BY_USER, flurry) + eventManager:addEventListener(events.EID_MIGHTYEAGLE_PURCHASED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LIKE_CLICKED, flurry) + eventManager:addEventListener(events.EID_CHANGE_LEVEL, flurry) + eventManager:addEventListener(events.EID_MAIN_MENU_ENTERED, flurry) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, flurry) + eventManager:addEventListener(events.EID_CHANGE_SCENE, flurry) + eventManager:addEventListener(events.EID_ABOUT_MENU_OPENED, flurry) + eventManager:addEventListener(events.EID_GOTO_FACEBOOK_CONNECT, flurry) + eventManager:addEventListener(events.EID_TWITTER_OPENED, flurry) + eventManager:addEventListener(events.EID_QZONE_OPENED, flurry) + eventManager:addEventListener(events.EID_ALEX_CLICKED, flurry) + eventManager:addEventListener(events.EID_ABSHOP_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GIFT_PURCHASE_CLICKED, flurry) + eventManager:addEventListener(events.EID_FACEBOOK_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TWITTER_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_SINA_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_TENCENT_WEIBO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_QZONE_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_RENREN_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_CINEMATIC_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_TRAILER_CLICKED, flurry) + eventManager:addEventListener(events.EID_SEASONS_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_NEWSLETTER_CLICKED, flurry) + eventManager:addEventListener(events.EID_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, flurry) + eventManager:addEventListener(events.EID_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_STARTED, flurry) + eventManager:addEventListener(events.EID_GOLDEN_EGG_STAR_GAINED, flurry) + eventManager:addEventListener(events.EID_GE_LEVEL_RESTARTED, flurry) + eventManager:addEventListener(events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_ENTERED_FIRST_TIME, flurry) + eventManager:addEventListener(events.EID_NOOK_STORE_EXITED, flurry) + eventManager:addEventListener(events.EID_IAP_COMPLETED, flurry) + eventManager:addEventListener(events.EID_IAP_FAILED, flurry) + eventManager:addEventListener(events.EID_SHOP_PURCHASE, flurry) + eventManager:addEventListener(events.EID_POWERUP_WAS_USED, flurry) + eventManager:addEventListener(events.EID_DAILYREWARD_RECEIVED, flurry) + eventManager:addEventListener(events.EID_PARENTAL_LOCK_TOGGLED, flurry) + eventManager:addEventListener(events.EID_LEVEL_COMPLETED_WITH_POWERUPS, flurry) + eventManager:addEventListener(events.EID_PLAYER_RETURNED, flurry) + eventManager:addEventListener(events.EID_MATTEL_STARTED, flurry) + eventManager:addEventListener(events.EID_AD_SERVED, flurry) + eventManager:addEventListener(events.EID_AD_REQUESTED, flurry) + eventManager:addEventListener(events.EID_VIDEO_LINK_CLICKED, flurry) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, flurry) + eventManager:addEventListener(events.EID_GAME_RESUMED, flurry) + eventManager:addEventListener(events.EID_DO_LOADING, loaderSystem) + eventManager:addEventListener(events.EID_MENUMANAGER_ROOT_CHANGED, adSystem) + eventManager:addEventListener(events.EID_GAME_INITIALIZED, adSystem) + eventManager:addEventListener(events.EID_LEVEL_LOADING_DONE, adSystem) + eventManager:addEventListener(events.EID_GOTO_GAME, adSystem) + eventManager:addEventListener(events.EID_ROVIO_NEWS_SHOWN, adSystem) + if useDynamicAssets then + eventManager:addEventListener(events.EID_LEAVE_GAME, dynamic) + end + _G.table.insert(subSystemsList, achievementSystem) + _G.table.insert(subSystemsList, achievementProcessor) + _G.table.insert(subSystemsList, loaderSystem) + _G.table.insert(subSystemsList, Notifications) + if deviceModel == "osx" then + _G.table.insert(subSystemsList, { + update = OSX.updateTrackpad + }) + end + if customerString == "nook" then + _G.table.insert(subSystemsList, nook_subsystem) + end + for _, v in _G.ipairs(g_extra_subsystems) do + local ss = v:new() + v:init() + _G.table.insert(subSystemsList, ss) + end +end +function generateRedirectURL(variant, target) + return "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&t=" .. target .. "&r=game&c=" .. customerString +end +function createStartUpAssets() + print("create startup assets\n") + loadFonts() + defaultMenuFont = fontBasic + setFont(defaultMenuFont) + _G.res.createTextGroupSet(localizationPath .. "/TEXTS_BASIC.dat") + getCurrentLocale() + if deviceModel == "windows" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "android" then + g_cameraProfileList = { + deviceModel, + "windows", + "ipad", + "iphone" + } + elseif deviceModel == "freebox" then + g_cameraProfileList = { + deviceModel, + "windows", + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "iphone" then + g_cameraProfileList = { + deviceModel, + "osx", + "ipad", + "iphone" + } + elseif deviceModel == "ipad" then + g_cameraProfileList = {deviceModel, "iphone"} + elseif deviceModel == "android" and isHDVersion or deviceModel == "blackberry" then + g_cameraProfileList = { + deviceModel, + "ipad", + "iphone" + } + else + g_cameraProfileList = {deviceModel, "iphone"} + end + if useDynamicAssets then + loadLuaFile(commonScriptPath .. "/dynamicassets.lua", "") + end + local variant = "full" + if isLiteVersion then + variant = "lite" + end + g_variant = variant + if isHDVersion then + variant = "HD" + end + if applyChinaRestictions then + variant = variant .. "_china" + end + local appStoreFullType = "originalfull" + local appStoreSeasonsFullType = "halloweenfull" + local appStoreAlexFullType = "amazingalexfull" + local badPiggies = "badpiggiesfull" + if customerString ~= "rovio" then + appStoreFullType = appStoreFullType .. "_" .. customerString + appStoreSeasonsFullType = appStoreSeasonsFullType .. "_" .. customerString + appStoreAlexFullType = appStoreAlexFullType .. "_" .. customerString + badPiggies = badPiggies .. "_" .. customerString + end + APP_STORE_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + APP_STORE_HALLOWEEN_URL = "https://tcd729.itch.io/angry-birds-adventures" + NEWSLETTER_URL = "https://discord.gg/TuFKJhNk9u" + ANDROID_MARKET_FULL_VERSION_URL = "https://tcd729.itch.io/angry-birds-adventures" + ALEX_URL = "https://gamejolt.com/games/abkp/801638" + REPORT_BUG_URL = generateRedirectURL("litebeta2", "reportbug") + ANGRY_BIRDS_TRAILER_URL = "https://youtu.be/4dtja7FqmVM" + OVI_STORE_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + BAD_PIGGIES_URL = generateRedirectURL(variant, badPiggies) + OVI_STORE_URL_S60 = generateRedirectURL("lite", "originalfull") + OVI_STORE_MORE_GAMES_URL_S60 = generateRedirectURL(variant, "moregames") + ROVIO_IN_OVI_STORE_URL = "http://store.ovi.com/publisher/RovioMobile/" + LP1_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp1") + LP2_IN_OVI_STORE_URL = generateRedirectURL(variant, "lp2") + FACEBOOK_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + TWITTER_URL = "https://discord.gg/TuFKJhNk9u" + RIO_CONTEST_URL = "https://gamejolt.com/games/abpt/646947" + SINA_WEIBO_URL = generateRedirectURL(variant, "weibo") + TENCENT_WEIBO_URL = generateRedirectURL(variant, "tencentweibo") + QZONE_URL = "https://twitter.com/JeremiahReturns?t=3upYZZMuHwl3zPDjNXmYgA&s=09" + RENREN_URL = "https://gamejolt.com/games/abkp/801638" + MIGHTY_EAGLE_TRAILER = generateRedirectURL(variant, "trailer2") + ROVIO_UPDATE_URL_S60 = generateRedirectURL(variant, "checklatestfull") + if applyChinaRestictions then + ROVIO_UPDATE_URL_S60 = generateRedirectURL("full_china", "checklatestfull") + end + ABSHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q" + XMAS_GIFT_URL = generateRedirectURL(variant, "xmasgift") + XMAS2011_GIFT_URL = generateRedirectURL(variant, "xmas2011gift") + APPLE_GIFT_PURCHASE_URL = generateRedirectURL(variant, "purchasegift") + LENOVO_NO_ADS_URL = generateRedirectURL(variant, "lenovonoads") + PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicy") + EULA_URL = generateRedirectURL(variant, "eula") + AB_FBCONNECT_URL = "https://discord.gg/TuFKJhNk9u" + ABLIKE_URL = generateRedirectURL(variant, "ablike") + AB_TWITTER_URL = generateRedirectURL(variant, "twitterfollow") + AB_QZONE_URL = generateRedirectURL(variant, "qzone") + PC_SHOP_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" + MAGIC_EULA_URL = generateRedirectURL(variant, "eulamagic") + MAGIC_PRIVACY_POLICY_URL = generateRedirectURL(variant, "privacypolicymagic") + local osNameParameter = getOSName() + local osVersionParamerer = getOSVersion() + local deviceModelParameter = getModel() + if releaseBuild then + MAIN_MENU_AD_URL = "https://www.youtube.com/channel/UC_tH-ClfZziu1R1ULtX0i2Q/featured" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + MAIN_MENU_AD_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + else + ROVIO_NEWS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant .. "&v=" .. gameVersionNumber .. "&sw=" .. screenWidth .. "&sh=" .. screenHeight .. "&i=" .. uniqueDeviceId .. "&c=" .. customerString .. "&on=" .. osNameParameter .. "&ov=" .. osVersionParamerer .. "&dm=" .. deviceModelParameter + end + if releaseBuild then + CHECK_APPLICATIONS_URL = "https://discord.gg/7R4N4hwgSD" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + else + CHECK_APPLICATIONS_URL = "http://smoke.rovio.com/content/embed/gameList/?d=" .. deviceModel .. "&p=" .. gameId .. "&a=" .. variant + end + uniqueDeviceId = uniqueDeviceId or "none" + if useDynamicAssets then + dynamic.load("splashes") + else + loadImages({"SPLASHES"}) + end + if deviceModel == "windows" or deviceModel == "osx" or deviceModel == "freebox" then + print("44.1kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + else + print("16kHz audio selected\n") + _G.res.createAudioOutput(2, 16, 44100) + end + if deviceModel == "windows" or deviceModel == "osx" then + if settingsWrapper:getFullscreen() then + setFullScreenMode(true) + else + local w, h = settingsWrapper:getResolution() + w = _G.math.max(w, 1024) + h = _G.math.max(h, 600) + setResolution(w, h) + end + end + preprocessLevelList() + eventManager = subsystems.EventManager:new() + menuManager = MenuManager.MenuManager:new() + menuManager:changeRoot(notificationsFrame, "notifications") + menuManager.menu_order = { + "root", + "notifications" + } + menuManager.input_order = { + "notifications", + "root" + } + eventManager:addEventListener(events.EID_CHANGE_SCENE, menuManager) + eventManager:addEventListener(events.EID_POP_FRAME, menuManager) + eventManager:addEventListener(events.EID_PUSH_FRAME, menuManager) + eventManager:addEventListener(events.EID_CONTINUE_MENU_SEQUENCE, gameluaMenuListener) + eventManager:addEventListener(events.EID_PUSH_TO_MENU_SEQUENCE, gameluaMenuListener) + function currentGameMode() + end + local _ENV = _G.getfenv(1) + for _, v in _G.ipairs(g_splashes) do + eventManager:notify({ + id = events.EID_PUSH_TO_MENU_SEQUENCE, + menu = _ENV[v]:new() + }) + end + eventManager:notify({ + id = events.EID_CONTINUE_MENU_SEQUENCE + }) + logFlurryTimerEvent("Loading time - boot to splash") +end +function loadLoadList(profile) + if loadlist[profile] == nil then + loadLuaFileToObject(imagePath .. "/" .. profile .. "/loadlist.lua", this.loadlist, profile) + for k, v in _G.pairs(this.loadlist[profile].assetLoadList[profile]) do + this.loadlist[profile][k] = v + end + this.loadlist[profile].assetLoadList = nil + end +end +function loadAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.createSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.createCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +function releaseAssets(groups) + for _, v in _G.ipairs(groups) do + local profile = selectAssetProfile(v) + loadLoadList(profile) + local files = loadlist[profile][v] + if files then + for _, v2 in _G.ipairs(files) do + if v2[2] == 0 then + _G.res.releaseSpriteSheet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 1 then + print("Loading compo sprite set " .. imagePath .. "/" .. profile .. "/" .. v2[1] .. "\n") + _G.res.releaseCompoSpriteSet(imagePath .. "/" .. profile .. "/" .. v2[1]) + elseif v2[2] == 2 then + end + end + end + end +end +loadImages = loadAssets +loadCompoSprites = loadAssets +releaseImages = releaseAssets +releaseCompoSprites = releaseAssets +function setupFonts() + fontBasic = _G.res.getString("TEXTS_BASIC", "FONT_BASIC") + fontMenu = _G.res.getString("TEXTS_BASIC", "FONT_MENU") + fontScore = _G.res.getString("TEXTS_BASIC", "FONT_HIGHSCORE") + fontSpaceScore = _G.res.getString("TEXTS_BASIC", "FONT_SPACE_SCORE_BIG") +end +function getFontBasic() + return fontBasic +end +function getFontMenu() + return fontMenu +end +function getFontScore() + return fontScore +end +function getFontSpaceScore() + return fontSpaceScore +end +function loadFonts() + local profileName = selectFontProfile() + setupFonts() + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/" .. fontMenu .. ".dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_LS_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CHALLENGE_SCORE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_BASIC_SMALL.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_LS.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_SPACE_SCORE_BIG.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_CURRENT_HIGHSCORE.dat") + loadLocaleFonts() + if gameCenterSupported or not releaseBuild and iOS then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_GAMECENTER_BASIC.dat") + end + if g_powerups_enabled and deviceModel == "iphone" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_POWERUP_AMOUNT.dat") + end +end +function loadLocaleFonts() + local profileName = selectFontProfile() + if deviceModel ~= "windows" and deviceModel ~= "osx" and deviceModel ~= "roku" and deviceModel ~= "freebox" then + if _G.res.getLocale() == "zh_CN" or _G.res.getLocale() == "zh_TW" then + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.createBitmapFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + else + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_HIGHSCORE_CHINESE.dat") + _G.res.releaseFont(fontPath .. "/" .. profileName .. "/FONT_BASIC_CHINESE.dat") + end + end +end +function changeLocale(locale) + print("LOCAL CHANGED TO " .. locale .. "\n") + _G.res.loadLocale("TEXTS_BASIC", locale) + _G.res.useLocale(locale) + setupFonts() + loadLocaleFonts() + menuManager:gameResumed() +end +function loadAllThemeGraphics() + for k, v in _G.pairs(blockTable.themes) do + if k ~= "settings" then + if v.graphicSetName == nil then + print("!!! missing graphicSetName for theme " .. k .. "\n") + v.graphicSetName = {} + end + for _, v2 in _G.ipairs(v.graphicSetName) do + loadAssets({v2}) + end + end + end +end +currentGFXSet = {} +function loadThemeGraphics(name) + print(" == loading theme graphics ==\n") + local themeName = blockTable.themes[name].graphicSetName + if _G.type(themeName) == "string" then + themeName = {themeName} + end + local load = Set.difference(themeName, currentGFXSet) + local release = Set.difference(currentGFXSet, themeName) + if #load == 0 then + print(" not loading anything\n") + end + for _, v in _G.ipairs(release) do + print(" releasing graphics set : " .. v .. "\n") + releaseAssets({v}) + end + currentGFXSet = themeName + for _, v in _G.ipairs(load) do + print(" loading graphics set : " .. v .. "\n") + loadAssets({v}) + end +end +function createAssets() + if settingsWrapper:getSettingsVersion().id ~= 1 then + settingsWrapper:convertSettings() + end + if useDynamicAssets then + dynamic.load({ + "common", + "mainMenu", + settingsWrapper:getCurrentMainMenuTheme() + }) + else + loadImages(g_loadgroups) + loadAssets({"HUD"}) + loadBackgrounds() + if applyChinaRestictions then + loadImages({"CHINA"}) + end + if g_magic_places_enabled then + loadAssets({ + "MAGIC_PLACES" + }) + end + loadCompoSprites({ + "INGAME_COMPOSPRITES", + "ROVIO_NEWS_COMPOSPRITES", + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + end + audioData = { + sounds = {}, + channelVolume = {} + } + loadLuaFile(scriptPath .. "/audio.lua", "") + local currentTheme = settingsWrapper:getCurrentMainMenuTheme() + _G.res.stopAllAudio() + currentMainMenuSong = blockTable.themes[currentTheme].menuMusic or "title_theme" + if not settingsWrapper:isAudioEnabled() then + _G.res.stopAudioOutput() + setEffectsVolume(0) + setMusicVolume(0) + else + _G.res.startAudioOutput() + setEffectsVolume(1) + setMusicVolume(1) + end + if showEditor == false then + for k, v in _G.pairs(blockTable.themes) do + if k == settingsWrapper:getCurrentMainMenuTheme() then + loadThemeGraphics(k) + break + end + end + else + loadAllThemeGraphics() + end + loadParticleFile() + assetsCreated = true +end +function saveLuaFileWrapper(fileName, tableName, appData) + if isLiteVersion == true and deviceModel == "s60" then + if tableName == "settings" then + fileName = "settings_trial.lua" + end + if tableName == "highscores" then + fileName = "highscores_trial.lua" + end + end + saveLuaFile(fileName, tableName, appData) + if tableName == "settings" and ABIDEnabled then + if localSettings ~= nil then + saveLuaFile("localSettings.lua", "localSettings", true) + end + if purchases ~= nil then + saveLuaFile("purchases.lua", "purchases", true) + end + end +end +function getAudioName(name) + if audioGroups[name] ~= nil then + local index = _G.math.random(1, #audioGroups[name]) + return audioGroups[name][index] + end + return name +end +function setInstalledApps(installedApps, ttl, possibleApps) + possibleInstalledApps = {} + importJSONToLuaTable(possibleApps, "possibleInstalledApps") + settingsWrapper:setInstalledApps(installedApps, ttl, getCurrentTime(), possibleInstalledApps) + print("Installed Apps received: " .. installedApps .. " with a ttl of " .. ttl .. "\n") +end +function setInstalledAppsOffline(installedApps) + settingsWrapper:setInstalledApps(installedApps) + local check_diff = getTimeDifferenceInSeconds(getCurrentTime(), settingsWrapper:getInstalledAppsLastCheck()) + print("Installed Apps checked offline: " .. installedApps .. ". Next app list update in " .. settingsWrapper:getInstalledAppsTTL() - check_diff / 3600 .. " hours.\n") +end +showFps = false +if not releaseBuild or cheatsEnabled then + showFps = false +end +showBG = true +showSleepingObjects = false +fpsTimer = 0 +fpsFrames = 0 +fps = 0 +zoomLevel = 0 +function updateIapInitTimer(dt) + if iapInitTimer ~= nil then + iapInitTimer = iapInitTimer - dt + if iapInitTimer <= 0 then + iapInitTimer = nil + iapBuyItem(mightyEagleItemId, "inAppPurchaseBuyCallback") + end + end +end +function debugGCpopup() + gameCenter = {} + gameCenter.achievements = {} + gameCenter.achievements.Cakemonger = g_achievements.Cakemonger + gameCenterEnabled = true + gameCenter.achievements.showPopUpID = "Cakemonger" + showAchievementPopUp() + achievementPopupDebug = true + print("showing popup") +end +function update(dt, realDt) + if keyHold.P and keyPressed.G then + if not g_profiler then + g_profiler = newProfiler() + g_profiler:start() + else + g_profiler:stop() + local outfile = _G.io.open("pepperfish.txt", "w+") + g_profiler:report(outfile) + outfile:close() + g_profiler = nil + end + end + local localDelta = dt or 0 + g_dt = dt + g_time = g_time and g_time + dt or 0 + if g_delayedURLOpen and g_time >= g_delayedURLOpen.time then + local data = g_delayedURLOpen + g_delayedURLOpen = nil + openURL(data.url) + end + if g_gameWasResumed and g_restoreFullScreenOnReactivate == 2 then + setFullScreenMode(true) + g_restoreFullScreenOnReactivate = nil + g_gameWasResumed = nil + end + if not releaseBuild or cheatsEnabled then + if customerString == "nook" and keyReleased.F2 then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + if customerString == "nook" and doubleClick and cursor.x < 32 and 32 > cursor.y then + g_testFreeEagle = not g_testFreeEagle + notifyNookInsideStore(g_testFreeEagle) + end + end + if ABIDEnabled and ABIDSubSystem ~= nil then + ABIDSubSystem:update(dt, realDt) + end + if keyReleased.F7 and cheatsEnabled then + debugGCpopup() + end + if cheatsEnabled then + if keyPressed["W"] then + showflyingBird = not showflyingBird + end + if keyHold["N"] then + superSeeds() + end + if keyHold["SHIFT"] and keyPressed["L"] then + Boomerang() + elseif keyHold["SHIFT"] and keyHold["L"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["O"] then + birdSplits() + elseif keyHold["SHIFT"] and keyPressed["O"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["9"] then + replaceMaterials() + end + if keyHold["SHIFT"] and keyPressed["8"] then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + elseif keyHold["SHIFT"] and keyHold["8"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["7"] then + birdLayEgg() + elseif keyHold["SHIFT"] and keyPressed["7"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["6"] then + birdFollowMouse = not birdFollowMouse + elseif keyHold["SHIFT"] and keyPressed["6"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["5"] then + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel * 2 , flyingBird.yVel * 2) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + elseif keyHold["SHIFT"] and keyPressed["5"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["5"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["4"] then + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + elseif keyHold["SHIFT"] and keyHold["4"] and flyingBird == nil then + ignorethat() + end + if keyHold["SHIFT"] and keyPressed["3"] then + removeBird(flyingBird) + elseif keyHold["SHIFT"] and keyPressed["3"] and flyingBird == nil then + removeBird(objects.world[birdToSlingshotBirdName]) + end + if keyHold["SHIFT"] and keyPressed["2"] then + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, true, false) + elseif keyHold["SHIFT"] and keyPressed["2"] and flyingBird == nil or keyHold["SHIFT"] and keyHold["2"] and flyingBird == nil then + currentBirdName = objects.world[currentBirdName] + addParticles(currentBirdName.name, blockTable.blocks[birdToSlingshotBirdName.definition].particles, 10, true, false) + end + if keyHold.SHIFT and keyPressed.I then + cancelBirdDrag() + elseif keyHold.SHIFT and keyHold.O and flyingBird == nil then + ignorethat() + end + if keyHold.CONTROL and keyPressed.P then + earthQuake() + end + if keyHold.SHIFT and keyPressed.F12 then + g_cursorEnabled = not g_cursorEnabled + end + if keyHold.SHIFT and keyPressed.X then + randomPowerupReward(5) + end + if keyHold.SHIFT and keyPressed.Z then + bundleReward(5) + end + if keyHold.SHIFT and keyPressed.C then + iapEnabled = not iapEnabled + end + if (keyHold.SHIFT and keyPressed.D or DebugConsole.gestureActivation()) and not DebugConsole.isDebugConsoleOpen() then + notificationsFrame:addChild(DebugConsole.DebugConsole:new()) + end + end + if keyReleased.S then + changeAudio("KEYBOARD_COMMAND") + end + updateAudioRamp(dt) + if settingsWrapper ~= nil and settingsWrapper:getEagleUsedTime() ~= nil and eventManager ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) >= eagleLockedTime then + print("Mighty eagle available again!\n") + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_AVAILABLE + }) + eagleInfoTimer = nil + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:resetEaglesUsedIn() + end + if g_ABsync_enabled and g_cloudsync_available and rovioProfile.id then + ABsync.cloudUpdate() + end + for i = 1, #subSystemsList do + subSystemsList[i]:update(dt) + end + if menuManager ~= nil then + menuManager:update(dt, time) + end + if adSystem ~= nil then + adSystem:update(dt, time) + end + if g_resetCameras then + if _G.tonumber(g_resetCameras) and 0 < g_resetCameras then + g_resetCameras = g_resetCameras - 1 + else + resetCamerasiPhone4() + g_resetCameras = false + end + end + if eventManager ~= nil then + eventManager:tick() + end + processManager:update(dt) + if releaseBuild == false then + if keyHold.CONTROL then + if keyPressed["1"] then + changeLocale("en_EN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["2"] then + changeLocale("fr_FR") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["3"] then + changeLocale("it_IT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["4"] then + changeLocale("de_DE") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["5"] then + changeLocale("es_ES") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["6"] then + changeLocale("zh_CN") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["7"] then + changeLocale("zh_TW") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["8"] then + changeLocale("ja_JA") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["9"] then + changeLocale("pt_PT") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + elseif keyPressed["0"] then + changeLocale("pl_PL") + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + end + setupFonts() + end + if keyHold.G and keyPressed.C or keyPressed.G and keyHold.C then + debugShowGameCenter = not debugShowGameCenter + print("debugShowGameCenter set to " .. _G.tostring(debugShowGameCenter) .. "\n") + if debugShowGameCenter then + enableGameCenter() + else + disableGameCenter() + end + end + end + currentGameMode = currentGameMode or updateSplashes + time = time and time + dt or 0 + playtimeCounter = playtimeCounter and playtimeCounter + dt or 0 + if lastVideoAdTime == nil then + lastVideoAdTime = time + end + updateIapInitTimer(dt) + iapUpdate(dt) + if settingsWrapper:getEagleUsedTime() ~= nil then + local timeLeft = eagleLockedTime - timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) + if 0 < timeLeft and timeLeft <= 5 and (eagleInfoTimer == nil or timeLeft > eagleInfoTimer) then + eagleInfoTimer = timeLeft + end + if eagleInfoTimer ~= nil and currentGameMode == updateGame then + eagleInfoTimer = eagleInfoTimer - dt + if 0 > eagleInfoTimer then + eagleInfoTimer = nil + end + end + end + doubleClick = false + if doubleClickTimer == nil then + doubleClickTimer = 0 + end + if keyPressed.LBUTTON then + if doubleClickState ~= 2 then + doubleClickState = 1 + doubleClickTimer = 0.5 + else + doubleClickState = 3 + end + elseif 0 < doubleClickTimer and keyReleased.LBUTTON then + if doubleClickState == 1 then + doubleClickState = 2 + elseif doubleClickState == 3 then + doubleClick = true + end + end + doubleClickTimer = doubleClickTimer - dt + if 0 >= doubleClickTimer then + doubleClickTimer = 0 + doubleClickState = 0 + end + currentGameMode(dt, time) + if menuManager ~= nil then + menuManager:draw() + end + if keyPressed.F and cheatsEnabled then + showFps = not showFps + end + if keyPressed["9"] then + showBG = not showBG + end + if keyPressed["8"] and showEditor then + showSleepingObjects = not showSleepingObjects + end + if iOS and achievementProcessor ~= nil then + if 0 < #achievementProcessor.achievementUnlockQueue then + if lastAchievementUnlockTime == nil then + lastAchievementUnlockTime = -3 + end + if 3 < time - lastAchievementUnlockTime then + if gameCenterEnabled then + if gameCenter and gameCenter.achievements and gameCenter.achievements.loading ~= true then + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + else + achievementProcessor:unlockNextAchievement() + lastAchievementUnlockTime = time + end + end + end + if 0 < #achievementProcessor.achievementRenderQueue then + if lastAchievementRenderTime == nil then + lastAchievementRenderTime = -3 + end + if 3 < time - lastAchievementRenderTime then + achievementProcessor:renderNextAchievementPopup() + lastAchievementRenderTime = time + end + end + end + if oldScreenWidth ~= screenWidth or oldScreenHeight ~= screenHeight then + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + if notificationsFrame then + notificationsFrame:layout() + end + if menuManager and menuManager:getRoot() then + menuManager:getRoot():layout() + end + if g_isPC and menuManager then + if (screenWidth < 1024 or screenHeight < 600) and not g_resolutionWarningShown then + g_resolutionWarningShown = true + local root = notificationsFrame + if root then + local warning_page = ResolutionWarning:new(1024, 600) + root:addChild(warning_page) + warning_page:onEntry() + warning_page:layout() + end + end + if screenWidth >= 1024 and screenHeight >= 600 and g_resolutionWarningShown then + g_resolutionWarningShown = nil + end + end + end + if g_isPC then + if not isInFullScreenMode() then + settingsWrapper:setResolution(screenWidth, screenHeight) + end + if isInFullScreenMode() ~= settingsWrapper:getFullscreen() then + settingsWrapper:setFullscreen(isInFullScreenMode()) + end + end + setRenderState(0, 0, 1, 1, 0, 0) + if showFps and assetsCreated == true then + if 1 <= fpsTimer then + fps = fpsFrames / fpsTimer + fpsTimer = 0 + fpsFrames = 0 + end + fpsString = _G.string.format("%.1f", fps) + setFont(fontBasic) + _G.res.drawString("", fpsString, screenWidth * 0.5, screenHeight, "BOTTOM", "HCENTER") + fpsTimer = fpsTimer + realDt + fpsFrames = fpsFrames + 1 + end + if birdFollowMouse then + setPosition(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + setVelocity(flyingBird.name, flyingBird.xVel, flyingBird.yVel) + setRotation(flyingBird.name, cursorPhysics.x , cursorPhysics.y) + end + if g_cursorEnabled then + local show_cursor = true + if deviceModel == "osx" and currentGameMode == updateGame and isInFullScreenMode() then + show_cursor = OSX.using_mouse + elseif g_isAccelerometerControl then + show_cursor = currentGameMode ~= updateGame and g_rokuCursorVisible or false + end + if show_cursor and 0 <= cursor.x and 0 <= cursor.y and cursor.x <= screenWidth and cursor.y <= screenHeight then + if keyHold.LBUTTON then + g_currentCursorName = "CURSOR_HAND_CLICK" + else + g_currentCursorName = "CURSOR_HAND_POINT" + end + setRenderState(0, 0, 1, 1) + _G.res.drawSprite(g_currentCursorName, cursor.x, cursor.y) + end + end +end +counter = 1 +function lol() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, def.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprites + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "b" + createCircle(newName, def.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + newName = flyingBird.name .. "c" + createCircle(newName, def.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = def.definition + objects.world[newName].controllable = def.controllable + objects.world[newName].strength = def.strength + objects.world[newName].defence = def.defence + objects.world[newName].material = def.material + objects.world[newName].levelGoal = def.levelGoal + objects.world[newName].damageFactors = def.damageFactors + objects.world[newName].spritePivotX = def.spritePivotX + objects.world[newName].spritePivotY = def.spritePivotY + objects.world[newName].damageSprite = def.damageSprite + objects.world[newName].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, def.sprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + end +function superSeeds() + local bDef = getObjectDefinition(flyingBird.name) + flyingBird.radius = flyingBird.radius * 50 + flyingBird.density = flyingBird.density * 40 + flyingBird.restitution = flyingBird.restitution * 50 + flyingBird.damageFactors = "MightyEagleBirdDamageFactors" + flyingBird.friction = flyingBird.friction * 3 + flyingBird.specialty = "MIGHTY_EAGLE" + flyingBird.particles = "explosionBuff" + flyingBird.explosionDamage = 1000 + flyingBird.explosionDamageRadius = 3000 + flyingBird.explosionRadius = 4000 + flyingBird.explosionForce = 5000 + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + flyingBird.particlesAmountLimits = { 12, 60} + seeds = true +end +function ignorethat() +end +function sling() + g_powerups_active = false + g_king_sling = false + _G.res.playAudio(getAudioName("super_slingshot"), 1, false) + g_slingshot_back = "SLING_SHOT_02_BACK" + if not g_sling_scope then + g_slingshot_front = "SLING_SHOT_02_FRONT" + else + g_slingshot_front = "SLINGSHOT_POWERUP_KINGSLING" + end + g_slingshot_power = g_slingshot_power + 0.3 + g_rubber_r = 119 + g_rubber_g = 0 + g_rubber_b = 0 +end +function matre() + if gamelua.isPhysicsEnabled() and gamelua.keyPressed.LBUTTON and 0 < g_level_timer and not gamelua.checkLevelGoalsDestroyed() then + g_explosion_count = g_explosion_count + 1 + local explosion_radius = 15 + local explosion_force = 10000 + local damage_radius = 5 + local explosion_damage = 20 + _G.res.playAudio("tnt_explodes", 0.85, false) + local wx, wy = gamelua.screenToWorldTransform(gamelua.cursor.x, gamelua.cursor.y) + local ex, ey = gamelua.screenToPhysicsTransform(gamelua.cursor.x, gamelua.cursor.y) + local particle_x = wx + local particle_y = wy + if ey > 0 and ey < explosion_radius * 0.25 then + particle_y = 0 + end + _G.particles.addParticles("totalDestructionExplosion", 1, particle_x, particle_y, 0, 0, 0, true, false) + if gamelua.objects.joints ~= nil then + for k, v in _G.pairs(gamelua.objects.joints) do + local end_point = gamelua.objects.world[v.end1] + local dist = _G.math.max(gamelua.vLength(end_point.x - ex, end_point.y - ey), 0.5) + local x, y = gamelua.vNormalize(end_point.x - ex, end_point.y - ey) + if dist < explosion_radius * 0.5 and type ~= 5 then + gamelua.destroyJoint(v.name) + end + end + end + for k, v in _G.pairs(gamelua.objects.world) do + local dist = _G.math.max(gamelua.vLength(v.x - ex, v.y - ey), 0.5) + local x, y = gamelua.vNormalize(v.x - ex, v.y - ey) + if explosion_radius > dist then + local force = gamelua.physicsScale * explosion_force / dist + gamelua.applyImpulse(k, x * force, y * force, v.x, v.y) + end + end + end +end +function earthQuake() + cameraShake = 25 + if cameraShake ~= nil and cameraShake > 0 then + --cameraShake = _G.math.max(cameraShake - 200 * dt, 0) + _G.res.playAudio("earthquake", 3, true) + objects.world["ground"].particles = "woodenBuff" + objects.world["ground"].particlesAmountLimits = { 12, 60} + end + for k2, v2 in _G.pairs(objects.world) do + if v2 ~= nil then + if v2.strength ~= nil and v2.levelGoal or v2.controllable == false then + local forceMultiplier = _G.math.random(2, 10) + local force = -v2.mass * forceMultiplier + applyImpulse( v2.name, + 0, + force, + v2.x, + v2.y ) + v2.strength = 0.00001 + v2.defence = 0 + end + end + end +end +function Boomerang() + local bDef = getObjectDefinition(flyingBird.name) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse( flyingBird.name, + x * force, + y * force, + flyingBird.x, + flyingBird.y) + end + function birdLayEgg() + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "DROPPABLE_EGG" + objects.world[newName].xVel = 0 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = 100 --flyingBird.yVel * 0.5 + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -0.04*defaultForce * flyingBird.mass, + 0.08*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +function birdSplits() + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) +end +function updateAudioRamp(dt) + if audioRampVolume then + audioRampVolume = audioRampVolume + dt / audioRampLength + if audioRampVolume <= 0 then + audioRampVolume = nil + setMusicVolume(0) + setEffectsVolume(0) + elseif audioRampVolume > 1 then + audioRampVolume = nil + setMusicVolume(1) + setEffectsVolume(1) + else + setMusicVolume(audioRampVolume * audioRampVolume) + setEffectsVolume(audioRampVolume * audioRampVolume) + end + end +end +function removeAds() + hideAd() + stopAds() + settingsWrapper:setPremium(true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_ADS_REMOVED + }) +end +function gameResumed() + if g_restoreFullScreenOnReactivate == 2 then + g_gameWasResumed = true + end + getCurrentLocale() + setupFonts() + loadLocaleFonts() + if shouldShowAd() then + hideAd() + end + if currentBirdIndex and rubberBandPos and levelStartPosition then + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x, levelStartPosition.y + rubberBandLength = 0 + dragStarted = false + end + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards and g_menuInitialised then + refreshLocalGameCenterData() + postTotalHighScores() + end + if menuManager ~= nil then + menuManager:gameResumed() + end + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:notify({ + id = events.EID_GAME_RESUMED, + mode = mode + }) + end +end +function gamePaused() + cancelBirdDrag() + calculatePlaytime() + saveLuaFileWrapper("settings.lua", "settings", true) + if eventManager ~= nil and not startedFromEditor then + local mode = "" + if currentGameMode == updateGame then + mode = "INGAME" + end + eventManager:queueEvent({ + id = events.EID_GAME_PAUSED, + mode = mode + }) + end + notifyEventManager(events.EID_GAME_DEACTIVATED) +end +function setFont(fontName) + _G.res.useFont(fontName) +end +function setGameMode(gameMode) + currentGameMode = gameMode + if currentGameMode == updateGame then + setGameOn(true) + else + setGameOn(false) + end + if g_isAccelerometerControl then + enableMotion(currentGameMode ~= updateGame) + captureMouse(currentGameMode == updateGame) + g_rokuCursorVisible = currentGameMode ~= updateGame and not g_tutorialActive + end +end +function goldenEggAchieved(level) + if not settingsWrapper:isGoldenEggUnlocked(level) and not g_special_game_mode then + settingsWrapper:unlockGoldenEgg(level) + highscores[level] = { + completed = false, + birds = 0, + score = 0, + lowScore = 0 + } + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + showRewardPopup("GOLDEN_EGG") + eventManager:notify({ + id = events.EID_GOLDEN_EGG_GAINED, + data = { + openedLevelsAmount = calculateOpenGoldenEggLevels() + } + }) + end +end +function showAchievementPopUp() + local show_gamecenter_popups = true + if show_gamecenter_popups and gameCenterEnabled and gameCenter and gameCenter.achievements and gameCenter.achievements.showPopUpID then + achievementProcessor:addToAchievementRenderQueue(gameCenter.achievements.showPopUpID) + end +end +function goldenEggStarAchieved(level) + local first_time + if highscores[level] and highscores[level].completed then + first_time = false + else + first_time = true + end + eventManager:notify({ + id = events.EID_STAR_POPUP, + first_time = first_time + }) + if highscores[level] ~= nil then + highscores[level].completed = true + else + highscores[level] = { + completed = true, + birds = 0, + score = 0, + lowScore = 0 + } + end + saveLuaFileWrapper("highscores.lua", "highscores", true) + saveLuaFileWrapper("settings.lua", "settings", true) + eventManager:notify({ + id = events.EID_GOLDEN_EGG_STAR_GAINED, + data = { + starsGained = calculateStarsFromGoldenEggLevels(), + levelName = level + } + }) +end +function mightyEagleNotificationCallback(event_type) +end +function updateValues() + defaultForce = -925 + boostForce = defaultForce + collisionParticleForceThreshold = 10 + collisionSoundForceThreshold = 3 + blockDestroyedScoreIncrement = 500 + pigletteDestroyedScoreIncrement = 5000 + birdsLeftScoreIncrement = 10000 + hardLimitSimultaneousParticles = 256 + softLimitSimultaneousParticles = 256 +end +function initialize() + _G.math.randomseed(_G.os.time()) + numberKeys = { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0" + } + screen = { + x = screenWidth * 0.5, + y = screenHeight * 0.5, + top = 0, + left = 0, + bottom = screenHeight, + right = screenWidth + } + if showCameraDebugData then + visualizeScreen = {x = 0, y = 0} + end + oldScreenWidth = screenWidth + oldScreenHeight = screenHeight + cameraShakeX, cameraShakeY = 0, 0 + floatingScoreScaling = 1 + loading = false + menuSunsetAngle = 0 + goldenEggsStarEffectAngle = 0 + rubberBandPos = {x = 0, y = 0} + rubberBandSpeed = 0 + floatingScores = {} + objectCounts = {} + scoreTable = {} + draggingSpeed = 0 + draggingStartPosPhysics = {x = -1, y = -1} + draggingStartPosWorld = {x = -1, y = -1} + draggingStartPosScreen = {x = -1, y = -1} + selectedObjects = {} + selectedObjectPos = {x = 0, y = 0} + selectedBird = nil + objectToAdd = nil + objectToAddAngle = 0 + settingWaterLevel = nil + currentGroupIndex = 1 + currentGroup = nil + currentThemeIndex = 1 + currentTheme = nil + cameraTargetObject = nil + doubleClickTimer = 0 + quadClickTimer = 0 + quadClickCounter = 0 + gameTimer = 0 + levelCompleteTimer = 0 + birdBuffTimer = 0 + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + particleAmount = 0 + blockMoveTimer = 0 + if deviceModel ~= "freebox" then + cursor.x, cursor.y = 0, 0 + end + cursorPhysics = {x = 0, y = 0} + cursorWorld = {x = 0, y = 0} + oldCursorWorld = {x = 0, y = 0} + oldCursor = {x = 0, y = 0} + tapPosWorld = {x = 0, y = 0} + springConstant = 1500 + springDampening = 50 + difficultyLevel = 1 + score = 0 + zoomLevel = 0 + defaultForce = -800 + blockDestroyedScoreIncrement = 100 + physicsToWorld = 20 + physicsScale = 1 / physicsToWorld + shootRange = 2.2 + shootMaxLength = shootRange + 3.2 + continueButtonY = screenHeight * 0.5 + 70 + oldScale = 1 + levelStartPosition = {x = 0, y = 0} + animationScreen = {x = 0, y = 0} + slingShotBasePosition = {x = 0, y = 0} + animationWorldScale = 1 + setPhysicsSimulationScale(physicsToWorld) + levelName = "" + cameraFunction = defaultCamera + castleCameraTimer = 0 + levelStartTimer = 0 + currentLevelNumber = -1 + currentThemeNumber = -1 + currentWorldNumber = -1 + inExtraWorld = false + currentLevelNumberInTheme = -1 + currentPageNumber = -1 + collisionParticleForceThreshold = 5 + physicsEnabled = false + levelSaved = true + selectionRectActive = false + birdFired = false + loadingPageDrawn = false + particles = {} + elementAnimations = {} + initializeMenu() + updateValues() + setPhysicsEnabled(false) + cos = _G.math.cos + sin = _G.math.sin + if isIapEnabled() then + setNotificationCallback("mightyEagleNotificationCallback") + end + eventManager:notify({ + id = events.EID_GAME_INITIALIZED, + screenWidth = screenWidth, + screenHeight = screenHeight, + customerString = customerString, + deviceModel = deviceModel + }) +end +function inAppPurchaseInitCallback(pid, status, errorCode) + if status ~= nil and errorCode ~= nil then + print("gameLogic.lua::itemPurchaseCallback(): status: " .. status .. ", errorCode: " .. errorCode .. "\n") + if status == 1 then + local count = iapGetItemCount() + print(" gameLogic.lua::itemPurchaseCallback(): itemCount: " .. count .. "\n") + if 0 < count then + local eagleItemFound = false + for i = 0, count - 1 do + local item = iapGetItemAt(i) + print(" gameLogic.lua::itemPurchaseCallback(): item(i): ") + print(" name: " .. item.name .. ", id: " .. item.id .. ", type: " .. item.type .. ", quantity: " .. item.quantity .. ", desc: " .. item.description .. "\n") + if item.id == mightyEagleItemId then + eagleItemFound = true + mightyEagleItem = { + name = item.name, + id = item.id, + type = item.type, + quantity = item.quantity, + description = item.description + } + end + end + if eagleItemFound ~= true then + print(" gameLogic.lua::itemPurchaseCallback(): mighty eagle item not found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): no items found\n") + end + else + print(" gameLogic.lua::itemPurchaseCallback(): init failed\n") + end + end + iapInitTimer = 0 +end +function purchaseAdRemoval() + logFlurryEvent("Ads removal purchase started") + iapBuyItem(adRemovalItemId, "adRemovalPurchaseCallback") +end +function purchaseMightyEagle() + print("gameLogic.lua:: purchaseMightyEagle(): enter\n") + iapInitTimer = iapInitTimeOut + iapInitItemPurchase("inAppPurchaseInitCallback") +end +function inAppPurchaseBuyCallback(pid, status, errorCode) + local failed = true + if status ~= nil and errorCode ~= nil then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback(): (status: " .. status .. ", errorCode: " .. errorCode .. ")\n") + if status == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail) \n") + if errorCode == 2 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback user cancelled \n") + eventManager:notify({ + id = events.EID_IAP_CANCELLED_BY_USER, + status = status, + error = errorCode, + product = pid + }) + else + eventManager:notify({ + id = events.EID_IAP_FAILED_OTHER, + status = status, + error = errorCode, + product = pid + }) + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (fail : other)\n") + end + end + if (status == 1 or status == 3 or status == 4) and pid == mightyEagleItemId then + failed = false + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) + if g_eagleClickedFrom == "INGAME" or g_eagleClickedFrom == "LEVEL_FAILED" then + launchMightyBait() + end + if status == 1 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (success) \n") + local from + if g_eagleClickedFrom == "MAIN_MENU" then + from = "MAIN_MENU" + else + from = getWorldLevelNumberCombination() + end + if levelName ~= nil and (highscores[levelName] == nil or highscores[levelName] ~= nil and highscores[levelName].completed ~= true) then + usedAsLevelSkip = "yes" + end + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_PURCHASED, + status = status, + errorCode = errorCode, + from = from, + usedAsLevelSkip = usedAsLevelSkip + }) + elseif status == 3 then + loginfo("gameLogic.lua::inAppPurchaseBuyCallback (mighty eagle restored)") + eventManager:notify({ + id = events.EID_MIGHTYEAGLE_RESTORED, + status = status, + errorCode = errorCode + }) + end + loginfo("gameLogic.lua::inAppPurchaseBuyCallback: (Mighty Eagle Enabled) \n") + end + end + if g_eagleClickedFrom == "MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU" + }) + elseif g_eagleClickedFrom == "INGAME" then + if failed then + goToMightyEagleDemoPageFromGame() + else + menuManager:changeRoot(g_hud_class:new()) + end + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + if not failed then + menuManager:changeRoot(g_hud_class:new()) + else + local frame = menuManager:popFrame() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = frame.return_screen + }) + end + end +end +function adRemovalPurchaseCallback(pid, status, errorCode) + local STATUS_SUCCESS = 1 + local STATUS_FAIL = 2 + local STATUS_RESTORE = 3 + local STATUS_PENDING = 4 + local ERRCODE_USER_CANCELLED = 2 + print("gameLogic.lua::inAppPurchaseBuyCallback(): status: " .. _G.tostring(status) .. ", errorCode: " .. _G.tostring(errorCode) .. "\n") + if status ~= nil and errorCode ~= nil then + if status == STATUS_FAIL then + print(" fail\n") + if errorCode == ERRCODE_USER_CANCELLED then + print(" user cancel\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "user cancelled") + else + print(" other\n") + logFlurryEventWithParam("Ads removal purchase", "Result", "fail") + end + end + if (status == STATUS_SUCCESS or status == STATUS_RESTORE or status == STATUS_PENDING) and pid == adRemovalItemId then + removeAds() + scoreAdOffsetY = 0 + if status == STATUS_PENDING then + logFlurryEventWithParam("Ads removal purchase", "Result", "pending") + elseif status == STATUS_SUCCESS then + logFlurryEventWithParam("Ads removal purchase", "Result", "success") + print(" success\n") + elseif status == STATUS_RESTORE then + print(" restored") + end + end + end + backToGameFromPopup() +end +function checkLastOpenLevels() + for i = 1, #g_episodeIds do + local id = g_episodeIds[i] + local ep = g_episodes[g_episodeIds[i]] + if not ep.no_level_progression then + local last = calculateLastOpenLevel(id) + if last > settingsWrapper:getLastOpenLevel(id) then + settingsWrapper:setLastOpenLevel(id, last) + print(" set last open level for episode " .. _G.tostring(id) .. " to " .. _G.tostring(last) .. "\n") + end + end + end +end +function initializeMenu() + if not settingsWrapper:isFlurryFirstTimeLevelCollected() then + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and not g_episodes[i].pages[j].extra and g_episodes[i].pages[j].world_number and g_episodes[i].pages[j].world_number > 0 then + levelCompleteFirstTimeFlurryParams = {} + levelCompleteFirstTimeFlurryParams.Level = g_episodes[i].pages[j].world_number .. "-" .. k + logFlurryEventWithParams("Level complete first time", "levelCompleteFirstTimeFlurryParams") + end + end + end + end + settingsWrapper:setFlurryFirstTimeLevelCollected() + end + checkLastOpenLevels() + local ct = currentTime() + if settingsWrapper:getCumulativeStars() == nil then + settingsWrapper:setCumulativeStars(0) + for i = 1, #g_episodes do + local stars, _ = calculateEpisodeStars(i) + settingsWrapper:setCumulativeStars(settingsWrapper:getCumulativeStars() + stars) + end + end + for _, v in _G.pairs(g_episodes) do + if not v.extra then + for _, v2 in _G.pairs(v.pages) do + if not v2.extra and v2.world_number and v2.world_number > 0 and not settingsWrapper:isThemeCompleted(v2.world_number) and highscores[v2.levels[#v2.levels].name] ~= nil and highscores[v2.levels[#v2.levels].name].completed then + settingsWrapper:setThemeCompleted(v2.world_number) + end + end + end + end + for i = 1, #g_episodes do + if not settingsWrapper:isEpisodeThreeStarred(i) then + local epStars, epTotalStars = calculateEpisodeStars(i) + if epTotalStars <= epStars then + settingsWrapper:setEpisodeThreeStarred(i) + end + end + end + if #settingsWrapper:getEagleUsedIn() == 0 then + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + end + if not settingsWrapper:isIAPRestoreChecked() and deviceModel == "android" then + settingsWrapper:setIAPRestoreChecked() + print(" attempting iap restore\n") + iapRestoreItems("iapRestoreCallback") + end + if not isEagleEnabled() and checkEagleStatusFromHighscores() then + enableMightyEagle() + settingsWrapper:setMightyEagleUpsellPageViewed() + end + settingsWrapper:restoreGoldenEggsFromHighscores() + if releaseBuild ~= true then + for _, page in _G.ipairs(g_episodes.G.pages) do + for _, level in _G.ipairs(page.levels) do + settingsWrapper:unlockGoldenEgg(level.name) + end + end + end + settingsWrapper:incrementGameStarts() + getInitialPowerupRewards() + if isPremium then + settingsWrapper:setPremium(true) + end + saveLuaFileWrapper("settings.lua", "settings", true) + if g_registrationEnabled then + g_isRegistered = DRM.checkRegistration() + end + if not releaseBuild and releaseBuild then + port() + end + createMenuPages() + selectedMenuItem = -1 + oldMenuPage = nil + if not releaseBuild then + for i = 1, #g_episodeIds do + if not g_episodes[g_episodeIds[i]].no_level_progression then + settingsWrapper:setLastOpenLevel(g_episodeIds[i], 200) + end + end + end + limitLevels = false + openDemoLevels = { + 1, + 6, + 17, + 26, + 34, + 36, + 45, + 49, + 58 + } + popupPage = nil + birdAnimations = {} + createMenuLinks() + menuManager:addLink("INFO_FRAME", info.InfoFrame:new()) + menuManager:addLink("MIGHTY_EAGLE_PURCHASE_PAGE", MEPage:new()) + if subsystemsapi:isAndroid() and useAds() then + menuManager:addLink("ADS_OFF_PAGE", AdsOffPage:new()) + end + if g_menuInitialised ~= true and _G.magicplaces then + _G.magicplaces.gameMenuInitialised() + end + g_menuInitialised = true + if not releaseBuild or cheatsEnabled then + for k, _ in _G.pairs(nuked) do + print("-- showing message for lost savefile " .. k .. "\n") + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "QA Message", + content = "The file \"" .. k .. "\" was corrupted, sorry!" + }) + }) + end + end + if g_updateCheckEnabled and deviceModel == "windows" then + print("checking for updates\n") + checkForUpdates() + end + if deviceModel == "windows" or deviceModel == "osx" or g_isAccelerometerControl then + g_cursorEnabled = true + end + if g_isAccelerometerControl then + enableMotion(true) + end +end +function iapRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + if pid == mightyEagleItemId then + restoreMightEagle() + elseif pid == adRemovalItemId then + print(" restored ad removal\n") + removeAds() + else + print(" attempted to restore unknown item id\n") + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + else + print(" restore failed?\n") + end +end +function iosEagleRestoreCallback(pid, status, error) + print(" restore callback; pid: " .. _G.tostring(pid) .. " status: " .. _G.tostring(status) .. " error: " .. _G.tostring(error) .. "\n") + if status == 1 or status == 3 or status == 4 then + do + local menurootname = menuManager:getRoot().name + if pid == mightyEagleItemId then + restoreMightEagle() + if menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS" + })) + end + g_last_sync_time = nil + elseif settingsWrapper:isMightyEagleEnabled() == false then + local function buy_eagle_func() + local click_from + if menurootname == "gameHud" then + click_from = "INGAME" + else + click_from = "MAIN_MENU" + end + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_BUTTON_CLICKED, + from = click_from + }) + end + notificationsFrame:addChild(ui.ConfirmPrompt:new({ + title = "TEXT_MIGHTY_EAGLE_PURCHASE_QUERY", + confirmOnLeft = deviceModel ~= "osx", + confirm_call = buy_eagle_func + })) + end + eventManager:notify({ + id = events.EID_IAP_ITEMS_RESTORED + }) + end + elseif pid == mightyEagleItemId and menurootname ~= "gameHud" and menurootname ~= "pausePage" then + notificationsFrame:addChild(ui.MessageBox:new({ + content = "TEXT_MIGHTY_EAGLE_RESTORE_FAILURE" + })) + end +end +function restoreMightEagle() + print(" restore mighty eagle\n") + enableMightyEagle() + settingsWrapper:resetEaglesUsedIn() + settingsWrapper:setEagleUsedTime(nil) + settingsWrapper:setMightyEagleUpsellPageViewed() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function getInitialPowerupRewards() + if not settingsWrapper:isRewardCollected("firststart") then + g_startup_rewards = 5 + else + g_startup_rewards = nil + end +end +function getWorldLevelNumberCombination() + local level = "999-999" + if currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + level = currentWorldNumber .. "-" .. currentLevelNumberInTheme + end + return level +end +function changeGFXQuality() + settingsWrapper:toggleGfxLowQuality() +end +function refreshLocalGameCenterData() + print("gamelogic refreshLocalGameCenterData \n") + if gameCenterEnabled and leaderboards then + for k, v in _G.pairs(leaderboards) do + getLeaderboardScoresForRange(v, 1, 1) + end + end +end +function getLeaderboardNameForWorld(worldNumber) + local lboardName = "totalScoreWorld" .. worldNumber + return lboardName +end +function getLeaderboardNameForEpisode(episodeNumber) + local lboardName = false + if _G.type(episodeNumber) == "number" and episodeNumber <= #g_episodes then + lboardName = "totalScoreEpisode" .. episodeNumber + end + return lboardName +end +function getLeaderboardNameForTotalScore() + if isLiteVersion then + return "liteTotalScore" + else + return "totalScore" + end +end +function getWorldScore(episode, page) + local totalScore = 0 + for i = 1, #g_episodes[episode].pages[page].levels do + local level = g_episodes[episode].pages[page].levels[i] + if highscores[level.name] ~= nil and highscores[level.name].score ~= nil then + totalScore = totalScore + highscores[level.name].score + end + end + return totalScore +end +function getLeaderboardNamesForLevel(levelName) + if g_menuInitialised then + local worldNumber = 0 + for k, v in allLevels() do + if k == levelName then + local level, episode, page, _ = getLevelById(levelName) + local lboardNames = {} + local lboardNameWorld = getLeaderboardNameForWorld(g_episodes[episode].pages[page].world_number) + local lboardNameEpisode = getLeaderboardNameForEpisode(episode) + local lboardNameTotal = getLeaderboardNameForTotalScore() + if lboardNameWorld then + _G.table.insert(lboardNames, lboardNameWorld) + end + if lboardNameEpisode then + _G.table.insert(lboardNames, lboardNameEpisode) + end + if lboardNameTotal then + _G.table.insert(lboardNames, lboardNameTotal) + end + return lboardNames + end + end + end + return false +end +function setPostedStatus(levelName) + if gameCenterEnabled and gameCenter and gameCenter.leaderboards and leaderboards then + local lboardNames = getLeaderboardNamesForLevel(levelName) + if lboardNames then + for k, v in _G.pairs(lboardNames) do + if gameCenter.leaderboards[leaderboards[v]] then + print("Setting posted status to false for leaderboard " .. v .. ".\n") + gameCenter.leaderboards[leaderboards[v]].posted = false + end + end + end + end +end +function setIndicatorPositions() +end +function disableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(false) + end +end +function enableGameCenter() + if not menuManager then + return + end + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:setGameCenterEnabled(true) + end +end +function createMenuPages() + loadLuaFile(commonScriptPath .. "/menus/level_selection_layouts.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_selection_free.lua", "") + loadLuaFile(scriptPath .. "/menus/ep9_level_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/episode_selection.lua", "") + loadLuaFile(commonScriptPath .. "/menus/main_menu.lua", "") + loadLuaFile(commonScriptPath .. "/menus/credits.lua", "") + loadLuaFile(commonScriptPath .. "/menus/settings_page.lua", "") + loadLuaFile(commonScriptPath .. "/menus/tutorials.lua", "") + loadLuaFile(commonScriptPath .. "/menus/animated_tutorial.lua", "") + loadLuaFile(commonScriptPath .. "/menus/egg_hint.lua", "") + loadLuaFile(commonScriptPath .. "/menus/loading.lua", "") + loadLuaFile(commonScriptPath .. "/menus/level_end.lua", "") + loadLuaFile(commonScriptPath .. "/menus/achievements.lua", "") + loadLuaFile(commonScriptPath .. "/menus/reward_popups.lua", "") + loadLuaFile(commonScriptPath .. "/menus/shop2.lua", "") + loadLuaFile(scriptPath .. "/menus.lua", "") + if gameCenterSupported or not releaseBuild then + loadLuaFile(commonScriptPath .. "/subsystems/game_center.lua", "") + end + if deviceModel == "osx" then + loadLuaFileToObject(scriptPath .. "/menus/gesture_menu.lua", this.OSX, "") + end + local loading = LevelLoadingPage:new({name = "loading", visible = "false"}) + notificationsFrame:addChild(loading) + loading:layout() + initSubsystems() + createPopupBoxSpriteTables() + if gameCenterEnabled and gameCenter and gameCenter.leaderboards then + postTotalHighScores() + end +end +function prepareSpecialEvents() +if not g_episodes or not getLevelById(levelName) then + return +end +local level, episode, page, levelNumber = getLevelById(levelName) +local selectedEpisode = g_episodes[episode] +local selectedLevel = g_episodes[episode].pages[page].levels[levelNumber] + if selectedLevel.hasSpecialMusic then + specialMusic = selectedLevel.specialMusic + else + specialMusic = nil + end +end +function preprocessLevelList() + for episode_id, episode in _G.pairs(g_episodes) do + episode.level_list = {} + local level_number = 1 + local level_display_number = 1 + for page_index, page in _G.ipairs(episode.pages) do + if episode.per_page_level_numbering then + level_display_number = 1 + end + page.episode = episode_id + page.index = page_index + for level_index, level in _G.ipairs(page.levels) do + level.episode = episode_id + level.page = page_index + level.index = level_index + if episode.no_level_progression or page.no_level_progression then + level.index_in_episode = 0 + else + level.index_in_episode = level_number + level_number = level_number + 1 + end + level.display_number = _G.tostring(level_display_number) + level_display_number = level_display_number + 1 + _G.table.insert(episode.level_list, level.name) + end + end + end +end +function getLevelDisplayNumber(level_name) + local level, episode, page, index = getLevelById(level_name) + if level == nil then + return "0-0" + end + local world_string, level_string + if level.world_number_override then + world_string = level.world_number_override + else + world_string = g_episodes[episode].pages[page].display_number + end + if g_episodes[episode].per_page_level_numbering then + level_string = getLevelNumber(level_name) + else + level_string = getLevelIndexInEpisode(level_name) + end + local function get_formatter_string() + local str = "%world%-%level%" + local tables = { + g_episodes[episode], + g_episodes[episode].pages[page], + level + } + for i = 1, 3 do + if tables[i] and tables[i].level_number_format then + str = tables[i].level_number_format + end + end + return str + end + local format = get_formatter_string() + local vars = {world = world_string, level = level_string} + return _G.string.gsub(format, "%%(%w+)%%", vars) +end +function calculateEpisodeStars(episode) + local stars = 0 + local total_stars = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.ignoreInThreeStarCalculations then + total_stars = total_stars + #page.levels * 3 + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + local score = highscores[level.name].score or 0 + if score >= starTable[level.name].goldScore then + stars = stars + 3 + elseif score >= starTable[level.name].silverScore then + stars = stars + 2 + elseif 0 < score then + stars = stars + 1 + end + end + end + end + end + return stars, total_stars +end +function calculateEpisodeScore(episode) + local score = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + if not page.disregard_in_episode_score then + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + score = score + highscores[level.name].score + end + end + end + end + return score +end +function getEagleScore(levelName) + if levelName == nil or highscores[levelName] == nil or highscores[levelName].eagleScore == nil then + return -1 + end + local eagleScore = 0 + if highscores[levelName].eagleScore ~= nil then + eagleScore = highscores[levelName].eagleScore + end + return eagleScore +end +function storeEagleScore(levelName, score) + if settingsWrapper:isMightyEagleEnabled() then + highscores[levelName].eagleScore = score + elseif isFreeEagleEnabled() or g_usingFreeEagle then + highscores[levelName].eagleScore = score + highscores[levelName].freeEagleUsed = true + g_haveEagleScores = true + end +end +function calculateFeatherScore(episode) + local total_feathers = 0 + local feathers = 0 + for i = 1, #g_episodes[episode].pages do + if g_episodes[episode].pages[i].mighty_eagle_disabled ~= true then + local page = g_episodes[episode].pages[i] + total_feathers = total_feathers + #page.levels + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and getEagleScore(level.name) >= 100 then + feathers = feathers + 1 + end + end + end + end + return feathers, total_feathers +end +function calculateAllFeathers() + local feathers = 0 + local total_feathers = 0 + for i = 1, #g_episodes do + if not g_episodes[i].mightyPower or not g_episodes[i].mightyPower.dont_count_towards_feathers then + local f, tf = calculateFeatherScore(i) + feathers = feathers + f + total_feathers = total_feathers + tf + end + end + return feathers, total_feathers +end +function calculateEpisodeLevelsCompleted(episode) + local total_levels = 0 + for i = 1, #g_episodes[episode].pages do + local page = g_episodes[episode].pages[i] + for j = 1, #page.levels do + local level = page.levels[j] + if highscores[level.name] ~= nil and highscores[level.name].completed then + total_levels = total_levels + 1 + end + end + end + return total_levels +end +function calculateLastOpenLevel(episode) + local pages = g_episodes[episode].pages + local last_level = 1 + local level_index = 1 + for i = 1, #pages do + if not pages[i].extra then + if pages[i].all_levels_open then + last_level = #pages[i].levels + 1 + else + for j = 1, #pages[i].levels do + level_index = level_index + 1 + local level = pages[i].levels[j] + if highscores[level.name] and highscores[level.name].completed then + last_level = level_index + end + end + end + end + end + return last_level +end +function checkEagleStatusFromHighscores() + local eagleEnabled = false + for i = 1, #g_episodes do + for j = 1, #g_episodes[i].pages do + for k = 1, #g_episodes[i].pages[j].levels do + local level = g_episodes[i].pages[j].levels[k] + if highscores[level.name] ~= nil and highscores[level.name].eagleScore ~= nil and highscores[level.name].eagleScore > 0 then + if not highscores[level.name].freeEagleUsed then + eagleEnabled = true + end + g_haveEagleScores = true + end + end + end + end + return eagleEnabled +end +function calculateStarsFromGoldenEggLevels() + stars = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + local level = episode.pages[j].levels[k] + if highscores[level.name] and highscores[level.name].completed then + stars = stars + 1 + end + end + end + end + end + return stars +end +function calculateOpenGoldenEggLevels() + count = 0 + for i = 1, #g_episodeIds do + local episode = g_episodes[g_episodeIds[i]] + for j = 1, #episode.pages do + if episode.pages[j].calculate_as_golden_egg_levels then + for k = 1, #episode.pages[j].levels do + if settingsWrapper:isGoldenEggUnlocked(episode.pages[j].levels[k].name) then + count = count + 1 + end + end + end + end + end + return count +end +function restartLevelIngame(hiddenLoading) + settingsWrapper:incrementGameRestarted() + if numberOfAttemptsInLevel == nil then + numberOfAttemptsInLevel = 0 + end + if currentEpisode == "G" then + eventManager:notify({ + id = events.EID_GE_LEVEL_RESTARTED, + levelName = levelName, + levelRestartedFrom = "pause menu" + }) + elseif currentEpisode ~= "G" then + eventManager:notify({ + id = events.EID_LEVEL_RESTARTED, + currentWorldNumber = currentWorldNumber, + currentLevelNumberInTheme = currentLevelNumberInTheme, + levelName = levelName, + numberOfAttemptsInLevel = numberOfAttemptsInLevel, + birdsShot = birdsShot, + birdsCounter = birdsCounter, + levelRestartedFrom = "pause menu" + }) + end + numberOfAttemptsInLevel = numberOfAttemptsInLevel + 1 + setEditing(false) + setPhysicsEnabled(false) + eventManager:notify({ + id = events.EID_LEVEL_LOADING_INIT + }) + eventManager:notify({ + id = events.EID_DO_LOADING, + items = { + function() + loadLevelInternal(levelFolder .. levelName) + end + }, + completion_call = startLevel + }) +end +function handleGameModeChange(page, selectedMenuItem) + if currentGameMode == updateEditor then + _G.res.stopAudio(currentMainMenuSong) + _G.res.playAudio("edit_music", true) + levelName = page.items[selectedMenuItem].filename + levelFolder = page.items[selectedMenuItem].folder + setEditing(true) + setPhysicsEnabled(physicsEnabled) + currentLevelNumberInTheme = page.items[selectedMenuItem].pageLevelIndex or currentLevelNumberInTheme + currentLevelNumber = page.items[selectedMenuItem].levelIndex or currentLevelNumber + currentThemeNumber = page.items[selectedMenuItem].themeIndex or currentThemeNumber + currentWorldNumber = page.items[selectedMenuItem].worldNumber or currentWorldNumber + currentPageNumber = page.pageNumber or currentPageNumber + loadLevelInternal(levelFolder .. levelName) + end +end +function checkLogLevelNotCompleted() + if highscores ~= nil and levelName ~= nil and startedFromEditor ~= true then + local levelNotCompleted = highscores[levelName] == nil + if levelNotCompleted and currentWorldNumber ~= nil and currentLevelNumberInTheme ~= nil then + local level = getWorldLevelNumberCombination() + local levelData, episode, world, levelNumber = getLevelById(levelName) + local extra = g_episodes[episode].extra + if not extra then + eventManager:notify({ + id = events.EID_FLURRY_EVENT_STARTED_BEFORE_COMPLETION, + level = levelName + }) + end + end + end +end +function releaseCutScenes() + releaseCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) + releaseImages({"CUTSCENES"}) + loadBackgrounds() + loadImages({ + "MENU", + "OTHER", + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + loadAssets({"HUD"}) + loadCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) +end +function releaseBackgrounds() + releaseImages({ + "BACKGROUNDS" + }) +end +function loadBackgrounds() + loadImages({ + "BACKGROUNDS" + }) +end +function loadCutScenes() + if useDynamicAssets then + releaseCompoSprites({ + "BUTTONS_COMPOSPRITES", + "MENU_COMPOSPRITES" + }) + releaseImages({"OTHER", "MENU"}) + releaseImages({ + "INGAME", + "LEVELSELECTION", + "POPUPS", + "BUTTONS", + "TUTORIALS" + }) + releaseAssets({"HUD"}) + releaseBackgrounds() + end + loadImages({"CUTSCENES"}) + loadCompoSprites({ + "CUTSCENES_COMPOSPRITES" + }) +end +function gotoLevelSelectionGoldenEggs(dt) + print("(1.5.4) ep Golden Eggs clicked..\n") + function currentGameMode() + end + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_G" + }) +end +function hasLevelPack(n) + return true +end +function isEpisodeOpen(id) + if g_registrationEnabled then + if id == 1 or id == "G" then + return true + else + return g_isRegistered + end + else + return true + end +end +function isEpisodeComplete(id) + local ep = g_episodes[id] + for _, v in _G.ipairs(ep.pages) do + for _, v2 in _G.ipairs(v.levels) do + if v2.episode_end then + return highscores[v2.name] and highscores[v2.name].completed + end + end + end + return false +end +function showLoadingInitGameCenter() +end +function hideLoadingInitGameCenter() +end +function showLoadingLeaderboards() + showLeaderboards() +end +function hideLoadingLeaderboards() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showLoadingAchievements() + showAchievements() +end +function hideLoadingAchievements() + local main_menu = menuManager:getLink("MAIN_MENU") + if main_menu then + main_menu:resetGameCenterButtons() + end +end +function showFBLikePopup() + showSystemPopup("TEXT_FB_LEVELS_HINT_TITLE", "TEXT_FB_LEVELS_HINT") +end +function showPauseMenu(dt) + levelRestartedFrom = "pause menu" + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") + eventManager:notify({ + id = events.EID_ABOUT_MENU_OPENED + }) + loginfo(" - Show pausemenu - ") +end +function hidePauseMenu(dt) +end +function showEagleTimeLeft() + eagleInfoTimer = 3 +end +function launchMightyBait(baitObjDef) + local _, episode, _, _ = getLevelById(levelName) + local baitObjDef = g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.definition or "BaitSardine" + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + if currentBirdName ~= nil and objects.world[currentBirdName].shot ~= true then + removeBird(objects.world[currentBirdName]) + elseif birdToSlingshotBirdName ~= nil then + removeBird(objects.world[birdToSlingshotBirdName]) + currentBirdIndex = currentBirdIndex + 1 + end + local nextBirdName + repeat + currentBirdIndex = currentBirdIndex + 1 + nextBirdName = getNextBird(currentBirdIndex) + if nextBirdName ~= nil then + removeBird(objects.world[nextBirdName]) + end + until nextBirdName == nil + currentBirdIndex = currentBirdIndex - 1 + birdToSlingshotBirdName = nil + currentBirdName = nil + eventManager:notify({ + id = events.EID_EAGLE_BAIT_LAUNCHED + }) + local tempFlyingBird = flyingBird + returnToBirdCamera() + flyingBird = tempFlyingBird + if isFreeEagleEnabled() then + g_usingFreeEagle = true + end + eagleSoundPlayed = nil + eagleBaitLaunched = true + levelCompleteTimer = 0 + levelFailedTimer = -200 + local obj = { + x = slingShotBasePosition.x, + y = slingShotBasePosition.y, + name = baitObjDef .. "_1", + startNumber = nil, + angle = 0, + definition = baitObjDef + } + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if 0 > obj.angle then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[name].texture + setTexture(name, texture) + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + end + objects.world[name].animTimer = 3 + objects.world[name].jumpTimer = 3 + birds[name] = objects.world[name] + local sprites = getDamageSprite(objects.world[name], blockTable.blocks) + objects.world[name].damageSprite = sprites.sprite + objects.world[name].blinkSprite = sprites.blink + objects.world[name].smileSprite = sprites.smile + objects.world[name].frozen = false + objects.world[name].isMightyBait = true + objects.world[name].recordTrajectory = false + local bDef = blockTable.blocks[baitObjDef] + eagleTimer = nil + dragonTimer = nil + fauxDragonTimer = nil + fauxDragonKillTimer = nil + local _ENV = _G.getfenv(1) + objects.world[name].collisionFunction = _ENV[blockTable.blocks[baitObjDef].collisionFunction] + objects.world[name].frozenFunction = _ENV[blockTable.blocks[baitObjDef].frozenFunction] + objects.world[name].updateFunction = _ENV[blockTable.blocks[baitObjDef].updateFunction] + mightyTimerUpdate = _ENV[blockTable.blocks[baitObjDef].timerFunction] + if not settingsWrapper:getTutorialsForItem(objects.world[name].sprite) then + settingsWrapper:createTutorialForItem(objects.world[name].sprite, blockTable.blocks[objects.world[name].definition].tutorialInfo) + _G.table.insert(birdTutorialPopups, blockTable.blocks[objects.world[name].definition].tutorialInfo) + else + end + setGameMode(updateGame) + setPhysicsEnabled(true) + nextBirdTimer = 0.1 + drawGame() + if #birdTutorialPopups == 0 then + changeResolution = nil + end + fillInNextBird = true +end +function createAudio(params) + local stream = params.stream or false + local ext = params.extension or "wav" + if g_useMp3Sound and params.extension == nil then + ext = "mp3" + end + local fileName = audioPath .. params.fileName .. "." .. ext + _G.res.createAudio(fileName, params.clipName, stream) + local channel = params.channel + audioData.sounds[params.clipName] = { + name = params.clipName, + channel = channel, + volume = params.volume, + canBeOverWritten = params.canBeOverWritten, + loop = params.loop + } +end +function playAudio(name, volume, loop, channel, ignoreFilters) + if audioData.sounds[name] ~= nil then + channel = audioData.sounds[name].channel or channel + volume = audioData.channelVolume[channel] or volume + loop = audioData.sounds[name].loop or loop + volume = audioData.sounds[name].volume or volume + end + if name ~= nil then + _G.res.playAudio(name, volume or 1, loop or false, channel or 0) + end +end +function setEffectsVolume(volume) + for i = 0, 6 do + _G.res.setTrackVolume(volume, i) + end +end +function setMusicVolume(volume) + _G.res.setTrackVolume(volume, 7) +end +function changeAudio(from) + if subsystemsapi:isAndroid() then + print("audio enabled : " .. _G.tostring(settingsWrapper:isAudioEnabled())) + if settingsWrapper:isAudioEnabled() then + setMusicVolume(0) + setEffectsVolume(0) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + setMusicVolume(1) + setEffectsVolume(1) + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + elseif settingsWrapper:isAudioEnabled() then + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = -0.5 + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 0, + from = from + }) + else + audioRampVolume = _G.res.getTrackVolume(7) + audioRampLength = 0.5 + _G.res.startAudioOutput() + eventManager:notify({ + id = events.EID_AUDIO_STATE_CHANGED, + state = 1, + from = from + }) + end + settingsWrapper:toggleAudioEnabled() + saveLuaFileWrapper("settings.lua", "settings", true) +end +function gotoMightyEagleTrailer() + eventManager:notify({ + id = events.EID_MIGHTY_EAGLE_TRAILER_CLICKED + }) +end +function gotoSeasonsInAppStore() + eventManager:notify({ + events.EID_SEASONS_LINK_CLICKED + }) +end +function gotoNewsLetter() + eventManager:notify({ + id = events.EID_NEWSLETTER_CLICKED + }) +end +function openURL(url) + if g_delayedURLOpen then + return + end + if (deviceModel == "windows" or deviceModel == "osx") and isInFullScreenMode() then + setFullScreenMode(false) + g_restoreFullScreenOnReactivate = 1 + g_delayedURLOpen = { + time = g_time + 0.1, + url = url + } + else + if (deviceModel == "windows" or deviceModel == "osx") and g_restoreFullScreenOnReactivate == 1 then + g_restoreFullScreenOnReactivate = 2 + end + print("opening URL: " .. _G.tostring(url) .. "\n") + _G.res.openURL(url) + end +end +function gotoABFBConnect() + if not settingsWrapper:isFbPageLiked() then + settingsWrapper:setFbPageLiked() + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) + openURL(AB_FBCONNECT_URL) + eventManager:notify({ + id = events.EID_FACEBOOK_LIKE_CLICKED + }) + else + showFBLiked() + end +end +function showFBLiked() + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = ui.Prompt:new({ + title = "TEXT_LIKE_CONFIRMED_TITLE", + content = "TEXT_LIKE_CONFIRMED", + box_width = 0.5 + }) + }) + eventManager:notify({ + id = events.EID_HIDE_LOADING_PAGE + }) +end +function gotoABShop() + eventManager:notify({ + id = events.EID_ABSHOP_LINK_CLICKED + }) + openURL(ABSHOP_URL) +end +function gotoAndroidMarket() + openURL(ANDROID_MARKET_FULL_VERSION_URL) +end +function gotoPrivacyPolicy() + openURL(PRIVACY_POLICY_URL) +end +function gotoEula() + openURL(EULA_URL) +end +function gotoMagicPrivacyPolicy() + openURL(MAGIC_PRIVACY_POLICY_URL) +end +function gotoMagicEula() + openURL(MAGIC_EULA_URL) +end +function gotoFacebook() + eventManager:notify({ + id = events.EID_FACEBOOK_LINK_CLICKED + }) + openURL(FACEBOOK_URL) +end +function gotoTwitter() + eventManager:notify({ + id = events.EID_TWITTER_LINK_CLICKED + }) + openURL(TWITTER_URL) +end +function gotoSinaWeibo() + eventManager:notify({ + id = events.EID_SINA_WEIBO_LINK_CLICKED + }) + openURL(SINA_WEIBO_URL) +end +function gotoTencentWeibo() + eventManager:notify({ + id = events.EID_TENCENT_WEIBO_LINK_CLICKED + }) + openURL(TENCENT_WEIBO_URL) +end +function gotoQzone() + eventManager:notify({ + id = events.EID_QZONE_LINK_CLICKED + }) + openURL(QZONE_URL) +end +function gotoRenren() + eventManager:notify({ + id = events.EID_RENREN_LINK_CLICKED + }) + openURL(RENREN_URL) +end +function gotoAngryBirdsTrailer() + eventManager:notify({ + id = events.EID_CINEMATIC_TRAILER_CLICKED + }) + openURL(ANGRY_BIRDS_TRAILER_URL) +end +function gotoOviStore(dt) + openURL(OVI_STORE_URL_S60) +end +function gotoS60UpdatePage() + openURL(ROVIO_UPDATE_URL_S60) +end +function gotoMoreOnOviStore() + openURL(OVI_STORE_MORE_GAMES_URL_S60) + removePopupMenu() +end +function drawCreditsBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "ES_BACKGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end + function drawTitleBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawESBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_MAIN") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_MAIN", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawEditBackground(page) + local w, h = _G.res.getSpriteBounds("EPISODES_BACKGROUND_EDIT") + local scale = _G.math.max(screenWidth / w, screenHeight / h) + setRenderState(0, 0, scale, scale, 0, 0, 0) + _G.res.drawSprite("", "EPISODES_BACKGROUND_EDIT", screenWidth / 2 / scale, screenHeight / scale, "HCENTER", "BOTTOM") + setRenderState(0, 0, 1, 1, 0, 0, 0) +end + function drawLevelSelectionBackground(page) + setRenderState(0, 0, -1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", -screenWidth, 0, "LEFT", "TOP", _G.math.ceil(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) + _G.res.drawSprite("", "LS_FOREGROUND", 0, 0, "LEFT", "TOP", _G.math.floor(screenWidth / 2), screenHeight) + setRenderState(0, 0, 1, 1, 0) +end +function showRewardPopup(type, params) + local popup + if type == "GOLDEN_EGG" then + popup = GoldenEgg:new() + playAudio("goldenegg", 1, false) + elseif type == "BOOMERANG_BIRD" then + popup = BoomerangBirdPopup:new() + playAudio("star_collect", 1, false) + elseif type == "STAR" then + popup = StarPopup:new(params.first_time) + playAudio("star_collect", 1, false) + elseif type == "GENERIC_REWARD" then + popup = RewardPopup:new(params.sprite) + playAudio(params.sound, 1, false) + end + notificationsFrame:addChild(popup) + popup.x = screenWidth * 0.5 + popup.y = screenHeight * 0.9 + popup:onEntry() + popup:layout() + local duration = 1.2 + processManager:insertAction({ + name = "golden egg rise", + finished = false, + item = popup, + start = 0, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicOut(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = (2.5 - moveRate * 1.5) * (screenHeight * 0.5) + item.x = screenWidth * 0.5 + item.angle = item.angle + dt * 2 + item.visible = true + item:getChild("egg").visible = true + item:getChild("egg").angle = -item.angle + item.rate = rate + end + }) + processManager:insertAction({ + name = "golden egg stay middle", + finished = false, + item = popup, + start = duration, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + item.angle = item.angle + dt * 2 + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:insertAction({ + name = "golden egg go away", + finished = false, + item = popup, + start = duration * 2, + duration = duration, + meta = {}, + action = function(item, elapsed, target, dt, meta) + local moveRate = tweenEaseCubicIn(elapsed, 0, 1, target) + local rate = elapsed / target + item.y = screenHeight * 0.5 - moveRate * 0.7 * screenHeight + item.angle = item.angle + dt * 2 + item.rate = 1 - rate + item.x = screenWidth * 0.5 + item:getChild("egg").angle = -item.angle + end + }) + processManager:start() +end +function revealGoldenEgg(name) + settingsWrapper:unlockGoldenEgg(name) + showRewardPopup("GOLDEN_EGG") +end +function loadLevelInternal(levelFileName) + g_tutorialActive = nil + g_usingFreeEagle = false + g_level_completing = false + if levelFileName ~= nil then + print(" ------------ LOAD LEVEL INTERNAL.. fileName = " .. levelFileName .. "\n") + end + releaseCutScenes() + _G.res.stopAllAudio() + quadClick = false + quadClickCounter = 0 + eagleBaitLaunched = false + mightyTimerUpdate = nil + cameraShake = nil + triggerTime = 0 + objects.waterLevel = nil + editor = {drawOneLayer = false, currentLayer = 0} + birdToSlingshotAnimationTimer = 0 + birdToSlingshotAnimationAngle = 0.75 * _G.math.pi + birdToSlingshotSurplusAngle = birdToSlingshotAnimationAngle - _G.math.pi * 0.5 + birdToSlingshotAnimationHeight = 0 + birdToSlingshotAnimationStartX = 0 + birdToSlingshotAnimationStartY = 0 + birdToSlingshotBirdName = nil + currentBirdIndex = 1 + currentBirdName = nil + flyingBird = nil + birdSpecialtyAvailable = false + g_touch_released_after_specialty = true + birdFired = false + birdReady = false + fillInNextBird = false + birdSelected = false + showTapIcon = true + birdsShot = 0 + tapStarted = false + tapCount = 0 + tapTimer = 0 + tapPosition = {x = 0, y = 0} + doubleClickTimer = 0 + levelCompleteTimer = 0 + levelCompleted = false + levelFailedTimer = 0 + birdBuffTimer = 0 + castleCameraTimer = 0 + dragCursorIndex = 1 + dragCursorTable = { + { + dx = 0, + dy = 0, + dt = 1 + } + } + rubberBandAngle = 0 + rubberBandLength = 0 + oldRubberBandLength = 0 + g_last_angle = nil + g_powerups_used = {} + g_slingshot_power = 1 + g_sling_scope = true + g_sling_scope_animation = 0 + g_powerups_active = false + g_bird_quake = false + g_bird_quake_timer = 0 + g_super_seed = false + g_slingshot_back = "SLING_SHOT_01_BACK" + g_slingshot_front = "SLING_SHOT_01_FRONT" + g_rubber_r = 48 + g_rubber_g = 23 + g_rubber_b = 8 + g_king_sling = false + g_sling_scope_activation = false + g_disable_slingshot = false + g_extra_game_update = nil + g_disable_double_tap = false + g_reload_bird = animateBirdToSlingShot + g_default_start_x = 0 + g_default_start_y = 0 + g_bird_reload_delay = 1 + g_game_win_condition = checkLevelComplete + g_game_lose_condition = checkLevelFailed + g_bird_remove_time = 1 + g_bird_remove_velocity_treshold = 0.0025 + g_camera_follows_launched_bird = true + g_hud_class = getVariable(_G.getfenv(1), g_hud_class_name) + g_eagle_disabled = false + g_powerups_disabled = false + g_special_game_mode = false + g_sound_next_bird = "bird_next_military" + g_sound_level_clear = "level_clear_military" + g_sound_level_start = "level_start_military" + g_sound_level_failed = "level_failed_piglets" + g_sound_birds = "bird_misc" + g_sound_pigs = "piglette" + g_zooming_disabled = false + g_before_level_end_script_called = false + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = 0.5 + zoomLevel = 0 + oldZoomLevel = 0 + worldScale = 1 + oldScoreLen = 0 + sweepSpeed = 0 + particleAmount = 0 + levelLeftEdge = 100000 + levelRightEdge = -100000 + g_skip_to_level_end = false + g_skip_wait_for_moving_objects = false + birdsCounter = 0 + objectCounts = {} + floatingScores = {} + score = 0 + scoreTable = {} + scoreTable.blocks = { + score = 0, + blockDestroyedScore = blockDestroyedScoreIncrement, + individualDestructionScores = {}, + collisionScores = {} + } + scoreTable.birds = { + score = 0, + individualScores = {} + } + oldScore = 0 + lastScoreTime = 0 + endTimeout = false + selectedObjects = {} + cameraTargetObject = nil + allowResetToBirdCamera = false + particles = {} + birdTutorialPopups = {} + showTutorialGoldenEgg = false + deadBlocks = {} + g_cinematic_camera = {} + g_cinematic_camera_timer = 0 + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _, v in _G.ipairs(g_platformTutorials[deviceModel]) do + if not settingsWrapper:getTutorialsForItem(v.id) then + local sprite = getTutorialSprite(v) + if addTutorial(birdTutorialPopups, v) then + settingsWrapper:createTutorialForItem(v.id, sprite, false) + end + end + end + end + if objects.world ~= nil then + if objects.world.MightyEagle_a ~= nil then + removeObject("MightyEagle_a") + objects.world.MightyEagle_a = nil + end + for k, v in _G.pairs(objects.world) do + objects.world[k] = nil + end + end + birds = {} + levelGoals = {} + flyingGrenades = {} + birdTrajectory = { + {}, + {}, + {} + } + otherBirds = {} + episode4BGCranes = {startX = 64} + eagleInfoTimer = nil + currentThemeIndex = 1 + objects.world = {} + objects.joints = {} + objects.counts = {} + objects.themeSprites = {} + objects.physicsToWorld = physicsToWorld + objects.theme = "theme2" + objects.castleCameraData = nil + objects.birdCameraData = nil + setWorldScale(worldScale) + screen.x = 0 + screen.y = 0 + levelStartPosition.x = 0 + levelStartPosition.y = 0 + slingShotBasePosition.x = 0 + slingShotBasePosition.y = 0 + rubberBandPos.x = 0 + rubberBandPos.y = 0 + rubberBandSpeed = 0 + objects.levelParticles = {} + loadLevel(levelFileName) + print(" - - - Level loaded \n") + if g_level_scripts[levelName] and g_level_scripts[levelName].onLoadLevel and not startedFromEditor then + g_level_scripts[levelName].onLoadLevel() + end + print(" - - - Filter loaded level done \n") + if loadedObjects == nil then + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, blockTable.themes[currentTheme].groundLevel, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + print("Setting current theme to " .. currentTheme .. "\n") + setTheme(currentTheme) + themeSpriteObjects = {} + return + end + local countsSaved = false + if loadedObjects.counts ~= nil then + countsSaved = true + for k, v in _G.pairs(loadedObjects.counts) do + objects.counts[k] = v + end + end + local pscale = 100 + if loadedObjects.physicsToWorld ~= nil then + pscale = loadedObjects.physicsToWorld + end + scaleFactor = pscale / physicsToWorld + local oldTheme = settingsWrapper:getCurrentMainMenuTheme() + if loadedObjects.theme ~= nil then + objects.theme = loadedObjects.theme + currentThemeIndex = blockTable.themes[objects.theme].index + settingsWrapper:setCurrentZoomLevelMainMenu(0) + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + settingsWrapper:setCurrentMainMenuTheme(k0) + if not v0.mainMenuScale then + local layersAmount = 0 + for l = 1, #v0.bgLayers do + layersAmount = layersAmount + 1 + settingsWrapper:setCurrentZoomLevelMainMenu(v0.bgLayers[l][4] + settingsWrapper:getCurrentZoomLevelMainMenu()) + end + settingsWrapper:setCurrentZoomLevelMainMenu(settingsWrapper:getCurrentZoomLevelMainMenu() / layersAmount) + else + settingsWrapper:setCurrentZoomLevelMainMenu(v0.mainMenuScale) + end + currentMusic = specialMusic or v0.music + currentMainMenuSong = v0.menuMusic + end + end + end + if useDynamicAssets then + dynamic.enterIngame(oldTheme, currentTheme) + elseif showEditor == false then + loadThemeGraphics(currentTheme) + else + loadAllThemeGraphics() + end + setTheme(currentTheme) + print("Theme set\n") + setLevelEffects(currentTheme) + themeSpriteObjects = {} + if loadedObjects.world ~= nil then + for k, obj in _G.pairs(loadedObjects.world) do + if obj.name ~= "ground" then + local name = createObject(blockTable, obj.definition, obj.name, obj.x * scaleFactor, obj.y * scaleFactor) + obj.angle = _G.math.fmod(obj.angle, _G.math.pi * 2) + if obj.angle < 0 then + obj.angle = obj.angle + _G.math.pi * 2 + end + setRotation(name, obj.angle) + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + local width = objects.world[name].width + if width == nil then + width = objects.world[name].radius + end + if objects.world[name].x - width < levelLeftEdge then + levelLeftEdge = objects.world[name].x - width + end + if objects.world[name].x + width > levelRightEdge then + levelRightEdge = objects.world[name].x + width + end + if objects.world[name].controllable then + birdsCounter = birdsCounter + 1 + if obj.startNumber ~= nil then + objects.world[name].startNumber = obj.startNumber + else + objects.world[name].startNumber = birdsCounter + end + if obj.startNumber == 1 then + g_default_start_x = objects.world[name].x + g_default_start_y = objects.world[name].y + end + end + end + end + end + createBox("ground", "", (levelLeftEdge + levelRightEdge) * 0.5, blockTable.themes[currentTheme].groundLevel, 2000, 10, 0, 0.8, 0, true, false, 0) + objects.world.ground.materialName = "staticGround" + objects.world.ground.definition = "Ground" + objects.world.ground.strength = 30 + objects.world.ground.defence = 1000000 + countsSaved = true + objects.waterLevel = loadedObjects.waterLevel + objects.worldGravity = loadedObjects.worldGravity or 20 + setWorldGravity(0, objects.worldGravity) + if loadedObjects.themeSprites then + for k, v in _G.pairs(loadedObjects.themeSprites) do + addThemeSprite(k, v) + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[v.name] = { + definition = v.definition, + name = v.name, + x = v.x, + y = v.y, + layer = v.layer, + angle = v.angle, + scale = v.scale + } + end + end + print("Creating joints\n") + if loadedObjects.joints ~= nil then + for k, v in _G.pairs(loadedObjects.joints) do + createJoint(v) + end + end + objects.castleCameraData = loadedObjects.castleCameraData + objects.birdCameraData = loadedObjects.birdCameraData + objects.doNotWaitForMovingObjects = loadedObjects.doNotWaitForMovingObjects + if loadedObjects.levelParticles ~= nil and _G.type(loadedObjects.levelParticles) == "table" and loadedObjects.levelParticles.settingsFrame then + g_levelParticlesEnabled = true + objects.levelParticles = loadedObjects.levelParticles + print("enabled level particles\n") + else + g_levelParticlesEnabled = false + print("no level particles\n") + end + for k, v in _G.pairs(loadedObjects) do + loadedObjects[k] = nil + end + loadedObjects.cameraData = nil + selectedBird = nil + local maxScore = 0 + birdCount = 0 + for k, v in _G.pairs(objects.world) do + if v.controllable == true then + if modifiers ~= nil then + end + birdCount = birdCount + 1 + v.animTimer = _G.math.random(10, 30) / 10 + v.jumpTimer = _G.math.random(10, 30) / 10 + -- setRotation(v.name, 0) + setObjectParameter(v.name, 2, 0) + birds[k] = v + if blockTable.blocks[v.definition].tutorialInfo ~= nil and not settingsWrapper:getTutorialsForItem(v.sprite) then + local birdSprite = blockTable.blocks[v.definition].sprite + local hasExtraTutorial = false + if birdSprite == "BIRD_GREEN" or birdSprite == "BIRD_BLUE" or birdSprite == "BIRD_YELLOW" or birdSprite == "BIRD_GREY" or birdSprite == "BIRD_BOOMERANG" or birdSprite == "BIRD_PUFFER_1" then + hasExtraTutorial = true + end + settingsWrapper:createTutorialForItem(v.sprite, blockTable.blocks[v.definition].tutorialInfo, hasExtraTutorial) + _G.table.insert(birdTutorialPopups, blockTable.blocks[v.definition].tutorialInfo) + eventManager:notify({ + id = events.EID_TUTORIAL_WATCHED, + data = {sprite = birdSprite} + }) + end + end + if v.levelGoal then + v.blinkTimer = _G.math.random(5, 30) / 10 + v.smileTimer = _G.math.random(30, 30) / 10 + v.oinkTimer = _G.math.random(5, 30) / 10 + levelGoals[k] = v + setObjectParameter(k, 1, 1) + end + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + v.frozen = false + if v.controllable then + maxScore = maxScore + birdsLeftScoreIncrement + elseif v.levelGoal then + maxScore = maxScore + v.strength * 10 + pigletteDestroyedScoreIncrement + elseif v.defence <= 1000 then + maxScore = maxScore + v.strength * 10 + destroyedBonus = blockDestroyedScoreIncrement + if blockTable.blocks[v.definition].destroyedScoreInc ~= nil then + destroyedBonus = blockTable.blocks[v.definition].destroyedScoreInc + end + maxScore = maxScore + destroyedBonus + end + end + maxScore = maxScore - birdsLeftScoreIncrement + print("Max score for " .. currentWorldNumber .. "-" .. currentLevelNumberInTheme .. ": " .. maxScore .. "\n") + levelStartTimer = 0 + local startObjectName = getNextBird(1) + if startObjectName ~= nil then + setObjectParameter(startObjectName, 2, 1) + end + if startObjectName ~= nil and objects.world[startObjectName] ~= nil then + local px, py = _G.res.getSpritePivot("", "SLING_SHOT_01_BACK") + local sw, sh = _G.res.getSpriteBounds("", "SLING_SHOT_01_BACK") + local r = objects.world[startObjectName].radius + if r == nil then + r = 0 + end + levelStartPosition.x = objects.world[startObjectName].x + levelStartPosition.y = objects.world[startObjectName].y - (sh - py) * physicsScale + r + 0.2 + slingShotBasePosition.x = objects.world[startObjectName].x + slingShotBasePosition.y = objects.world[startObjectName].y + rubberBandPos.x = levelStartPosition.x - 0.1 + rubberBandPos.y = levelStartPosition.y - 0.1 + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + drawRect(c.r / 255, c.g / 255, c.b / 255, 1, 0, 0, screenWidth, screenHeight, false) + initCameras() + if objects.levelParticles ~= nil then + local birdCamera = objects.birdCameraData + local castleCamera = objects.castleCameraData + if objects.levelParticles.startAtGroundLevel then + objects.levelParticles.y = 0 + else + objects.levelParticles.y = _G.math.min(castleCamera[deviceModel].py, castleCamera[deviceModel].py) - screenHeight * 0.5 / (screenHeight * minWorldScale / screenWidth) + end + objects.levelParticles.x = (castleCamera[deviceModel].px + screenWidth / castleCamera[deviceModel].sx + (birdCamera[deviceModel].px - screenWidth * 0.5 / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y)) / 2 + objects.levelParticles.width = castleCamera[deviceModel].px + castleCamera[deviceModel].screenWidth / castleCamera[deviceModel].sx - (birdCamera[deviceModel].px - birdCamera[deviceModel].screenWidth / birdCamera[deviceModel].sx) + _G.math.abs(objects.levelParticles.y) + objects.levelParticles.firstFrame = true + levelParticlesTimer = 0 + end + eagleUsedInCurrentLevel = false + for k, v in _G.pairs(settingsWrapper:getEagleUsedIn()) do + if v.level == levelName then + eagleUsedInCurrentLevel = true + break + end + end + editor = {drawOneLayer = false, currentLayer = 0} + loadedObjects = nil + loading = false + loadingPageDrawn = false + print("level load complete\n") + checkLogLevelNotCompleted() + _G.collectgarbage("collect") + g_levelLoaded = true + timeSinceLevelStart = 0 +end +function createObject(definitions, objectDefinition, objName, xpos, ypos) + local name = "" + local blockDef = definitions.blocks[objectDefinition] + if blockDef == nil then + print(" level contains a nonexistant block put it back in please \"" .. _G.tostring(objectDefinition) .. "\"") + return "" + end + local materialDef = definitions.materials[blockDef.materialName] + local density = blockDef.density + local friction = blockDef.friction + local restitution = blockDef.restitution + local controllable = blockDef.controllable + local strength = blockDef.strength + local defence = blockDef.defence + local levelGoal = blockDef.levelGoal + local specialBlock = blockDef.specialBlock + local collision = blockDef.collision + local damageFactors = blockDef.damageFactors + local useLegacyCollisionPath = blockDef.useLegacyCollisionPath + local z_order = blockDef.z_order + local sn = blockDef.sn + local rocket = blockDef.rocket + local rocketTrailParticles = blockDef.rocketTrailParticles + local rocketTrailSpawnDelay = blockDef.rocketTrailSpawnDelay + local floatability = blockDef.floatability + local pivotx, pivoty, forceX, forceY + if materialDef ~= nil then + if forceX == nil then + forceX = materialDef.forceX + end + if forceY == nil then + forceY = materialDef.forceY + end + if density == nil then + density = materialDef.density + definitions.blocks[objectDefinition].density = density + end + if friction == nil then + friction = materialDef.friction + definitions.blocks[objectDefinition].friction = friction + end + if restitution == nil then + restitution = materialDef.restitution + definitions.blocks[objectDefinition].restitution = restitution + end + if controllable == nil then + controllable = materialDef.controllable + definitions.blocks[objectDefinition].controllable = controllable + end + if floatability == nil then + floatability = materialDef.floatability + definitions.blocks[objectDefinition].floatability = floatability + end + if strength == nil then + strength = materialDef.strength + definitions.blocks[objectDefinition].strength = strength + end + if defence == nil then + defence = materialDef.defence + definitions.blocks[objectDefinition].defence = defence + end + if forceX == nil then + forceX = materialDef.forceX + definitions.blocks[objectDefinition].forceX = forceX + end + if z_order == nil then + z_order = materialDef.z_order + definitions.blocks[objectDefinition].z_order = z_order + end + end + if z_order == nil then + z_order = 0 + definitions.blocks[objectDefinition].z_order = z_order + end + if countsSaved == false or objName == nil then + if objects.counts[objectDefinition] == nil then + objects.counts[objectDefinition] = 0 + end + objects.counts[objectDefinition] = objects.counts[objectDefinition] + 1 + name = objectDefinition .. "_" .. objects.counts[objectDefinition] + else + name = objName + end + local sprite = blockDef.sprite + local w, h = 1, 1 + local sizeFactor = 0.92 + if sprite == nil and blockDef.damageSprites ~= nil then + sprite = blockDef.damageSprites.damage1.sprite + end + if blockDef.type == "box" then + if blockDef.width == nil or blockDef.height == nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + createBox(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "polygon" then + if sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + if blockDef.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + else + w = blockDef.width + h = blockDef.height + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + end + if collision == nil then + collision = true + end + clearVertices() + if blockDef.vertices ~= nil then + for i = 1, #blockDef.vertices do + local vert = blockDef.vertices[i] + addVertex(vert.x * w - w * 0.5, vert.y * h - h * 0.5) + end + end + createPolygon(name, sprite, xpos, ypos, w, h, density, friction, restitution, collision, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + if blockDef.type == "circle" then + if blockDef.radius ~= nil then + w = blockDef.radius + elseif sprite ~= "" and sprite ~= nil then + w, h = _G.res.getSpriteBounds("", sprite) + w = w * 0.5 * physicsScale * sizeFactor + end + pivotx, pivoty = _G.res.getSpritePivot("", sprite) + createCircle(name, sprite, xpos, ypos, w, density, friction, restitution, controllable, z_order) + if controllable then + objects.world[name].damageFactors = damageFactors + objects.world[name].useLegacyCollisionPath = useLegacyCollisionPath + end + end + objects.world[name].definition = objectDefinition + objects.world[name].damageSprite = sprite + objects.world[name].controllable = controllable + objects.world[name].strength = strength + objects.world[name].defence = defence + objects.world[name].materialName = blockDef.materialName + objects.world[name].texture = blockDef.texture + objects.world[name].levelGoal = levelGoal + objects.world[name].specialBlock = specialBlock + objects.world[name].sn = sn + objects.world[name].spritePivotX = pivotx + objects.world[name].spritePivotY = pivoty + objects.world[name].forceX = forceX + objects.world[name].forceY = forceY + objects.world[name].rocket = rocket + objects.world[name].rocketTrailParticles = rocketTrailParticles + objects.world[name].rocketTrailSpawnDelay = rocketTrailSpawnDelay + objects.world[name].floatability = floatability + if materialDef ~= nil then + setRollingSound(name, materialDef.rollingSound or "") + end + return name +end +function checkDirectories() + if not checkDirectory(levelFolder) then + createDirectory(levelFolder) + end + if not checkDirectory(levelFolder .. "temp/") then + createDirectory(levelFolder .. "temp/") + end +end +function updateCursorObjectAccordingToTheme() + for k, v in _G.pairs(blockTable.blocks) do + if v.group == currentGroup and v.groupIndex == currentGroupIndex and (v.theme == nil or v.theme == currentTheme) then + objectToAdd = k + selectedObjects = {} + end + end +end +function getObjectListBounds(objects) + local w, h, px, py + local minx = 1000000 + local maxx = -1000000 + local miny = 1000000 + local maxy = -1000000 + for k, v in _G.pairs(objects) do + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + if minx > v.x - width then + minx = v.x - width + end + if maxx < v.x + width then + maxx = v.x + width + end + if miny > v.y - height then + miny = v.y - height + end + if maxy < v.y + height then + maxy = v.y + height + end + end + w = maxx - minx + h = maxy - miny + px = (maxx + minx) * 0.5 + py = (maxy + miny) * 0.5 + return px, py, w, h +end +function initCollisionDummy(selectedObject) + local name = selectedObject.name + --local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + adjustedBlockDef = adjustedBlockDef or {} + adjustedBlockDef.objectNames = adjustedBlockDef.objectNames or {} + + adjustedBlockDef.objectNames[name] = adjustedBlockDef.objectNames[name] or {} + -- Initialize dummy + if(adjustedBlockDef.objectNames[name].radius == nil and blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = blockDef.radius + end + + if(adjustedBlockDef.objectNames[name].spritePivotX == nil and blockDef.spritePivotX) then + adjustedBlockDef.objectNames[name].spritePivotX = blockDef.spritePivotX + end + + if(adjustedBlockDef.objectNames[name].spritePivotY == nil and blockDef.spritePivotY) then + adjustedBlockDef.objectNames[name].spritePivotY = blockDef.spritePivotY + end + + if(adjustedBlockDef.objectNames[name].width == nil and blockDef.width) then + adjustedBlockDef.objectNames[name].width = blockDef.width + end + + if(adjustedBlockDef.objectNames[name].height == nil and blockDef.height) then + adjustedBlockDef.objectNames[name].height = blockDef.height + end + + if(adjustedBlockDef.objectNames[name].vertices == nil and blockDef.vertices ~= nil) then + --adjustedBlockDef.objectName.height = blockDef.height + adjustedBlockDef.objectNames[name].vertices = {} + for k,v in _G.pairs(blockDef.vertices) do + _G.table.insert(adjustedBlockDef.objectNames[name].vertices, {x = v.x, y = v.y}) + end + end +end +function updateEditor(dt, time) + + if not objects.worldGravity then + objects.worldGravity = 20 + end + + if not editorJointPage then + editorJointPage = EditorJointPage:new() + editorJointPage:onEntry() + end + + if oldZoomLevel ~= zoomLevel then + worldScale = worldScale + zoomLevel - oldZoomLevel + setWorldScale(worldScale) + oldZoomLevel = zoomLevel + end + + updateScale() + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + + + + -- XXX: ADD TO OTHERS + if(selectedObjects ~= nil and #selectedObjects == 1) then + initCollisionDummy(selectedObjects[1]) + end + + if(keyReleased["LBUTTON"] or keyReleased["RBUTTON"]) then + + end + + if(keyHold["RETURN"] and keyPressed["DOWN"]) then + alignObjects("DOWN") + end + + if(keyHold["RETURN"] and keyPressed["UP"]) then + alignObjects("UP") + end + + if(keyHold["RETURN"] and keyPressed["RIGHT"]) then + alignObjects("RIGHT") + end + + if(keyHold["RETURN"] and keyPressed["LEFT"]) then + alignObjects("LEFT") + end + + -- XXX: ADD TO OTHERS + if (keyHold["SHIFT"] or keyHold["CONTROL"]) and (keyPressed["W"] or keyPressed["E"]) and showSleepingObjects == true then + if #selectedObjects == 1 then + local name = selectedObjects[1].name + local selected = objects.world[name] + local blockDef = blockTable.blocks[selected.definition] + local dir = 1 + + if(keyHold["CONTROL"]) then dir = -1 end + + if(blockDef.radius) then + adjustedBlockDef.objectNames[name].radius = adjustedBlockDef.objectNames[name].radius + 0.1 * dir + + if(adjustedBlockDef.objectNames[name].radius < 0) then + adjustedBlockDef.objectNames[name].radius = 0 + end + + elseif(blockDef.width and blockDef.height) then + if(keyPressed["W"]) then + adjustedBlockDef.objectNames[name].width = adjustedBlockDef.objectNames[name].width + 0.1 * dir + if(adjustedBlockDef.objectNames[name].width < 0) then + adjustedBlockDef.objectNames[name].width = 0 + end + + else + adjustedBlockDef.objectNames[name].height = adjustedBlockDef.objectNames[name].height + 0.1 * dir + if(adjustedBlockDef.objectNames[name].height < 0) then + adjustedBlockDef.objectNames[name].height = 0 + end + end + elseif(blockDef.vertices ~= nil) then + for k,v in _G.pairs(blockDef.vertices) do + local vert = adjustedBlockDef.objectNames[name].vertices[k] + if(keyPressed["W"]) then + if(vert.x > 0.5) then + vert.x = vert.x + 0.05 * dir + elseif(vert.x < 0.5) then + vert.x = vert.x - 0.05 * dir + end + else + if(vert.y > 0.5) then + vert.y = vert.y + 0.05 * dir + elseif(vert.y < 0.5) then + vert.y = vert.y - 0.05 * dir + end + end + end + end + end + end + + + --the m_cursorWorldDownX will keep the values of the cursor in world coordinates when + --the RMB was pressed on the screen, will be used for scaling sprites on the background + if(keyHold["RBUTTON"]) then + if editor.m_cursorWorldDownX == nil and editor.m_cursorWorldDownY == nil then + editor.m_cursorWorldDownX = cursorWorld.x + editor.m_cursorWorldDownY = cursorWorld.y + end + else + editor.m_cursorWorldDownX = nil + editor.m_cursorWorldDownY = nil + end + + if keyReleased["ESCAPE"] or touchcount == 3 then + + --setGameMode(updateMenu) + _G.res.stopAllAudio() + playAudio("edit_menu", 1, true) + setPhysicsEnabled(false) + physicsEnabled = false + --setActiveMenuPage(levelSelectionEdit[currentThemeNumber]) + currentGameMode = function() end + if g_editorPage == "folder" then + menuManager:changeRoot(EditorFolderPage:new(currentPageNumber)) + elseif g_editorPage == "pack" then + menuManager:changeRoot(EditorEpPage:new(currentThemeNumber, currentPageNumber)) + end + editorJointPage:onExit() + editorJointPage = nil + return + end + + if keyHold["CONTROL"] and keyPressed["S"] then + playAudio("level_saved", 1, false) + print("derp\n") + print("levelFolder: " .. _G.tostring(levelFolder) .. "\n") + print("levelName: " .. _G.tostring(levelName) .. "\n") + checkDirectories() + saveLevel(levelFolder .. levelName) + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + levelSaved = true + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["C"] then + if objects.castleCameraData == nil then + objects.castleCameraData = {} + end + + objects.castleCameraData.version = "0.02" + objects.castleCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if not keyHold["CONTROL"] and keyHold["SHIFT"] and keyPressed["B"] then + if objects.birdCameraData == nil then + objects.birdCameraData = {} + end + + objects.birdCameraData.version = "0.02" + objects.birdCameraData[deviceModel] = { px = screen.x, + py = screen.y, + sx = worldScale, + sy = worldScale, + screenWidth = screenWidth, + screenHeight = screenHeight } + levelSaved = false + end + + if (keyHold["SHIFT"] and keyPressed["P"]) or touchcount == 2 then + setEditing(false) + setPhysicsEnabled(false) + + local name = "temp/" .. levelName .. ".temp.playtest" + + if(touchcount == 2) then + name = levelName + end + + if(touchcount ~= 2) then + checkDirectories() + saveLevel(levelFolder .. name) + end + + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + levelSelectionPageNumber = currentThemeNumber + currentThemeNumber = currentThemeIndex + menuManager:changeRoot(ui.GameHud:new()) + end + + if keyPressed["TAB"] then + physicsEnabled = not physicsEnabled + if physicsEnabled then + _G.res.stopAudio("edit_music") + playAudio("edit_test", 0.8, true) + playAudio("editor_action", 1, false) + checkDirectories() + saveLevel(levelFolder .. "temp/" .. levelName .. ".temp") + else + loadLevelInternal(levelFolder .. "temp/" .. levelName .. ".temp") + end + setPhysicsEnabled(physicsEnabled) + end + + if keyPressed["MBUTTON"] then + if keyPressed["SHIFT"] then + setWorldScale(1) + worldScale = 1 + else + setWorldScale(1) + worldScale = 1 + screen.x = 0 + screen.y = 0 + end + end + + -- set active theme + if keyHold["SHIFT"] and keyPressed[blockTable.themes.settings.keyCode] and not editor.edit_particles then + currentThemeIndex = currentThemeIndex + 1 + _G.res.playAudio("menu_select") + if currentThemeIndex > blockTable.themes.settings.themeAmount then + currentThemeIndex = 1 + end + + for k0, v0 in _G.pairs(blockTable.themes) do + if v0.index ~= nil and v0.index == currentThemeIndex then + currentTheme = k0 + setTheme(currentTheme) + -- replace all blocks that are theme dependent + for k1, v1 in _G.pairs(objects.world) do + v1def = blockTable.blocks[v1.definition] + if v1def.theme ~= nil and v1def.theme ~= currentTheme then + -- go through all block definitions to find the correct block to replace this one + for k2, v2 in _G.pairs(blockTable.blocks) do + -- if this block definition's group is the same as the one on the current block and the group indexes match then check the theme + if v2.group == v1def.group and v2.groupIndex == v1def.groupIndex then + -- does the theme match to the current theme requirements + if v2.theme == nil or v2.theme == currentTheme then + -- we found a replacement, update values accordingly + v1.definition = k2 + v1.sprite = v2.sprite + v1.damageSprite = v1.sprite + setSprite(k1, v1.sprite) + levelSaved = false + end + end + end + end + end + + -- update the cursor object + if objectToAdd ~= nil then + updateCursorObjectAccordingToTheme() + end + -- replace level defines + objects.theme = currentTheme + + end + end + end + + birdSelected = false + if selectedObjects[1] ~= nil then + if selectedObjects[1].controllable then + birdSelected = true + for i = 1, #numberKeys do + if keyPressed[numberKeys[i]] then + selectedObjects[1].startNumber = i + end + end + end + end + + + -- create blocks from the blocks.lua definitions + if keyHold["CONTROL"] == false and keyHold["SHIFT"] == false and birdSelected == false and not editor.edit_particles then + for k, v in _G.pairs(blockTable.groups) do + local groupDataUpdate = false + if keyPressed[v.keyUp] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex + 1 + else + currentGroup = k + end + groupDataUpdate = true + end + if keyPressed[v.keyDown] then + -- update group information + if currentGroup == k then + currentGroupIndex = currentGroupIndex - 1 + else + currentGroup = k + end + groupDataUpdate = true + end + -- find the next object to add based on group information + if groupDataUpdate then + if currentGroupIndex > blockTable.groups[currentGroup].lastIndex then + currentGroupIndex = blockTable.groups[currentGroup].firstIndex + end + if currentGroupIndex < blockTable.groups[currentGroup].firstIndex then + currentGroupIndex = blockTable.groups[currentGroup].lastIndex + end + + --print("Searching for group " .. currentGroup .. " " .. currentGroupIndex .. "\n") + updateCursorObjectAccordingToTheme() + end + end + end + + if keyPressed["RBUTTON"] then + if copiedObjects ~= nil then + copiedObjects = nil + end + + if objectToAdd ~= nil then + objectToAdd = nil + else + if not keyHold["SHIFT"] and not keyHold["ALT"] then + selectedObjects = { } + end + selectedObjectPos.x = 0 + selectedObjectPos.y = 0 + + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + + if editor.drawOneLayer then + --find object that was clicked + for k, v in _G.pairs(themeSpriteObjects) do + object = v + if object.type == "polygon" then + if checkPolygonObjectBounds(object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, object.vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + if checkObjectBounds( object.x, object.y, object.width * object.scale.x, object.height * object.scale.y, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + local t_scale = _G.math.max(object.scale.x, object.scale.y) + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < (object.radius * t_scale) then + addObjectToSelection(object, true) + end + end + end + else + --find object that was clicked + for k, v in _G.pairs(objects.world) do + object = v + if object.type == "polygon" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkPolygonObjectBounds(x, y, object.width, object.height, object.angle, getObjectDefinition(k).vertices, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "box" then + x = object.x + y = object.y + --print(object.name .. " ") + if checkObjectBounds(x, y, object.width, object.height, object.angle, cursorPhysics.x, cursorPhysics.y) then + addObjectToSelection(object, true) + end + end + if object.type == "circle" then + if distance(object.x, object.y, cursorPhysics.x, cursorPhysics.y) < object.radius then + addObjectToSelection(object, true) + end + end + end + end + end + end + + if keyHold["RBUTTON"] and (not keyHold["CONTROL"]) then + selectionRectActive = true + end + + --scales backgrond sprites + if keyHold["RBUTTON"] and keyHold["CONTROL"] and editor.drawOneLayer and (#selectedObjects > 0) then + + for k, v in _G.pairs(selectedObjects) do + object = v + + local t_scaleX = 1 + local t_scaleY = 1 + + --if the user is pressing shif, we scale both axis equally + if(keyHold["SHIFT"]) then + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_originalDistance = distance(v.x, v.y, t_oldCursorPhysicsX, t_oldCursorPhysicsY) + + local t_newDistance = distance(v.x, v.y, cursorPhysics.x, cursorPhysics.y) + + local t_scale = t_newDistance / t_originalDistance + + t_scaleX = t_scale + t_scaleY = t_scale + else + local t_oldCursorPhysicsX, t_oldCursorPhysicsY = worldToPhysicsTransform(editor.m_cursorWorldDownX, editor.m_cursorWorldDownY) + + local t_oldDistanceX = t_oldCursorPhysicsX - v.x + local t_oldDistanceY = t_oldCursorPhysicsY - v.y + + local t_newDistanceX = cursorPhysics.x - v.x + local t_newDistanceY = cursorPhysics.y - v.y + + t_scaleX = t_newDistanceX / t_oldDistanceX + t_scaleY = t_newDistanceY / t_oldDistanceY + end + + modifyThemeSprite(object.name, object.x, object.y, t_scaleX, t_scaleY, object.angle, object.layer) + + object.scale = {x = t_scaleX, y = t_scaleY} + objects.themeSprites[object.name].scale = { x = t_scaleX, y = t_scaleY} + + end + + end + + -- this is here so that the dragging position is not set on this frame if LBUTTON is released + if keyReleased["RBUTTON"] then + if objectToAdd ~= nil and selectedObjects == nil or #selectedObjects < 1 then + if editor.drawOneLayer then + selectedObjects = getThemeObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y, editor.currentLayer) + else + selectedObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + + end + else + if keyHold["SHIFT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + addObjectToSelection(object, false) + end + end + if keyHold["ALT"] then + local tempObjects = getObjectsInsideRect(draggingStartPosWorld.x, draggingStartPosWorld.y, cursorWorld.x, cursorWorld.y) + for k, v in _G.pairs(tempObjects) do + for soi = 1, #selectedObjects do + if selectedObjects[soi] == v then + _G.table.remove(selectedObjects, soi) + soi = #selectedObjects + end + end + end + end + end + selectionRectActive = false + end + + if keyPressed["LBUTTON"] then + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if not keyHold["SPACE"] then + if objectToAdd ~= nil then + if not editor.drawOneLayer then + local name = createObject(blockTable, objectToAdd, nil, cursorPhysics.x, cursorPhysics.y) + setRotation(name, objectToAddAngle) + selectedObjects = {} + birdSelected = false + _G.table.insert(selectedObjects, objects.world[name]) + playAudio("object_placed", 1, false) + else + local spr = blockTable.blocks[objectToAdd].sprite + if not spr and blockTable.blocks[objectToAdd].damageSprites then + spr = blockTable.blocks[objectToAdd].damageSprites.damage1 + end + if spr then + + if objects.counts[objectToAdd] == nil then + objects.counts[objectToAdd] = 0 + end + + objects.counts[objectToAdd] = objects.counts[objectToAdd] + 1 + playAudio("object_placed", 1, false) + local name = objectToAdd .. "_" .. objects.counts[objectToAdd] + selectedObjects = {} + + addThemeSprite(name, {definition=objectToAdd, name=name, x = cursorPhysics.x, y = cursorPhysics.y, angle = 0, scale = {x=1,y=1}, layer = editor.currentLayer }) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = objectToAdd, + name = name, x = cursorPhysics.x, + y = cursorPhysics.y, layer = editor.currentLayer, + angle = objectToAddAngle, scale = {x=1,y=1} } + end + end + end + if copiedObjects ~= nil then + + --this table will be indexed by the copied objects names, and the values + --will be the new copies name + local t_nameRelationTable = {} + for k, v in _G.pairs(copiedObjects) do + if editor.drawOneLayer then + --print("k = "..k.." value = " ..v.definition) + + if objects.counts[v.definition] then + objects.counts[v.definition] = objects.counts[v.definition] + 1 + else + objects.counts[v.definition] = 1 + end + playAudio("object_placed", 1, false) + local name = v.definition .. "_" .. objects.counts[v.definition] + playAudio("object_placed", 1, false) + addThemeSprite(name, {definition=v.definition, name=name, x = cursorPhysics.x + v.x, y = cursorPhysics.y + v.y, angle = v.angle, scale = v.scale, layer = editor.currentLayer }) + playAudio("object_placed", 1, false) + + if not objects.themeSprites then + objects.themeSprites = {} + end + objects.themeSprites[name] = { definition = v.definition, + name = name, x = cursorPhysics.x + v.x, + y = cursorPhysics.y + v.y, + layer = editor.currentLayer, + angle = v.angle, + scale = v.scale} + else + local name = createObject(blockTable, v.definition, nil, cursorPhysics.x + v.x, cursorPhysics.y + v.y) + t_nameRelationTable[v.name] = name + setRotation(name, v.angle) + objects.world[name].strength = v.strength + playAudio("object_placed", 1, false) + end + + end + + --will create new joints based on the new objects + if copiedJoints ~= nil then + for k, v in _G.pairs(copiedJoints) do + + + local t_newJointName = t_nameRelationTable[v.end1] .. t_nameRelationTable[v.end2] + + --makes a copy of the joint to be copied, with updated name, and1 and end2 values + + t_newJoint = {} + + + --distance joint + if v.type == 1 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + t_newJoint = { name = t_newJointName, type = v.type, end1 = t_nameRelationTable[v.end1], end2= t_nameRelationTable[v.end2], x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + + --print("\nnew joint name: " .. t_newJointName) + createJoint(t_newJoint) + editorJointPage.addJoint(editorJointPage, t_newJointName) + end + end + end + end + end + + if keyHold["LBUTTON"] then + if keyHold["SPACE"] then + screen.x = screen.x - (cursorWorld.x - draggingStartPosWorld.x) * 0.5 + screen.y = screen.y - (cursorWorld.y - draggingStartPosWorld.y) * 0.5 + else + if objectToAdd ~= nil then + -- do not allow object selection if object to add is active + elseif selectedObjects ~= nil and #selectedObjects > 0 and (not editor.drawOneLayer)then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + setSleeping(object.name, false) + if keyHold["CONTROL"] then + setRotation(object.name, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi ) + else + setPosition(object.name, x + object.x, y + object.y) + end + end + levelSaved = false + elseif selectedObjects ~= nil and #selectedObjects > 0 and editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + object = v + x, y = worldToPhysicsTransform(cursor.x - oldCursor.x, cursor.y - oldCursor.y) + x = x / worldScale + y = y / worldScale + if keyHold["CONTROL"] then + modifyThemeSprite(object.name, object.x, object.y, object.scale.x, object.scale.y, object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi , object.layer) + object.angle = object.angle + (cursor.x - oldCursor.x)/180 * _G.math.pi + objects.themeSprites[object.name].angle = object.angle + else + modifyThemeSprite(object.name, x + object.x, y + object.y, object.scale.x, object.scale.y, object.angle, object.layer) + object.x = x + object.x + object.y = y + object.y + objects.themeSprites[object.name].x = object.x + objects.themeSprites[object.name].y = object.y + end + end + levelSaved = false + end + end + end + + if not keyHold["LBUTTON"] and not keyHold["RBUTTON"] then + draggingStartPosWorld.x = cursorWorld.x + draggingStartPosWorld.y = cursorWorld.y + end + + -- handle key input + if selectedObjects ~= nil and #selectedObjects > 0 then + local moveAmount = 1 + if keyHold["SHIFT"] then + moveAmount = 10 + end + if keyHold["SHIFT"] and keyHold["CONTROL"] then + moveAmount = 100 + end + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + -- remove movement if only control pressed + moveAmount = 0 + end + + if keyReleased["DELETE"] then + if editor.drawOneLayer then + for k, v in _G.pairs(selectedObjects) do + local name = v.name + playAudio("object_removed", 1, false) + objects.themeSprites[v.name] = nil + playAudio("object_removed", 1, false) + themeSpriteObjects[v.name] = nil + playAudio("object_removed", 1, false) + removeThemeSprite(name, editor.currentLayer) + playAudio("object_removed", 1, false) + end + else + + for k, v in _G.pairs(selectedObjects) do + for key, value in _G.pairs(objects.joints) do + if value.end1 == v.name or value.end2 == v.name then + editorJointPage:removeItem(value.name) + editorJointPage:removeItem(value.name .. "_ANCHOR_1") + editorJointPage:removeItem(value.name .. "_ANCHOR_2") + end + end + + local name = v.name + objects.world[name] = nil + playAudio("object_removed", 1, false) + removeObject(name) + playAudio("object_removed", 1, false) + end + + end + selectedObjects = {} + levelSaved = false + end + if not keyHold["RETURN"] then + local moveKeyDown = false + + if (keyHold["LEFT"] or keyHold["RIGHT"] or keyHold["UP"] or keyHold["DOWN"])then + moveKeyDown = true + end + + if blockMoveTimer == 0 or blockMoveTimer > 0.3 then + if keyHold["LEFT"] then + setPositions(-moveAmount, 0) + end + if keyHold["RIGHT"] then + setPositions(moveAmount, 0) + end + if keyHold["UP"] then + setPositions(0, -moveAmount) + end + if keyHold["DOWN"] then + setPositions(0, moveAmount) + end + end + + if moveKeyDown then + blockMoveTimer = blockMoveTimer + dt + else + blockMoveTimer = 0 + end + end + end + + if keyHold["SHIFT"] then + if keyPressed["R"] then + local angle = _G.math.pi / 16 + if keyHold["CONTROL"] then + angle = -angle + end + if copiedObjects ~= nil then + local px, py, w, h = getObjectListBounds(copiedObjects) + for k, v in _G.pairs(copiedObjects) do + + v.angle = v.angle + angle + + -- move to origin + local cx = v.x - px + local cy = v.y - py + + -- rotate around origin + local tcx = cx * _G.math.cos(angle) - cy * _G.math.sin(angle) + local tcy = cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + + -- move back + v.x = tcx + px + v.y = tcy + py + --print("Rotating copied object: " .. k .. "\n") + end + else + if objectToAdd ~= nil then + objectToAddAngle = objectToAddAngle + angle + else + if selectedObjects ~= nil and #selectedObjects > 0 then + for k, v in _G.pairs(selectedObjects) do + setRotation(v.name, v.angle + angle) + end + levelSaved = false + end + end + end + end + + if keyPressed["J"] then + if #selectedObjects == 2 then + --createJoint(selectedObjects[1].name .. selectedObjects[2].name, selectedObjects[1].name, selectedObjects[2].name, 1, 2, 0, 0, 0, 0) + --levelSaved = false + + playAudio("joint", 1, false) + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0, collideConnected = false } + editorJointPage.newJoint = true + levelSaved = false + + end + end + end + + if #selectedObjects == 2 then + if keyPressed["F1"] then -- distance joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 1, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F2"] then -- weld joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 2, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F3"] then -- revolute joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 3, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + elseif keyPressed["F4"] then -- prismatic joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 4, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0} + editorJointPage.items.x.visible = true + editorJointPage.items.y.visible = true + editorJointPage.items.x.text = editorJointPage.xTexts[1] + editorJointPage.items.y.text = editorJointPage.yTexts[1] + editorJointPage.newJoint = true + elseif keyPressed["F5"] then -- "destroy attached" -joint + editor.newJoint = { name = selectedObjects[1].name .. selectedObjects[2].name, + end1 = selectedObjects[1].name, end2 = selectedObjects[2].name, type = 5, + coordType = 2, x1 = 0, y1 = 0, x2 = 0, y2 = 0 } + editorJointPage.newJoint = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] then + if keyPressed["LEFT"] or keyPressed["RIGHT"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, px + (px - v.x), v.y) + end + levelSaved = false + end + end + + if keyPressed["UP"] or keyPressed["DOWN"] then + if selectedObjects ~= nil and #selectedObjects > 0 then + local px, py, w, h = getObjectListBounds(selectedObjects) + + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x, py + (py - v.y)) + end + levelSaved = false + end + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["B"] or keyPressed["HOME"]) then + playAudio("birds_misc", 1, false) + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + screen.x = objects.birdCameraData[deviceModel].px + screen.y = objects.birdCameraData[deviceModel].py + worldScale = objects.birdCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if keyHold["SHIFT"] and keyHold["CONTROL"] and (keyPressed["C"] or keyPressed["END"]) then + playAudio("piglette", 1, false) + if objects.castleCameraData ~= nil and objects.castleCameraData[deviceModel]then + screen.x = objects.castleCameraData[deviceModel].px + screen.y = objects.castleCameraData[deviceModel].py + worldScale = objects.castleCameraData[deviceModel].sx + setWorldScale(worldScale) + oldScale = worldScale + end + end + + if not keyHold["SHIFT"] and not keyHold["CONTROL"] and keyPressed["END"] then + if objects.doNotWaitForMovingObjects ~= nil then + objects.doNotWaitForMovingObjects = nil + else + objects.doNotWaitForMovingObjects = true + end + end + + if not keyHold["SHIFT"] and keyHold["CONTROL"] and keyPressed["C"] then + copiedObjects = {} + copiedJoints = {} + local x, y, w, h = getObjectListBounds(selectedObjects) + for k, v in _G.pairs(selectedObjects) do + --print("Adding to copied objects: " .. v.name .. "\n") + copiedObjects[v.name] = { name = v.name, definition = v.definition, x = v.x - x, y = v.y - y, angle = v.angle } + if v.width == nil then + copiedObjects[v.name].width = v.radius + copiedObjects[v.name].height = v.radius + else + copiedObjects[v.name].width = v.width + copiedObjects[v.name].height = v.height + end + + if editor.drawOneLayer then + copiedObjects[v.name].scale = v.scale + end + + end + + for k, v in _G.pairs(objects.joints) do + --print("Current joints to check: " .. v.name .. "\n") + + --change the clause below to or if you want to select a joint even if you have + --only selected one block of it + --if isKeyInList(v.end1, copiedObjects) and isKeyInList(v.end2, copiedObjects) then + if copiedObjects[v.end1] ~= nil and copiedObjects[v.end2] ~= nil then + --print("this joint is going to get copied " .. v.name .. "\n") + + --distance joint + if v.type == 1 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, dampingRatio=v.dampingRatio, frequency=v.frequency } + --weld joint + elseif v.type == 2 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected } + --revolute joint + elseif v.type == 3 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque,limit=v.limit,backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,motor=v.motor,lowerLimit=v.lowerLimit,upperLimit=v.upperLimit } + --prismatic joint + elseif v.type == 4 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, maxTorque=v.maxTorque, limit=v.limit, backAndForth=v.backAndForth,motorSpeed=v.motorSpeed,worldAxisY=v.worldAxisY, motor=v.motor, lowerLimit=v.lowerLimit, upperLimit=v.upperLimit, worldAxisX = v.worldAxisX} + --anihilation joint + elseif v.type == 5 then + copiedJoints[v.name] = { type = v.type, end1 = v.end1, end2= v.end2, x1=v.x1, y1=v.y1, x2=v.x2, y2=v.y2, coordType=v.coordType,collideConnected=v.collideConnected, destroyTimer = v.destroyTimer} + end + end + + end + --the loop below is for selecting blocks that were left off from the selection + --but are connected to a joint that is connected to a selected block. + --uncomment it out if needed later + --[[ + for k, v in _G.pairs(copiedJoints) do + --print("this joint will be copied: " .. k .. "\n") + + + + if (not isKeyInList(v.end1, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end1] = { name = v.end1, definition = objects.world[v.end1].definition, x = objects.world[v.end1].x - x, y = objects.world[v.end1].y - y, angle = objects.world[v.end1].angle, strength=objects.world[v.end1].strength } + if objects.world[v.end1].width == nil then + copiedObjects[v.end1].width = objects.world[v.end1].radius + copiedObjects[v.end1].height = objects.world[v.end1].radius + else + copiedObjects[v.end1].width = objects.world[v.end1].width + copiedObjects[v.end1].height = objects.world[v.end1].height + end + + elseif (not isKeyInList(v.end2, copiedObjects)) then + --print("this object is not selected, but will be copied " .. v.end1 .. "\n") + + copiedObjects[v.end2] = { name = v.end2, definition = objects.world[v.end2].definition, x = objects.world[v.end2].x - x, y = objects.world[v.end2].y - y, angle = objects.world[v.end2].angle, strength=objects.world[v.end2].strength } + if objects.world[v.end2].width == nil then + copiedObjects[v.end2].width = objects.world[v.end2].radius + copiedObjects[v.end2].height = objects.world[v.end2].radius + else + copiedObjects[v.end2].width = objects.world[v.end2].width + copiedObjects[v.end2].height = objects.world[v.end2].height + end + end + + end + ]]-- + + --for k, v in _G.pairs(copiedObjects) do + -- print("Final objects to copy: " .. v.name .. "\n") + --end + + selectedObjects = {} + end + + if (keyHold["CONTROL"] and keyPressed["P"]) or (editor.edit_particles and keyPressed["RETURN"]) then + editor.edit_particles = not editor.edit_particles + if editor.particle_amount == nil then + if objects.levelParticles and objects.levelParticles.settingsFrame and objects.levelParticles.settingsFrame.amount then + editor.particle_amount = objects.levelParticles.settingsFrame.amount + else + editor.particle_amount = 0 + end + end + if editor.particle_type == nil then + editor.particle_type = 0 + if objects.levelParticles and objects.levelParticles.particles then + local p = objects.levelParticles.particles + if particleTable.particles[p] then + for k, v in _G.ipairs(particleTable.levelParticles) do + if v == p then + editor.particle_type = k + end + end + end + end + end + end + + if editor.edit_particles and not keyHold["CONTROL"] then + local refreshParticleData = function() + if editor.particle_amount > 0 and editor.particle_type > 0 then + objects.levelParticles = + { + settingsBegin = + { + ignoreLimits = false, + amount = editor.particle_amount * 10, + }, + settingsFrame = + { + ignoreLimits = false, + amount = editor.particle_amount, + }, + particles = particleTable.levelParticles[editor.particle_type] + } + else + objects.levelParticles = nil + end + end + + if keyPressed["M"] then + editor.particle_amount = editor.particle_amount + 1 + refreshParticleData() + end + if keyPressed["L"] then + if editor.particle_amount > 0 then + editor.particle_amount = editor.particle_amount - 1 + refreshParticleData() + end + end + if keyPressed["T"] then + editor.particle_type = editor.particle_type + 1 + if editor.particle_type > #particleTable.levelParticles then + editor.particle_type = 0 + end + refreshParticleData() + end + if keyPressed["D"] then + editor.particle_amount = 0 + editor.particle_type = 0 + refreshParticleData() + end + end + + if keyPressed["0"] then + editor.drawOneLayer = not editor.drawOneLayer + selectedObjects = {} + copiedObjects = {} + copiedJoints = {} + objectToAdd = nil + end + if keyPressed["G"] and keyHold["CONTROL"] then + objects.worldGravity = objects.worldGravity - 1 + setWorldGravity(0, objects.worldGravity) + end + + if keyPressed["G"] and keyHold["SHIFT"] then + objects.worldGravity = objects.worldGravity + 1 + setWorldGravity(0, objects.worldGravity) + end + + defaultCamera(dt) + + oldCursor.x = cursor.x + oldCursor.y = cursor.y + +-- drawGame() + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + + if editor.drawOneLayer and keyHold["CONTROL"] and cursor.wheelTriggered then + editor.currentLayer = editor.currentLayer - cursor.wheel + local maxLayer = #blockTable.themes[objects.theme].bgLayers + #blockTable.themes[objects.theme].fgLayers + if editor.currentLayer >= maxLayer then + editor.currentLayer = 0 + elseif editor.currentLayer < 0 then + editor.currentLayer = maxLayer - 1 + end + end + + editorJointPage:update(dt) + drawEditor() + editorJointPage:draw() + + if cursor.wheelTriggered then + cursor.wheelTriggered = false + end + + + +end + +function drawEditor() + + local wScale = worldScale + + setRenderState(0, 0, 1, 1, 0) + + if editor.drawOneLayer then + drawLayer(editor.currentLayer) + + --draws selected objects on current layer + for k, v in _G.pairs(selectedObjects) do + if v.definition ~= nil and v.definition ~= "" then + local w, h = _G.res.getSpriteBounds("", blockTable.blocks[v.definition].sprite) + w, h = w * v.scale.x, h * v.scale.y + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + local t_pivotX, t_pivotY = _G.res.getSpritePivot("", blockTable.blocks[v.definition].sprite) + t_pivotX, t_pivotY = t_pivotX * v.scale.x, t_pivotY * v.scale.y + --setRenderState(-screen.left, -screen.top, worldScale, worldScale, 0, 0, 0) + setRenderState( -screen.left, -screen.top, worldScale, worldScale, + v.angle, t_pivotX, t_pivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + + pivotX, pivotY = _G.res.getSpritePivot(sprite) + --setRenderState(-screen.left, -screen.top, worldScale * v.scale.x, worldScale * v.scale.y, v.angle, res.getSpritePivot("", sprite)) + setRenderState(flip * -screen.left / (v.scale.x * blockDefScale), -screen.top / (v.scale.y * blockDefScale), flip * worldScale * v.scale.x, worldScale * v.scale.y, flip * v.angle, pivotX, pivotY) + + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + + x, y = flip * x / v.scale.x, y / v.scale.y + + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + setRenderState(0, 0, 1, 1, 0) + end + + setRenderState(0, 0, 1, 1, 0) + + else + --this call will draw all in game elements + drawGame() + + if keyHold["L"] then + for k, v in _G.pairs(objects.world) do + if v.startNumber then + local sprite = blockTable.blocks[v.definition].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(-screen.left / blockDefScale, -screen.top / blockDefScale, worldScale, worldScale , v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x, v.y) + _G.res.drawString("TEXTS_BASIC", "" .. v.startNumber, x, y, "HCENTER", "VCENTER") + end + end + setRenderState(0, 0, 1, 1, 0) + end + end + + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", levelName, 0, 0, "TOP", "LEFT") + + if selectionRectActive then + local x1, y1 = draggingStartPosWorld.x, draggingStartPosWorld.y + local x2, y2 = cursorWorld.x, cursorWorld.y + if x1 > x2 then x1, x2 = x2, x1 end + if y1 > y2 then y1, y2 = y2, y1 end + setRenderState(-screen.left, -screen.top, wScale, wScale, 0) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + + setRenderState(0, 0, 1, 1, 0) + if not editor.drawOneLayer then + for k, v in _G.pairs(objects.joints) do + drawJoint(v, "EDITOR_JOINT") + end + end + + if objects.worldGravity then + _G.res.drawString("", "Gravity: " .. objects.worldGravity, 0, 70, "TOP", "LEFT") + end + + if objects.theme then + setRenderState(0, 0, 1, 1, 0) + _G.res.drawString("TEXTS_BASIC", "Current Theme: " .. blockTable.themes[objects.theme].themeName, 0, 100, "TOP", "LEFT") + end + + for k, v in _G.pairs(selectedObjects) do + if v.sprite ~= nil and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + + if #selectedObjects == 1 then + setFont(fontBasic) + if selectedObjects[1].sn ~= nil then + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].sn, 6, 220, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0, 0.6, 0.6, 0) + _G.res.drawString("", "Name: " .. selectedObjects[1].definition, 6, 220, "TOP", "LEFT") + end + if selectedObjects[1].startNumber ~= nil then + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Number In Line: " .. selectedObjects[1].startNumber, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 280, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 310, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 340, "TOP", "LEFT") + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "X: " .. selectedObjects[1].x, 6, 250, "TOP", "LEFT") + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Y: " .. selectedObjects[1].y, 6, 280, "TOP", "LEFT") + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) <= 360 then + if _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 0 or _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) == 360 then + Approxangle = "360 or 0" + else + Approxangle = _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) + end + elseif _G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180)) > 360 then + Approxangle = (_G.math.floor(360-((selectedObjects[1].angle/_G.math.pi)*180))) - 360 + end + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + _G.res.drawString("", "Angle: " .. Approxangle, 6, 320, "TOP", "LEFT") + end + else + setFont(fontBasic) + setRenderState(0, 0,0.6,0.6, 0) + setFont(fontBasic) + _G.res.drawString("", "Blocks selected: " .. #selectedObjects, 6, 220, "TOP", "LEFT") + end + + if physicsEnabled then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w*0.5, h*0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + end + end + + -- Draw small rect to indicate origin + if keyHold["O"] then + setRenderState(-screen.left*wScale, -screen.top*wScale, 1, 1, 0, 0, 0) + else + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + end + _G.res.drawSprite("", "ORIGO", 0, 0) + setRenderState(0, 0, 1, 1, 0) + + if objectToAdd ~= nil then + local sprite = blockTable.blocks[objectToAdd].sprite + setRenderState(-screen.left, -screen.top, wScale, wScale, objectToAddAngle, _G.res.getSpritePivot("", sprite)) + _G.res.drawSprite("", sprite, _G.math.floor(cursorWorld.x), _G.math.floor(cursorWorld.y)) + setRenderState(0, 0, 1, 1, 0) + end + + if not editor.drawOneLayer then + if copiedObjects ~= nil then + for k, v in _G.pairs(copiedObjects) do + local sprite = objects.world[v.name].sprite + local blockDefScale = blockTable.blocks[v.definition].scale or 1 + local pivotX, pivotY = 0, 0 + local flip = 1 + if blockTable.blocks[v.definition].horFlip then + flip = -flip + end + pivotX, pivotY = _G.res.getSpritePivot(sprite) + setRenderState(flip * -screen.left / blockDefScale, -screen.top / blockDefScale, flip * worldScale * blockDefScale, worldScale * blockDefScale, flip * v.angle, pivotX, pivotY) + local x, y = physicsToWorldTransform(v.x + cursorPhysics.x, v.y + cursorPhysics.y) + x, y = flip * x / blockDefScale, y / blockDefScale + _G.res.drawSprite(sprite, _G.math.floor(x), _G.math.floor(y)) + end + + setRenderState(0, 0, 1, 1, 0) + end + + if levelSaved then + _G.res.drawSprite("", "EDITOR_SAVED", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_NOT_SAVED", screenWidth, 0) + end + + if physicsEnabled then + _G.res.drawSprite("", "EDITOR_PIG_PIZZA_TIME", screenWidth, screenHeight) + else + _G.res.drawSprite("", "EDITOR_PIG_NORMAL", screenWidth, screenHeight) + end + + if objects.castleCameraData and objects.castleCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_C_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_C_CAMERA_OFF", screenWidth, 0) + end + + if objects.birdCameraData and objects.birdCameraData[deviceModel] then + _G.res.drawSprite("", "EDITOR_B_CAMERA_ON", screenWidth, 0) + else + _G.res.drawSprite("", "EDITOR_B_CAMERA_OFF", screenWidth, 0) + end + + if objects.doNotWaitForMovingObjects ~= nil then + _G.res.drawString("", "QUICK END", screenWidth, screenHeight, "BOTTOM", "RIGHT") + end + end + + if editor.edit_particles then + + local type = "" + if editor.particle_type > 0 then + type = particleTable.levelParticles[editor.particle_type] + end + + _G.res.drawString("", "LEVEL PARTICLES - (D)ELETE", 50, 50, "TOP", "LEFT") + _G.res.drawString("", "(T)YPE: " .. type, 75, 100, "TOP", "LEFT") + _G.res.drawString("", "AMOUNT: " .. editor.particle_amount .. " (M)ore/(L)ess", 75, 150, "TOP", "LEFT") + end + +end + +function drawJoint(joint, sprite) + if joint.x1 == nil then + return + end + + local jointWorldX1 = joint.x1 + local jointWorldY1 = joint.y1 + local jointWorldX2 = joint.x2 + local jointWorldY2 = joint.y2 + + if joint.coordType == 2 then + jointWorldX1, jointWorldY1 = getWorldPoint(joint.end1, jointWorldX1, jointWorldY1); + jointWorldX2, jointWorldY2 = getWorldPoint(joint.end2, jointWorldX2, jointWorldY2); + end + + local xdif = jointWorldX2 - jointWorldX1 + local ydif = jointWorldY2 - jointWorldY1 + local tlen = vLength(xdif, ydif) + local x = 0 + local y = 0 + + --print(k .. " " .. tlen .. " " .. vLength(x, y) .."\n") + if tlen == 0 then + return + end + + local vlen = 0 + while vlen <= tlen do + sx, sy = physicsToScreenTransform(jointWorldX1 + x, jointWorldY1 + y ) + _G.res.drawSprite("", sprite, sx, sy) + x = x + xdif * 0.13 + y = y + ydif * 0.13 + vlen = vLength(x, y) + --print("vlen: " .. vlen .. " tlen: " .. tlen .. "\n") + end +end + +function roundNumber(number, decimalDigits) + local t_shift = 10 ^ decimalDigits + return _G.math.floor(number * t_shift + 0.5) / t_shift +end +function returnToEditor() + setEditing(true) + local name = "temp/" .. levelName .. ".temp.playtest" + currentThemeNumber = levelSelectionPageNumber + menuManager:changeRoot(nil) + loadLevelInternal(levelFolder .. name) + setGameMode(updateEditor) + setPhysicsEnabled(false) +end +function goToMenu() + eventManager:queueEvent({ + id = events.EID_PAUSE_CLICKED + }) + hideAd() + drawGame() +end +function addObjectToSelection(object, removeDuplicate) + local objectFound = false + for soi = 1, #selectedObjects do + if selectedObjects[soi] == object then + if removeDuplicate then + _G.table.remove(selectedObjects, soi) + end + objectFound = true + soi = #selectedObjects + end + end + if not objectFound then + _G.table.insert(selectedObjects, object) + end +end + +function postTotalHighScores() + if postHighscores == true then + local totalScore = 0 + local worldNumber = 0 + for i = 1, #g_episodes do + local epTotalScore = 0 + for j = 1, #g_episodes[i].pages do + local page = g_episodes[i].pages[j] + local world = page.world_number + local score = getWorldScore(i, j) + epTotalScore = epTotalScore + score + local lboardName = getLeaderboardNameForWorld(world) + if lboardName and 0 < score then + postLevelHighScore(lboardName, score, false) + end + end + totalScore = totalScore + epTotalScore + local lboardName = getLeaderboardNameForEpisode(i) + if lboardName and 0 < epTotalScore then + postLevelHighScore(lboardName, epTotalScore, false) + end + end + local lboardName = getLeaderboardNameForTotalScore() + if lboardName and 0 < totalScore then + postLevelHighScore(lboardName, totalScore, false) + print(" posting total highscore " .. _G.string.format("%.0f", totalScore) .. "\n") + end + end +end +function postLevelHighScore(levelName, score, isLevelScore) + if postHighscores == true and leaderboards ~= nil then + leaderboardid = leaderboards[levelName] + if leaderboardid ~= nil then + print("Posting highscore for level " .. levelName .. " (score = " .. score .. " leaderboard = " .. leaderboardid .. ")\n") + postHighscore(leaderboardid, score, isLevelScore) + else + print("Leaderboard id for level " .. levelName .. " not found!\n") + end + end +end +function returnToLevelSelection() + stopAudio(currentMusic) + currentMenuPage = nil + newMenuPage = nil + setGameMode(function() + end) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "LEVEL_SELECTION_" .. currentThemeNumber + }) +end +function tweenLinear(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + return c * t / d + b +end +function tweenEaseCubicIn(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + return c * t * t * t + b +end +function tweenEaseCubicOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d - 1 + return c * (t * t * t + 1) + b +end +function tweenEaseCubicInOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / (d / 2) + if t < 1 then + return c / 2 * (t * t * t) + b + end + t = t - 2 + return c / 2 * (t * t * t + 2) + b +end +function tweenEaseBounceOut(currentTime, startValue, changeOfValue, duration) + local c = changeOfValue + local t = currentTime + local d = duration + local b = startValue + t = t / d + if t < 0.36363637 then + return c * 7.5625 * t * t + b + elseif t < 0.72727275 then + t = t - 0.54545456 + return c * (7.5625 * t * t + 0.75) + b + elseif t < 0.90909094 then + t = t - 0.8181818 + return c * (7.5625 * t * t + 0.9375) + b + else + t = t - 0.95454544 + return c * (7.5625 * t * t + 0.984375) + b + end +end +function updateLevelEnding(dt) + if g_skip_to_level_end then + return + end + if levelCompleted then + eagleDarkness = nil + birdBuffTimer = birdBuffTimer - dt + if birdBuffTimer < 0 then + local nextBirdName = getNextBird(birdsLeftCounter) + if nextBirdName ~= nil then + birdsLeftCounter = birdsLeftCounter + 1 + if eagleBaitLaunched ~= true then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + local nbo = objects.world[nextBirdName] + playAudio(getAudioName(blockTable.blocks[nbo.definition].idleSound or g_sound_birds), 1, false, 0) + _G.table.insert(floatingScores, { + x = nbo.x, + y = nbo.y, + sprite = getObjectDefinition(nextBirdName).spriteScore, + score = birdsLeftScoreIncrement, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + birdBuffTimer = 0.5 + else + beforeLevelEnding(dt) + end + updateScore(dt) + if quadClick == true then + score = starTable[levelName].goldScore + if eagleBaitLaunched == true then + score = starTable[levelName].eagleScore + end + end + end + else + levelCompleteTimer = levelCompleteTimer - dt + end + if 0 >= levelCompleteTimer then + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) + end +end +function skipToLevelEnd() + g_skip_to_level_end = true + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + scoreTable.birds.score = 0 + local bird = getNextBird(birdsLeftCounter) + if bird then + while bird do + birdsLeftCounter = birdsLeftCounter + 1 + if not eagleBaitLaunched then + scoreTable.birds.score = scoreTable.birds.score + birdsLeftScoreIncrement + _G.table.insert(scoreTable.birds.individualScores, birdsLeftScoreIncrement) + end + bird = getNextBird(birdsLeftCounter) + end + end + updateScore(0) + eventManager:queueEvent({ + id = events.EID_LEVEL_ENDED, + level = levelName, + score = score, + levelComplete = levelCompleted + }) +end +function beforeLevelEnding(dt) + if not g_before_level_end_script_called then + g_before_level_end_script_called = true + if g_level_scripts[levelName] and g_level_scripts[levelName].onBeforeLevelEnding then + g_level_scripts[levelName].onBeforeLevelEnding() + end + end + levelCompleteTimer = levelCompleteTimer - dt +end +function initLevelComplete() + eventManager:notify({ + id = events.EID_LEVEL_COMPLETE_INIT + }) + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + allowResetToBirdCamera = false + showTapIcon = false + showTapTimer = 0 + levelCompleted = true + birdsLeftCounter = currentBirdIndex + if currentBirdName == nil or objects.world[currentBirdName].shot == true then + birdsLeftCounter = birdsLeftCounter + 1 + end + if g_special_game_mode then + birdsLeftCounter = 0 + end + if getNextBird(birdsLeftCounter) ~= nil then + birdBuffTimer = 2.5 + if cameraFunction ~= launchCamera then + birdBuffTimer = 3.5 + castleCameraTimer = 1 + cameraFunction = launchCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + end + if _G.res.isAudioPlaying(currentMusic) == true then + _G.res.stopAudio(currentMusic) + else + if _G.res.isAudioPlaying(currentMusic) == false then + _G.res.playAudio("nothing") + end + _G.res.playAudio(getAudioName(blockTable.themes[currentTheme].winMusic or g_sound_level_clear), 1, false) + levelCompleteTimer = 1 + if eagleBaitLaunched then + levelCompleteTimer = 2 + end + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onInitLevelComplete then + g_level_scripts[levelName].onInitLevelComplete() + end + g_level_completing = true +end +function isLevelEnding() + return g_level_completing or false +end +function initLevelFailed(dt) + levelFailedTimer = levelFailedTimer + dt + if levelFailedTimer > 1.5 then + levelCompleteTimer = 0.5 + _G.res.playAudio(getAudioName(g_sound_level_failed), 1, false) + end +end +g_cursorPanning = deviceModel == "windows" or deviceModel == "osx" +function activateSlingshotCooldown() + triggerTime = g_time +end +function isSlingshotAvailable() + return triggerTime + 0.1 <= g_time +end +function isSlingshotVisible() + local slingshot_world_x, _ = physicsToWorldTransform(slingShotBasePosition.x, 0) + return slingshot_world_x > screen.left +end +function levelCompleteCheat() + if keyPressed.LBUTTON then + if quadClickTimer > 0 and cursor.x < 60 and cursor.y > screenHeight - 60 then + quadClickCounter = quadClickCounter + 1 + quadClickTimer = 0.5 + if quadClickCounter >= 4 then + quadClick = true + end + else + quadClick = false + quadClickTimer = 0.5 + quadClickCounter = 1 + end + end + if keyPressed.C then + quadClick = true + end +end +function updateGame(dt, time) + if cheatsEnabled then + if keyReleased["1"] and getNextBird(currentBirdIndex) then + activateSuperSeed() + end + if keyReleased["2"] then + activateKingSling() + end + if keyReleased["3"] then + activateSlingScope() + end + if keyReleased["4"] then + activateBirdQuake() + end + if keyReleased["5"] then + notifyEventManager("EID_MATTEL_TOY_ACTIVATED") + end + if keyReleased["6"] then + activateHomingHat() + end + end + if g_sling_scope then + g_sling_scope_animation = g_sling_scope_animation + dt + end + if flyingBird ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + if bDef ~= nil and bDef.sprite ~= nil and settingsWrapper:getTutorialsForItem(bDef.sprite) and settingsWrapper:getTutorialsForItem(bDef.sprite).showHelp then + extraTutorialTimer = extraTutorialTimer + dt + end + end + if cursor.wheelTriggered and cameraFunction == levelStartCamera then + allowResetToBirdCamera = true + cameraTargetObject = nil + cameraFunction = doItAllCamera + end + if explosionCameraShakeDuration ~= nil and explosionCameraShakeDuration > 0 then + explosionCameraShakeDuration = explosionCameraShakeDuration - dt + if cameraShake == nil or 0 >= cameraShake then + cameraShake = explosionCameraShakeAmount + end + elseif explosionCameraShakeDuration ~= nil then + explosionCameraShakeDuration = nil + cameraShake = 0 + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + cameraShakeX, cameraShakeY = 0, 0 + if cameraShake ~= nil and cameraShake ~= 0 then + cameraShakeX = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + cameraShakeY = _G.math.floor(_G.math.random(-_G.math.abs(cameraShake), _G.math.abs(cameraShake))) + end + levelTimeout = false + if time ~= nil and lastScoreTime ~= 0 then + if not lastScoreTimer then + lastScoreTimer = time + else + lastScoreTimer = lastScoreTimer + dt + end + if oldScore ~= score then + oldScore = score + lastScoreTime = time + lastScoreTimer = time + end + if lastScoreTimer - lastScoreTime >= 15 then + levelTimeout = true + end + end + oldCursorWorld.x = cursorWorld.x + oldCursorWorld.y = cursorWorld.y + cursorPhysics.x, cursorPhysics.y = screenToPhysicsTransform(cursor.x, cursor.y) + cursorWorld.x, cursorWorld.y = screenToWorldTransform(cursor.x, cursor.y) + rightSweep = false + leftSweep = false + quadClickTimer = quadClickTimer - dt + if not startedFromEditor and not skipInput and (keyReleased.KEY_MENU or keyReleased.P and g_goldenEggKeyCount ~= 2 or keyReleased.ESCAPE or keyReleased.KEY_BACK) then + goToMenu() + return + end + if keyReleased.ESCAPE or keyReleased.KEY_BACK or startedFromEditor == true and touchcount == 3 then + if startedFromEditor then + _G.res.stopAudio(currentMusic) + returnToEditor() + end + drawGame() + return + end + if not releaseBuild or cheatsEnabled then + if keyPressed.PAGEUP then + previousLevel() + end + if keyPressed.PAGEDOWN then + nextLevel() + end + end + if startedFromEditor ~= true then + if keyPressed.LEFT then + panToBirdCamera() + end + if keyPressed.RIGHT then + panToCastleCamera() + end + elseif keyPressed.F5 or keyPressed.R then + levelRestartedFrom = "keyboard command" + setEditing(false) + setPhysicsEnabled(false) + local name = "temp/" .. levelName .. ".temp.playtest" + checkDirectories() + loadLevelInternal(levelFolder .. name) + setGameMode(updateGame) + if startedFromEditor ~= true then + levelSelectionPageNumber = currentThemeNumber + end + currentThemeNumber = currentThemeIndex + end + if levelStartTimer == 0 then + levelStartTimer = levelStartTimer + 0.01 + _G.res.playAudio(getAudioName(startMusic or g_sound_level_start), 1, false) + _G.res.playAudio(currentMusic, 1, true, 7) + _G.res.stopAudio(currentMainMenuSong) + currentBirdIndex = 0 + fillInNextBird = true + end + if keyPressed.MBUTTON then + setWorldScale(1) + worldScale = 1 + end + if g_level_scripts[levelName] and g_level_scripts[levelName].onUpdate then + g_level_scripts[levelName].onUpdate(dt, time) + end + if levelStartTimer < 0.2 or 6 < levelStartTimer then + levelStartTimer = levelStartTimer + dt + else + setPhysicsEnabled(true) + levelStartTimer = 10 + end + if 0 < levelCompleteTimer then + updateLevelEnding(dt) + else + if g_game_win_condition() or (keyPressed.C or quadClick == true) and cheatsEnabled then + initLevelComplete() + end + if g_game_lose_condition() then + initLevelFailed(dt) + end + end + if g_powerups_active then + skipInput = true + if g_bird_quake then + updateBirdQuake(dt) + end + if g_super_seed then + updateSuperSeed(dt) + end + if g_king_sling then + updateKingSling(dt) + end + if g_sling_scope_activation then + updateSlingScope(dt) + end + end + if cameraFunction == cinematicCamera then + skipInput = true + end + gameTimer = gameTimer + dt + if tapStarted and not skipInput then + tapTimer = tapTimer + dt + if tapTimer > 0.25 then + if tapCount == 1 and showTapIcon then + returnToBirdCamera() + end + if tapCount == 2 and not g_disable_double_tap and not g_zooming_disabled then + if cameraAnimationSliderTarget == 0 then + currentZoomedScale = objects.birdCameraData[deviceModel].sx + else + currentZoomedScale = objects.castleCameraData[deviceModel].sx + end + maxZoomLevel = true + end + tapTimer = 0 + tapCount = 0 + tapStarted = false + end + end + if objects.levelParticles ~= nil and g_levelParticlesEnabled then + if objects.levelParticles.firstFrame == true then + if objects.levelParticles.startAtGroundLevel then + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, 0, 0, false) + else + _G.particles.addLevelParticles(objects.levelParticles.particles, objects.levelParticles.settingsFrame.amount * 15, objects.levelParticles.x, objects.levelParticles.y / 3, objects.levelParticles.width, objects.levelParticles.y, 0, false) + end + objects.levelParticles.firstFrame = false + else + levelParticlesTimer = levelParticlesTimer + dt + if levelParticlesTimer > 1 / objects.levelParticles.settingsFrame.amount and isPhysicsEnabled() then + levelParticlesTimer = 0 + _G.particles.addLevelParticles(objects.levelParticles.particles, 1, objects.levelParticles.x, objects.levelParticles.y, objects.levelParticles.width, objects.levelParticles.height or 0, 0, false) + end + end + end + if g_cursorPanning and not g_usingGestureControls then + if cursor.x < screenWidth * 0.01 and 0 < cameraAnimationSlider then + panToBirdCamera() + elseif cursor.x > screenWidth * 0.99 and 1 > cameraAnimationSlider then + panToCastleCamera() + end + end + if g_extra_game_update then + g_extra_game_update(dt, time) + end + local bird_specialty_activated = false + if not levelCompleted and keyPressed.LBUTTON and not skipInput and not g_skip_trigger_specialty and flyingBird ~= nil and birdSpecialtyAvailable and time ~= g_eagleButtonClickTime then + triggerBirdSpecialty(dt) + bird_specialty_activated = true + g_touch_released_after_specialty = false + end + if not g_usingGestureControls and keyReleased.LBUTTON or g_usingGestureControls and touchcount == 0 then + g_touch_released_after_specialty = true + end + if keyPressed.LBUTTON and not levelCompleted and not bird_specialty_activated and not g_usingGestureControls and skipInput ~= true then + inGamePressed = true + draggingStartPosPhysics.x = cursorPhysics.x + draggingStartPosPhysics.y = cursorPhysics.y + draggingStartPosScreen.x = cursor.x + draggingStartPosScreen.y = cursor.y + oldCursor.x = cursor.x + oldCursor.y = cursor.y + if tapStarted == false then + tapPosition.x = cursor.x + tapPosition.y = cursor.y + tapStarted = true + tapTimer = 0 + end + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + tapPosWorld.x = cursorWorld.x + tapPosWorld.y = cursorWorld.y + if touchcount == 1 and not g_disable_slingshot and currentBirdName ~= nil then + local obj = objects.world[currentBirdName] + if g_deltaBasedSlingshot then + if isSlingshotAvailable() then + returnToBirdCamera() + end + elseif distance(obj.x, obj.y, cursorPhysics.x, cursorPhysics.y) < shootRange / worldScale * screenWidth / 480 then + selectedBird = obj + end + end + end + local zoom_done = true + if g_usingGestureControls and multitouchZoom and multitouchZoom.zoomCoolingTime > -1 then + zoom_done = false + multitouchZoom.zoomCoolingTime = multitouchZoom.zoomCoolingTime + dt + if multitouchZoom.zoomCoolingTime > 0.5 then + multitouchZoom.zoomCoolingTime = -1 + zoom_done = true + end + end + if g_usingGestureControls and not skipInput then + if touchcount == 1 and not dragStarted then + inGamePressed = true + local _, touch = _G.next(touches) + tapPosWorld.x, tapPosWorld.y = screenToWorldTransform(touch.x, touch.y) + end + if touchcount == 1 and not levelCompleted and not bird_specialty_activated and not dragStarted and currentBirdName ~= nil and zoom_done and g_touch_released_after_specialty and not birdSpecialtyAvailable then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + local index, touch = _G.next(touches) + oldCursor.x = touch.x + oldCursor.y = touch.y + touch_start_x = touch.x + touch_start_y = touch.y + touch_old_x = touch.x + touch_old_y = touch.y + local obj = objects.world[currentBirdName] + draggingStartPosPhysics.x = obj.x + draggingStartPosPhysics.y = obj.y + selectedBird = obj + returnToBirdCamera() + end + if g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and not dragStarted then + dragStarted = true + dragCursorTable = {} + dragCursorIndex = 1 + dragCursorTable[dragCursorIndex] = { + dx = 0, + dy = 0, + dt = dt + } + inGamePressed = true + end + end + if (not g_usingGestureControls and keyHold.LBUTTON or g_usingGestureControls and touchcount == 1) and not levelCompleted and inGamePressed and skipInput ~= true then + if dragStarted == true then + do + local dx = 0 + local dy = 0 + if not g_usingGestureControls then + dx = cursor.x - oldCursor.x + dy = cursor.y - oldCursor.y + else + local index, touch = _G.next(touches) + dx = touch.x - oldCursor.x + dy = cursor.y - oldCursor.y + end + if dragCursorTable[dragCursorIndex].dt >= 0.017 then + dragCursorIndex = dragCursorIndex + 1 + if dragCursorIndex > 5 then + dragCursorIndex = 1 + end + dragCursorTable[dragCursorIndex] = { + dx = dx, + dy = dy, + dt = dt + } + else + dragCursorTable[dragCursorIndex].dx = dragCursorTable[dragCursorIndex].dx + dx + dragCursorTable[dragCursorIndex].dy = dragCursorTable[dragCursorIndex].dy + dy + dragCursorTable[dragCursorIndex].dt = dragCursorTable[dragCursorIndex].dt + dt + end + end + if selectedBird ~= nil then + draggingStartPosPhysics.x = levelStartPosition.x + draggingStartPosPhysics.y = levelStartPosition.y + if birdReady == true and isSlingshotVisible() then + local vecToRest + if g_deltaBasedSlingshot then + local dx, dy = cursor.x, cursor.y + slingshotDeltaVector.x = slingshotDeltaVector.x - screenToPhysicsScale(dx) * g_slingshotSensitivity + slingshotDeltaVector.y = slingshotDeltaVector.y - screenToPhysicsScale(dy) * g_slingshotSensitivity + vecToRest = slingshotDeltaVector + local maxlen, len = shootRange + 3.2, vLength(slingshotDeltaVector.x, slingshotDeltaVector.y) + if maxlen < len then + slingshotDeltaVector.x = slingshotDeltaVector.x * (maxlen / len) + slingshotDeltaVector.y = slingshotDeltaVector.y * (maxlen / len) + end + elseif not g_usingGestureControls then + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch.x), + y = screenToPhysicsScale(touch_start_y - touch.y) + } + touch_old_x = touch.x + touch_old_y = touch.y + end + stretchRubberBand(vecToRest) + end + elseif g_deltaBasedSlingshot then + if currentBirdName and isSlingshotVisible() and isSlingshotAvailable() then + selectedBird = objects.world[currentBirdName] + slingshotDeltaVector = {x = 0, y = 0} + if g_isAccelerometerControl then + enableMotion(true) + end + end + elseif not g_usingGestureControls and not g_disableDragPanning then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = (cursor.x - oldCursor.x) / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + end + elseif g_usingGestureControls and multitouchSweep and multitouchSweep.isSweeping and multitouchSweep.sweepAxis == "x" and dragStarted and not skipInput then + local dx = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + if 1 < dx then + local delta = multitouchSweep.sweepOffsetX / (dx * worldScale) + sweepSpeed = 0 + cameraAnimationSlider = cameraAnimationSlider - delta + cameraFunction = doItAllCamera + end + end + if (not (g_usingGestureControls or not keyReleased.LBUTTON and keyHold.LBUTTON) or g_usingGestureControls and touchcount == 0) and skipInput ~= true then + if dragStarted then + dragStarted = false + if selectedBird ~= nil and not levelCompleted then + local distToRest, vecToRest + if g_deltaBasedSlingshot then + vecToRest = slingshotDeltaVector + distToRest = vLength(vecToRest.x, vecToRest.y) + if g_isAccelerometerControl then + enableMotion(false) + end + elseif not g_usingGestureControls then + distToRest = distance(draggingStartPosPhysics.x, draggingStartPosPhysics.y, cursorPhysics.x, cursorPhysics.y) + vecToRest = { + x = draggingStartPosPhysics.x - cursorPhysics.x, + y = draggingStartPosPhysics.y - cursorPhysics.y + } + else + local index, touch = _G.next(touches) + distToRest = screenToPhysicsScale(distance(touch_start_x, touch_start_y, touch_old_x, touch_old_y)) + vecToRest = { + x = screenToPhysicsScale(touch_start_x - touch_old_x), + y = screenToPhysicsScale(touch_start_y - touch_old_y) + } + end + if distToRest > g_restDistance then + if eagleBaitLaunched ~= true and not g_special_game_mode and 0 > vecToRest.x then + settingsWrapper:incrementBackwardsBirdCount() + end + settingsWrapper:incrementBirdsShot() + eventManager:notify({ + id = events.EID_BIRD_SHOT, + birdsShooted = settingsWrapper:getBirdsShot(), + backwardsBirdCount = settingsWrapper:getBackwardsBirdCount() + }) + local distFactor = rubberBandLength / shootMaxLength + if distFactor < 0 then + distFactor = 0 + end + if 1 < distFactor then + distFactor = 1 + end + local force = -defaultForce * physicsScale * selectedBird.mass * g_slingshot_power + setPosition(selectedBird.name, rubberBandPos.x, rubberBandPos.y) + setVelocity(selectedBird.name, 0, 0) + applyImpulse(selectedBird.name, vecToRest.x / distToRest * force * distFactor, vecToRest.y / distToRest * force * distFactor, selectedBird.x, selectedBird.y) + if g_camera_follows_launched_bird then + cameraTargetObject = selectedBird + end + flyingBird = selectedBird + if g_slingshot_power > 1 then + selectedBird.particleTimer = 0 + selectedBird.particleTimerLimit = 0.025 + end + extraTutorialTimer = 0 + cameraFunction = doItAllCamera + if g_camera_follows_launched_bird then + if vecToRest.x > 0 then + cameraAnimationSliderTarget = 1 + else + cameraAnimationSliderTarget = 0 + end + end + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + animationWorldScale2 = worldScale + selectedBird.shot = true + selectedBird.hasCollided = false + birdSpecialtyAvailable = true + allowResetToBirdCamera = true + allowTrajectoryClearing = true + hasMovingObjectsAboveTolerance = true + birdSelected = false + birdReady = false + birdFired = true + showTapIcon = false + birdsShot = birdsShot + 1 + cameraResetTimer = 0 + showTapTimer = 0 + nextBirdTimer = g_bird_reload_delay + currentBirdName = nil + if birdsShot == birdCount then + lastScoreTime = time + oldScore = score + eventManager:notify({ + id = events.EID_ALL_BIRDS_SHOT + }) + end + otherBirds = {} + birdTrajectory = { + {}, + {}, + {} + } + flyingBird.sprite = getObjectDefinition(flyingBird.name).spriteFlying + setSprite(flyingBird.name, flyingBird.sprite) + if getObjectDefinition(selectedBird.name).launchSound ~= nil then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).launchSound), 1, false) + local kingsling_active = false + for _, powerup in _G.pairs(g_powerups_used) do + if powerup == "kingsling" then + kingsling_active = true + end + end + if kingsling_active then + playAudio("super_shot", 1, false) + else + playAudio(getAudioName("bird_shot"), 1, false) + end + g_scope_sound_ready = true + end + selectedBird = nil + else + cancelBirdDrag() + end + elseif not g_disableDragPanning then + local i = 1 + local dxSum = 0 + local dtSum = 0 + local speed = 0 + while i <= #dragCursorTable do + dtSum = dtSum + dragCursorTable[i].dt + dxSum = dxSum + dragCursorTable[i].dx + i = i + 1 + end + speed = dxSum / dtSum + dragCursorTable = {} + local cond + if not g_usingGestureControls then + cond = touchcount == 1 and distance(draggingStartPosScreen.x, draggingStartPosScreen.y, cursor.x, cursor.y) > screenWidth * 0.1 or _G.math.abs(speed) > 200 + else + cond = multitouchSweep.sweepAxis == "x" and multitouchSweep.sweepSpeed and _G.math.abs(multitouchSweep.sweepSpeed) > 200 + if cond then + speed = multitouchSweep.sweepSpeed * 0.25 + end + end + if cond then + sweepSpeed = speed + if _G.math.abs(sweepSpeed) > 0 then + if not g_usingGestureControls then + if _G.math.abs(draggingStartPosScreen.x - cursor.x) > _G.math.abs(draggingStartPosScreen.y - cursor.y) then + if draggingStartPosScreen.x - cursor.x > 0 then + leftSweep = true + else + rightSweep = true + end + end + elseif multitouchSweep.sweepSpeed < 0 then + leftSweep = true + else + rightSweep = true + end + if _G.math.abs(sweepSpeed) < 200 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 200 + end + if _G.math.abs(sweepSpeed) > 5000 then + sweepSpeed = sweepSpeed / _G.math.abs(sweepSpeed) * 5000 + end + end + else + sweepSpeed = 0 + end + end + if not g_usingGestureControls and not g_disableDragPanning then + if leftSweep == true and sweepSpeed < 0 then + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider < 0 then + cameraAnimationSlider = 0 + end + doubleClickTimer = 0 + end + if rightSweep == true and sweepSpeed > 0 then + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + cameraFunction = doItAllCamera + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider > 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + doubleClickTimer = 0 + showTapIcon = false + showTapTimer = 0 + end + end + if tapStarted and vLength(cursor.x - tapPosition.x, cursor.y - tapPosition.y) < tapRadius then + tapCount = tapCount + 1 + tapTimer = 0 + end + end + elseif g_usingGestureControls and touchcount > 1 and dragStarted then + cancelBirdDrag() + end + if cheatsEnabled == true then + levelCompleteCheat() + end + if allowResetToBirdCamera == true and hasMovingObjectsAboveTolerance == false and hasMovingObjects == false and levelCompleted == false and birdSpecialtyAvailable == false then + if cameraResetTimer <= 0 then + cameraResetTimer = 0.5 + end + cameraResetTimer = cameraResetTimer - dt + if cameraResetTimer <= 0 then + returnToBirdCamera() + end + end + if showTapTimer <= 0 and cameraAnimationSliderTarget == 1 and birdSpecialtyAvailable == false and cameraTargetObject == nil then + showTapTimer = 0.5 + end + if cameraAnimationSliderTarget == 0 then + showTapTimer = 0 + showTapIcon = false + end + if showTapTimer > 0 then + showTapTimer = showTapTimer - dt + if showTapTimer <= 0 then + showTapIcon = true + end + end + g_reload_bird(dt) + local recordTrajectory = false + if flyingBird ~= nil then + if flyingBird.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + local bt = birdTrajectory[1] + if #bt < 1 or vLength(lx - bt[#bt].x, ly - bt[#bt].y) > 20 then + -- if getObjectDefinition(flyingBird.name).particlesTrail ~= nil then + -- addParticles(flyingBird.name, getObjectDefinition(flyingBird.name).particlesTrail, 1) + -- end + _G.table.insert(bt, { x = lx, y = ly }) + addToTrajectory(1, lx, ly) + end + + if getObjectDefinition(flyingBird.name).rotateWhileFlying then + rotateFlyingBird(flyingBird.name) + end + end + local def = getObjectDefinition(flyingBird.name) + if eagleBaitLaunched ~= true and not g_special_game_mode and def.specialty ~= "GRENADE" then + if previousSpaceInvaderY == nil then + previousSpaceInvaderY = 0 + end + if previousSpaceInvaderY > -125 and flyingBird.y <= -125 then + eventManager:notify({ + id = events.EID_SPACE_INVANDER + }) + end + previousSpaceInvaderY = flyingBird.y + end + end + if otherBirds ~= nil then + for i = 1, 2 do + local obj = objects.world[otherBirds[i]] + if obj ~= nil and obj.recordTrajectory ~= false then + recordTrajectory = true + local lx, ly = physicsToWorldTransform(obj.x, obj.y) + local bt = birdTrajectory[i + 1] + if #bt < 1 or vLengthsq(lx - bt[#bt].x, ly - bt[#bt].y) > 400 then + _G.table.insert(bt, {x = lx, y = ly}) + addToTrajectory(i + 1, lx, ly) + end + end + end + end + if recordTrajectory == false and allowTrajectoryClearing == true then + startNewTrajectory() + allowTrajectoryClearing = false + end + if birdReady == true and currentBirdName ~= nil then + setPosition(currentBirdName, rubberBandPos.x, rubberBandPos.y) + setVelocity(currentBirdName, 0, 0) + end + if birdFired then + local rubberBandDtLeft = dt + local rubberBandDt + while rubberBandDtLeft > 0 do + if rubberBandDtLeft < 0.05 then + rubberBandDt = rubberBandDtLeft + else + rubberBandDt = 0.05 + end + rubberBandDtLeft = rubberBandDtLeft - rubberBandDt + local distToRest = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + local vecToRest = { + x = levelStartPosition.x - rubberBandPos.x, + y = levelStartPosition.y - rubberBandPos.y + } + rubberBandAngle = _G.math.atan2(vecToRest.y, vecToRest.x) + rubberBandLength = distToRest + rubberBandSpeed = rubberBandSpeed + dampedSpring(springConstant, springDampening, distToRest, rubberBandSpeed) * 0.05 * physicsScale + if distToRest > 0 then + rubberBandPos.x = rubberBandPos.x + vecToRest.x / distToRest * rubberBandSpeed * rubberBandDt + rubberBandPos.y = rubberBandPos.y + vecToRest.y / distToRest * rubberBandSpeed * rubberBandDt + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end + end + end + for i = #flyingGrenades, 1, -1 do + if flyingGrenades[i].explode == true then + local flyingGrenade = flyingGrenades[i].name + local grenadeDef = getObjectDefinition(flyingGrenade) + addParticles(flyingGrenade, grenadeDef.particles, 6, true, false) + makeExplosion(objects.world[flyingGrenade], grenadeDef, getAudioName("special_explosion")) + addParticles(flyingGrenade, grenadeDef.particles, 5, true, false) + if cameraTargetObject ~= nil and cameraTargetObject.name == flyingGrenades[i].name then + cameraTargetObject = nil + end + removeObject(flyingGrenade) + objects.world[flyingGrenade] = nil + _G.table.remove(flyingGrenades, i) + end + end + if eagleDarkness ~= nil then + eagleDarkness = eagleDarkness - dt * 0.4 + eagleDarkness = _G.math.max(_G.math.min(eagleDarkness, 0.5), 0) + end + for k, v in _G.pairs(objects.world) do + if isPhysicsEnabled() then + local bDef = getObjectDefinition(v.name) + if bDef.forceX ~= nil and bDef.forceY ~= nil then + applyForce(v.name, bDef.forceX * v.mass, bDef.forceY * v.mass, v.x, v.y) + elseif v.forceX ~= nil and v.forceY ~= nil then + applyForce(v.name, v.forceX * v.mass, v.forceY * v.mass, v.x, v.y) + end + end + if v.bombTimer ~= nil then + v.bombTimer = v.bombTimer - dt + if v.bombTimer < 0 then + makeExplosion(v, getObjectDefinition(k), getAudioName("tnt_explodes")) + removeBird(v) + v = nil + elseif v.bombTimer < 0.5 then + v.damageSprite = getObjectDefinition(k).spriteSpecial3 + setSprite(v.name, v.damageSprite) + elseif v.bombTimer < 1 then + v.damageSprite = getObjectDefinition(k).spriteSpecial2 + setSprite(v.name, v.damageSprite) + end + elseif v.redBirdTimer ~= nil then + local x = v.x + local y = v.y + local redImpulse = nil + v.rotateWhileFlying = false + v.redBirdTimer = v.redBirdTimer - dt + if v.redBirdTimer < 0 and v.collision ~= true then + setAngularVelocity(v.name, 30, 30) + redImpulse = false + v.xVel = velX + v.yVel = velY + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + v.particleTrail = "mightyRedBuff" + elseif v.redBirdTimer < 0.2 and v.collision ~= true then + redImpulse = true + if redImpulse ~= false then + local x, y = screenToPhysicsTransform(cursor.x, cursor.y) + v.frozenTargetPosition = {x = x, y = y} + v.targetAngle = _G.math.atan2(v.frozenTargetPosition.x - v.x, v.frozenTargetPosition.y - v.y) - _G.math.pi / 2 + end + local g_shootSpeed = 75 + velX, velY = _G.math.cos(v.targetAngle), _G.math.sin(v.targetAngle) + applyForce(v.name, 0, -objects.worldGravity * v.mass, v.x, v.y) + setVelocity(v.name, velX * g_shootSpeed, -velY * g_shootSpeed) + v.particleTrail = "mightyRedBuff" + + elseif v.redBirdTimer < 1 and v.collision ~= true then + setPosition(v.name, v.x, v.y) + addParticles(cursorPhysics, "smokeBuff", 1, true, false) + setVelocity(v.name, 0, 0) + end + elseif v.pinkTimer ~= nil then + v.pinkTimer = v.pinkTimer - dt + if v.pinkTimer < particleTable.particles.sonicBoom.lifeTime then + if not v.sonicBoom then + birdSpecialtyAvailable = false + v.sonicBoom = true + setVelocity(v.name, 0, 0) + addParticles(v.name, "sonicBoom", 1, true, false, true) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + applyForce(v.name, 0, -objects.worldGravity * v.mass + 1, v.x, v.y) + end + if v.pinkTimer < 0 then + v.pinkTimer = nil + addParticles(v.name, "bubblePopBig", 1, true, false, true) + local def = getObjectDefinition(v.name) + for k1, v1 in _G.pairs(objects.world) do + local vDef = getObjectDefinition(v1.name) + if not vDef.controllable and vDef.materialName ~= "immovable" and distance(v.x, v.y, v1.x, v1.y) < def.specialtyRadius and k1 ~= v.name then + v1.inBubble = true + v1.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + v1.bubbleAntiGravityTimer = bubbleAntiGravityTime + v1.bubbleAntiGravityFloat = (v1.x - v.x) * 1.3 + end + end + setVelocity(v.name, 0, 0) + v.inBubble = true + v.bubbleAntiGravityTimer = bubbleAntiGravityTime + v.bubbleSprite = "P_BIRDBUBBLE_" .. _G.math.floor(_G.math.random(1, 3)) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, true, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.globeTimer ~= nil then + v.globeTimer = v.globeTimer - dt + if v.globeTimer < 0 and globeExplodeDone then + if not v.hasCollided then + local lx, ly = physicsToWorldTransform(v.x, v.y) + addPuffToTrajectory(1, lx, ly) + end + playAudio(getAudioName(blockTable.blocks[v.definition].specialSound), 1, false) + local name = "a" .. v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].finalGlobe = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + objects.world[name].pufferLifeTimeTimer = 2 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, v.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = nil + elseif dt >= v.globeTimer then + local name = v.name .. "a" + makeExplosion(v, getObjectDefinition(k), nil) + local def = blockTable.blocks[v.definition] + local def_name = v.definition + if def.puffedDefinition then + def_name = def.puffedDefinition + def = blockTable.blocks[def.puffedDefinition] + end + createCircle(name, def.sprite, v.x, v.y, def.radius * (v.powerup_scale or 1), def.density, def.friction, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = def_name + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].xVel = v.xVel + objects.world[name].yVel = v.yVel + objects.world[name].hasCollided = v.hasCollided + objects.world[name].globeTimer = v.globeTimer + objects.world[name].powerup_scale = v.powerup_scale + objects.world[name].scale = v.powerup_scale or 1 + setRotation(name, v.angle) + setVelocity(name, v.xVel, v.yVel) + setObjectParameter(name, 5, 0.5 * (v.powerup_scale or 1)) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true) + v = objects.world[name] + objects.world[v.name].sprite = def.sprite + setSprite(v.name, objects.world[v.name].sprite) + v.sprite = def.sprite + cameraTargetObject = v + globeExplodeDone = true + end + elseif v.isGlobeDeath == true then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = 0.05 + v.xVelChange = _G.math.random(-50, 50) + v.yVelChange = _G.math.random(-50, 50) + end + v.scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + v.updateCount = v.updateCount + 1 + setObjectParameter(v.name, 5, v.scale) + if v.updateCount % 3 == 0 then + local name = v.name .. "a" + local def = getObjectDefinition(k) + createCircle(name, def.sprite, v.x, v.y, def.radius * v.scale, 1.0E-6, 0, def.restitution, v.controllable, v.z_order) + objects.world[name].definition = v.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = v.updateCount + objects.world[name].deathTimerFull = v.deathTimerFull + objects.world[name].deathTimer = v.deathTimer + objects.world[name].scale = v.deathTimer / v.deathTimerFull * (v.powerup_scale or 1) + objects.world[name].directionChangeTimer = v.directionChangeTimer + objects.world[name].xVelChange = v.xVelChange + objects.world[name].yVelChange = v.yVelChange + objects.world[name].xVel = v.xVel + v.xVelChange + objects.world[name].yVel = v.yVel + v.yVelChange + objects.world[name].powerup_scale = v.powerup_scale + setRotation(name, _G.math.atan2(-objects.world[name].xVel, objects.world[name].yVel) - _G.math.pi / 2) + setVelocity(name, objects.world[name].xVel, objects.world[name].yVel) + setObjectParameter(name, 5, v.scale) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + removeBird(v, true, 1) + end + else + allowResetToBirdCamera = true + removeBird(v) + end + elseif v.pufferLifeTimeTimer ~= nil then + v.pufferLifeTimeTimer = v.pufferLifeTimeTimer - dt + if v.pufferLifeTimeTimer < 0 then + removeBird(v) + end + elseif v.rocket and v.deathTimer ~= nil then + if v.deathTimer > 0 then + v.deathTimer = v.deathTimer - dt + v.directionChangeTimer = v.directionChangeTimer - dt + if v.directionChangeTimer <= 0 then + v.directionChangeTimer = v.directionChangeTimer + 0.1 + v.xVelChange = _G.math.random(-5, 5) + v.yVelChange = _G.math.random(-2, 1) + end + v.trailSpawnTimer = v.trailSpawnTimer - dt + if v.trailSpawnTimer <= 0 then + v.trailSpawnTimer = v.trailSpawnTimer + v.rocketTrailSpawnDelay + addParticles(k, v.rocketTrailParticles, 1, false, false) + end + objects.world[v.name].xVelChange = v.xVelChange + objects.world[v.name].yVelChange = v.yVelChange + objects.world[v.name].xVel = v.xVel + v.xVelChange + objects.world[v.name].yVel = v.yVel + v.yVelChange + setRotation(v.name, _G.math.atan2(-objects.world[v.name].xVel, objects.world[v.name].yVel) - _G.math.pi) + setVelocity(v.name, objects.world[v.name].xVel, objects.world[v.name].yVel) + else + v.strength = 0 + deadBlocks[k] = v + end + elseif v.isMightyBait or v.isMightyEagle then + v.updateFunction(v, dt) + elseif v.superseed_timer then + v.superseed_timer = v.superseed_timer + dt + local def = getObjectDefinition(v.name) + local new_bird = superSeedResizeBird(v.name, v, def) + elseif v.controllable and v.shot == true then + if not v.hasCollided and g_slingshot_power > 1 and v.particleTimer then + v.particleTimer = v.particleTimer + dt + local particleAmount = _G.math.floor(v.particleTimer / v.particleTimerLimit) + if particleAmount > 0 then + v.particleTimer = _G.math.fmod(v.particleTimer, v.particleTimerLimit) + local x, y = physicsToWorldTransform(v.x, v.y) + local r = (v.radius or 0) * 2 + local w, h = physicsToWorldTransform(r, r) + _G.particles.addParticles("superSlingTrail", particleAmount, x, y, w, h, getAngle(v.name), false, false) + end + end + if v.isReadyForRemoveTimer ~= nil and vLengthsq(v.xVel, v.yVel) < g_bird_remove_velocity_treshold then + v.isReadyForRemoveTimer = v.isReadyForRemoveTimer - dt + else + v.isReadyForRemoveTimer = g_bird_remove_time + end + if v.linearDamping ~= nil and v.linearDamping ~= 0 then + if v.waterTimer == nil then + v.waterTimer = 10 + else + v.waterTimer = v.waterTimer - dt + end + end + if v.waterTimerIsActive then + v.waterTimer = (v.waterTimer or 10) - dt + end + if (v.isReadyForRemoveTimer < 0 or v.waterTimer ~= nil and v.waterTimer < 0) and cameraTargetObject == nil then + removeBird(v) + v = nil + end + end + if v ~= nil and v.inBubble then + if v.bubbleAntiGravityTimer > 0 then + v.bubbleAntiGravityTimer = v.bubbleAntiGravityTimer - dt + if distance(0, 0, v.xVel, v.yVel) < antiGravityMaxVelocity then + applyForce(v.name, (v.bubbleAntiGravityFloat or 0) * v.mass, -objects.worldGravity * v.mass * bubbleAntiGravity, v.x, v.y) + end + else + if v.levelGoal then + v.defenceBoost = nil + end + v.bubbleAntiGravityTimer = nil + v.bubbleAntiGravityFloat = nil + v.inBubble = nil + addParticles(v.name, "bubblePop", 1, true, false, true) + if v.controllable then + removeBird(v) + v = nil + end + end + end + end + if v ~= nil and v.frozen and objects.world[k] then + if v.controllable then + if v.isMightyBait or v.isMightyEagle then + v.frozenFunction(v, dt) + end + if v.boomerangActive ~= true then + removeBird(v) + end + else + removeObject(k) + objects.world[k] = nil + levelGoals[k] = nil + if checkLevelGoalsDestroyed() then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + v = nil + end + if v ~= nil and objects.waterLevel ~= nil and v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 then + if v.controllable and v.angle ~= nil and v.xVel > 5 and v.definition ~= "BoomerangBird" and v.definition ~= "GlobeBirdBig" then + local desiredAngle = _G.math.atan2(v.yVel, v.xVel) + setRotation(v.name, desiredAngle) + setAngularVelocity(v.name, 0) + end + if v.name and v.controllable and not v.isEggGrenade and v.xVel < 5 and v.xVel > -5 and v.linearDamping and v.linearDamping ~= 0 and (v.hasCollided == nil or v.hasCollided == false) then + birdCollision(v.name, "ground", 0, 0) + end + if not v.sleeping and v.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 and 1 < v.yVel then + v.bubbleTimer = v.bubbleTimer and v.bubbleTimer - dt or _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + if 0 > v.bubbleTimer then + v.bubbleTimer = _G.math.random(bubbleFrequency[1], bubbleFrequency[2]) / 10 + local x, y = physicsToWorldTransform(v.x, v.y) + local plusX, plusY = 0, 0 + local ang = v.angle + if v.animated and v.height and v.width then + ang = ang - 1 + local dist = v.height * 2.5 + plusY = _G.math.cos(ang) * dist + plusX = _G.math.sin(ang) * dist + plusX = -plusX + end + _G.particles.addParticles("bubbles", 1, x - plusX, y - plusY, 1, 1, v.angle, false, false) + end + end + end + g_waterUpdated = false + if mightyTimerUpdate ~= nil then + mightyTimerUpdate(dt) + end + if cameraFunction ~= nil then + cameraFunction(dt) + end + for k, v in _G.pairs(birds) do + bird = v + local bDef = getObjectDefinition(bird.name) + if bird.shot == true and bDef.specialty == "BOOMERANG" then + if v.boomerangActive == true then + if bird.prevAngle ~= nil and bird.prevAngle < -1 and bird.angle >= -1 then + if bird.x < levelLeftEdge then + vol = _G.math.max(1 - (levelLeftEdge - bird.x) / 100, 0) + elseif bird.x > levelRightEdge then + vol = _G.math.max(1 - (bird.x - levelRightEdge) / 100, 0) + else + vol = 1 + end + playAudio("boomerang_swish", vol, false) + end + bird.prevAngle = bird.angle + if settingsWrapper.useFacebookBoomerangBird then + if bird.boomerangTargetXVel ~= 0 then + if bird.boomerangTargetXVel < bird.xVel then + setVelocity(bird.name, bird.xVel - dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel >= bird.xVel then + bird.boomerangTargetXVel = 0 + end + elseif bird.boomerangTargetXVel > bird.xVel then + setVelocity(bird.name, bird.xVel + dt * 1000 / 10, bird.yVel) + if bird.boomerangTargetXVel <= bird.xVel then + bird.boomerangTargetXVel = 0 + end + end + end + else + if bird.xVel >= bird.boomerangMinXVel and bird.xVel <= bird.boomerangMaxXVel then + applyForce(bird.name, bird.boomerangXForce, 0, bird.x, bird.y) + end + if bird.yVel > 5 then + applyForce(bird.name, 0, bird.boomerangYForce, bird.x, bird.y) + end + end + bird.angularVelocity = bird.angularVelocity + dt * 20 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + elseif bird == flyingBird and birdSpecialtyAvailable then + applyForce(bird.name, 0, blockTable.blocks[bird.definition].flyVerticalForce, bird.x, bird.y) + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + bird.angularVelocity = bird.angularVelocity + dt * 15 + if bird.angularVelocity > 6.28 then + bird.angularVelocity = 6.28 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + elseif bird.shot == true and (bird.definition == "BaitSardine" or bird.definition == "BaitGoldenFish") then + if bird.angularVelocity == nil then + bird.angularVelocity = 0 + end + if bird.hasCollided ~= true and bird.hitWater ~= true then + bird.angularVelocity = bird.angularVelocity + dt * 10 + if bird.angularVelocity > 20 then + bird.angularVelocity = 20 + end + setAngularVelocity(bird.name, bird.angularVelocity) + end + end + end + for k, v in _G.pairs(objects.joints) do + if v.backAndForth then + checkJointLimits(v.name) + end + end + updateCharacterAnimations(dt) + updateFloatingScores(dt) + updateScore(dt) + if isPhysicsEnabled() then + updateLevelEffects(dt, time) + end + oldCursor.x = cursor.x + oldCursor.y = cursor.y + drawGame() + if tempWorldScale ~= nil then + print("tempWorldScale = nil\n") + tempWorldScale = nil + end + skipInput = false + g_skip_trigger_specialty = false + if timeSinceLevelStart then + timeSinceLevelStart = timeSinceLevelStart + dt + end +end +function nextLevel() + local next = false + for k, v in allLevels() do + if k == levelName then + next = true + elseif next then + prepareLevel({ + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + }, "keyboard command") + return + end + end +end +function previousLevel() + local prev + for k, v in allLevels() do + if k == levelName then + if prev then + prepareLevel(prev, "keyboard command") + end + return + end + prev = { + episode = v.episode, + page = v.page, + level = v.index, + levelName = k + } + end +end +function waterUpdate() + local dt = 0.033333335 + if isPhysicsEnabled() and objects.waterLevel ~= nil then + for k, v in _G.pairs(objects.world) do + local objDefinition = getObjectDefinition(v.name) + if v.y > -objects.waterLevel and not v.sleeping and v.mass and v.mass > 0 and not v.singTimer then + local trueYVel = v.yVel + local trueXVel = v.xVel + local isEggGrenade = v.isEggGrenade + local depth = v.y + objects.waterLevel + if depth > waterMaxBuoyancyDepth then + depth = waterMaxBuoyancyDepth + end + local forceMultiplier = 0.8 + if not v.hitWater then + v.hitWater = true + end + if v.controllable and 0 > v.yVel then + forceMultiplier = 1.2 + end + local yForce = -objects.worldGravity * v.mass * (1.05 + depth * forceMultiplier / waterMaxBuoyancyDepth) + local xForce = 0 + if not v.controllable and v.materialname and v.materialname == "rock" then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) * 0.75 + elseif (v.density >= 3 or v.materialname ~= nil and v.materialname == "light" or v.materialname == "piglette") and (v.controllable == nil or v.controllable == false) then + yForce = -objects.worldGravity * v.mass * (0.7 + depth * 0.2 / waterMaxBuoyancyDepth) + if v.materialname == "piglette" and v.yVel == 0 and depth >= waterMaxBuoyancyDepth then + v.strength = 0 + end + elseif v.sprite == "B_PONTOON_1" and v.yVel > -5 then + yForce = -10000 + if depth < waterMaxBuoyancyDepth then + yForce = depth / waterMaxBuoyancyDepth * yForce * 0.5 + if v.yVel < -5 then + v.yVel = -1 + else + v.yVel = 0 + end + end + end + if distance(0, 0, v.xVel, v.yVel) > 5 then + local radius = v.radius or 1 + local depth = v.y + objects.waterLevel + local maxDepth = waterMaxBuoyancyDepth * 4 + local depthMultiplier = 1 + xForce = (0 < v.xVel and -1 or 1) * 0.5 * v.xVel * v.xVel * 0.48 * radius + yForce = yForce - depthMultiplier * 0.5 * (v.yVel * v.yVel) * 0.48 * radius + if not v.controllable and trueYVel < -20 then + yForce = 0 + end + end + local forceX, forceY = 0, 0 + if v.angle ~= nil and v.width ~= nil and v.height ~= nil and (v.width / v.height <= 0.65 or v.width / v.height >= 1.5) and not v.controllable then + local angle = v.angle % (2 * _G.math.pi) + if angle > 1.9375 * _G.math.pi or angle < 0.0625 * _G.math.pi or angle > 0.9375 * _G.math.pi and angle < 1.0625 * _G.math.pi then + elseif angle < _G.math.pi / 2 or angle > _G.math.pi and angle < 1.5 * _G.math.pi then + forceX = 0.07 + else + forceX = -0.07 + end + end + if isEggGrenade then + if v.yVel > 1 then + yForce = yForce * 3.5 + end + xForce = 35 + end + if not v.linearDamping or v.linearDamping == 0 then + if 2 < timeSinceLevelStart then + local x, y = physicsToWorldTransform(v.x, v.y) + local particle = "waterSplash" + if distance(0, 0, v.xVel, v.yVel) < 15 then + particle = "waterSplashUp" + end + _G.particles.addParticles(particle, 3, x, y, 10, 10, 0, true, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + v.linearDamping = 0.5 + end + if objDefinition and objDefinition.killedByWater then + if 0 < v.strength then + v.strength = 0 + v.linearDamping = 6 + v.drowned = true + elseif not v.drowned then + v.linearDamping = 8 + v.drowned = true + end + elseif not v.destroyed and not v.sleeping then + local vel = distance(0, 0, trueXVel, trueYVel) + local af = true + if vel < 0.5 then + v.timeWithoutMoving = v.timeWithoutMoving and v.timeWithoutMoving + dt or dt + if 2 <= v.timeWithoutMoving then + v.timeWithoutMoving = 2 + af = false + end + else + v.timeWithoutMoving = 0 + end + if af then + applyForceNative(v.name, xForce, yForce, v.x + forceX, v.y + forceY) + end + end + setLinearDamping(v.name, v.linearDamping) + elseif v.materialname == "piglette" and v.yVel and v.yVel == 0 and v.y + objects.waterLevel >= waterMaxBuoyancyDepth then + v.strength = 0 + elseif v.linearDamping ~= nil and v.linearDamping ~= 0 and v.y < -objects.waterLevel - 2 then + v.linearDamping = 0 + setLinearDamping(v.name, v.linearDamping) + if 2 < timeSinceLevelStart and distance(0, 0, v.xVel, v.yVel) > 5 then + local x, y = physicsToWorldTransform(v.x, v.y) + _G.particles.addParticles("waterSplashUp", 3, x, y, 10, 10, 0, false, false) + if v.controllable then + playAudio("bird_dive", 5, nil) + else + local splashVolume + if 5 > timeSinceLevelStart then + splashVolume = 0.2 + end + playAudio("water_splash", 5, nil) + end + end + end + end + g_waterUpdated = true + end +end +function cancelBirdDrag() + if selectedBird then + setPosition(selectedBird.name, levelStartPosition.x, levelStartPosition.y) + selectedBird = nil + rubberBandPos.x = levelStartPosition.x + rubberBandPos.y = levelStartPosition.y + rubberBandSpeed = 0 + rubberBandLength = 0 + rubberBandAngle = 0 + if not _G.res.isAudioPlaying("laser_sight") then + g_scope_sound_ready = true + end + end +end +function triggerBirdSpecialty(dt) + birdSpecialtyAvailable = false + local bDef = getObjectDefinition(flyingBird.name) + birdSpecialty = bDef.specialty + if birdSpecialty == "GLOBE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.globeTimer = dt * 2 + end + if birdSpecialty == "BUBBLES" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.pinkTimer = particleTable.particles.sonicBoom.lifeTime + end + if birdSpecialty == "BOOST" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, -x * force, -y * force) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, true, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "TEST" then + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + applyImpulse(flyingBird.name, 0, 100 * 20 * 200, flyingBird.x, flyingBird.y) + addParticles(flyingBird.name, blockTable.blocks[flyingBird.definition].particles, 10, true, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + if objects.world[flyingBird.name].notCollided == false then + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 0 + end + end + if birdSpecialty == "BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + removeBird(flyingBird) + end + if birdSpecialty == "C_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "BOMB_JUMP" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + makeExplosion(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound)) + applyImpulse(flyingBird.name, 0, 1 * 0 * -100, flyingBird.x, flyingBird.y) + end + if birdSpecialty == "SUCK" then + makeSuck(flyingBird, bDef, getAudioName(blockTable.blocks[flyingBird.definition].specialSound))playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + if birdSpecialty == "TELEPORT" then + makeExplosion(flyingBird, bDef) + local bDef = getObjectDefinition(flyingBird.name) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + local force = boostForce * physicsScale * flyingBird.mass + local x, y = vNormalize(flyingBird.xVel, flyingBird.yVel) + setPosition(flyingBird.name, cursorPhysics.x, cursorPhysics.y) + applyImpulse( flyingBird.name, + -x * force, + -y * force, + flyingBird.x, + flyingBird.y) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + addParticles(flyingBird.name, "smokeBuff", 1, true, false) + end + if birdSpecialty == "SOUND" then + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end + if birdSpecialty == "JEWEL" then + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + objects.world[flyingBird.name].redBirdTimer = 0 + +end + if birdSpecialty == "ROCKET_BIRD" then + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = "BIRD_YELLOW_SPECIAL" + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + + createCircle(newName, "DROPPABLE_EGG", flyingBird.x, flyingBird.y + flyingBird.radius*2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + objects.world[newName].definition = "EggGranade" + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].material = flyingBird.material + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot("INGAME_BIRDS_1","DROPPABLE_EGG") + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = "WIZPIG_1_1" + objects.world[newName].xVel = 100 --flyingBird.xVel * 0.5 + objects.world[newName].yVel = -10 --flyingBird.yVel * 0.5 + setSprite(newName, "WIZPIG_1_1") + setRotation(newName, flyingBird.angle) + --setVelocity(newName, flyingBird.xVel*0.5, flyingBird.yVel*0.5) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + --objects.world[newName].specialty = "BOMB" + _G.table.insert(flyingGrenades, { name = newName, timer = 5 }) + --_G.table.insert(extraObjects, newName) + _G.res.playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + --_G.res.playAudio(getAudioName("bird_pushing_egg_out"), 1, false) + cameraTargetObject = objects.world[newName] + + applyImpulse( flyingBird.name, + -100*defaultForce * flyingBird.mass, + 0*defaultForce * flyingBird.mass, + flyingBird.x-0.5, + flyingBird.y ) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + +end + if birdSpecialty == "CLUSTER_BOMB" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + createCircle(newName, flyingBird.sprite, flyingBird.x - x, flyingBird.y - y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel - x * 7 + objects.world[newName].yVel = flyingBird.yVel - y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel - x * 7, flyingBird.yVel - y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "b" + createCircle(newName, flyingBird.sprite, flyingBird.x, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + objects.world[newName].yVel = flyingBird.yVel + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel, flyingBird.yVel) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + newName = flyingBird.name .. "c" + createCircle(newName, flyingBird.sprite, flyingBird.x + x, flyingBird.y + y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, flyingBird.controllable, flyingBird.z_order) + objects.world[newName].definition = flyingBird.definition + objects.world[newName].controllable = flyingBird.controllable + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].levelGoal = flyingBird.levelGoal + objects.world[newName].damageFactors = flyingBird.damageFactors + objects.world[newName].spritePivotX = flyingBird.spritePivotX + objects.world[newName].spritePivotY = flyingBird.spritePivotY + objects.world[newName].damageSprite = flyingBird.damageSprite + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].shot = true + objects.world[newName].sleeping = false + objects.world[newName].hasCollided = false + objects.world[newName].parentName = flyingBird.name + objects.world[newName].xVel = flyingBird.xVel + x * 7 + objects.world[newName].yVel = flyingBird.yVel + y * 7 + setSprite(newName, flyingBird.damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, flyingBird.xVel + x * 7, flyingBird.yVel + y * 7) + birds[newName] = objects.world[newName] + if flyingBird.powerup_scale then + setObjectParameter(newName, 5, flyingBird.powerup_scale) + setObjectParameter(newName, 6, 1) + end + otherBirds = { + flyingBird.name .. "a", + flyingBird.name .. "b" + } + removeBird(flyingBird) + flyingBird = objects.world[newName] + cameraTargetObject = flyingBird + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + end +if birdSpecialty == "GRENADE" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + local x, y = vNormalize(flyingBird.yVel, -flyingBird.xVel) + local newName = flyingBird.name .. "a" + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + local grenade_def = blockTable.blocks[bDef.projectile] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + createCircle(newName, grenade_def.sprite, flyingBird.x + flyingBird.radius * 2, flyingBird.y, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + else + createCircle(newName, grenade_def.sprite, flyingBird.x, flyingBird.y + flyingBird.radius * 2, flyingBird.radius, flyingBird.density, flyingBird.friction, flyingBird.restitution, true, flyingBird.z_order) + end + objects.world[newName].definition = bDef.projectile + objects.world[newName].controllable = true + objects.world[newName].strength = flyingBird.strength + objects.world[newName].defence = flyingBird.defence + objects.world[newName].materialName = flyingBird.materialName + objects.world[newName].damageFactors = blockTable.blocks[objects.world[newName].definition].damageFactors + objects.world[newName].useLegacyCollisionPath = flyingBird.useLegacyCollisionPath + objects.world[newName].levelGoal = false + local xp, yp = _G.res.getSpritePivot(grenade_def.sprite) + objects.world[newName].spritePivotX = xp + objects.world[newName].spritePivotY = yp + objects.world[newName].damageSprite = grenade_def.sprite + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + objects.world[newName].xVel = 100 + objects.world[newName].yVel = 0 + else + objects.world[newName].xVel = 0 + objects.world[newName].yVel = 100 + end + objects.world[newName].isEggGrenade = true + setSprite(newName, objects.world[newName].damageSprite) + setRotation(newName, flyingBird.angle) + setVelocity(newName, objects.world[newName].xVel, objects.world[newName].yVel) + _G.table.insert(flyingGrenades, {name = newName, timer = 5}) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + cameraTargetObject = objects.world[newName] + if blockTable.blocks[flyingBird.definition].kingPigTilda == true then + applyImpulse(flyingBird.name, 0.2 * defaultForce * flyingBird.mass, 0 * defaultForce * flyingBird.mass, flyingBird.x - 0, flyingBird.y) + else + applyImpulse(flyingBird.name, -0.04 * defaultForce * flyingBird.mass, 0.08 * defaultForce * flyingBird.mass, flyingBird.x - 0.5, flyingBird.y) + end + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end + if birdSpecialty == "BOOMERANG" then + settingsWrapper:setExtraTutorialShown(bDef.sprite) + flyingBird.boomerangActive = true + if settingsWrapper.useFacebookBoomerangBird then + flyingBird.boomerangTargetXVel = -1.5 * flyingBird.xVel + else + if flyingBird.xVel ~= 0 then + yForceCoeff = 2 - _G.math.min(_G.math.abs(flyingBird.yVel / flyingBird.xVel), 2) + else + yForceCoeff = 0 + end + flyingBird.boomerangXForce = flyingBird.xVel * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangHorizontalForce * g_slingshot_power + flyingBird.boomerangYForce = yForceCoeff * physicsScale * flyingBird.mass * blockTable.blocks[flyingBird.definition].boomerangVerticalForce * g_slingshot_power + flyingBird.boomerangMinXVel = -blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + flyingBird.boomerangMaxXVel = blockTable.blocks[flyingBird.definition].boomerangMaxHorizontalSpeed * g_slingshot_power + end + objects.world[flyingBird.name].sprite = bDef.spriteSpecial + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + playAudio(getAudioName(blockTable.blocks[flyingBird.definition].specialSound), 1, false) + local lx, ly = physicsToWorldTransform(flyingBird.x, flyingBird.y) + addPuffToTrajectory(1, lx, ly) + end +end +function closeMightyEaglePurchasePage() + setPhysicsEnabled(false) + drawGame() +end +function backToGameFromPopup() + print("going to pause menu\n") + popupPage = nil + showPauseMenu() + setPhysicsEnabled(false) +end +function goToMightyEagleDemoPageFromGame() + settingsWrapper:setMightyEagleUpsellPageViewed() + setPhysicsEnabled(false) + function currentGameMode() + end + drawGame() + setGameOn(false) + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = IngameEaglePage:new() + }) +end +function goToMightyEaglePaymentPage(inGame) + if isEagleEnabled() ~= true then + purchaseMightyEagle() + if g_eagleClickedFrom == "MAIN_MENU" then + menuManager:changeRoot(MainMenuEaglePurchasePage:new()) + elseif g_eagleClickedFrom == "INGAME" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + elseif g_eagleClickedFrom == "LEVEL_FAILED" then + eventManager:notify({ + id = events.EID_PUSH_FRAME, + target = EaglePurchasePage:new({ + return_screen = menuManager:popFrame() + }) + }) + end + end +end +function resetMightyEagleFeature() + settingsWrapper:resetMightyEagle() + settingsWrapper:resetEaglesUsedIn() + highscores = {} +end +function removeBlocks() + if objects.world == nil then + return + end + for k, v in _G.pairs(deadBlocks) do + if v ~= nil and v.strength ~= nil and v.strength <= 0 and v.rocket ~= nil and v.deathTimerFull == nil then + shootRocket(v.name) + deadBlocks[k] = nil + elseif v ~= nil and v.strength ~= nil then + local bDef = getObjectDefinition(k) + local scoreToAdd = blockDestroyedScoreIncrement + if bDef.destroyedScoreInc ~= nil then + scoreToAdd = blockTable.blocks[v.definition].destroyedScoreInc + end + + if v.specialBlock and getObjectDefinition(k).audioInfo ~= nil then + _G.res.stopAudio(getObjectDefinition(k).audioInfo.audio) + end + + if v.levelGoal then + scoreToAdd = pigletteDestroyedScoreIncrement + playAudio(getAudioName(blockTable.materials[bDef.materialName].damageSound), 1, false) + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + if startedFromEditor ~= true then + local anyPiglettesAlive = 0 + for k2, v2 in _G.pairs(levelGoals) do + if v2.levelGoal then + anyPiglettesAlive = anyPiglettesAlive + 1 + end + end + if anyPiglettesAlive == 1 then + eventManager:notify({ + id = events.EID_LEVEL_GOALS_CLEARED + }) + lastScoreTime = time + oldScore = score + end + end + elseif bDef.spriteScore ~= nil then + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + sprite = bDef.spriteScore, + score = scoreToAdd, + time = 0, + lifetime = 0.9, + maxScale = floatingScoreScaling * 1, + xs = 0 + }) + else + _G.table.insert(floatingScores, { + x = v.x, + y = v.y, + text = "" .. scoreToAdd, + score = scoreToAdd, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + scoreToAdd / 3000), + xs = 0 + }) + end + scoreTable.blocks.score = scoreTable.blocks.score + scoreToAdd + _G.table.insert(scoreTable.blocks.individualDestructionScores, scoreToAdd) + local bDef = getObjectDefinition(k) + local particle = bDef.particles + if particle == nil then + particle = blockTable.materials[v.materialName].particles + end + local destroySound = blockTable.materials[v.materialName].destroyedSound + local particleAmount = 12 + local batAmount = _G.math.random(12, 20) + if particle == "smokeBuff" then + particleAmount = 1 + elseif particle == "batBuff" then + particleAmount = batAmount + elseif particle == "flameBuff" then + particleAmount = 1 + elseif particle == "popcornBuff" then + particleAmount = 5 + elseif particle == "bigExplosionBuff" then + _G.res.stopAudio(currentMusic) + end + destroySound = objects.waterLevel and v.y > -objects.waterLevel and (blockTable.blocks[v.definition].underwaterDestroyedSound or blockTable.materials[v.materialName].underwaterDestroyedSound) or destroySound + if bDef.specialty == "BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if bDef.specialty == "C_BOMB" then + makeExplosion(deadBlocks[k], bDef, getAudioName("tnt_explodes")) + end + if particle == "rat_death" then + particleAmount = 1 + end + if particle == "explosionBuff" then + particleAmount = 1 + end + if destroySound ~= nil then + playAudio(getAudioName(destroySound), 0.7, false, 3) + end + updateDestroyedBlocksValues(v) + if g_level_scripts[levelName] and g_level_scripts[levelName].onRemoveBlock then + g_level_scripts[levelName].onRemoveBlock(v) + end + addParticles(k, particle, particleAmount, true, false) + local spawn = blockTable.blocks[v.definition].spawn + local deathSpawn = blockTable.blocks[v.definition].deathSpawn + local x, y = v.x, v.y + removeObject(k) + if spawn ~= nil then + local width = blockTable.blocks[spawn.definition].width + local height = blockTable.blocks[spawn.definition].height + local cols = _G.math.max(1, _G.math.floor(v.width / width)) + local rows = _G.math.max(1, _G.math.ceil(spawn.amount / cols)) + local stepSizeX = v.width / cols + local stepSizeY = v.height / rows + local ux = -(cols / 2 * stepSizeX) + stepSizeX * 0.5 + local uy = -(rows / 2 * stepSizeY) + stepSizeY * 0.5 + local stepX, stepY = 0, 0 + for i = 1, spawn.amount do + local angle = _G.math.fmod(v.angle, _G.math.pi * 2) + if angle < 0 then + angle = angle + _G.math.pi * 2 + end + local tx, ty = ux + stepX * stepSizeX, uy + stepY * stepSizeY + local rotatedX = _G.math.cos(angle) * tx - _G.math.sin(angle) * ty + local rotatedY = _G.math.sin(angle) * tx + _G.math.cos(angle) * ty + local name = createObject(blockTable, spawn.definition, v.name .. "_" .. i, v.x + rotatedX, v.y + rotatedY) + stepX = stepX + 1 + if cols <= stepX then + stepY = stepY + 1 + stepX = 0 + end + setRotation(name, angle) + end + end + if deathSpawn then + for i = 1, deathSpawn.amount do + local def = deathSpawn.types[_G.math.random(1, #deathSpawn.types)] + local name = createObject(blockTable, def, k .. "_generated_" .. i, x * scaleFactor, y * scaleFactor) + setRotation(name, _G.math.random() * 2 * _G.math.pi) + end + end + levelGoals[k] = nil + objects.world[k] = nil + deadBlocks[k] = nil + end + end +end +function updateDestroyedBlocksValues(v) + local destroyedBlocksList = {} + if not eagleBaitLaunched and (deviceModel == "iphone" or deviceModel == "ipad") then + if v.materialName ~= nil then + if v.materialName == "wood" then + settingsWrapper:setWoodBlocksDestroyed(settingsWrapper:getWoodBlocksDestroyed() + 1) + elseif v.materialName == "light" then + settingsWrapper:setIceBlocksDestroyed(settingsWrapper:getIceBlocksDestroyed() + 1) + elseif v.materialName == "rock" then + settingsWrapper:setRockBlocksDestroyed(settingsWrapper:getRockBlocksDestroyed() + 1) + elseif v.materialName == "piglette" then + settingsWrapper:incrementPigsDestroyed() + else + destroyedBlocksList = achievementProcessor:updateDestroyedBlocksPerProject(v) + end + totalBlocks = 0 + totalBlocks = totalBlocks + settingsWrapper:getWoodBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getIceBlocksDestroyed() + totalBlocks = totalBlocks + settingsWrapper:getRockBlocksDestroyed() + end + local event = { + id = events.EID_BLOCKS_DESTROYED, + totalBlocks = totalBlocks, + pigsDestroyed = settingsWrapper:getPigsDestroyed(), + rockBlocksDestroyed = settingsWrapper:getRockBlocksDestroyed(), + iceBlocksDestroyed = settingsWrapper:getIceBlocksDestroyed(), + woodBlocksDestroyed = settingsWrapper:getWoodBlocksDestroyed() + } + for k, v in _G.pairs(destroyedBlocksList) do + event[k] = v + end + eventManager:notify(event) + end +end +function updateScore(dt) + score = 0 + for k, v in _G.pairs(scoreTable) do + score = score + v.score + end +end +function animateBirdToSlingShot(dt) + local testIndex = currentBirdIndex + 1 + if nextBirdTimer > 0 then + nextBirdTimer = nextBirdTimer - dt + if nextBirdTimer <= 0 then + if getNextBird(testIndex) ~= nil then + if birdFired then + birdFired = false + fillInNextBird = true + selectedBird = nil + end + else + allowResetToBirdCamera = false + end + end + end + if fillInNextBird == true then + if birdToSlingshotBirdName == nil then + birdToSlingshotAnimationTimer = 0 + birdToSlingshotBirdName = getNextBird(testIndex) + objects.world[birdToSlingshotBirdName].jumpTimer = 10000 + if objects.world[birdToSlingshotBirdName].jumpOn == true then + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].y = objects.world[birdToSlingshotBirdName].oldY + objects.world[birdToSlingshotBirdName].jumpOn = false + end + birdToSlingshotAnimationStartX = objects.world[birdToSlingshotBirdName].x + birdToSlingshotAnimationStartY = objects.world[birdToSlingshotBirdName].y + birdToSlingshotAnimationHeight = (levelStartPosition.y - objects.world[birdToSlingshotBirdName].y) * 1.33 + end + birdToSlingshotAnimationTimer = birdToSlingshotAnimationTimer + dt + local obj = objects.world[birdToSlingshotBirdName] + if obj == nil then + return + end + setPosition(obj.name, birdToSlingshotAnimationStartX * (1 - birdToSlingshotAnimationTimer) + levelStartPosition.x * birdToSlingshotAnimationTimer, birdToSlingshotAnimationStartY + _G.math.sin(birdToSlingshotAnimationAngle * birdToSlingshotAnimationTimer) * birdToSlingshotAnimationHeight) + setRotation(obj.name, obj.angle + _G.math.pi * 2 * dt) + if 1 <= birdToSlingshotAnimationTimer then + birdToSlingshotBirdName = nil + birdToSlingshotAnimationTimer = 0 + fillInNextBird = false + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = getNextBird(currentBirdIndex) + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + end + end +end +function spawnBird(name, type, x, y) + name = createObject(blockTable, type, name, x, y) + setRotation(name, 0) + objects.world[name].controllable = true + if objects.world[name].texture ~= nil then + local texture = blockTable.themes[currentTheme].texture + setTexture(name, texture) + end + birds[name] = objects.world[name] + birds[name].animTimer = _G.math.random(10, 30) / 10 + birds[name].jumpTimer = _G.math.random(10, 30) / 10 + birdsCounter = birdsCounter + 1 + objects.world[name].startNumber = birdsCounter + birdReady = true + currentBirdIndex = currentBirdIndex + 1 + currentBirdName = name + birdFired = false + setPosition(currentBirdName, levelStartPosition.x - 0.1, levelStartPosition.y - 0.1) + rubberBandPos.x, rubberBandPos.y = levelStartPosition.x - 0.1, levelStartPosition.y - 0.1 + rubberBandAngle = _G.math.atan2(-0.1, 0.1) + local castleToBirdCamDist = _G.math.abs(distance(objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py, objects.castleCameraData[deviceModel].px, objects.castleCameraData[deviceModel].py)) + local camToBirdCamDist = _G.math.abs(distance(screen.x, screen.y, objects.birdCameraData[deviceModel].px, objects.birdCameraData[deviceModel].py)) + local volume = _G.math.min(1, _G.math.max(0.25, 1 - camToBirdCamDist / castleToBirdCamDist)) + _G.res.playAudio(getAudioName(g_sound_next_bird), volume, false) + setObjectParameter(currentBirdName, 2, 1) + setRotation(currentBirdName, 0) + addParticles(name, getObjectDefinition(name).particles, 10, true, false) +end +g_scope_sound_ready = true +function stretchRubberBand(displacement) + _G.assert(displacement.x ~= nil and displacement.y ~= nil, + "displacement vector missing x/y members") + + local distToRest = vLength(displacement.x, displacement.y) + + rubberBandAngle = _G.math.atan2(displacement.y, displacement.x) + + -- ? + local newAngle = rubberBandAngle + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + if getObjectDefinition(selectedBird.name).rotateWhileSlinging then + setRotation(selectedBird.name, newAngle) + end + if distToRest < shootMaxLength then + rubberBandPos.x = levelStartPosition.x - displacement.x + rubberBandPos.y = levelStartPosition.y - displacement.y + rubberBandLength = distToRest + if _G.math.abs(rubberBandLength - oldRubberBandLength) > 0.1 and _G.res.isAudioPlaying("slingshot_stretched") == false then + playAudio("slingshot_stretched", 1, false) + end + oldRubberBandLength = rubberBandLength + if birdSelected == false then + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + else + rubberBandPos.x = levelStartPosition.x - displacement.x * shootMaxLength / distToRest + rubberBandPos.y = levelStartPosition.y - displacement.y * shootMaxLength / distToRest + rubberBandLength = shootMaxLength + rubberBandSpeed = 0 + if birdSelected == false then + playAudio("slingshot_stretched", 1, false) + playAudio(getAudioName(getObjectDefinition(selectedBird.name).selectionSound), 1, false) + birdSelected = true + end + end + if g_sling_scope and g_scope_sound_ready then + _G.res.playAudio("laser_sight", 1, false) + g_scope_sound_ready = false + end + local factor = 1 + if rubberBandAngle >= -1.9 and rubberBandAngle < -1.75 then + factor = -(rubberBandAngle + 1.75) / 0.15 + end + if rubberBandAngle >= -1.75 and rubberBandAngle < -1.5 then + factor = 0.25 + end + if rubberBandAngle >= -1.5 and rubberBandAngle < -1.35 then + factor = (1.5 + rubberBandAngle) / 0.15 + end + if factor < 0.25 then + factor = 0.25 + end + if rubberBandLength > factor * shootMaxLength then + rubberBandPos.y = levelStartPosition.y - shootMaxLength * factor * displacement.y / distToRest + rubberBandLength = distance(levelStartPosition.x, levelStartPosition.y, rubberBandPos.x, rubberBandPos.y) + end +end +function updateCharacterAnimations(dt) + if checkLevelFailed() then + for k, v in _G.pairs(levelGoals) do + setSprite(v.name, v.smileSprite) + end + else + for k, v in _G.pairs(levelGoals) do + v.blinkTimer = v.blinkTimer - dt + if v.blinkTimer < 0 then + if v.blinkOn == true then + v.blinkTimer = _G.math.random(1, 30) / 10 + setSprite(v.name, v.damageSprite) + v.blinkOn = false + else + v.blinkTimer = _G.math.random(1, 4) / 10 + setSprite(v.name, v.blinkSprite or v.smileSprite) + v.blinkOn = true + end + end + end + end + for k, v in _G.pairs(levelGoals) do + v.oinkTimer = v.oinkTimer - dt + if 0 > v.oinkTimer then + v.oinkTimer = _G.math.random(10, 60) / 10 + local lsx, lsy = physicsToWorldTransform(v.x, v.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_pigs), 1, false, 0) + end + end + end + for k, v in _G.pairs(levelGoals) do + v.smileTimer = v.smileTimer - dt + if v.smileTimer < 0 then + if v.smileOn == true then + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.damageSprite) + v.smileOn = false + else + v.smileTimer = _G.math.random(60, 60) / 10 + setSprite(v.name, v.smileSprite) + v.smileOn = true + end + end + end + + +for k1, v1 in _G.pairs(objects.world) do + + if v1.specialBlock then + --local object = objects.world[k] + --local objDef = getObjectDefinition(k1) + local def = blockTable.blocks[v1.definition] + + if getObjectDefinition(k1).animationSprites then + playAnimation(k1, dt) + end + + if getObjectDefinition(k1).audioInfo then + local lsx, lsy = physicsToWorldTransform(v1.x, v1.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + playAudioOfObject(k1, dt, dist) + end + + if getObjectDefinition(k1).spawnParticles then + spawnParticlesOfObject(k1, dt, v1) + end + + if getObjectDefinition(k1).BadPiggiesFan then + + for k2, v2 in _G.pairs(objects.world) do + distXw = v1.x - v2.x + distYw = v1.y - v2.y + local TotalFanForce = v2.mass*def.FanForce + if def.fanType == 1 then --Up + if (distYw < def.FanY and distYw > 0 and distXw > -def.FanX and distXw < def.FanX) then + applyForce(k2, 0, -TotalFanForce, v2.x, v2.y) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + elseif def.fanType == 2 then --Right + if (distYw < def.FanY and distYw > -def.FanY and distXw < 0 and distXw > -def.FanX) then + applyForce( k2, TotalFanForce, 0, v2.x, v2.y ) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + elseif def.fanType == 3 then --Down + if (distYw > -def.FanY and distYw < 0 and distXw > -def.FanX and distXw < def.FanX) then + applyForce(k2, 0, TotalFanForce, v2.x, v2.y) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + elseif def.fanType == 4 then --Left + if (distYw < def.FanY and distYw > -def.FanY and distXw > 0 and distXw < def.FanX) then + applyForce(k2, -TotalFanForce, 0, v2.x, v2.y) + if not _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("fan_push"), 0.7, false) + end + if _G.res.isAudioPlaying("fan_push") == true then + playAudio(getAudioName("nothing"), 0.1, false) + end + end + end + end + end + + + + end + + +end + + --[[ + * fanType -> 1 = Up, 2 = Right, 3 = Down, 4 = Left + * FanForce -> Intensity, basically + * BadPiggiesFan -> Must be true in order to work + * FanY -> Hitbox height + * FanX -> Hitbox width + * + * Quick example: + * + * This fan will push objects to the left + * + * FanLeft = { + * specialBlock = true, + * BadPiggiesFan = true, + * FanX = 33, + * FanY = 5, + * FanForce = 200, + * fanType = 4, + * } + ]]-- + for k, v in _G.pairs(birds) do + if v.shot ~= true then + v.animTimer = v.animTimer - dt + if 0 > v.animTimer then + if v.animOn == true then + v.animTimer = _G.math.random(10, 150) / 100 + setSprite(v.name, v.damageSprite) + v.animOn = false + else + v.animTimer = _G.math.random(10, 20) / 100 + local animType = _G.math.random(1, 4) + local sprite + local spriteChanged = false + if animType == 1 then + sprite = blockTable.blocks[v.definition].spriteYell + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local dist = vLength(screen.x - lsx, screen.y - lsy) + local volume = 1 - dist / 1000 + if 0 < volume and eagleBaitLaunched ~= true then + playAudio(getAudioName(blockTable.blocks[v.definition].idleSound or g_sound_birds), 1, false, 0) + end + else + sprite = blockTable.blocks[v.definition].spriteBlink + end + if sprite ~= nil then + setSprite(v.name, sprite) + end + v.animOn = true + end + end + if currentBirdName ~= v.name then + if v.jumpOn ~= true then + v.jumpTimer = v.jumpTimer - dt + end + if 0 > v.jumpTimer then + v.jumpTimer = _G.math.random(0, 35) / 10 + v.jumpHeight = _G.math.random(5, 15) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.2 + if levelCompleted then + v.jumpTimer = 0 + v.jumpHeight = _G.math.random(25, 35) / 10 + v.jumpSpeed = 7 / v.jumpHeight * 1.6 + end + v.jumpAngle = 0 + v.jumpOn = true + v.jumpRebound = false + v.jumpRoll = 0 + if blockTable.blocks[v.definition].allowRoll == true and v.jumpHeight > 0.9 then + v.jumpRoll = _G.math.random(0, 4) - 1 + end + v.oldY = v.y + v.oldAngle = v.angle + end + if v.jumpOn == true then + v.jumpAngle = v.jumpAngle + dt * v.jumpSpeed + setPosition(v.name, v.x, v.oldY - _G.math.sin(v.jumpAngle) * v.jumpHeight) + if (v.jumpRoll == -1 or v.jumpRoll == 1) and v.jumpRebound ~= true then + setRotation(v.name, v.jumpAngle * 2 * v.jumpRoll) + end + if v.jumpAngle > _G.math.pi then + if v.jumpRebound == true then + v.jumpOn = false + v.y = v.oldY + v.angle = v.oldAngle + setPosition(v.name, v.x, v.y) + setRotation(v.name, v.angle) + else + v.jumpRebound = true + v.jumpAngle = 0 + v.jumpHeight = v.jumpHeight * 0.3 + v.jumpSpeed = v.jumpSpeed * 2 + end + end + end + end + end + end +end +extraTutorialTimer = 0 +function drawExtraTutorial(sprite) + if extraTutorialTimer > 0.5 and birdSpecialtyAvailable == true and sprite ~= nil and settingsWrapper:getTutorialsForItem(sprite) and settingsWrapper:getTutorialsForItem(sprite).showHelp then + if isRetinaGraphicsEnabled() then + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.9, screenHeight / 2, "BOTTOM", "HCENTER") + else + _G.res.drawSprite("", "TUTORIAL_FINGER_BIG", screenWidth * 0.8, screenHeight, "BOTTOM", "HCENTER") + end + end +end +function setHudRenderState() + setRenderState(0, 0, 1, 1) +end +function drawFingerHelp() + if flyingBird ~= nil and flyingBird.name ~= nil then + local bDef = getObjectDefinition(flyingBird.name) + drawExtraTutorial(bDef.sprite) + end +end +function drawPurchaseAdsOffButton() + if scoreAdOffsetY ~= nil and shouldShowAd() and isShowingAd == true and isAdsOffPurchaseEnabled() then + setHudRenderState() + purchaseAdsRemoveButton.x = screenWidth - 480 - purchaseAdsRemoveButton.w / 2 + if 480 > screenHeight and xCoordEye ~= nil then + purchaseAdsRemoveButton.x = xCoordEye + _G.res.getSpriteBounds("BUTTON_USE_EAGLE") / 2 + purchaseAdsRemoveButton.w * 0.52 + end + purchaseAdsRemoveButton.y = scoreAdOffsetY / 2 + if currentGameMode == updateGame and popupPage == nil then + _G.res.drawSprite("", purchaseAdsRemoveButton.sprite, purchaseAdsRemoveButton.x, purchaseAdsRemoveButton.y) + end + end +end +function drawGame() + if showCameraDebugData then + tempScreen = {} + tempScreen.x = screen.x + tempScreen.y = screen.y + tempScreen.left = screen.left + tempScreen.right = screen.right + tempScreen.top = screen.top + tempScreen.bottom = screen.bottom + tempScreen.scale = worldScale + local newScreenHeight = screenHeight / (screenWidth / ((levelRightEdge - levelLeftEdge) * physicsToWorld)) + worldScale = minWorldScale * 0.9 + screen.x = (levelRightEdge + levelLeftEdge) * 0.5 * physicsToWorld + screen.y = -newScreenHeight * 0.25 + setWorldScale(worldScale) + defaultCamera(0) + end + local c = blockTable.themes[objects.theme].color + setBGColor(c.r, c.g, c.b) + setFont(fontBasic) + if not settingsWrapper:isGfxLowQuality() then + drawBackgroundNative() + end + local rbx, rby = physicsToWorldTransform(rubberBandPos.x, rubberBandPos.y) + local lsx, lsy = physicsToWorldTransform(levelStartPosition.x, levelStartPosition.y) + local rbx1, rby1 = rbx, rby + if currentBirdName ~= nil then + local radius = objects.world[currentBirdName].radius + if radius == nil then + radius = objects.world[currentBirdName].width * 0.5 + end + rbx1 = rbx - (radius + 0.05) * physicsToWorld * _G.math.cos(rubberBandAngle) + rby1 = rby - (radius + 0.05) * physicsToWorld * _G.math.sin(rubberBandAngle) + end + local rbw + if 0 < rubberBandLength then + rbw = 50 / rubberBandLength + if 25 < rbw then + rbw = 25 + end + if rbw < 10 then + rbw = 10 + end + else + rbw = 25 + end + local wScale = worldScale + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + _G.res.drawSprite(g_slingshot_back, lsx, lsy) + local lsx1, lsy1 = lsx + 20, lsy + drawLine2D(lsx1, lsy1, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + drawGameNative() + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0) + if showBG then + drawForegroundNative() + end + if selectedBird == nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("SLING_HOLDER", rbx1, rby1) + end + drawIngameBubbles() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + waterUpdate() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(1) + end + drawForegroundNative() + if not settingsWrapper:isGfxLowQuality() and g_levelParticlesEnabled then + drawLevelParticlesNative(2) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + local lsx2, lsy2 = lsx - 21, lsy - 3 + drawLine2D(lsx2, lsy2, rbx1, rby1, rbw, g_rubber_r, g_rubber_g, g_rubber_b, 255) + if selectedBird ~= nil then + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, rubberBandAngle, _G.res.getSpritePivot("INGAME_BIRDS_1", "SLING_HOLDER")) + _G.res.drawSprite("INGAME_BIRDS_1", "SLING_HOLDER", rbx1, rby1) + end + if g_sling_scope then + drawSlingScope(wScale) + end + setRenderState(-screen.left - cameraShakeX, -screen.top - cameraShakeY, wScale, wScale, 0, 0, 0) + _G.res.drawSprite(g_slingshot_front, lsx, lsy) + if useLevelLimits and cameraTargetObject ~= nil then + local ct = cameraTargetObject + if ct.y * physicsToWorld < screen.top then + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, ct.spritePivotX, ct.spritePivotY) + _G.res.drawSprite("INGAME_BIRDS_1", "HUD_ARROW_UP", _G.math.floor(ct.x * physicsToWorld), _G.math.floor(screen.top)) + end + end + if currentGameMode ~= updateEditor then + setRenderState(0, 0, 1, 1, 0) + local drawHud = true + if hideHud == true then + drawHud = false + end + end + if currentGameMode == updateEditor then + drawSelectedObjectsArea() + end + if showSleepingObjects == true then + for k, v in _G.pairs(objects.world) do + if v.sleeping == true and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawRect(1, 0, 0, 0.5, x1, y1, x2, y2, true) + end + if v.definition and v.sprite ~= "" then + local blockDef = blockTable.blocks[v.definition] + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + if blockDef.type == "circle" then + local radius = blockDef.radius or _G.math.max(worldToPhysicsTransform(w, 0), worldToPhysicsTransform(h, 0)) + drawCircle(x, y, radius, v.angle, 255, 255, 255, 255, 4) + elseif blockDef.type == "box" and blockDef.width ~= nil then + local ww, hh = physicsToWorldTransform(blockDef.width, blockDef.height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = v.spritePivotX / (w * 2) + local pivY = v.spritePivotY / (h * 2) + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "box" and blockDef.width == nil then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + drawWireFrameRect(x1, y1, x2, y2, 3, true, 0, 255, 255, 190, v.angle, pivX, pivY) + elseif blockDef.type == "polygon" and blockDef.vertices then + local points = {} + for kk, vv in _G.pairs(blockDef.vertices) do + local wx, wy = w * 2 * vv.x, h * 2 * vv.y + local point = { + x + wx - w, + y + wy - h + } + _G.table.insert(points, point) + end + drawPolygon(points, 3, true, 255, 255, 255, 255, v.angle, 0.5, 0.5) + end + + if blockDef.BadPiggiesFan == true then + if blockDef.fanType == 2 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - (blockDef.FanX*20), y + local x2, y2 = x + (blockDef.FanX*20), y - (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + elseif blockDef.fanType == 1 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x, y + (blockDef.FanY*20) + local x2, y2 = x + (blockDef.FanX*20), y - (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + elseif blockDef.fanType == 4 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - (blockDef.FanX*20), y + local x2, y2 = x + (blockDef.FanX*20), y + (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + elseif blockDef.fanType == 3 then + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x, y + (blockDef.FanY*20) + local x2, y2 = x - (blockDef.FanX*20), y - (blockDef.FanY*20) + drawWireFrameRect(x1,y1,x2,y2,3,true,151,233,237,255,0,pivX,pivY) + end + end + end + if v.strength ~= nil and v.sprite ~= nil and v.strength ~= blockTable.blocks[v.definition].strength and v.sprite ~= "" then + local w, h = _G.res.getSpriteBounds("", v.sprite) + w, h = w * 0.5, h * 0.5 + local x, y = physicsToWorldTransform(v.x, v.y) + local x1, y1 = x - w, y - h + local x2, y2 = x + w, y + h + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y1, x2, y1, true, 4) + drawLine(0, 0, 255, 155, x1, y1, x1, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, v.spritePivotX, -v.spritePivotY) + drawLine(0, 0, 255, 155, x1, y2, x2, y2, true, 4) + setRenderState(-screen.left, -screen.top, wScale, wScale, v.angle, -v.spritePivotX, v.spritePivotY) + drawLine(0, 0, 255, 155, x2, y1, x2, y2, true, 4) + end + if selectedObjects ~= nil and #selectedObjects == 1 and selectedObjects[1] == v then + drawDummyCollisionBox(v) + end + end + end + setRenderState(0, 0, 1, 1, 0) + oldZoomLevel = zoomLevel + if objects.world.MightyEagle_a ~= nil then + local eagle = objects.world.MightyEagle_a + if eagle.targetX > eagle.x then + eagleDarkness = (100 - _G.math.min(_G.math.max(_G.math.abs(eagle.targetX - eagle.x), 0), 100)) / 200 + end + end + if eagleDarkness ~= nil then + drawRect(0, 0, 0, eagleDarkness, 0, 0, screenWidth, screenHeight, false) + end + if popupPage ~= nil then + drawMenuPage(popupPage) + end + if showCameraDebugData then + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + local swx = screenWidth * 0.5 / tempScreen.scale + local swy = screenHeight * 0.5 / tempScreen.scale + setRenderState(-screen.left, -screen.top, wScale, wScale, 0, 0, 0) + drawLine2D(bcd.px, bcd.py, ccd.px, ccd.py, 3, 48, 23, 8, 255) + drawLine2D(animationScreen.x, animationScreen.y - 15, animationScreen.x, animationScreen.y + 15, 3, 48, 23, 8, 255) + drawRectLines(visualizeScreen.x - swx, visualizeScreen.y - swy, visualizeScreen.x + swx, visualizeScreen.y + swy, 3, 255, 255, 255, 255) + drawLine2D(leftLimit, -500, leftLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(rightLimit, -500, rightLimit, 50, 3, 255, 23, 8, 255) + drawLine2D(leftLimit, groundLimit, rightLimit, groundLimit, 3, 255, 23, 8, 255) + setRenderState(0, 0, 1, 1, 0) + screen.x = tempScreen.x + screen.y = tempScreen.y + screen.left = tempScreen.left + screen.right = tempScreen.right + screen.top = tempScreen.top + screen.bottom = tempScreen.bottom + worldScale = tempScreen.scale + setWorldScale(worldScale) + end +end +function drawIngameBubbles() + for k, v in _G.pairs(objects.world) do + if v ~= nil and v.inBubble and v.bubbleAntiGravityTimer > 0 then + local width = v.width + local height = v.height + if width == nil then + width = v.radius + height = v.radius + else + width = width * 0.5 + height = height * 0.5 + end + local lx, ly = physicsToScreenTransform(v.x, v.y) + setRenderState(0, 0, 2 * currentZoomedScale, 2 * currentZoomedScale, 0) + _G.res.drawSprite(v.bubbleSprite, lx / (2 * currentZoomedScale), ly / (2 * currentZoomedScale)) + end + end +end +function drawCircle(x,y,radius, angle,r,g,b,a,w) + local points = {} + + for i = 0,_G.math.pi * 2,0.5 do + local px = _G.math.cos(i) * physicsToWorldTransform(radius,0) + local py = _G.math.sin(i) * physicsToWorldTransform(radius,0) + local point = {x + px, y +py} + _G.table.insert(points,point) + end + + drawPolygon(points,w, true,r,g,b,a,angle,0.5,0.5) +end + +function drawLine(r,g,b,a,x1,y1,x2,y2,inWorld, lineSize) + local lz = lineSize or 1 + + if(inWorld == false) then + setRenderState(0,0,1,1) + end + + drawLine2D(x1,y1,x2,y2,lz,r,g,b,a) +end + +function drawPolygon(points,lineW,inWorld,r,g,b,a,angle,pivotX,pivotY) + local wScale = worldScale + + if tempWorldScale ~= nil then + wScale = tempWorldScale + end + + wScale = wScale or 1 + + -- Add the last one again to complete polygon. + _G.table.insert(points, points[1]) + + pivotX = pivotX or 0.5 + pivotY = pivotY or 0.5 + + local temp = 99999999 + local w = 0 + local h = 0 + local minX = temp + local maxX = -temp + local minY = temp + local maxY = -temp + + -- find bounds + for k,v in _G.pairs(points) do + + minX = _G.math.min(minX, points[k][1]) + minY = _G.math.min(minY, points[k][2]) + + maxX = _G.math.max(maxX, points[k][1]) + maxY = _G.math.max(maxY, points[k][2]) + end + + local w = (maxX - minX) + local h = (maxY - minY) + + local px = pivotX * w + local py = pivotY * h + + -- draw polygon + for k,v in _G.pairs(points) do + if(k > 1) then + + local x1 = points[k-1][1] + local y1 = points[k-1][2] + + local x2 = points[k][1] + local y2 = points[k][2] + + -- calculate rotation pivot + local rotatePivotX = (minX + px) - x1 + local rotatePivotY = (minY + py) - y1 + + setRenderState(-screen.left, -screen.top, wScale, wScale, angle, rotatePivotX, rotatePivotY) + drawLine(r,g,b,a,x1,y1,x2,y2,inWorld,lineW) + end + end +end + +function drawWireFrameRect(x1,y1,x2,y2,lineW, inWorld,r,g,b,a,angle,pivotX, pivotY) + local points = {{x1,y1}, {x2,y1}, {x2,y2},{x1,y2}} + drawPolygon(points,lineW, inWorld,r,g,b,a,angle,pivotX,pivotY) +end + +function drawString(text, scale,x,y, anchorX, anchorY, inWorld) + local ax = anchorX or "HCENTER" + local ay = anchorY or "VCENTER" + + --void GameLua::drawRect( float r, float g, float b, float a, float x1, float y1, float x2, float y2, bool inWorld) + --drawRect(1.0,1.0,1.0,1.0, 0,screenHeight / 2 + 1, screenWidth, screenHeight / 2 , false) + --drawLine(255,255,255,255,0,0, screenWidth, screenHeight, false, 12) + setFont(fontBasic); + --setRenderState(x * scale, y * scale, scale,scale) + if(inWorld ~= true) then + setRenderState(0, 0 , scale,scale) + _G.res.drawString("", text, x * ((screenWidth / scale) / screenWidth), y * ((screenHeight / scale) / screenHeight), ay, ax) + else + local xp,yp = worldToScreenTransform(x,y) + scale = scale * worldScale + setRenderState(0,0,scale,scale,0,0) + _G.res.drawString("", text, xp * ((screenWidth / scale) / screenWidth), yp * ((screenHeight / scale) / screenHeight), ay, ax) + end + setRenderState(0,0,1,1) +end + +function drawDummyCollisionBox(object) + + if showSleepingObjects == true then + local objectName = object.name + + if(objectName ~= nil and adjustedBlockDef ~= nil and adjustedBlockDef.objectNames[objectName] ~= nil) then + local selected = objects.world[objectName] + local blockDef = adjustedBlockDef.objectNames[objectName] + + local x, y = physicsToWorldTransform(selected.x, selected.y) + --local w, h = _G.res.getSpriteBounds("", v.sprite) + local w, h = _G.res.getSpriteBounds("", selected.sprite) + + + + local radius = adjustedBlockDef.objectNames[objectName].radius + local width = adjustedBlockDef.objectNames[objectName].width + local height = adjustedBlockDef.objectNames[objectName].height + local vertices = adjustedBlockDef.objectNames[objectName].vertices + + if(radius ~= nil) then + drawCircle(x,y,radius, selected.angle,255,0,255,255,2) + drawString(""..radius, 0.5, x,y, nil,nil, true) + elseif(width ~= nil and height ~= nil) then + local ww, hh = physicsToWorldTransform(width, height) + local x1, y1 = x - ww / 2, y - hh / 2 + local x2, y2 = x + ww / 2, y + hh / 2 + local pivX = object.spritePivotX / (w ) + local pivY = object.spritePivotY / (h ) + drawWireFrameRect(x1,y1,x2,y2,1,true,255,0,255,255,selected.angle,pivX, pivY) + drawString("w="..width .." h="..height, 0.5, x,y, nil,nil, true) + + elseif(vertices ~= nil) then + local points = {} + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local point = {x + (wx) - w / 2, y + (wy) - h / 2} + _G.table.insert(points,point) + end + drawPolygon(points,2, true,255,0,255,255,object.angle,0.5,0.5) + + for kk,vv in _G.pairs(blockDef.vertices) do + local wx,wy = w * vv.x, h * vv.y + local xString = _G.string.format("%.2f", (vv.x)) + local yString = _G.string.format("%.2f", (vv.y)) + drawString("("..xString.."/"..yString..")", 0.1, x + wx - w / 2,y + wy - h / 2, nil,nil, true) + end + end + end + end +end + + +function checkCollide(object1, object2, dir) + local left1 = object1.x1 + local left2 = object2.x1 + local right1 = object1.x2 + local right2 = object2.x2 + local top1 = object1.y1 + local top2 = object2.y1 + local bottom1 = object1.y2 + local bottom2 = object2.y2 + + if(dir == 1) then + if (bottom1 < top2) then return nil end; + if (top1 > bottom2) then return nil end; + end + + if(dir == 0) then + if (right1 < left2) then return nil end; + if (left1 > right2) then return nil end; + end + + return true + +end +function getBoundingBox(object) + local w,h = _G.res.getSpriteBounds(object.sprite) + w,h = worldToPhysicsTransform(w,h) + local x1 = object.x - w / 2 + local y1 = object.y - h / 2 + + local x2 = object.x + w / 2 + local y2 = object.y - h / 2 + + local x3 = object.x + w / 2 + local y3 = object.y + h / 2 + + local x4 = object.x - w / 2 + local y4 = object.y + h / 2 + + local _x1 = object.x - x1 + local _y1 = object.y - y1 + local _x2 = object.x - x2 + local _y2 = object.y - y2 + local _x3 = object.x - x3 + local _y3 = object.y - y3 + local _x4 = object.x - x4 + local _y4 = object.y - y4 + + local an = object.angle + local cosinus = _G.math.cos(an) + local sinus = _G.math.sin(an) + + local __x1 = _x1 * cosinus - _y1 * sinus + object.x + local __y1 = _x1 * sinus + _y1 * cosinus + object.y + local __x2 = _x2 * cosinus - _y2 * sinus + object.x + local __y2 = _x2 * sinus + _y2 * cosinus + object.y + local __x3 = _x3 * cosinus - _y3 * sinus + object.x + local __y3 = _x3 * sinus + _y3 * cosinus + object.y + local __x4 = _x4 * cosinus - _y4 * sinus + object.x + local __y4 = _x4 * sinus + _y4 * cosinus + object.y + + local minx = _G.math.min(_G.math.min(__x1,__x2), _G.math.min(__x3,__x4)) + local maxx = _G.math.max(_G.math.max(__x1,__x2), _G.math.max(__x3,__x4)) + + local miny = _G.math.min(_G.math.min(__y1,__y2), _G.math.min(__y3,__y4)) + local maxy = _G.math.max(_G.math.max(__y1,__y2), _G.math.max(__y3,__y4)) + + return {x1 = minx, y1 = miny, x2 = maxx, y2 = maxy} +end + +function alignObjects(dir) + + local xDir = 0 + local yDir = 0 + + if(dir == "DOWN") then + yDir = -1 + elseif(dir == "UP") then + yDir = 1 + elseif(dir == "LEFT") then + xDir = -1 + elseif(dir == "RIGHT") then + xDir = 1 + end + + + if(selectedObjects ~= nil and #selectedObjects > 1) then + -- sort selected objects according to direction + if(dir == "DOWN") then _G.table.sort( selectedObjects, function(a,b) return a.y > b.y end ) end + if(dir == "UP") then _G.table.sort( selectedObjects, function(a,b) return a.y < b.y end ) end + if(dir == "LEFT") then _G.table.sort( selectedObjects, function(a,b) return a.x < b.x end ) end + if(dir == "RIGHT") then _G.table.sort( selectedObjects, function(a,b) return a.x > b.x end ) end + + + for i = 1, #selectedObjects do + local sel = selectedObjects[i] + cBox1 = getBoundingBox(sel) + local w = cBox1.x2 - cBox1.x1 + local h = cBox1.y2 - cBox1.y1 + + -- insert to initial position + if(yDir == 1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y1 + h / 2) + elseif(yDir == -1) then + setPosition(sel.name, sel.x, selectedObjectsAreaCoords.y2 - h / 2) + elseif(xDir == 1) then + setPosition(sel.name, selectedObjectsAreaCoords.x2 - w / 2, sel.y) + elseif(xDir == -1) then + setPosition(sel.name, selectedObjectsAreaCoords.x1 + w / 2 , sel.y) + end + + local val = 99999999999999 + local mincX = val + local maxcX = -val + local mincY = val + local maxcY = -val + local collided = false + -- collision checks + for j = 1, i do + -- for boxes that won't move anymore + local sel2 = selectedObjects[j] + cBox2 = getBoundingBox(sel2) + + if(sel2 ~= sel) then + local collideArea = nil + if(xDir ~= 0) then + collideArea = checkCollide(cBox1,cBox2,1) + else + collideArea = checkCollide(cBox1,cBox2,0) + end + if(collideArea ~= nil) then + mincX = _G.math.min(cBox2.x1, mincX) + maxcX = _G.math.max(cBox2.x2, maxcX) + mincY = _G.math.min(cBox2.y1, mincY) + maxcY = _G.math.max(cBox2.y2, maxcY) + collided = true + end + end + end + + if(collided == true) then + local ww,hh = worldToPhysicsTransform(1,1) + if(xDir ~=0) then + local w = cBox1.x2 - cBox1.x1 + local xp = 0 + if(xDir == -1) then + xp = maxcX + else + xp = mincX + end + setPosition(sel.name, xp + (ww + w / 2) * -xDir, sel.y) + else + local h = cBox1.y2 - cBox1.y1 + local yp = 0 + if(yDir == 1) then + yp = maxcY + else + yp = mincY + end + setPosition(sel.name, sel.x, yp + (hh + h / 2) * yDir) + end + end + end + end +end + +selectedObjectsAreaCoords = nil +function drawSelectedObjectsArea() + -- draw box of selected items + if(selectedObjects ~= nil and #selectedObjects > 1) then + + local val = 9999999999 + local minX = val local minY = val local maxX = -val local maxY = -val + + + for k,v in _G.pairs(selectedObjects) do + + local points = getBoundingBox(v) + + local w = points.x2 - points.x1 + local h = points.y2 - points.y1 + + + minX = _G.math.min(minX, v.x - w / 2) + minY = _G.math.min(minY, v.y - h / 2) + + maxX = _G.math.max(maxX, v.x + w / 2) + maxY = _G.math.max(maxY, v.y + h / 2) + + end + + if(selectedObjectsAreaCoords == nil or keyHold["LBUTTON"]) then + selectedObjectsAreaCoords = {} + selectedObjectsAreaCoords.x1 = minX + selectedObjectsAreaCoords.y1 = minY + selectedObjectsAreaCoords.x2 = maxX + selectedObjectsAreaCoords.y2 = maxY + end + + local worldMinX, worldMinY = physicsToWorldTransform(selectedObjectsAreaCoords.x1, selectedObjectsAreaCoords.y1) + local worldMaxX, worldMaxY = physicsToWorldTransform(selectedObjectsAreaCoords.x2, selectedObjectsAreaCoords.y2) + drawWireFrameRect(worldMinX,worldMinY,worldMaxX,worldMaxY,3,true,255,0,255,255,0,0.5,0.5) + + else + selectedObjectsAreaCoords = nil + end +end + +function shootRocket(object) + local obj = objects.world[object] + objects.world[object].strength = 100 + objects.world[object].density = 1.0E-6 + objects.world[object].defence = 100 + objects.world[object].deathTimerFull = 1.2 + objects.world[object].deathTimer = obj.deathTimer or objects.world[object].deathTimerFull + objects.world[object].directionChangeTimer = obj.directionChangeTimer or 0 + objects.world[object].trailSpawnTimer = obj.trailSpawnTimer or 0 + objects.world[object].xVel = 5 + objects.world[object].yVel = -15 + setRotation(object, obj.angle) + setVelocity(object, obj.xVel, obj.yVel) + playAudio(getAudioName("rocket_launch"), 1, false) +end +function defaultCamera(dt) + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + setTopLeft(screen.left + cameraShakeX, screen.top + cameraShakeY) +end +function getTempBirdCamera() + local tempCamera = {} + local bcd = objects.birdCameraData[deviceModel] + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = bcd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > bcd.sx then + tempCamera.sx = bcd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + tempCamera.py = bcd.py + local alpha = (tempCamera.sx - minWorldScale) / (bcd.sx - minWorldScale) + tempCamera.py = bcd.py * alpha + ccd.py * (1 - alpha) + local groundPos = tempCamera.py + screenHeight * 0.5 / tempCamera.sx + if groundPos > groundLimit then + tempCamera.py = tempCamera.py + (groundLimit - groundPos) + end + local leftPos = bcd.px - screenWidth * 0.5 / tempCamera.sx + tempCamera.px = bcd.px + if leftPos < leftLimit then + tempCamera.px = bcd.px + (leftLimit - leftPos) + end + return tempCamera +end +function getTempCastleCamera() + local tempCamera = {} + local ccd = objects.castleCameraData[deviceModel] + if maxZoomLevel == true then + tempCamera.sx = ccd.sx + else + tempCamera.sx = currentZoomedScale + end + if tempCamera.sx > ccd.sx then + tempCamera.sx = ccd.sx + end + if tempCamera.sx < minWorldScale then + tempCamera.sx = minWorldScale + end + local groundPos = ccd.py + screenHeight * 0.5 / tempCamera.sx + tempCamera.py = ccd.py + if groundPos > groundLimit then + tempCamera.py = ccd.py + (groundLimit - groundPos) + end + local rightPos = ccd.px + screenWidth * 0.5 / tempCamera.sx + tempCamera.px = ccd.px + if rightPos > rightLimit then + tempCamera.px = ccd.px + (rightLimit - rightPos) + end + return tempCamera +end +useLevelLimits = true +function doItAllCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if oldZoomLevel ~= zoomLevel and not g_zooming_disabled then + maxZoomLevel = false + currentZoomedScale = currentZoomedScale + zoomLevel - oldZoomLevel + if cameraAnimationSliderTarget == 0 then + if currentZoomedScale >= bcd.sx then + currentZoomedScale = bcd.sx + maxZoomLevel = true + end + elseif currentZoomedScale >= ccd.sx then + currentZoomedScale = ccd.sx + maxZoomLevel = true + end + if currentZoomedScale < minWorldScale then + currentZoomedScale = minWorldScale + end + oldZoomLevel = zoomLevel + animationWorldScale = currentZoomedScale + end + local bcdt = getTempBirdCamera() + local ccdt = getTempCastleCamera() + if ccd ~= nil and bcd ~= nil and not g_zooming_disabled then + local springFactor = dt * 3.5 + local scaleFactor = screenWidth / ccd.screenWidth + local screenTemp = {x = 0, y = 0} + local dx = ccdt.px - bcdt.px + if dx < 1 then + dx = 1 + end + animateScale = true + if 0 > cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider - cameraAnimationSlider * 0.3 + if cameraAnimationSlider < -0.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = cameraAnimationSlider + (1 - cameraAnimationSlider) * 0.3 + if cameraAnimationSlider > 1.01 then + animateScale = false + end + forceSprings = true + sweepSpeed = 0 + end + if 0 < cameraAnimationSlider and 1 > cameraAnimationSlider and sweepSpeed == 0 then + forceSprings = false + if cameraAnimationSlider < 0.5 then + cameraAnimationSliderTarget = 0 + else + cameraAnimationSliderTarget = 1 + end + end + if cameraTargetObject == nil then + if (not (g_usingGestureControls or keyHold.LBUTTON) or g_usingGestureControls and (not multitouchSweep.isSweeping or multitouchSweep.sweepAxis ~= "x")) and sweepSpeed == 0 then + cameraAnimationSlider = cameraAnimationSlider + (cameraAnimationSliderTarget - cameraAnimationSlider) * 0.3 + elseif forceSprings ~= true then + springFactor = 1 + end + cameraAnimationSlider = cameraAnimationSlider - dt * sweepSpeed / (dx * bcd.sx) + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + if animateScale == true then + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + end + if maxZoomLevel == true then + currentZoomedScale = animationWorldScale + end + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + repositionScreen() + end + if cameraTargetObject ~= nil then + local ctx, cty = physicsToWorldTransform(cameraTargetObject.x, cameraTargetObject.y) + if 0 < cameraTargetObject.xVel then + cameraAnimationSlider = cameraAnimationSlider + cameraTargetObject.xVel * physicsToWorld * dt * 10 / dx + end + if 1 < cameraAnimationSlider then + cameraAnimationSlider = 1 + end + local tsx = bcdt.sx + (ccdt.sx - bcdt.sx) * cameraAnimationSlider + local tpx = bcdt.px + (ccdt.px - bcdt.px) * cameraAnimationSlider + local tpy = bcdt.py + (ccdt.py - bcdt.py) * cameraAnimationSlider + animationWorldScale = animationWorldScale - (animationWorldScale - tsx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - tpx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - tpy) * springFactor + local cleft = animationScreen.x - screenWidth * 0.5 / animationWorldScale + local ctop = animationScreen.y - screenHeight * 0.5 / animationWorldScale + local cright = animationScreen.x + screenWidth * 0.5 / animationWorldScale + local cbottom = animationScreen.y + screenHeight * 0.5 / animationWorldScale + local minx = _G.math.min(cleft, ctx - 50) + local miny = _G.math.min(ctop, cty - 50) + local maxx = _G.math.max(cright, ctx + 50) + local maxy = _G.math.max(cbottom, cty + 50) + if useLevelLimits then + minx = _G.math.max(leftLimit, minx) + maxx = _G.math.min(rightLimit, maxx) + end + local xScale = _G.math.abs(screenWidth / (maxx - minx)) + local yScale = _G.math.abs(screenHeight / (maxy - miny)) + local worldScaleTemp = _G.math.min(xScale, yScale) * scaleFactor + if worldScaleTemp > animationWorldScale then + worldScaleTemp = animationWorldScale + end + screenTemp.x = (maxx + minx) * 0.5 + screenTemp.y = (maxy + miny) * 0.5 + if useLevelLimits then + local limitsReached = false + if screenTemp.x + screenWidth * 0.5 / worldScaleTemp > rightLimit then + maxx = rightLimit + minx = maxx - screenWidth / worldScaleTemp + limitsReached = true + if minx < leftLimit then + minx = leftLimit + end + end + if screenTemp.x - screenWidth * 0.5 / worldScaleTemp < leftLimit then + minx = leftLimit + maxx = minx + screenWidth / worldScaleTemp + limitsReached = true + if maxx > rightLimit then + maxx = rightLimit + end + end + if limitsReached then + screenTemp.x = (maxx + minx) * 0.5 + worldScaleTemp = _G.math.abs(screenWidth / (maxx - minx)) * scaleFactor + end + end + screen.x = screen.x - (screen.x - screenTemp.x) * springFactor + animationWorldScale2 = animationWorldScale2 - (animationWorldScale2 - worldScaleTemp) * springFactor + worldScale = animationWorldScale2 + screen.y = screen.y - (screen.y - screenTemp.y) * springFactor + forceSprings = true + if ctx >= rightLimit or ctx <= leftLimit then + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + cameraTargetObject = nil + end + setWorldScale(worldScale) + repositionScreen() + end + end + defaultCamera(dt) +end +function returnToBirdCamera() + showTapIcon = false + showTapTimer = 0 + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + allowResetToBirdCamera = false + cameraTargetObject = nil + flyingBird = nil +end +function panToBirdCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.castleCameraData[deviceModel].px - objects.birdCameraData[deviceModel].px + cameraAnimationSliderTarget = 0 + if cameraAnimationSlider >= 1 then + cameraAnimationSlider = 1 + end + cameraTargetObject = nil +end +function panToCastleCamera() + cameraFunction = doItAllCamera + sweepSpeed = objects.birdCameraData[deviceModel].px - objects.castleCameraData[deviceModel].px + cameraAnimationSliderTarget = 1 + if cameraAnimationSlider <= 0 then + cameraAnimationSlider = 0 + end + cameraTargetObject = nil +end +function repositionScreen() + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if worldScale < minWorldScale then + worldScale = minWorldScale + setWorldScale(worldScale) + end + if showCameraDebugData then + visualizeScreen.x = screen.x + visualizeScreen.y = screen.y + end + local groundPos = screen.y + screenHeight * 0.5 / worldScale + if groundPos > groundLimit then + screen.y = screen.y + (groundLimit - groundPos) + end + local rightPos = screen.x + screenWidth * 0.5 / worldScale + if rightPos > rightLimit then + screen.x = screen.x + (rightLimit - rightPos) + end + local leftPos = screen.x - screenWidth * 0.5 / worldScale + if leftPos < leftLimit then + screen.x = screen.x + (leftLimit - leftPos) + end +end +function updateIsLevelStartCamera() + g_isLevelStartCamera = cameraFunction == levelStartCamera +end +function levelStartCamera(dt) + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + if castleCameraTimer < 2 then + local wx, wy = ccd.px, ccd.py + if g_zooming_disabled then + worldScale = minWorldScale + elseif levelRestartedFrom == nil or startedFromEditor then + worldScale = ccd.sx + else + worldScale = getTempCastleCamera().sx + end + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + castleCameraTimer = castleCameraTimer + dt + animationWorldScale = worldScale + animationScreen.x = screen.x + animationScreen.y = screen.y + if levelRestartedFrom ~= nil or startedFromEditor ~= true then + repositionScreen() + end + defaultCamera(dt) + return + end + castleCameraTimer = 0 + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 0 + sweepSpeed = ccd.px - bcd.px + showTapIcon = false + cameraFunction = doItAllCamera + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + defaultCamera(dt) +end +function gotoCastleCamera(dt) + if objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local wx, wy = ccd.px, ccd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - ccd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSliderTarget = 1 + cameraAnimationSlider = 1 + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + end + defaultCamera(dt) +end +function launchCamera(dt) + if castleCameraTimer < 3 then + castleCameraTimer = castleCameraTimer + dt + defaultCamera(dt) + return + end + if objects.birdCameraData and objects.birdCameraData[deviceModel] ~= nil then + local ccd = objects.castleCameraData[deviceModel] + local bcd = objects.birdCameraData[deviceModel] + local wx, wy = bcd.px, bcd.py + local springFactor = dt * 4 + animationWorldScale = animationWorldScale - (animationWorldScale - bcd.sx) * springFactor + animationScreen.x = animationScreen.x - (animationScreen.x - wx) * springFactor + animationScreen.y = animationScreen.y - (animationScreen.y - wy) * springFactor + cameraAnimationSlider = (bcd.px - animationScreen.x) / (bcd.px - ccd.px) + screen.x = animationScreen.x + screen.y = animationScreen.y + worldScale = animationWorldScale + setWorldScale(worldScale) + if _G.math.abs(worldScale - ccd.sx) < 0.05 and _G.math.abs(screen.x - wx) < 5 and _G.math.abs(screen.y - wy) < 5 then + worldScale = bcd.sx + setWorldScale(worldScale) + screen.x = wx + screen.y = wy + cameraFunction = defaultCamera + castleCameraTimer = 0 + cameraAnimationSlider = 0 + end + end + defaultCamera(dt) +end +function setPositions(xadd, yadd) + for k, v in _G.pairs(selectedObjects) do + setPosition(v.name, v.x + xadd * physicsScale, v.y + yadd * physicsScale) + setSleeping(v.name, false) + end + levelSaved = false +end +function updateScale() + if oldScale ~= worldScale then + local wx = cursor.x / oldScale + screen.left + local wy = cursor.y / oldScale + screen.top + local newx = (wx * worldScale - cursor.x) / worldScale + local newy = (wy * worldScale - cursor.y) / worldScale + screen.x = newx + screenWidth * 0.5 / worldScale + screen.y = newy + screenHeight * 0.5 / worldScale + end + oldScale = worldScale +end +function birdCollision(object1, object2, force, damage) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if obj1.controllable and 0 < damage then + local bird = obj1 + local resultDamage = damage * 10 + _G.table.insert(floatingScores, { + x = bird.x, + y = bird.y, + text = "" .. resultDamage, + score = resultDamage, + time = 0, + lifetime = 0.6, + maxScale = floatingScoreScaling * (0.25 + resultDamage / 3000), + xs = 0 + }) + if scoreTable[object1] == nil then + scoreTable[object1] = {} + scoreTable[object1].score = 0 + end + scoreTable[object1].score = scoreTable[object1].score + resultDamage + _G.table.insert(scoreTable.blocks.collisionScores, resultDamage) + end + if g_deltaBasedSlingshot and (not (not obj1.shot or obj1.hasCollided) or obj2.shot and not obj2.hasCollided) and birdSpecialtyAvailable then + activateSlingshotCooldown() + end + if achievementProcessor.collisionCheck ~= nil then + achievementProcessor:collisionCheck(obj1, obj2) + end + if flyingBird ~= nil and (objects.world[flyingBird.name].isMightyBait or objects.world[flyingBird.name].isMightyEagle) then + print("$$" .. _G.tostring(flyingBird.name)) + if flyingBird.name == object1 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object2) + elseif flyingBird.name == object2 then + objects.world[flyingBird.name].collisionFunction(flyingBird.name, object1) + end + end + if obj1.shot then + obj1.hasCollided = true + local bDef = getObjectDefinition(obj1.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj1 then + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + else + objects.world[obj1.name].sprite = bDef.spriteCollision + setSprite(obj1.name, objects.world[obj1.name].sprite) + end + end + end + if obj2.shot then + obj2.hasCollided = true + local bDef = getObjectDefinition(obj2.name) + local birdSpecialty = bDef.specialty + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable and flyingBird == obj2 then + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + else + objects.world[obj2.name].sprite = bDef.spriteCollision + setSprite(obj2.name, objects.world[obj2.name].sprite) + end + end + end + if flyingBird ~= nil and (flyingBird.name == object1 or flyingBird.name == object2) then + if (obj1.controllable ~= true or obj2.controllable ~= true) and cameraTargetObject ~= nil and (cameraTargetObject == obj1 or cameraTargetObject == obj2) then + cameraTargetObject = nil + animationScreen.x = screen.x + animationScreen.y = screen.y + animationWorldScale = worldScale + end + local bDef = getObjectDefinition(flyingBird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty ~= "BOMB" and birdSpecialty ~= "GLOBE" and birdSpecialty ~= "BUBBLES" and birdSpecialty ~= "C_BOMB" then + birdSpecialtyAvailable = false + if bDef.spriteCollision ~= nil then + if birdSpecialty == "GRENADE" then + if birdSpecialtyAvailable then + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + else + objects.world[flyingBird.name].sprite = bDef.spriteCollision + setSprite(flyingBird.name, objects.world[flyingBird.name].sprite) + end + end + elseif birdSpecialty == "BOMB" and birdSpecialty ~= "C_BOMB" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].bombTimer = 1.5 + objects.world[flyingBird.name].damageSprite = bDef.spriteSpecial1 + objects.world[flyingBird.name].sprite = objects.world[flyingBird.name].damageSprite + setSprite(flyingBird.name, objects.world[flyingBird.name].damageSprite) + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "GLOBE" then + if flyingBird.collision ~= true then + objects.world[flyingBird.name].globeTimer = 1.5 + birdSpecialtyAvailable = true + end + elseif birdSpecialty == "BUBBLES" and flyingBird.collision ~= true then + objects.world[flyingBird.name].pinkTimer = 1.5 + birdSpecialtyAvailable = true + end + flyingBird.collision = true + end + if obj1.controllable then + local bird = obj1 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj2.controllable then + local bird = obj2 + local bDef = getObjectDefinition(bird.name) + local birdSpecialty = bDef.specialty + if birdSpecialty == "BOOMERANG" then + bird.boomerangActive = false + end + end + if obj1.shot and obj1.controllable then + obj1.collision = true + if obj2.controllable ~= true then + obj1.recordTrajectory = false + end + end + if obj2.shot and obj2.controllable then + obj2.collision = true + if obj1.controllable ~= true then + obj2.recordTrajectory = false + end + end + for i = #flyingGrenades, 1, -1 do + local flyingGrenade = flyingGrenades[i].name + if flyingGrenade == object1 and obj2.controllable ~= true or flyingGrenade == object2 and obj1.controllable ~= true then + flyingGrenades[i].explode = true + if object1 == flyingGrenade then + object1 = nil + end + end + if object1 == flyingGrenade and obj2.controllable == true then + return + end + if object2 == flyingGrenade and obj1.controllable == true then + return + end + end + if object1 ~= nil then + local birdie = birds[object1] + local birdieStartForce = 0 + if object2 ~= nil and (getObjectDefinition(object2).materialName == "immovable" or getObjectDefinition(object2).materialName == "staticGround") and birdie ~= nil and birdie.xVel ~= nil and birdie.yVel ~= nil then + birdieStartForce = vLength(birdie.xVel, birdie.yVel) * birdie.mass / 10 + end + if force > collisionParticleForceThreshold or birdieStartForce > collisionParticleForceThreshold then + local mat = blockTable.materials[getObjectDefinition(object2).materialName] + if mat ~= nil then + local sound = mat.collisionSound + sound = 10 < damage and mat.damageSound or sound + if sound ~= nil then + playAudio(getAudioName(sound), 0.7, false, 2) + end + end + local particle = getObjectDefinition(object1).particles + local particleAmount = _G.math.random(12, 20) + if getObjectDefinition(object1).particlesAmountLimits ~= nil then + particleAmount = _G.math.random(getObjectDefinition(object1).particlesAmountLimits[1], getObjectDefinition(object1).particlesAmountLimits[2]) + end + addParticles(object1, particle, particleAmount, true, false) + local volume = 0.7 + if birdie ~= nil then + local maxForce = 60 * birdie.mass / 10 + local dmgFactor = blockTable.damageFactors[birdie.damageFactors].damageMultiplier[getObjectDefinition(object2).materialName] + if dmgFactor ~= nil and 1 < dmgFactor then + maxForce = maxForce * dmgFactor + end + volume = _G.math.min(_G.math.max(_G.math.max(force, birdieStartForce) / maxForce, 0.2), 1) + end + if getObjectDefinition(object1).collisionSound ~= nil then + playAudio(getAudioName(getObjectDefinition(object1).collisionSound), volume, false, 2) + end + end + end + if obj2.controllable ~= true then + local sprites = getDamageSprite(obj2, blockTable.blocks) + obj2.damageSprite = sprites.sprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + end +end +function blockCollision(object1, object2, force, wasDamageDone) + local obj1 = objects.world[object1] + local obj2 = objects.world[object2] + if wasDamageDone then + local sprites = getDamageSprite(obj1, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj1.damageSprite then + obj1.damageSprite = dmgSprite + obj1.blinkSprite = sprites.blink + obj1.smileSprite = sprites.smile + local def = getObjectDefinition(object1) + if objects.waterLevel and obj1.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + local sprites = getDamageSprite(obj2, blockTable.blocks) + local dmgSprite = sprites.sprite + if dmgSprite ~= obj2.damageSprite then + obj2.damageSprite = dmgSprite + obj2.blinkSprite = sprites.blink + obj2.smileSprite = sprites.smile + local def = getObjectDefinition(object2) + if objects.waterLevel and obj2.y > -objects.waterLevel and def.underwaterDamageSound then + playAudio(getAudioName(def.underwaterDamageSound), 0.5, false, 2) + elseif def.damageSound then + playAudio(getAudioName(def.damageSound), 0.5, false, 2) + end + end + end + if force > collisionSoundForceThreshold then + local material1 = blockTable.materials[getObjectDefinition(object1).materialName] + local material2 = blockTable.materials[getObjectDefinition(object2).materialName] + if material1 then + local soundName = material1.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material1.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + if material2 and material2 ~= material1 then + local soundName = material2.collisionSound + soundName = objects.waterLevel and obj1.y > -objects.waterLevel and material2.underwaterCollisionSound or soundName + playAudio(getAudioName(soundName), 0.5, false, 2) + end + end +end +function addParticles(object, particle, amount, ignoreLimits, menu) + local obj = objects.world[object] + if obj == nil then + return + end + local x, y = physicsToWorldTransform(obj.x, obj.y) + local w, h = 1, 1 + if obj.radius == nil then + w, h = physicsToWorldTransform(obj.width, obj.height) + else + w, h = physicsToWorldTransform(obj.radius * 2, obj.radius * 2) + end + if particle[1] then + for i = 1, #particle do + if particleTable.particles[particle[i]].amount then + amount = particleTable.particles[particle[i]].amount + end + newParticles(particle[i], amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end + else + newParticles(particle, amount, x, y, w, h, getAngle(obj.name), ignoreLimits, menu) + end +end +function globeBirdDeath(object) + local name = "GlobeDeath" + local def = getObjectDefinition(object.name) + createCircle(name, def.sprite, object.x, object.y, def.radius * (object.powerup_scale or 1), 1.0E-6, 0, def.restitution, object.controllable, object.z_order) + objects.world[name].definition = object.definition + objects.world[name].controllable = def.controllable + objects.world[name].strength = def.strength + objects.world[name].defence = def.defence + objects.world[name].materialName = def.materialName + objects.world[name].levelGoal = def.levelGoal + objects.world[name].damageFactors = def.damageFactors + objects.world[name].isPuffed = true + local xp, yp = _G.res.getSpritePivot("", def.sprite) + objects.world[name].spritePivotX = xp + objects.world[name].spritePivotY = yp + objects.world[name].damageSprite = def.damageSprite + objects.world[name].useLegacyCollisionPath = def.useLegacyCollisionPath + objects.world[name].shot = true + objects.world[name].isGlobeDeath = true + objects.world[name].updateCount = 0 + objects.world[name].deathTimerFull = 1.5 + objects.world[name].deathTimer = object.deathTimer or objects.world[name].deathTimerFull + objects.world[name].scale = object.powerup_scale or 1 + objects.world[name].directionChangeTimer = object.directionChangeTimer or 0 + objects.world[name].xVel = object.xVel + objects.world[name].yVel = object.yVel + objects.world[name].powerup_scale = object.powerup_scale + setRotation(name, object.angle) + setVelocity(name, object.xVel, object.yVel) + setObjectParameter(name, 5, object.powerup_scale or 1) + setObjectParameter(name, 6, 1) + birds[name] = objects.world[name] + local k = object.name + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + playAudio(getAudioName(def.removeSound), 1, false) +end +function removeBird(object, nosound, amount) + nosound = nosound or false + amount = amount or 10 + local k = object.name + local globeDeath = object.finalGlobe == true + local particles = getObjectDefinition(k) + local underwater = false + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + underwater = true + end + if particles ~= nil then + particles = particles.particles + end + if globeDeath then + globeBirdDeath(object) + return + end + if particles ~= nil and 0 < amount then + addParticles(k, getObjectDefinition(k).particles, amount, true, globeDeath) + end + if cameraTargetObject == object then + cameraTargetObject = nil + end + if currentBirdName == k then + currentBirdName = nil + end + if flyingBird == object then + flyingBird = nil + birdSpecialtyAvailable = false + end + removeObject(k) + objects.world[k] = nil + birds[k] = nil + otherBirds[k] = nil + if not nosound then + local volume = 1 + if objects.waterLevel and object.y < -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + volume = 0.2 + end + playAudio(getAudioName(destroyedSound or "bird_destroyed"), volume, false) + end +end +function getObjectDefinition(name) + if objects.world[name] == nil then + print(_G.debug.traceback()) + end + return blockTable.blocks[objects.world[name].definition] +end +function getNextBird(index) + for k, v in _G.pairs(birds) do + if v.controllable and v.startNumber == index then + return k + end + end + return nil +end +function checkLevelComplete() + if eagleBaitLaunched == true and (eagleTimer == nil or eagleTimer > 0) then + return false + end + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + if not levelTimeout and hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + return true +end +function checkLevelGoalsDestroyed() + for k, v in _G.pairs(levelGoals) do + if v.levelGoal then + return false + end + end + return true +end +function checkLevelFailed() + if g_bird_quake then + return false + end + if not levelTimeout then + if hasMovingObjects and objects.doNotWaitForMovingObjects ~= true then + return false + end + for k, v in _G.pairs(birds) do + if v.controllable then + return false + end + end + end + return true +end +function getDamageSprite(object, definitions) + local sprites = {} + sprites.sprite = object.sprite + sprites.blink = object.sprite + sprites.smile = object.sprite + if object.definition == nil or object.definition == "" then + return sprites + end + if definitions[object.definition] == nil then + return sprites + end + if definitions[object.definition].damageSprites == nil then + return sprites + end + if object.strength == nil then + return sprites + end + local percentage = object.strength / definitions[object.definition].strength * 100 + for k, v in _G.pairs(definitions[object.definition].damageSprites) do + if percentage > v.min and percentage <= v.max then + setSprite(object.name, v.sprite) + sprites.sprite = v.sprite + sprites.blink = v.sprite + sprites.smile = v.sprite + if v.blinkSprite ~= nil then + sprites.blink = v.blinkSprite + sprites.smile = v.smileSprite + end + if v.smileSprite ~= nil then + sprites.smile = v.smileSprite + end + return sprites + end + end + return sprites +end +function makeExplosion(object, definition, sound) + addParticles(object.name, "explosionBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createExplosion(object, definition, sound) +end +function addExplosionScore(object, score) +end +function createExplosion(object, definition, sound) + if definition.explosionForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + explosionCameraShakeDuration = 0.15 + explosionCameraShakeAmount = definition.explosionForce / 1000 + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.explosionRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.explosionForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.explosionDamageRadius then + local damage = definition.explosionDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addExplosionScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function makeSuck(object, definition, sound) + addParticles(object.name, "shineBuff", 1, true, false) + if objects.waterLevel and object.y > -objects.waterLevel + waterMaxBuoyancyDepth / 2 then + addParticles(object.name, "explosionBubbles", 5, true, false) + if sound == getAudioName("tnt_explodes") or sound == getAudioName("special_explosion") then + sound = getAudioName("underwater_explosion") + end + end + createSuck(object, definition, sound) +end +function addSuckScore(object, score) +end +function createSuck(object, definition, sound) + if definition.suckForce ~= nil then + if sound ~= nil then + playAudio(sound, 0.7, false, 1) + end + for k, v in _G.pairs(objects.world) do + if v.controllable or object == v or v.ghost then + else + local dist = vLength(v.x - object.x, v.y - object.y) + if dist < definition.suckRadius then + local x, y = vNormalize(v.x - object.x, v.y - object.y) + local force = physicsScale * definition.suckForce / dist + applyImpulse(k, x * force, y * force, v.x, v.y) + end + if dist < definition.suckDamageRadius then + local damage = definition.suckDamage / dist - v.defence + local score = 0 + if damage > 0 then + v.strength = v.strength - damage + local sprites = getDamageSprite(v, blockTable.blocks) + v.damageSprite = sprites.sprite + v.blinkSprite = sprites.blink + v.smileSprite = sprites.smile + if 0 >= v.strength then + deadBlocks[k] = v + score = v.strength + else + score = damage + end + addSuckScore(v, _G.math.floor(damage) * 10) + end + end + end + end + end +end +function worldToPhysicsTransform(x, y) + local px = x * physicsScale + local py = y * physicsScale + return px, py +end +function worldToScreenTransform(x, y) + local sx = (x - screen.left) * worldScale + local sy = (y - screen.top) * worldScale + return sx, sy +end +function screenToWorldTransform(x, y) + local wx = x / worldScale + screen.left + local wy = y / worldScale + screen.top + return wx, wy +end +function physicsToWorldTransform(x, y) + local wx = x * physicsToWorld + local wy = y * physicsToWorld + return wx, wy +end +function physicsToScreenTransform(x, y) + local wx, wy = physicsToWorldTransform(x, y) + local sx, sy = worldToScreenTransform(wx, wy) + return sx, sy +end +function screenToPhysicsTransform(x, y) + local wx, wy = screenToWorldTransform(x, y) + local px, py = worldToPhysicsTransform(wx, wy) + return px, py +end +function screenToPhysicsScale(x) + return x / worldScale * physicsScale +end +function distance(x1, y1, x2, y2) + local dx = x2 - x1 + local dy = y2 - y1 + return _G.math.sqrt(dx * dx + dy * dy) +end +function currentTime() + local timeNow = { + d = _G.os.date("%d") * 1, + h = _G.os.date("%H") * 1, + m = _G.os.date("%M") * 1, + s = _G.os.date("%S") * 1 + } + return timeNow +end +function timeDiff(t2, t1) + local temp1 = t1.h * 60 * 60 + t1.m * 60 + t1.s + local temp2 = t2.h * 60 * 60 + t2.m * 60 + t2.s + if t2.d ~= t1.d then + temp2 = temp2 + 86400 + end + return temp2 - temp1 +end +function formatTime(inputTime) + local timeText = "" + local hours = _G.string.format("%d", _G.math.floor(inputTime / 3600)) + local minutes = _G.string.format("%d", _G.math.floor(_G.math.fmod(inputTime, 3600) / 60)) + local seconds = _G.string.format("%d", _G.math.fmod(_G.math.fmod(inputTime, 3600), 60)) + if 3600 <= inputTime then + minutes = "00" .. minutes + minutes = _G.string.sub(minutes, #minutes - 1, #minutes) + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = hours .. ":" .. minutes .. ":" .. seconds + else + seconds = "00" .. seconds + seconds = _G.string.sub(seconds, #seconds - 1, #seconds) + timeText = minutes .. ":" .. seconds + end + return timeText +end +function checkObjectBounds(x, y, width, height, angle, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local halfWidth = width * 0.5 + local halfHeight = height * 0.5 + local left = -halfWidth + local top = -halfHeight + local right = halfWidth + local bottom = halfHeight + if tcx >= left and tcx < right and tcy >= top and tcy < bottom then + return true + end + return false +end +function checkPolygonObjectBounds(x, y, width, height, angle, vertices, cursorX, cursorY) + local cx = cursorX - x + local cy = cursorY - y + local tcx = cx * _G.math.cos(angle) + cy * _G.math.sin(angle) + local tcy = -cx * _G.math.sin(angle) + cy * _G.math.cos(angle) + local tVerts = {} + for i = 1, #vertices do + tVerts[i] = {} + tVerts[i].x = vertices[i].x * width - 0.5 * width + tVerts[i].y = vertices[i].y * height - 0.5 * height + end + return testPointInPolygon(tcx, tcy, tVerts) +end +function checkBounds(left, top, w, h, cursorX, cursorY, angle, hanchor, vanchor) + if hanchor and vanchor then + if hanchor == "HCENTER" then + left = left - w * 0.5 + elseif hanchor == "LEFT" then + left = left + w + elseif hanchor == "RIGHT" then + left = left - w + end + if vanchor == "VCENTER" then + top = top - h * 0.5 + elseif vanchor == "TOP" then + top = top + h + elseif vanchor == "BOTTOM" then + top = top - h + end + end + if cursorX >= left and cursorX < left + w and cursorY >= top and cursorY < top + h then + return true + end + return false +end +function checkTextBounds(textGroup, text, hanchor, vanchor, x, y, cursorX, cursorY) + local w = _G.res.getStringWidth(_G.res.getString(textGroup, text)) + local h = _G.res.getFontLeading() + if hanchor == nil then + x = x - w * 0.5 + elseif hanchor == "RIGHT" then + x = x - w + elseif hanchor == "HCENTER" then + x = x - w * 0.5 + end + if vanchor == nil then + y = y - h * 0.5 + elseif vanchor == "BOTTOM" then + y = y - h + elseif vanchor == "VCENTER" then + y = y - h * 0.5 + end + return checkBounds(x, y, w, h, cursorX, cursorY) +end +function checkSpriteBounds(sheet, sprite, x, y, cursorX, cursorY) + local w, h = _G.res.getSpriteBounds(sheet, sprite) + local px, py = _G.res.getSpritePivot(sheet, sprite) + return checkBounds(x - px, y - py, w, h, cursorX, cursorY) +end +function getObjectsInsideRect(x1, y1, x2, y2) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(objects.world) do + x, y = physicsToWorldTransform(v.x, v.y) + if x1 < x and x2 >= x and y1 < y and y2 >= y and v.name ~= "ground" then + _G.table.insert(t, v) + end + end + return t +end +function getThemeObjectsInsideRect(x1, y1, x2, y2, layer) + if x2 < x1 then + x1, x2 = x2, x1 + end + if y2 < y1 then + y1, y2 = y2, y1 + end + local t = {} + for k, v in _G.pairs(themeSpriteObjects) do + x, y = physicsToWorldTransform(v.x, v.y) + if v.layer == layer and x1 < x and x2 >= x and y1 < y and y2 >= y then + _G.table.insert(t, v) + end + end + return t +end +function testPointInPolygon(x, y, vertices) + local s = #vertices + local e = 1 + local counter = 0 + while e <= #vertices do + if y > _G.math.min(vertices[s].y, vertices[e].y) and y <= _G.math.max(vertices[s].y, vertices[e].y) and x <= _G.math.max(vertices[s].x, vertices[e].x) and vertices[s].y ~= vertices[e].y then + local crossPointX = (y - vertices[s].y) * (vertices[e].x - vertices[s].x) / (vertices[e].y - vertices[s].y) + vertices[s].x + if vertices[s].x == vertices[e].x or x < crossPointX then + counter = counter + 1 + end + end + s = e + e = e + 1 + end + if counter % 2 == 0 then + return false + end + return true +end +function dampedSpring(ks, kd, r, v) + return ks * r - kd * v +end +function vLength(x, y) + local len = _G.math.sqrt(x * x + y * y) + return len +end +function vLengthsq(x, y) + local len = x * x + y * y + return len +end +function vNormalize(x, y) + local len = _G.math.sqrt(x * x + y * y) + return x / len, y / len +end +function updateFloatingScores(dt) + local i = 1 + while i <= #floatingScores do + local fs = floatingScores[i] + fs.time = fs.time + dt + if fs.time < 0.25 then + fs.xs = fs.maxScale * fs.time / 0.25 + elseif fs.time < fs.lifetime - 0.25 then + fs.xs = fs.maxScale + else + fs.xs = fs.maxScale * (fs.lifetime - fs.time) / 0.25 + end + if floatingScores[i].time > floatingScores[i].lifetime then + _G.table.remove(floatingScores, i) + else + i = i + 1 + end + end +end +function newParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) + local pt = particleTable.particles[type] + if pt == nil then + return + end + if type == nil or type == "" then + return + end + _G.particles.addParticles(type, amount, x, y, w, h, angle, ignoreLimits, menu) +end +function drawBox(borderSprites, sheet, x1, y1, width, height, hAnchor, vAnchor, color) + local boxSprites = borderSprites + local r, g, b, a = 1, 1, 1, 1 + if color ~= nil then + if color.red ~= nil then + r = color.red + end + if color.green ~= nil then + g = color.green + end + if color.blue ~= nil then + b = color.blue + end + if color.alpha ~= nil then + a = color.alpha + end + end + local x2 = x1 + width - 1 + local y2 = y1 + height - 1 + local thTopMiddle = 0 + local twMiddleLeft = 0 + local twMiddleRight = 0 + local thBottomMiddle = 0 + if boxSprites.topLeft == nil then + boxSprites.topLeft = "" + end + if boxSprites.topRight == nil then + boxSprites.topRight = "" + end + if boxSprites.bottomLeft == nil then + boxSprites.bottomLeft = "" + end + if boxSprites.bottomRight == nil then + boxSprites.bottomRight = "" + end + if boxSprites.center == nil then + boxSprites.center = "" + end + if boxSprites.topMiddle ~= nil then + _, thTopMiddle = _G.res.getSpriteBounds(sheet, boxSprites.topMiddle) + else + boxSprites.topMiddle = "" + end + if boxSprites.left ~= nil then + twMiddleLeft, _ = _G.res.getSpriteBounds(sheet, boxSprites.left) + else + boxSprites.left = "" + end + if boxSprites.right ~= nil then + twMiddleRight, _ = _G.res.getSpriteBounds(sheet, boxSprites.right) + else + boxSprites.right = "" + end + if boxSprites.bottomMiddle ~= nil then + _, thBottomMiddle = _G.res.getSpriteBounds(sheet, boxSprites.bottomMiddle) + else + boxSprites.bottomMiddle = "" + end + local xPivot, yPivot = 0, 0 + if hAnchor == "HCENTER" then + xPivot = -width / 2 + elseif hAnchor == "RIGHT" then + xPivot = -width + else + xPivot = 0 + end + if vAnchor == "VCENTER" then + yPivot = -height / 2 + elseif vAnchor == "BOTTOM" then + yPivot = -height + else + yPivot = 0 + end + local drawSprite = _G.res.drawSprite + local floor = _G.math.floor + if floor(y1 - thTopMiddle + yPivot) <= screenHeight and 0 <= floor(y1 + height + yPivot + thBottomMiddle) then + drawSprite(sheet, boxSprites.topMiddle, floor(x1 + xPivot), floor(y1 - thTopMiddle + yPivot), "TOP", "LEFT", floor(width), floor(thTopMiddle)) + drawSprite(sheet, boxSprites.bottomMiddle, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT", floor(width), floor(thBottomMiddle)) + drawSprite(sheet, boxSprites.left, floor(x1 - twMiddleLeft + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleLeft), floor(height)) + drawSprite(sheet, boxSprites.right, floor(x1 + width + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(twMiddleRight), floor(height)) + drawSprite(sheet, boxSprites.topLeft, floor(x1 + xPivot), floor(y1 + yPivot), "BOTTOM", "RIGHT") + drawSprite(sheet, boxSprites.topRight, floor(x1 + width + xPivot), floor(y1 + yPivot), "BOTTOM", "LEFT") + drawSprite(sheet, boxSprites.bottomLeft, floor(x1 + xPivot), floor(y1 + height + yPivot), "TOP", "RIGHT") + drawSprite(sheet, boxSprites.bottomRight, floor(x1 + width + xPivot), floor(y1 + height + yPivot), "TOP", "LEFT") + if color ~= nil then + drawRect(r, g, b, a, floor(x1 + xPivot), floor(y1 + yPivot), floor(x2 + xPivot), floor(y2 + yPivot), false) + else + drawSprite(sheet, boxSprites.center, floor(x1 + xPivot), floor(y1 + yPivot), "TOP", "LEFT", floor(width), floor(height)) + end + end +end +function createPopupBoxSpriteTables() + popupBoxSprites = { + topLeft = "POPUP_TOP_LEFT", + topMiddle = "POPUP_TOP_MIDDLE", + topRight = "POPUP_TOP_RIGHT", + left = "POPUP_LEFT", + center = "POPUP_CENTER", + right = "POPUP_RIGHT", + bottomLeft = "POPUP_BOTTOM_LEFT", + bottomMiddle = "POPUP_BOTTOM_MIDDLE", + bottomRight = "POPUP_BOTTOM_RIGHT" + } + completeBoxSprites = { + topLeft = "COMPLETE_TOP_LEFT", + topMiddle = "COMPLETE_TOP_MIDDLE", + topRight = "COMPLETE_TOP_RIGHT", + left = "COMPLETE_LEFT", + center = "COMPLETE_CENTER", + right = "COMPLETE_RIGHT" + } + whiteBoxSprites = { + topLeft = "WHITE_TOP_LEFT", + topMiddle = "WHITE_TOP_MIDDLE", + topRight = "WHITE_TOP_RIGHT", + left = "WHITE_LEFT", + center = "WHITE_CENTER", + right = "WHITE_RIGHT", + bottomLeft = "WHITE_BOTTOM_LEFT", + bottomMiddle = "WHITE_BOTTOM_MIDDLE", + bottomRight = "WHITE_BOTTOM_RIGHT" + } + tutorialBoxSprites = { + topLeft = "TUTORIAL_TOP_LEFT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topRight = "TUTORIAL_TOP_RIGHT", + left = "TUTORIAL_LEFT", + center = "TUTORIAL_CENTER", + right = "TUTORIAL_RIGHT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT" + } + blackBoxSprites = { + topLeft = "UPSELL_TOP_LEFT", + topMiddle = "UPSELL_TOP_MIDDLE", + topRight = "UPSELL_TOP_RIGHT", + left = "UPSELL_LEFT", + center = "UPSELL_CENTER", + right = "UPSELL_RIGHT", + bottomLeft = "UPSELL_BOTTOM_LEFT", + bottomMiddle = "UPSELL_BOTTOM_MIDDLE", + bottomRight = "UPSELL_BOTTOM_RIGHT" + } + scoreBox = { + topLeft = "SCORE_TOP_LEFT", + left = "SCORE_LEFT", + bottomLeft = "SCORE_BOTTOM_LEFT", + bottomMiddle = "SCORE_BOTTOM_MIDDLE", + bottomRight = "SCORE_BOTTOM_RIGHT", + right = "SCORE_RIGHT", + topRight = "SCORE_TOP_RIGHT", + topMiddle = "SCORE_TOP_MIDDLE", + center = "SCORE_CENTER" + } + achievementBoxSprites = { + left = "ACHIEVEMENT_BG_LEFT", + center = "ACHIEVEMENT_BG_MIDDLE", + right = "ACHIEVEMENT_BG_RIGHT" + } + playBoxSprites = { + left = "PLAY_BUTTON_BG_LEFT", + center = "PLAY_BUTTON_BG_MIDDLE", + right = "PLAY_BUTTON_BG_RIGHT" + } +end +function calculatePlaytime() + if playtimeCounter == nil then + playtimeCounter = 0 + end + settingsWrapper:addPlaytime(playtimeCounter) + playtimeCounter = 0 +end +function resetCamerasiPhone4() + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + local tempCcd = {} + if cameraAspectRation <= currentAspectRation then + tempCcd.sx = originalCcd.sx * screenHeight / ccd.screenHeight + else + tempCcd.sx = originalCcd.sx * screenWidth / ccd.screenWidth + end + tempWorldScale = worldScale * (tempCcd.sx / ccd.sx) + setWorldScale(tempWorldScale) +end +function resolutionChanged(width, height) + if not g_levelLoaded then + return + end + local cameraFunctionTemp = cameraFunction + local cameraAnimationSliderTemp = cameraAnimationSlider + local cameraAnimationSliderTargetTemp = cameraAnimationSliderTarget + local screenWidthTemp = screenWidth + local screenHeightTemp = screenHeight + local worldScaleTemp = worldScale + local animationWorldScaleTemp = animationWorldScale + worldScale = worldScaleTemp + animationWorldScale = animationWorldScaleTemp + setWorldScale(worldScale) + local ratio = width / screenWidth + screenWidth = width + screenHeight = height + objects.castleCameraData[deviceModel].px = originalCcd.px + objects.castleCameraData[deviceModel].py = originalCcd.py + objects.castleCameraData[deviceModel].sx = originalCcd.sx + objects.castleCameraData[deviceModel].sy = originalCcd.sy + objects.castleCameraData[deviceModel].screenWidth = originalCcd.screenWidth + objects.castleCameraData[deviceModel].screenHeight = originalCcd.screenHeight + objects.birdCameraData[deviceModel].px = originalBcd.px + objects.birdCameraData[deviceModel].py = originalBcd.py + objects.birdCameraData[deviceModel].sx = originalBcd.sx + objects.birdCameraData[deviceModel].sy = originalBcd.sy + objects.birdCameraData[deviceModel].screenWidth = originalBcd.screenWidth + objects.birdCameraData[deviceModel].screenHeight = originalBcd.screenHeight + initCameras() + cameraFunction = cameraFunctionTemp + cameraAnimationSlider = cameraAnimationSliderTemp + cameraAnimationSliderTarget = cameraAnimationSliderTargetTemp + worldScale = worldScaleTemp * ratio + animationWorldScale = animationWorldScaleTemp * ratio + setWorldScale(worldScale) + cameraFunction(0) + screenWidth = screenWidthTemp + screenHeight = screenHeightTemp +end +originalCcd = {} +originalBcd = {} +function initCameras() + cameraFunction = levelStartCamera + if objects.castleCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.castleCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData[cameraProfile].px + objects.castleCameraData[deviceModel].py = objects.castleCameraData[cameraProfile].py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData[cameraProfile].sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData[cameraProfile].sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData[cameraProfile].screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData[cameraProfile].screenHeight + end + print("--using camera profile: " .. _G.tostring(cameraProfile) .. "\n") + break + end + end + if cameraSelected == false then + if objects.castleCameraData.px ~= nil then + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = objects.castleCameraData.px + objects.castleCameraData[deviceModel].py = objects.castleCameraData.py + objects.castleCameraData[deviceModel].sx = objects.castleCameraData.sx + objects.castleCameraData[deviceModel].sy = objects.castleCameraData.sy + objects.castleCameraData[deviceModel].screenWidth = objects.castleCameraData.screenWidth + objects.castleCameraData[deviceModel].screenHeight = objects.castleCameraData.screenHeight + else + objects.castleCameraData[deviceModel] = {} + objects.castleCameraData[deviceModel].px = screen.x + objects.castleCameraData[deviceModel].py = screen.y + objects.castleCameraData[deviceModel].sx = 1 + objects.castleCameraData[deviceModel].sy = 1 + objects.castleCameraData[deviceModel].screenWidth = screenWidth + objects.castleCameraData[deviceModel].screenHeight = screenHeight + end + end + local ccd = objects.castleCameraData[deviceModel] + if ccd.screenWidth == nil then + ccd.screenWidth = 1680 + end + if ccd.screenHeight == nil then + ccd.screenHeight = 1050 + end + originalCcd.px = ccd.px + originalCcd.py = ccd.py + originalCcd.sx = ccd.sx + originalCcd.sy = ccd.sy + originalCcd.screenWidth = ccd.screenWidth + originalCcd.screenHeight = ccd.screenHeight + local cameraAspectRation = ccd.screenWidth / ccd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation or startedFromEditor == true then + ccd.sx = ccd.sx * screenHeight / ccd.screenHeight + ccd.sy = ccd.sy * screenHeight / ccd.screenHeight + else + ccd.sx = ccd.sx * screenWidth / ccd.screenWidth + ccd.sy = ccd.sy * screenWidth / ccd.screenWidth + end + if objects.castleCameraData.version == nil then + worldScale = ccd.sx + setWorldScale(worldScale) + screen.left = ccd.px - screenWidth * 0.5 + screen.top = ccd.py - screenHeight * 0.5 + screen.right = screen.left + screenWidth / worldScale + screen.bottom = screen.top + screenHeight / worldScale + screen.x = (screen.right + screen.left) * 0.5 + screen.y = (screen.bottom + screen.top) * 0.5 + ccd.px = screen.x + ccd.py = screen.y + else + worldScale = ccd.sx + setWorldScale(worldScale) + screen.x = ccd.px + screen.y = ccd.py + screen.left = screen.x - screenWidth * 0.5 / worldScale + screen.top = screen.y - screenHeight * 0.5 / worldScale + screen.right = screen.x + screenWidth * 0.5 / worldScale + screen.bottom = screen.y + screenHeight * 0.5 / worldScale + end + else + objects.castleCameraData = {} + objects.castleCameraData[deviceModel] = {} + local ccd = objects.castleCameraData[deviceModel] + ccd.sx = 1 + ccd.sy = 1 + ccd.px = screen.x + ccd.py = screen.y + end + local ccd = objects.castleCameraData[deviceModel] + ccd.top = screen.top + ccd.left = screen.left + ccd.right = screen.right + ccd.bottom = screen.bottom + cameraAnimationSlider = 1 + cameraAnimationSliderTarget = 1 + defaultCamera() + local wx1, _ = worldToPhysicsTransform(ccd.left, ccd.top) + local wx2, _ = worldToPhysicsTransform(ccd.right, ccd.bottom) + if objects.birdCameraData ~= nil then + local cameraSelected = false + for i = 1, #g_cameraProfileList do + local cameraProfile = g_cameraProfileList[i] + if objects.birdCameraData[cameraProfile] ~= nil then + cameraSelected = true + if cameraProfile ~= deviceModel then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData[cameraProfile].px + objects.birdCameraData[deviceModel].py = objects.birdCameraData[cameraProfile].py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData[cameraProfile].sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData[cameraProfile].sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData[cameraProfile].screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData[cameraProfile].screenHeight + end + break + end + end + if cameraSelected == false then + if objects.birdCameraData.px ~= nil then + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = objects.birdCameraData.px + objects.birdCameraData[deviceModel].py = objects.birdCameraData.py + objects.birdCameraData[deviceModel].sx = objects.birdCameraData.sx + objects.birdCameraData[deviceModel].sy = objects.birdCameraData.sy + objects.birdCameraData[deviceModel].screenWidth = objects.birdCameraData.screenWidth + objects.birdCameraData[deviceModel].screenHeight = objects.birdCameraData.screenHeight + else + objects.birdCameraData[deviceModel] = {} + objects.birdCameraData[deviceModel].px = screen.x + objects.birdCameraData[deviceModel].py = screen.y + objects.birdCameraData[deviceModel].sx = 1 + objects.birdCameraData[deviceModel].sy = 1 + objects.birdCameraData[deviceModel].screenWidth = screenWidth + objects.birdCameraData[deviceModel].screenHeight = screenHeight + end + end + local bcd = objects.birdCameraData[deviceModel] + if bcd.screenWidth == nil then + bcd.screenWidth = 1680 + end + if bcd.screenHeight == nil then + bcd.screenHeight = 1050 + end + originalBcd.px = bcd.px + originalBcd.py = bcd.py + originalBcd.sx = bcd.sx + originalBcd.sy = bcd.sy + originalBcd.screenWidth = bcd.screenWidth + originalBcd.screenHeight = bcd.screenHeight + local cameraAspectRation = bcd.screenWidth / bcd.screenHeight + local currentAspectRation = screenWidth / screenHeight + if cameraAspectRation <= currentAspectRation then + bcd.sx = bcd.sx * screenHeight / bcd.screenHeight + bcd.sy = bcd.sy * screenHeight / bcd.screenHeight + else + bcd.sx = bcd.sx * screenWidth / bcd.screenWidth + bcd.sy = bcd.sy * screenWidth / bcd.screenWidth + end + if objects.birdCameraData.version == nil then + scale = bcd.sx + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth / scale + bcd.bottom = screen.top + screenHeight / scale + bcd.px = (screen.right + screen.left) * 0.5 + bcd.py = (screen.bottom + screen.top) * 0.5 + else + bcd.left = bcd.px - screenWidth * 0.5 / bcd.sx + bcd.top = bcd.py - screenHeight * 0.5 / bcd.sy + bcd.right = screen.left + screenWidth / bcd.sx + bcd.bottom = screen.top + screenHeight / bcd.sy + end + else + objects.birdCameraData = {} + objects.birdCameraData[deviceModel] = {} + local bcd = objects.birdCameraData[deviceModel] + bcd.sx = 1 + bcd.sy = 1 + bcd.px = screen.x + bcd.py = screen.y + bcd.left = bcd.px - screenWidth * 0.5 + bcd.top = bcd.py - screenHeight * 0.5 + bcd.right = screen.left + screenWidth * 0.5 + bcd.bottom = screen.top + screenHeight * 0.5 + end + local bcd = objects.birdCameraData[deviceModel] + ccd.screenWidth = screenWidth + ccd.screenHeight = screenHeight + bcd.screenWidth = screenWidth + bcd.screenHeight = screenHeight + leftLimit = bcd.left - screenWidth * 0.2 + rightLimit = ccd.right + screenWidth * 0.2 + local leftLimitPhysics, rightLimitPhysics = worldToPhysicsTransform(leftLimit, rightLimit) + if rightLimitPhysics > levelRightEdge then + levelRightEdge = rightLimitPhysics + end + if leftLimitPhysics < levelLeftEdge then + levelLeftEdge = leftLimitPhysics + end + levelLimitMinX = levelLeftEdge - screenWidth * 0.75 * physicsScale + levelLimitMaxX = levelRightEdge + screenWidth * 0.75 * physicsScale + setLevelLimits(levelLimitMinX, -10000, levelLimitMaxX, 20) + maxLevelWidth = rightLimit - leftLimit + minWorldScale = screenWidth / maxLevelWidth + groundLimit = bcd.bottom + if groundLimit < ccd.bottom then + groundLimit = ccd.bottom + end + groundLimit = screenHeight / (minWorldScale * 5) + if levelRestartedFrom == nil or startedFromEditor == true then + currentZoomedScale = bcd.sx + if currentZoomedScale < ccd.sx then + currentZoomedScale = ccd.sx + end + end + eventManager:notify({ + id = events.EID_CAMERAS_INITIALISED + }) +end +function StringStartsWith(String, Start) + return _G.string.sub(String, 1, _G.string.len(Start)) == Start +end +function addThemeSprite(name, attributes) + local obj = attributes + local spr = blockTable.blocks[obj.definition].sprite + if not spr and blockTable.blocks[obj.definition].damageSprites then + spr = blockTable.blocks[obj.definition].damageSprites.damage1 + end + local t_scaleX = 1 + local t_scaleY = 1 + if obj.scale ~= nil then + t_scaleX = obj.scale.x or 1 + t_scaleY = obj.scale.y or 1 + end + createThemeSprite(obj.name, spr, obj.x, obj.y, obj.speedX or 0, t_scaleX, t_scaleY, obj.angle, obj.layer) + themeSpriteObjects[name] = { + x = obj.x, + y = obj.y, + name = obj.name, + definition = obj.definition, + scale = obj.scale or {x = 1, y = 1}, + angle = obj.angle, + layer = obj.layer + } + local t_worldSprite = blockTable.blocks[obj.definition] + local w, h = _G.res.getSpriteBounds("", spr) + local sizeFactor = 0.92 + if t_worldSprite.density == 0 then + sizeFactor = 1 + end + w = w * physicsScale * sizeFactor + h = h * physicsScale * sizeFactor + themeSpriteObjects[name].type = t_worldSprite.type + themeSpriteObjects[name].width = w + themeSpriteObjects[name].height = h + themeSpriteObjects[name].vertices = t_worldSprite.vertices + if t_worldSprite.type == "circle" then + if t_worldSprite.radius ~= nil then + themeSpriteObjects[name].radius = t_worldSprite.radius + elseif spr ~= "" and spr ~= nil then + local w, h = _G.res.getSpriteBounds("", spr) + themeSpriteObjects[name].radius = w * 0.5 * physicsScale * sizeFactor + end + end +end +function inAppPurchasingBecameAvailable() + if iapEnabled ~= true then + iapEnabled = true + if menuManager ~= nil and menuManager:getRoot() ~= nil and menuManager:getRoot().name == "mainMenuRoot" then + menuManager:getRoot():refreshMiddleButtons() + end + end +end +function rotateFlyingBird(name) + if objects.world[name] ~= nil then + local bird = objects.world[name] + local newAngle = _G.math.atan2(bird.yVel, bird.xVel) + if newAngle >= 0.5 * (_G.math.pi) or newAngle <= -0.5 * (_G.math.pi) then + newAngle = newAngle + _G.math.pi + end + setRotation(name, newAngle) + end +end +function enableMightyEagle() + settingsWrapper:setMightyEagleEnabled() +end +function isEagleEnabled() + return settingsWrapper:isMightyEagleEnabled() or isFreeEagleEnabled() +end +function isAdsOffPurchaseEnabled() + return iapEnabled == true and deviceModel == "android" and isPremium ~= true +end +function isIapEnabled() + return iapEnabled == true and (iOS or deviceModel == "android") +end +function showEagleUIElements() + return (isEagleEnabled() or iapEnabled == true) and (iOS or deviceModel == "android") +end +function showEagleScoreElements() + return isIapEnabled() or settingsWrapper:isMightyEagleEnabled() or g_haveEagleScores or isFreeEagleEnabled() +end +function isEagleUnavailableForShot() + local disabled = false + local eagleUsedTimeCheck = settingsWrapper:getEagleUsedTime() ~= nil + local highscoreCheck = highscores[levelName] == nil or (highscores[levelName].score == 0 or highscores[levelName].completed ~= true) and highscores[levelName].eagleScore == nil + local currentLevelCheck = eagleUsedInCurrentLevel ~= true + local timeCheck = settingsWrapper:getEagleUsedTime() ~= nil and timeDiff(currentTime(), settingsWrapper:getEagleUsedTime()) < eagleLockedTime + if eagleUsedTimeCheck and highscoreCheck and currentLevelCheck and timeCheck then + disabled = true + end + print(" ---------- isEagleUnavailableForShot == " .. _G.tostring(disabled)) + return disabled +end +function unlockFreeEagle(source) + local free_eagle_previously_available = isFreeEagleEnabled() + g_freeEagleUnlockStatus[source] = {one_shot = false, enabled = true} + if not free_eagle_previously_available then + eventManager:notify({ + id = events.EID_FREE_EAGLE_ENABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_AVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became available\n") +end +function lockFreeEagle(source) + if g_freeEagleUnlockStatus[source] == nil then + return + end + g_freeEagleUnlockStatus[source].enabled = false + if not isFreeEagleEnabled() then + eventManager:notify({ + id = events.EID_FREE_EAGLE_DISABLED + }) + end + eventManager:notify({ + id = events.EID_FREE_EAGLE_BECAME_UNAVAILABLE, + source = source + }) + print("free eagle from " .. _G.tostring(source) .. " became unavailable\n") +end +function isFreeEagleEnabled() + for _, v in _G.pairs(g_freeEagleUnlockStatus) do + if v.enabled then + return true + end + end + local _, episode, _, _ = getLevelById(levelName) + if episode and g_episodes[episode].mightyPower and g_episodes[episode].mightyPower.free and g_eagleClickedFrom ~= "MAIN_MENU" then + return true + end + return false +end +function stopIngameSounds() + _G.res.stopAudio(currentMusic) + _G.res.stopAudio("wood_rolling") + _G.res.stopAudio("rock_rolling") + _G.res.stopAudio("light_rolling") +end +function getStarCount(level, score) + if score >= starTable[level].goldScore then + return 3 + elseif score >= starTable[level].silverScore then + return 2 + end + return 1 +end +function logwarning(s) + print("WARNING: " .. _G.tostring(s) .. "\n") +end +function logerror(s) + print("ERROR: " .. _G.tostring(s) .. "\n") +end +function loginfo(s) + print("INFO: " .. _G.tostring(s) .. "\n") +end +function keyCombination(a, b) + return (not keyHold[a] or not keyPressed[b]) and keyPressed[a] and keyHold[b] +end +function isRetinaGraphicsEnabled() + return false +end +function updateAvailable(isUpdateAvailable) + print(" update available: " .. _G.tostring(isUpdateAvailable) .. "\n") + g_updateAvailable = isUpdateAvailable + if isUpdateAvailable then + eventManager:notify({ + id = events.EID_UPDATE_AVAILABLE + }) + end +end +function useAds() + return deviceModel == "android" and not settingsWrapper:isPremium() +end +function applyForce(name, dirX, dirY, objectX, objectY) + _G.table.insert(g_forceFunctions, function() + if objects.world[name] ~= nil then + applyForceNative(name, dirX, dirY, objectX, objectY) + end + end) +end +function clearLuaForceFunctions() + g_forceFunctions = {} +end +function updateObjectProperties(name, positionx, positiony, velocityx, velocityy, angle, sleeping, outsideBoundaries) + local block = objects.world[name] + block.x = positionx + block.y = positiony + block.xVel = velocityx + block.yVel = velocityy + block.angle = angle + block.sleeping = sleeping + block.outsideBoundaries = outsideBoundaries +end +function applyForcesAtPhysicsStep() + for i, v in _G.ipairs(g_forceFunctions) do + v() + end +end +function currentGameMode(dt, time) +end + +function playAudioOfObject(k, dt, dist) + + local objDef = getObjectDefinition(k) + local object = objects.world[k] + local audioInfo = objDef.audioInfo + + local alwaysPlay = audioInfo.alwaysPlay or false + -- If alwaysPlay is true then it won't check the distance of the audio + local checkDistance = not alwaysPlay + + local loopAudio = audioInfo.loop or false + local audioToPlay = audioInfo.audio or "bird_01_flying" + local audioVolume = audioInfo.volume or 1 + + if object.alreadyDisabledAudio == nil then + object.alreadyDisabledAudio = false + end + + if object.alreadyDisabledAudio == false then + if checkDistance == true then + audioVolume = audioVolume - dist / 1000 + if audioVolume > 0 then + object.playAudio = true + else + if _G.res.isAudioPlaying(audioToPlay) == true then + _G.res.stopAudio(audioToPlay) + object.alreadyDisabledAudio = true + end + object.playAudio = false + end + else + object.playAudio = true + end + end + + if object.playAudio == true then + if loopAudio == true then + if _G.res.isAudioPlaying(audioToPlay) == false then + _G.res.playAudio(audioToPlay, audioVolume, true, 4) + end + else + local audioLoopTime = audioInfo.loopTime or 1 + + if object.elapsedAudioTime == nil then + object.elapsedAudioTime = audioLoopTime + if audioInfo.playImmediately == true then + _G.res.playAudio(audioToPlay, audioVolume, false, 4) + end + end + if object.elapsedAudioTime ~= nil then + object.elapsedAudioTime = object.elapsedAudioTime - dt + if object.elapsedAudioTime <= 0 then + object.elapsedAudioTime = audioLoopTime + _G.res.playAudio(audioToPlay, audioVolume, false, 4) + end + end + end + end +end +function spawnParticlesOfObject(k, dt, v) + + local objDef = getObjectDefinition(k) + local object = objects.world[k] + local particlesInfo = objDef.spawnParticles + + local particle = particlesInfo.particle + local particleAmount = _G.math.abs(particlesInfo.amount) + local particleLoopTime = _G.math.abs(particlesInfo.loopTime) or 1 + local waitingTime = _G.math.abs(particlesInfo.waitingTime) or 1 + + if object.elapsedParticleTime == nil then + object.elapsedParticleTime = waitingTime + end + + object.elapsedParticleTime = object.elapsedParticleTime - dt + + if object.elapsedParticleTime < 0 then + object.elapsedParticleTime = particleLoopTime + addParticles(v.name, particle, particleAmount, true, false) + end + +end +function playAnimation(k, dt) + local objDef = getObjectDefinition(k) + local object = objects.world[k] + local animationInfo = objDef.animationSprites + if object.elapsedTime == nil then + object.elapsedTime = animationInfo[1][2] + setSprite(object.name, animationInfo[1][1]) + end + if object.elapsedTime ~= nil then + + local spritesAmount = #animationInfo + + if object.spriteIndex == nil then + object.spriteIndex = 2 + end + + object.elapsedTime = object.elapsedTime - dt + if object.elapsedTime < 0 then + --setVelocity(v1.name, 0, -10) + if object.spriteIndex > spritesAmount then + object.spriteIndex = 1 + end + setSprite(object.name, animationInfo[object.spriteIndex][1]) + object.elapsedTime = animationInfo[object.spriteIndex][2] + object.spriteIndex = object.spriteIndex+1 + end + end +end + +filename = "gamelogic.lua" + diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ChallengePage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/EventManager.lua b/Angry Birds Project R/2.3.0/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/animation_tutorials.lua b/Angry Birds Project R/2.3.0/data/scripts_common/animation_tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..3feac718879945c129c8d8885dd46be51c2d6e82 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/animation_tutorials.lua @@ -0,0 +1,5781 @@ +g_tutorial_animations = { + TUTORIAL_1 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_RED", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_BIG_01", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "redBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_1_PIG = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "RED_PIG_NORMAL", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "EGG_HELMET_1", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_FLY" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "smokeBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_2 = { + duration = 5.5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BLUE", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_LIGHT_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird2", + sprite = "BIRD_BLUE", + x = 0, + y = 0, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird2", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird2", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = 48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird2" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird3", + sprite = "BIRD_BLUE", + x = -35, + y = -34, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird3", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird3", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = -48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird3" + }, + { + time = 2.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.7, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.8, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.8, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.9, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird2", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird3", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 140, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 92, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 188, + y = 60 + } + } + }, + TUTORIAL_3 = { + duration = 5.3, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_YELLOW", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1.25 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 140, + y = 90, + duration = 0.25 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_SPECIAL" + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.65, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.65, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.7, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.7, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.75, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.75, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_COLLISION" + }, + { + time = 2.8, + action = "particles", + effect = "yellowBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_4 = { + duration = 10.8, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "delete_sprite", + name = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + }, + { + time = 2.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 11, + y = -18 + }, + {time = 5.1, action = "clear_all"}, + { + time = 5.1, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 5.1, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 5.1, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 6.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 6.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 7.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 7.2, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 7.5, + action = "delete_sprite", + name = "pig" + }, + { + time = 7.5, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_1" + }, + { + time = 7.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_2" + }, + { + time = 7.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_3" + }, + { + time = 8.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 8.3, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 140, + y = 90 + }, + { + time = 8.3, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + } + } + }, + TUTORIAL_5 = { + duration = 5.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREEN", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 50, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig2", + sprite = "PIGLETTE_SMALL_01", + x = 120, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_SPECIAL" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 285, + y = -200, + duration = 0.4 + }, + { + time = 2.7, + action = "create_sprite", + name = "egg", + sprite = "DROPPABLE_EGG", + x = 0, + y = 0, + z = 0.3, + id = "ge1" + }, + { + time = 2.7, + action = "set_sprite_position", + name = "egg", + target = "bird" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "egg", + type = "line-y", + y = 85, + duration = 0.2 + }, + { + time = 2.9, + action = "delete_sprite", + name = "egg", + id = "ge2" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig2" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 50, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 120, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "eggShells", + amount = 5, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "set_sprite_fade", + sprite = "bird", + alpha = 0, + duration = 0.2 + } + } + }, + TUTORIAL_6 = { + duration = 6.2, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_4X4_1", + x = 0, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_6", + x = 0, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -155, + y1 = -100, + x2 = 108, + y2 = -78, + x3 = 223, + y3 = 23, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1.7 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 239, + y1 = -22, + x2 = 239, + y2 = 57, + x3 = 72, + y3 = 92, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_SPECIAL" + }, + { + time = 2.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 8 + }, + { + time = 3.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 100, + y = 85 + }, + { + time = 3.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_COLLISION" + }, + { + time = 3.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3.7, + action = "particles", + effect = "boomerangBuff", + amount = 12, + x = 72, + y = 90 + } + } + }, + TUTORIAL_7 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -206, + y = -46, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BIG_BROTHER", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 20, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 180, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_1_5", + x = 30, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block4", + sprite = "BLOCK_ROCK_1_5", + x = 170, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block5", + sprite = "BLOCK_WOOD_1_5", + x = 58, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block6", + sprite = "BLOCK_LIGHT_1_5", + x = 141, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -206, + y1 = -46, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -206, + y1 = -46, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -320, + y = -36, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -320, + y1 = -36, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -320, + y1 = -36, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 61, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.05, + action = "delete_sprite", + name = "block5" + }, + { + time = 2.05, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 58, + y = 0, + w = 205, + h = 20 + }, + { + time = 2.1, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.1, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 30, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.2, + action = "delete_sprite", + name = "block6" + }, + { + time = 2.2, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 141, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 20, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block4" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 170, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.3, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 180, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 99, + y = 90 + }, + { + time = 2.5, + action = "particles", + effect = "bigBrotherBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_8 = { + duration = 6.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BAIT_SARDINE", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 54, + y1 = -30, + x2 = 97, + y2 = -30, + x3 = 140, + y3 = -10, + duration = 0.4 + }, + { + time = 3, + action = "create_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + x = -256, + y = -128, + z = 0.55, + angle = 0.4 + }, + { + time = 3, + action = "set_sprite_alpha", + sprite = "eagle", + alpha = 0 + }, + { + time = 3, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 1 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 140, + y = 85, + duration = 0.45 + }, + { + time = 3.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 3.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3.45, + action = "set_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_RADIAL" + }, + { + time = 3.45, + action = "set_angular_velocity", + sprite = "eagle", + angular_velocity = 16 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 256, + y = 20, + duration = 0.2 + }, + { + time = 3.75, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 0 + }, + { + time = 3.85, + action = "delete_sprite", + name = "eagle" + } + } + }, + TUTORIAL_9 = { + duration = 5.1, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PUFFER_1", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_PUFFER_2" + }, + { + time = 2.6, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + } + } + }, + TUTORIAL_10 = { + duration = 6, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PINK", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 131, + y2 = -51, + x3 = 230, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 0.5 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "create_sprite", + name = "birdbubble", + sprite = "P_BIRDBUBBLE_3", + x = 145, + y = -15, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "pigbubble", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 85, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble1", + sprite = "P_BIRDBUBBLE_3", + x = 90, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble2", + sprite = "P_BIRDBUBBLE_3", + x = 190, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble3", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 10, + z = 0.7 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "birdbubble", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pigbubble", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 3.7, + action = "delete_sprite", + name = "birdbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "pigbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble1" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble2" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble3" + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 135, + y = -55 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 80, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 195, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 145, + y = -135 + }, + { + time = 3.7, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.7, + action = "particles", + effect = "pinkBuff", + amount = 5, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = 85, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = 90, + duration = 0.5 + }, + { + time = 4, + action = "delete_sprite", + name = "pig" + }, + { + time = 4, + action = "delete_sprite", + name = "block1" + }, + { + time = 4, + action = "delete_sprite", + name = "block2" + }, + { + time = 4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 135, + y = 85 + }, + { + time = 4, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 80, + y = 60, + w = 41, + h = 83 + }, + { + time = 4, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 195, + y = 60, + w = 41, + h = 83 + }, + { + time = 4.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 4, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 145, + y = 90, + w = 205, + h = 20 + } + } + }, + TUTORIAL_11 = { + duration = 10, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "DRAGON_FISH", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = -46, + y2 = -51, + x3 = 40, + y3 = 60, + duration = 1 + }, + { + time = 1.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 2 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3, + action = "create_sprite", + name = "dragon1", + sprite = "MDRAGON_1", + x = -256, + y = -128, + z = 0.55, + angle = 0.8 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 10, + y = 20, + duration = 1 + }, + { + time = 3.1, + action = "create_sprite", + name = "dragon2", + sprite = "MDRAGON_2", + x = -256, + y = -128, + z = 0.54, + angle = 0.65 + }, + { + time = 3.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 8, + y = 18, + duration = 1 + }, + { + time = 3.25, + action = "create_sprite", + name = "dragon3", + sprite = "MDRAGON_3", + x = -256, + y = -128, + z = 0.53, + angle = 0.63 + }, + { + time = 3.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 6, + y = 16, + duration = 1 + }, + { + time = 3.4, + action = "create_sprite", + name = "dragon4", + sprite = "MDRAGON_4", + x = -256, + y = -128, + z = 0.52, + angle = 0.61 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 4, + y = 14, + duration = 1 + }, + { + time = 3.55, + action = "create_sprite", + name = "dragon5", + sprite = "MDRAGON_5", + x = -256, + y = -128, + z = 0.51, + angle = 0.59 + }, + { + time = 3.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 2, + y = 12, + duration = 1 + }, + { + time = 3.63, + action = "create_sprite", + name = "dragon6", + sprite = "MDRAGON_6", + x = -256, + y = -128, + z = 0.5, + angle = 0.57 + }, + { + time = 3.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 0, + y = 10, + duration = 1 + }, + { + time = 3.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 205, + h = 20 + }, + { + time = 3.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.7, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 4, + action = "delete_sprite", + name = "bird" + }, + { + time = 4, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1 + }, + { + time = 4, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = -3 + }, + { + time = 4.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.1 + }, + { + time = 4.15, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = -3.5 + }, + { + time = 4.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.2 + }, + { + time = 4.3, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = -3.5 + }, + { + time = 4.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.3 + }, + { + time = 4.45, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = -3.5 + }, + { + time = 4.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.4 + }, + { + time = 4.6, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = -3.5 + }, + { + time = 4.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.5 + }, + { + time = 4.68, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = -3.5 + }, + { + time = 5, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 6, + action = "delete_sprite", + name = "pig" + }, + { + time = 6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 85 + }, + { + time = 6, + action = "delete_sprite", + name = "block2" + }, + { + time = 6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 60, + w = 205, + h = 20 + }, + { + time = 6, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = 0 + }, + { + time = 6.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.45, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = 0 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.6, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = 0 + }, + { + time = 6.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.75, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = 0 + }, + { + time = 6.7, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = 0 + }, + { + time = 6.83, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = 0 + }, + { + time = 7, + action = "delete_sprite", + name = "dragon1" + }, + { + time = 7.15, + action = "delete_sprite", + name = "dragon2" + }, + { + time = 7.3, + action = "delete_sprite", + name = "dragon3" + }, + { + time = 7.45, + action = "delete_sprite", + name = "dragon4" + }, + { + time = 7.6, + action = "delete_sprite", + name = "dragon5" + }, + { + time = 7.68, + action = "delete_sprite", + name = "dragon6" + } + } + } +} +function getTutorialScale() + if deviceModel == "ipad" and screenWidth == 2048 then + return 2 + elseif deviceModel == "iphone" and screenWidth >= 960 then + return 1 + else + if screenHeight < 320 then + return screenHeight / 320 * 0.5 + elseif screenHeight < 768 then + return (screenHeight - 320) / 448 * 0.5 + 0.5 + end + return 1 + end +end +AnimatedTutorial = ui.BackgroundBox:inherit() +function AnimatedTutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = g_tutorial_animations[_ARG_1_] + _ARG_2_ or {}.tutorial_id = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function AnimatedTutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AnimatedTutorial.onEntry(_ARG_0_) + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.draw_list = {} + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function AnimatedTutorial.onExit(_ARG_0_) + _G.particles.clear("menu") + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function AnimatedTutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_.width = _G.math.floor(552 * getTutorialScale()) + _ARG_0_.height = _G.math.floor(360 * getTutorialScale()) + _ARG_0_:getChild("close").x = 552 * getTutorialScale() * 0.35 + _ARG_0_:getChild("close").y = 360 * getTutorialScale() * 0.6 + for _FORV_10_, _FORV_11_ in _G.ipairs(_ARG_0_.children) do + _FORV_11_.scaleY, _FORV_11_.scaleX = 1, 1 + end +end +if not g_isAccelerometerControl then + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.tutorial_id == "TUTORIAL_5" and not g_white_bird_tutorial_ge_disabled and _ARG_0_.time >= 2.7 and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and _ARG_2_ >= _ARG_0_.x + _ARG_0_.width * -0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y + _ARG_0_.height * -0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end +end +function AnimatedTutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.ipairs(_ARG_0_.draw_list) do + if _FORV_8_.type == "sprite" then + if _FORV_8_.alpha then + setAlpha(_FORV_8_.alpha) + end + setRenderState((_ARG_0_.x + _FORV_8_.x * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x), (_ARG_0_.y + _FORV_8_.y * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y), getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x, getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y, _FORV_8_.angle or 0, _G.res.getSpritePivot(_FORV_8_.sprite)) + _G.res.drawSprite(_FORV_8_.sprite, 0, 0) + if _FORV_8_.alpha then + setAlpha(1) + end + elseif _FORV_8_.type == "line" then + setRenderState(_ARG_0_.x / getTutorialScale(), _ARG_0_.y / getTutorialScale(), getTutorialScale(), getTutorialScale(), 0, 0, 0) + drawLine2D(_FORV_8_.x1, _FORV_8_.y1, _FORV_8_.x2, _FORV_8_.y2, _FORV_8_.width, _FORV_8_.r, _FORV_8_.g, _FORV_8_.b, _FORV_8_.a or 255) + end + end + g_menu_particle_scale = getTutorialScale() + drawMenuParticlesInAdvance() +end +function AnimatedTutorial.getTutorialSpriteScale(_ARG_0_, _ARG_1_) + if contains({ + "TUTORIAL_GROUND", + "TUTORIAL_BACKGROUND", + "TUTORIAL_FINGER_BIG", + "TUTORIAL_FINGER_CLICK", + "TUTORIAL_FINGER_SLIDE" + }, _ARG_1_) and true then + return 0.5 + end + return 1 +end +function AnimatedTutorial.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.time = _ARG_0_.time + _ARG_1_ + if _ARG_0_.time >= _ARG_0_.tutorial.duration then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + clearParticles() + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.sprites) do + if _FORV_7_.movement_pause and _ARG_0_.time >= _FORV_7_.movement_pause then + _FORV_7_.movement_pause = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x1 - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y1 - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.x0, _FORV_7_.movement.x1, _FORV_7_.movement.x2, _FORV_7_.movement.x3) + _FORV_7_.y = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.y0, _FORV_7_.movement.y1, _FORV_7_.movement.y2, _FORV_7_.movement.y3) + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + end + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = _FORV_7_.movement.x1 + _FORV_7_.y = _FORV_7_.movement.y1 + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = _FORV_7_.movement.x3 + _FORV_7_.y = _FORV_7_.movement.y3 + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + _FORV_7_.movement.x + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + _FORV_7_.movement.y + end + _FORV_7_.movement = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time < _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + if _ARG_0_.time >= _FORV_7_.emitter.pos then + _FORV_7_.emitter.pos = _FORV_7_.emitter.pos + _FORV_7_.emitter.interval + _ARG_0_.sprites["emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_)] = { + name = "emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_), + type = "sprite", + sprite = _FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)], + x = _FORV_7_.x, + y = _FORV_7_.y, + z = _FORV_7_.emitter.z, + scale_x = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]), + scale_y = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]) + } + _ARG_0_:refreshDrawList() + end + elseif not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time >= _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + _FORV_7_.emitter = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time < _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = tweenLinear(_ARG_0_.time - _FORV_7_.alpha_fade.begin, _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.a1 - _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.duration) + elseif not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time >= _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = _FORV_7_.alpha_fade.a1 + _FORV_7_.alpha_fade = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.angular_velocity then + _FORV_7_.angle = _FORV_7_.angle + _FORV_7_.angular_velocity * _ARG_1_ + end + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.lines) do + if _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x10, _FORV_7_.movement.x1 - _FORV_7_.movement.x10, _FORV_7_.movement.duration) + _FORV_7_.y1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y10, _FORV_7_.movement.y1 - _FORV_7_.movement.y10, _FORV_7_.movement.duration) + _FORV_7_.x2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x20, _FORV_7_.movement.x2 - _FORV_7_.movement.x20, _FORV_7_.movement.duration) + _FORV_7_.y2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y20, _FORV_7_.movement.y2 - _FORV_7_.movement.y20, _FORV_7_.movement.duration) + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = _FORV_7_.movement.x1 + _FORV_7_.y1 = _FORV_7_.movement.y1 + _FORV_7_.x2 = _FORV_7_.movement.x2 + _FORV_7_.y2 = _FORV_7_.movement.y2 + _FORV_7_.movement = nil + end + if _FORV_7_.width_change and _ARG_0_.time < _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = tweenLinear(_ARG_0_.time - _FORV_7_.width_change.begin, _FORV_7_.width_change.w0, _FORV_7_.width_change.w1 - _FORV_7_.width_change.w0, _FORV_7_.width_change.duration) + elseif _FORV_7_.width_change and _ARG_0_.time >= _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = _FORV_7_.width_change.w1 + _FORV_7_.width_change = nil + end + end + while _ARG_0_.tutorial.events[_ARG_0_.cursor] and _ARG_0_.time >= _ARG_0_.tutorial.events[_ARG_0_.cursor].time do + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge1" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "BLOCK_GOLDEN_EGG" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "DROPPABLE_EGG" + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge2" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "disabled" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "delete_sprite" + end + end + end + if _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "sprite", + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + angle = _ARG_0_.tutorial.events[_ARG_0_.cursor].angle or 0, + scale_x = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite), + scale_y = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite) + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "delete_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = nil + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_movement" then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line-y" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = "line", + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "bezier-cubic" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + x3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x3, + y3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y3 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "relative-linear" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + target = _ARG_0_.tutorial.events[_ARG_0_.cursor].target, + x0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x0, + y0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y0, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "particles" then + _G.particles.addParticles(_ARG_0_.tutorial.events[_ARG_0_.cursor].effect, _ARG_0_.tutorial.events[_ARG_0_.cursor].amount, _ARG_0_.x + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].x, _ARG_0_.y + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].y, (_ARG_0_.tutorial.events[_ARG_0_.cursor].w or 0) * getTutorialScale(), (_ARG_0_.tutorial.events[_ARG_0_.cursor].h or 0) * getTutorialScale(), 0, true, true) + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_line" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "line", + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + r = _ARG_0_.tutorial.events[_ARG_0_.cursor].r, + g = _ARG_0_.tutorial.events[_ARG_0_.cursor].g, + b = _ARG_0_.tutorial.events[_ARG_0_.cursor].b, + a = _ARG_0_.tutorial.events[_ARG_0_.cursor].a, + width = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_movement" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + x10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x1, + y10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y1, + x20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x2, + y20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y2, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_width_change" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width_change = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + w0 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width, + w1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_emitting" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + interval = _ARG_0_.tutorial.events[_ARG_0_.cursor].interval, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + pos = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_position" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].x = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].x + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].y = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].y + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "copy_emitter" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter = {} + for _FORV_9_, _FORV_10_ in _G.pairs(_ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].from].emitter) do + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter[_FORV_9_] = _FORV_10_ + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "pause_sprite_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement_pause = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + if _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_alpha" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_fade" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha_fade = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + a0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha or 1, + a1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "clear_all" then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_angular_velocity" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].angular_velocity = _ARG_0_.tutorial.events[_ARG_0_.cursor].angular_velocity + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "stop_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = nil + end + _ARG_0_.cursor = _ARG_0_.cursor + 1 + end +end +function AnimatedTutorial.refreshDrawList(_ARG_0_) + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.sprites) do + _G.table.insert({}, _FORV_6_) + end + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.lines) do + _G.table.insert({}, _FORV_6_) + end + _G.table.sort({}, function(_ARG_0_, _ARG_1_) + return _ARG_0_.z < _ARG_1_.z + end) + _ARG_0_.draw_list = {} +end +filename = "animated_tutorial.lua" diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/challenges.lua b/Angry Birds Project R/2.3.0/data/scripts_common/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/challenges.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/default_conf.lua b/Angry Birds Project R/2.3.0/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..83512db9f055abe97f3c63175703d8c42692f0e4 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/desktop.ini b/Angry Birds Project R/2.3.0/data/scripts_common/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..74ddc1323b48f35f87c2fe87da869d4ad26c2d6b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,72 diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/2.3.0/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..72ab5e70808efeb50baab94f51678796a7049232 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/events.lua b/Angry Birds Project R/2.3.0/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..cb6f5d2c5196ad5c87db1230b2a5f92bc289a7a2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/gamelogic.lua b/Angry Birds Project R/2.3.0/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..400b302aee9c94949bac11eb4855894dba87ac08 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/2.3.0/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/howdoiplay.lua b/Angry Birds Project R/2.3.0/data/scripts_common/howdoiplay.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d8df9f6d131ae48e02b99002c12ddc8d8e13494 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/howdoiplay.lua @@ -0,0 +1,192 @@ +g_tutorialSprites = { + TUTORIAL_1 = "TUTORIAL_RED", + TUTORIAL_1_PIG = "RED_PIG_NORMAL", + TUTORIAL_2 = "TUTORIAL_BLUE", + TUTORIAL_3 = "TUTORIAL_YELLOW", + TUTORIAL_4 = "TUTORIAL_BLACK", + TUTORIAL_5 = "TUTORIAL_WHITE", + TUTORIAL_6 = "TUTORIAL_BOOMERANG", + TUTORIAL_7 = "TUTORIAL_BIG_BROTHER", + TUTORIAL_8 = "TUTORIAL_MIGHTYEAGLE", + TUTORIAL_9 = "TUTORIAL_PUFFER" +} +function showTrackpadTutorials() + return not g_usingGestureControls and g_usedGestureControls and isInFullScreenMode() +end +g_platformTutorials = { + osx = { + { + id = "TUTORIAL_OSX_1", + sprite = "TUTORIAL_TRACKPAD_1", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_2", + sprite = "TUTORIAL_TRACKPAD_2", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_3", + sprite = "TUTORIAL_TRACKPAD_3", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_4", + sprite = "TUTORIAL_TRACKPAD_4", + ignore_size = true, + condition = showTrackpadTutorials + } + }, + roku = { + { + id = "TUTORIAL_ROKU_1", + sprite = "TUTORIAL_CAMERA", + ignore_size = true + }, + { + id = "TUTORIAL_ROKU_2", + sprite = "TUTORIAL_ZOOMING", + ignore_size = true + } + } +} +function addTutorial(_ARG_0_, _ARG_1_) + if _G.type(_ARG_1_) == "string" then + _G.table.insert(_ARG_0_, {sprite = _ARG_1_}) + return true + elseif _G.type(_ARG_1_) == "table" and (not _ARG_1_.condition or _ARG_1_.condition and _ARG_1_.condition()) then + _G.table.insert(_ARG_0_, _ARG_1_) + return true + end + return false +end +function getTutorialSprite(_ARG_0_) + if _G.type(_ARG_0_) == "string" then + return _ARG_0_ + elseif _G.type(_ARG_0_) == "table" then + return _ARG_0_.sprite + end + return nil +end +Tutorial = ui.BackgroundBox:inherit() +function Tutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function Tutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.Image:new().name = "tutorial" + if _G.type(_ARG_0_.tutorial) == "table" then + ui.Image:new():setImage(_ARG_0_.tutorial.sprite) + _ARG_0_.tutorial_sprite = _ARG_0_.tutorial.sprite + elseif _G.type(_ARG_0_.tutorial) == "string" then + ui.Image:new():setImage(g_tutorialSprites[_ARG_0_.tutorial]) + _ARG_0_.tutorial_sprite = g_tutorialSprites[_ARG_0_.tutorial] + end + _ARG_0_:addChild((ui.Image:new())) + if _ARG_0_.tutorial == "TUTORIAL_5" and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + ui.ImageButton:new().name = "goldenEgg" + ui.ImageButton:new():setImage("GOLDEN_EGG_1") + ui.ImageButton:new().scaleX = 0.4 + ui.ImageButton:new().scaleY = 0.4 + ui.ImageButton:new().returnValue = "COLLECT_GOLDEN_EGG" + _ARG_0_:addChild((ui.ImageButton:new())) + end + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function Tutorial.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function Tutorial.onExit(_ARG_0_) + ui.BackgroundBox.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function Tutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + end + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + for _FORV_8_, _FORV_9_ in _G.pairs(g_tutorialSprites) do + end + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _FORV_8_, _FORV_9_ in _G.pairs(g_platformTutorials[deviceModel]) do + end + end + _ARG_0_.width = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + _ARG_0_.height = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").x = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * 0.18 * 2 + _ARG_0_:getChild("goldenEgg").y = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * -0.1 * 2 + end + _ARG_0_:getChild("close").x = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.35 * 2 + _ARG_0_:getChild("close").y = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.6 * 2 + for _FORV_22_, _FORV_23_ in _G.ipairs(_ARG_0_.children) do + _FORV_23_.scaleY, _FORV_23_.scaleX = 2, 2 + end +end +function Tutorial.collectGoldenEgg(_ARG_0_) + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").visible = false + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end +end +if not g_isAccelerometerControl then + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "COLLECT_GOLDEN_EGG" then + _ARG_0_:collectGoldenEgg() + elseif ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end + function Tutorial.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BUTTON_A" then + _ARG_0_:collectGoldenEgg() + end + end +end +function Tutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +filename = "tutorials.lua" diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/iap_new.lua b/Angry Birds Project R/2.3.0/data/scripts_common/iap_new.lua new file mode 100644 index 0000000000000000000000000000000000000000..a939aac47ebe419cefdc58780f4f48d78742596e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/iap_new.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/level_effects.lua b/Angry Birds Project R/2.3.0/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9ca8bf271c232bbf996c532b9e20f0e4752b073 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/level_utils.lua b/Angry Birds Project R/2.3.0/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/ChallengePage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCanimated_tutorial.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCanimated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..9871f7e2ce23fa1d7b06a1edbb361008fedcac39 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCanimated_tutorial.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCmain_menu.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCmain_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..d152b9cec47870a5a911b12d5ed499c7ae59e10e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCmain_menu.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCtutorials.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCtutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a1e5ba530c3c0843944887dc04a0fac4961169c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ENCtutorials.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..6c64988e876c2f54c53b6bc56c7f5765bfaa4107 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c6397391e323e68dd141f5947ad52c01010d1b1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..ba50343339d2775f80db502611870c09d500f27e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/about.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/about.lua new file mode 100644 index 0000000000000000000000000000000000000000..a49a402e4f581d5c35c55a4aa3be485b507c47e5 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/menus/about.lua @@ -0,0 +1,217 @@ +Credits = MainMenuRoot:inherit() +function Credits.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + ui.ImageButton:new().name = "backButton" + ui.ImageButton:new():setImage("ARROW_LEFT") + ui.ImageButton:new().returnValue = "RETURN_TO_MAIN_MENU" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new().clickSound = "menu_back" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Frame:new().name = "creditsFrame" + _ARG_0_:addChild((ui.Frame:new())) + ui.Image:new().name = "birds1" + ui.Image:new():setImage("ABOUT_BIRDS_1") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds2" + ui.Image:new():setImage("ABOUT_BIRDS_2") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds3" + ui.Image:new():setImage("ABOUT_BIRDS_3") + ui.Frame:new():addChild((ui.Image:new())) + if g_hasWebBrowser then + ui.ImageButton:new().name = "privacyButton" + ui.ImageButton:new():setImage("BUTTON_PRIVACY") + ui.ImageButton:new().returnValue = "GOTO_PRIVACY_POLICY" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "eulaButton" + ui.ImageButton:new():setImage("BUTTON_EULA") + ui.ImageButton:new().returnValue = "GOTO_EULA" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + end + ui.Text:new({font = getFontBasic}).name = "textAbout" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + _ARG_0_:setupAboutText() + ui.Text:new({font = getFontBasic}).name = "textCredits" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Text:new({font = getFontBasic}).text = "TEXT_CREDITS" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + if applyChinaRestictions then + ui.Image:new().name = "textAdditionalCredits" + ui.Image:new():setImage("TOM_CREDITS_S60") + ui.Frame:new():addChild((ui.Image:new())) + end + if g_hasWebBrowser then + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "privacyButton", + [4] = "eulaButton", + [5] = "birds2", + [6] = "textCredits", + [7] = "birds3" + } + else + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "birds2", + [4] = "textCredits", + [5] = "birds3" + } + end + if deviceModel == "s60" and applyChinaRestictions then + _G.table.insert(_ARG_0_.items, 7, "textAdditionalCredits") + end +end +function Credits.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "credits", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function Credits.setupAboutText(_ARG_0_) + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT" + if deviceModel == "iphone" or deviceModel == "iphone4" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CLICKGAMER" + end + if deviceModel == "ipad" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CHILLINGO" + end + if deviceModel == "s60" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_S60" + end + if deviceModel == "palm" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_PALM" + end + if deviceModel == "android" then + if isHDVersion then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + else + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID" + end + end + if deviceModel == "blackberry" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + end + _ARG_0_:getChild("textAbout").text = _G.res.getString("TEXTS_BASIC", _ARG_0_:getChild("textAbout").text) + _ARG_0_:getChild("textAbout").text = _G.string.gsub(_ARG_0_:getChild("textAbout").text, "(%$GAME_VERSION)", gameVersionNumber .. " (" .. svnRevisionNumber .. ") - " .. customerString) + _ARG_0_:getChild("textAbout"):clip() +end +function Credits.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + _ARG_0_.state = "RELEASED" + _ARG_0_.scroll = 0 + _ARG_0_.extra_velocity = 0 + _ARG_0_:getChild("textCredits"):clip() +end +function Credits.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + _ARG_0_:setupAboutText() + _ARG_0_.total_height = 0 + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.items) do + if _FORV_6_ > 1 then + _ARG_0_.total_height = _ARG_0_.total_height + screenHeight * 0.05 + end + _ARG_0_:getChild(_FORV_7_).x = screenWidth * 0.5 + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_.total_height + if _ARG_0_:getChild(_FORV_7_).text then + if deviceModel == "freebox" then + _ARG_0_:getChild(_FORV_7_).scaleX = 1.5 + _ARG_0_:getChild(_FORV_7_).scaleY = 1.5 + end + setFont(_ARG_0_:getChild(_FORV_7_).font) + _ARG_0_:getChild(_FORV_7_).textBoxSize = _G.math.min(screenWidth * 0.77, _G.res.getFontLeading() * 1.5 * 20) + _ARG_0_:getChild(_FORV_7_):clip() + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines + elseif _ARG_0_:getChild(_FORV_7_).image then + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) + end + end + _ARG_0_:getChild("backButton"):refresh() + _ARG_0_:getChild("backButton").x = _ARG_0_:getChild("backButton").w * 0.5 + g_layoutMargin.x + _ARG_0_:getChild("backButton").y = screenHeight - _ARG_0_:getChild("backButton").h * 0.5 - g_layoutMargin.y + if deviceModel == "roku" then + _ARG_0_:getChild("backButton").y = _ARG_0_:getChild("backButton").h * 0.5 + g_layoutMargin.y + end +end +function Credits.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "RELEASED" then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_1_ * screenHeight * 0.125 + _ARG_0_.extra_velocity * _ARG_1_ + if _G.math.abs(_ARG_0_.extra_velocity) > 0 then + if _ARG_0_.extra_velocity < 0 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity >= 0 then + _ARG_0_.extra_velocity = 0 + end + else + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity - screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity <= 0 then + _ARG_0_.extra_velocity = 0 + end + end + end + else + _ARG_0_.scroll = _ARG_0_.scroll + (_ARG_0_.last_y or _ARG_0_.drag_start) - cursor.y + _ARG_0_.last_y = cursor.y + end + if _ARG_0_.scroll >= _ARG_0_.total_height + screenHeight then + _ARG_0_.scroll = _ARG_0_.scroll - _ARG_0_.total_height - screenHeight + elseif _ARG_0_.scroll < 0 then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_0_.total_height + screenHeight + end + _ARG_0_:getChild("creditsFrame").y = screenHeight - _ARG_0_.scroll +end +function Credits.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "KEY_MENU" or _ARG_2_ == "ESCAPE") then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + end + if _ARG_1_ == "HOLD" and (_ARG_2_ == "DOWN" or _ARG_2_ == "UP") then + if _G.math.abs(_ARG_0_.extra_velocity) < screenHeight then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * (_ARG_2_ == "UP" and -1 or 1) * screenHeight * 16 + end + end +end +function Credits.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == nil then + if _ARG_1_ == "LPRESS" and _ARG_0_.state == "RELEASED" then + _ARG_0_.state = "DRAGGING" + _ARG_0_.drag_start = cursor.y + _ARG_0_.drag_start_time = g_time + _ARG_0_.last_y = cursor.y + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "RETURN_TO_MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_PRIVACY_POLICY" then + gotoPrivacyPolicy() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EULA" then + gotoEula() + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.state == "DRAGGING" then + _ARG_0_.state = "RELEASED" + if g_time - _ARG_0_.drag_start_time ~= 0 then + _ARG_0_.extra_velocity = (_ARG_0_.drag_start - cursor.y) / (g_time - _ARG_0_.drag_start_time) + else + _ARG_0_.extra_velocity = 0 + end + elseif _ARG_1_ == "WHEEL" and _ARG_0_.state == "RELEASED" and _G.math.abs(_ARG_0_.extra_velocity) < screenHeight * 8 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * -cursor.wheel * screenHeight * 16 + end + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +filename = "credits.lua" diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..ad8869998459de9383b4b2a87192057aa4dcde3c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/ads.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ads.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0bd4329f1c9d8ecd122ecacf0dcde39e3270915 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/ads.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..1286a845aec5bca88f3ba5ab760991723c27e0db Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/challenges.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/credits.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..beb62177f65cbdafb67376a38bd9f20fe78b4314 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d642974ba4917b5e4fb4284f6c35265c3884b00 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/cutsenes.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/cutsenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..c4dc2b14565a9f1bd86134228fc57b29d4d2f160 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/menus/cutsenes.lua @@ -0,0 +1,408 @@ +local g_skip_always_allowed = true + +CutScene = ui.Frame:inherit() + +function CutScene:new(cutscene, end_event, o) + local o = o or {} + o.cutscene = cutscene + o.data = cutscenes[cutscene] + o.end_event = end_event + o.name = "CutScene" + return ui.Frame.new(self, o) +end + +function CutScene:init() + ui.Frame.init(self) + + local skip_button = ui.ImageButton:new() + skip_button.name = "skip_button" + if deviceModel == "android" and screenHeight < 320 then + skip_button:setImage("BUTTON_SKIP_CUTSCENE_QVGA") + else + skip_button:setImage("BUTTON_SKIP_CUTSCENE") + end + + skip_button:setVisible(false) + skip_button.activateOnRelease = true + skip_button.returnValue = "SKIP_TO_LEVEL" + self:addChild(skip_button) +end + +function CutScene:prepareForDynamicAssets() + dynamic.setRequirements(self, { settingsWrapper:getCurrentMainMenuTheme(), settingsWrapper:getCurrentMainMenuTheme() .. "_menu" }) +end + +function CutScene:onEntry() + self.scroll_x = 0 + self.scroll_y = 0 + self.scale = 1 + self.offset_x = 0 + self.offset_y = 0 + self.x_multiplier = 1 + self.y_multiplier = 1 + self.dataPosition = 1 + self.timeElapsed = 0 + self.sprites = {} + self.fit = "none" + self.result = nil + self.no_scroll = false + self.borders = true + self.draw_game = false + ui.Frame.onEntry(self) + + _G.res.stopAllAudio() + + if keyHold["LBUTTON"] then + self.ldown = true + end + + if settingsWrapper:canSkipCutscene(self.cutscene) or g_skip_always_allowed then + self:getChild("skip_button"):setVisible(true) + end + + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end + +function CutScene:update(dt, time) + self.timeElapsed = self.timeElapsed + dt + + while self.data[self.dataPosition] and self.data[self.dataPosition].time <= self.timeElapsed do + self:processCommand(self.data[self.dataPosition]) + self.dataPosition = self.dataPosition + 1 + end + + if self.scroll and not self.no_scroll then + local scroll = self.scroll + local scroll_progress + if scroll.type == "linear" then + scroll_progress = (self.timeElapsed - scroll.begin_time) / (scroll.end_time - scroll.begin_time) + elseif scroll.type == "cubic_in_out" then + scroll_progress = tweenEaseCubicInOut(self.timeElapsed - scroll.begin_time, 0, 1, scroll.end_time - scroll.begin_time) + end + if scroll_progress >= 1 then + self.scroll = nil + self.scroll_x = scroll.end_x + self.scroll_y = scroll.end_y + else + self.scroll_x = scroll.begin_x + scroll_progress * (scroll.end_x - scroll.begin_x) + self.scroll_y = scroll.begin_y + scroll_progress * (scroll.end_y - scroll.begin_y) + end + end + + ui.Frame.update(self, dt, time) +end + +function CutScene:processCommand(command) + if command.action == "playsound" then + _G.res.playAudio(command.sound, command.volume or 1, command.loop or false, command.track) + elseif command.action == "createsprite" then + local sprite = + { + image = command.image, + layer = command.layer or 0, + x = command.x * self.x_multiplier, + y = command.y * self.y_multiplier, + z = command.z or 0, + flip_x = command.flip_x or false, + flip_y = command.flip_y or false, + scale_x = command.scale_x or 1, + scale_y = command.scale_y or 1, + angle = command.angle or 0 + } + self.sprites[command.name] = sprite + elseif command.action == "deletesprite" then + self.sprites[command.name] = nil + elseif command.action == "changesprite" then + self.sprites[command.name].image = command.image + elseif command.action == "set_bg_colour" then + setBGColor(command.r, command.g, command.b) + self.backgroundColour = { r = command.r, g = command.g, b = command.b, a = 1.0 } + elseif command.action == "fitheight" then + self.fit = "height" + if command.image then + local image = command.image or self.sprites[command.sprite].image + local sw, sh = self:getCompoSpriteBounds(image) + self.ref_width = sw + self.ref_height = sh + else + self.ref_width = command.width + self.ref_height = command.height + end + self:layout() + print("fitting cutscene to h=" .. self.ref_height .. " scale=" .. self.scale) + elseif command.action == "fitwidth" then + self.fit = "width" + if command.image then + local image = command.image or self.sprites[command.sprite].image + local sw, sh = self:getCompoSpriteBounds(image) + self.ref_width = sw + self.ref_height = sh + else + self.ref_width = command.width + self.ref_height = command.height + end + self:layout() + print("fitting cutscene to w=" .. self.ref_width .. " scale=" .. self.scale) + elseif command.action == "fitcenter" then + self.fit = "center" + self.ref_width = screenWidth + self.ref_height = screenHeight + elseif command.action == "setreferencesize" then + local sw, sh = _G.res.getSpriteBounds(command.image) --self:getCompoSpriteBounds(command.image) + self.x_multiplier = sw / command.width + self.y_multiplier = sh / command.height + elseif command.action == "createnonfullscreencutscene" then + local sprite = + { + image = command.image, + layer = command.layer or 0, + x = command.x * screenWidth, + y = command.y * screenHeight, + z = command.z or 0, + flip_x = command.flip_x or false, + flip_y = command.flip_y or false, + scale_x = command.scale_x or 1, + scale_y = command.scale_y or 1, + angle = command.angle or 0 + } + self.sprites[command.name] = sprite + if command.button then + local bw,bh = _G.res.getSpriteBounds(command.image) + local sprite = + { + image = command.button, + layer = command.layer or 0, + x = command.x * screenWidth + bw * 0.3, + y = command.y * screenHeight + bh * 0.5 , + z = command.z + 0.01 or 0.01, + flip_x = command.flip_x or false, + flip_y = command.flip_y or false, + scale_x = command.scale_x or 1, + scale_y = command.scale_y or 1, + angle = command.angle or 0 + } + self.sprites[command.button] = sprite + end + elseif command.action == "set_scroll_position" then + local target = self.sprites[command.scroll_target.sprite] + local sw, sh = self:getCompoSpriteBounds(target.image) + self.scroll_x = target.x + command.scroll_target.x * sw - command.scroll_cursor.x * (screenWidth / self.scale - self.offset_x * 2) + self.scroll_y = target.y + command.scroll_target.y * sh - command.scroll_cursor.y * (screenHeight / self.scale - self.offset_y * 2) + print("setting scroll position to [" .. self.scroll_x .. ";" .. self.scroll_y .. "]") + --print("offset = [" .. self.offset_x .. ";" .. self.offset_y .. "]") + --print("scroll target = [" .. command.scroll_target.x * sw * self.scale .. ";" .. command.scroll_target.y * sh * self.scale .. "]") + --print("s = [" .. sw .. "x" .. sh .. "]") + elseif command.action == "scroll" then + local scroll = {} + local target = self.sprites[command.scroll_target.sprite] + local sw, sh = self:getCompoSpriteBounds(target.image) + local px, py = _G.res.getSpritePivot(target.image) + local scw = g_cutsceneFilm and _G.math.max(screenWidth, g_cutsceneDimensions.width) or screenWidth + local sch = g_cutsceneFilm and _G.math.max(screenHeight, g_cutsceneDimensions.height) or screenHeight + local cursor_x = self.scroll_x + command.scroll_cursor.x * (scw / self.scale - self.offset_x * 2) + local cursor_y = self.scroll_y + command.scroll_cursor.y * (sch / self.scale - self.offset_y * 2) + local target_x = target.x + command.scroll_target.x * sw + local target_y = target.y + command.scroll_target.y * sh + print("CURSOR: " .. cursor_x .. "; TARGET: " .. target_x) + scroll.begin_x = self.scroll_x + scroll.end_x = self.scroll_x + (target_x - cursor_x) + scroll.begin_y = self.scroll_y + scroll.end_y = self.scroll_y + (target_y - cursor_y) + scroll.begin_time = command.time + scroll.end_time = command.time + command.duration + scroll.type = command.type or "linear" + self.scroll = scroll + elseif command.action == "end" then + settingsWrapper:setCutsceneWatched(self.cutscene) + saveLuaFileWrapper("settings.lua", "settings", true) + if self.end_event then + eventManager:notify(self.end_event) + end + elseif command.action == "toggle_borders" then + self.borders = command.value + elseif command.action == "toggle_draw_game" then + self.draw_game = command.value + end + +end + +function CutScene:getCompoSpriteBounds(sprite) + --local _, _, w, h = _G.res.getCompoSpriteBounds(sprite) + --return w, h + return _G.res.getSpriteBounds(sprite) +end + +function CutScene:layout() + self.offset_x = 0 + self.offset_y = 0 + self.scale = 1 + self.no_scroll = false + local asset_scaling = g_cutscene_asset_scale + if self.fit == "height" then + if (self.ref_height * asset_scaling) > screenHeight then + self.scale = screenHeight / (self.ref_height * asset_scaling) + self.offset_y = 0 + else + self.scale = 1 + self.offset_y = (screenHeight - (self.ref_height * asset_scaling)) * 0.5 + end + + if (self.ref_width * asset_scaling) < screenWidth and not g_cutsceneFilm then + self.offset_x = (screenWidth - (self.ref_width * asset_scaling)) * 0.5 + self.no_scroll = true + end + elseif self.fit == "width" then + if (self.ref_width * asset_scaling) > screenWidth then + self.scale = screenWidth / (self.ref_width * asset_scaling) + self.offset_x = 0 + else + self.scale = 1 + self.offset_x = (screenWidth - (self.ref_width * asset_scaling)) * 0.5 + end + elseif self.fit == "center" then + self.offset_x = (screenWidth - self.ref_width)/2 + self.offset_y = (screenHeight - self.ref_height)/2 + end + + if g_cutsceneFilm then + --if self.fit == "height" then + if screenWidth > g_cutsceneDimensions.width then + self.offset_x = (screenWidth - g_cutsceneDimensions.width) * 0.5 + end + --elseif self.fit == "width" then + if screenHeight > g_cutsceneDimensions.height then + self.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + elseif screenHeight < g_cutsceneDimensions.height then + self.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + end + --end + print(" film strip mode, offset x=" .. _G.tostring(self.offset_x) .. " y=" .. _G.tostring(self.offset_y)) + self.scale = 1 + end + + local skip_button = self:getChild("skip_button") + local sw, sh = _G.res.getSpriteBounds(skip_button.image) + skip_button.x = screenWidth - sw * 0.55 - g_layoutMargin.x + skip_button.y = screenHeight - sh * 0.52 - g_layoutMargin.y + + self.scale = self.scale * asset_scaling + + ui.Frame.layout(self) +end + +function CutScene:onExit() + _G.res.stopAllAudio() + ui.Frame.onExit(self) + + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end + +function CutScene:draw(x, y) + + if self.draw_game then + drawGame() + end + + if g_cutsceneFilm then + local bgw, bgh = _G.res.getSpriteBounds("CUTSCENE_BG") + local bgdim = _G.math.min(bgw, bgh) + local size = _G.math.max(screenWidth, screenHeight) + local scale = _G.math.max(size / bgdim, 1) + setRenderState(0, 0, scale, scale) + _G.res.drawSprite("CUTSCENE_BG", (screenWidth * 0.5) / scale, (screenHeight * 0.5) / scale) + end + + local drawlist = {} + for _, v in _G.pairs(self.sprites) do + _G.table.insert(drawlist, v) + end + _G.table.sort(drawlist, function(a, b) + return a.z < b.z + end) + + local asset_scaling = g_cutscene_asset_scale + + local scale_x = self.scale + local scale_y = self.scale + local offset_x = -_G.math.floor(self.scroll_x) + local offset_y = -_G.math.floor(self.scroll_y) + offset_y = offset_y + self.offset_y / asset_scaling + offset_x = offset_x + self.offset_x + + setRenderState(0, 0, 1, 1) + if not g_cutsceneFilm and self.offset_y > 0 and self.borders then + drawRect(0, 0, 0, 1, 0, 0, screenWidth, _G.math.ceil(self.offset_y), false) + drawRect(0, 0, 0, 1, 0, _G.math.floor(screenHeight - self.offset_y), screenWidth, screenHeight, false) + end + if not g_cutsceneFilm and self.offset_x > 0 and self.borders then + drawRect(0, 0, 0, 1, 0, 0, _G.math.ceil(self.offset_x), screenHeight, false) + drawRect(0, 0, 0, 1, _G.math.floor(screenWidth - self.offset_x), 0, screenWidth, screenHeight, false) + _G.res.setClipRect(self.offset_x, 0, screenWidth - 2 * self.offset_x, screenHeight) + end + if g_cutsceneFilm and self.backgroundColour then + drawRect(self.backgroundColour.r / 255, self.backgroundColour.g / 255, self.backgroundColour.b / 255, 1, self.offset_x, self.offset_y, screenWidth - self.offset_x, screenHeight - self.offset_y, false) + end + if self.offset_y > 0 or self.offset_x > 0 then + _G.res.setClipRect(self.offset_x, self.offset_y, screenWidth - 2 * self.offset_x, screenHeight - 2 * self.offset_y) + end + + for i = 1, #drawlist do + local sprite = drawlist[i] + local flip_x = 1 + local flip_y = 1 + if sprite.flip_x then flip_x = -1 end + if sprite.flip_y then flip_y = -1 end + local px, py = _G.res.getSpritePivot(sprite.image) + local xs = scale_x * flip_x + local ys = scale_y * flip_y + setRenderState(offset_x + (sprite.x * scale_x) / xs, offset_y + (sprite.y * scale_y) / ys, xs, ys, sprite.angle, px, py) + _G.res.drawSprite(sprite.image, 0, 0) + end + + setRenderState(0, 0, 1, 1, 0, 0, 0) + _G.res.setClipRect(0, 0, screenWidth, screenHeight) + + if g_cutsceneFilm then + _G.res.drawSprite("CUTSCENE_FILMSTRIP_TOP", screenWidth * 0.5, self.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_BOTTOM", screenWidth * 0.5, screenHeight - self.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_LEFT", self.offset_x, self.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_RIGHT", screenWidth - self.offset_x, self.offset_y) + end + + ui.Frame.draw(self, x, y) +end + +function CutScene:skip() + _G.res.stopAllAudio() + settingsWrapper:setCutsceneWatched(self.cutscene) + eventManager:notify(self.end_event) +end + +if not g_isAccelerometerControl then + function CutScene:onPointerEvent(eventType, x, y) + local result, meta, item = ui.Frame.onPointerEvent(self, eventType, x, y) + + if eventType == "LRELEASE" and (settingsWrapper:canSkipCutscene(self.cutscene) or cheatsEnabled or g_skip_always_allowed) and result == "SKIP_TO_LEVEL" then + if self.ldown then + --ignore first lrelease if click was held when the cutscene began + self.ldown = nil + else + self:skip() + end + end + + return result, meta, item + end +else + function CutScene:onPointerEvent(eventType, x, y) end + + function CutScene:onKeyEvent(eventType, key) + if eventType == "RELEASE" and key == "FORWARD" and (settingsWrapper:canSkipCutscene(self.cutscene) or cheatsEnabled or g_skip_always_allowed) then + self:skip() + end + end +end diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/default_credits.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/default_credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..d3abc8dadf8fac4c50a208e920c21f04f51f6fb5 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/default_credits.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef84c0ab8e01240dea9864641fe37d481491bf79 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/layout_select.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/layout_select.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd9aaba3ff1490147c53ab935d304108aeb7e0df --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/menus/layout_select.lua @@ -0,0 +1,252 @@ +function createLevelButton(_ARG_0_) + ui.ImageButton:new().name = "level" .. _ARG_0_.page .. "-" .. _ARG_0_.index + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setImage(_ARG_0_.level_button_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].level_button, _ARG_0_.disabled_button_override or "LS_LEVEL_BG_NORMAL_CLOSED") + ui.ImageButton:new().returnValue = "GOTO_LEVEL" + ui.ImageButton:new().disabledReturnValue = "DISABLED_LEVEL" + ui.ImageButton:new().meta = { + episode = _ARG_0_.episode, + page = _ARG_0_.page, + level = _ARG_0_.index, + levelName = _ARG_0_.name, + intro_cutscene = _ARG_0_.intro_cutscene + } + return (ui.ImageButton:new()) +end +function createBasicLevelButton(_ARG_0_, _ARG_1_) + ui.Text:new().name = "number" + ui.Text:new().font = fontBasic + ui.Text:new().text = _G.tostring(_ARG_1_.display_number) + _ARG_0_:addChild((ui.Text:new())) + ui.Image:new().name = "eagle" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.levelSelectionSilhouette or "LS_EAGLE_BUTTON") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "stars" + ui.Image:new():setVisible(false) + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "feather" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.collectableReward or "LS_EAGLE_FEATHER") + _ARG_0_:addChild((ui.Image:new())) +end +function openBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(true) + _ARG_0_:getChild("number").visible = true + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("stars").visible = false + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score > 0 and highscores[_ARG_1_.name].completed then + _ARG_0_:getChild("stars").visible = true + if highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].goldScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(3)) + elseif highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].silverScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(2)) + else + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(1)) + end + elseif highscores[_ARG_1_.name] and (not highscores[_ARG_1_.name].score or highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score == 0) and highscores[_ARG_1_.name].completed then + for _FORV_13_, _FORV_14_ in _G.ipairs((settingsWrapper:getEagleUsedIn())) do + if _FORV_14_.level == _ARG_1_.name then + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = true + end + end + end + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].eagleScore and highscores[_ARG_1_.name].eagleScore >= 100 then + _ARG_0_:getChild("feather").visible = true + end +end +function closeBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(false) + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("feather").visible = false +end +function getLevelSelectionLayoutSizes() + if _UPVALUE0_ then + else + end + return g_layoutMargin.x, screenWidth - g_layoutMargin.x, screenWidth - g_layoutMargin.x - g_layoutMargin.x +end +LSGridLayout = {} +LSGridLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE +} +function LSGridLayout.createPage(_ARG_0_, _ARG_1_) +end +function LSGridLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSGridLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:getLastOpenLevel(_ARG_0_.episode) >= _ARG_0_.index_in_episode +end +function LSGridLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + closeBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_14_ = 1, _ARG_1_.layout_params.rows do + for _FORV_19_ = 1, _ARG_1_.layout_params.cols do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * getLevelSelectionLayoutSizes() * (1 - 0.83) + getLevelSelectionLayoutSizes() + 0.83 * getLevelSelectionLayoutSizes() / (_ARG_1_.layout_params.cols - 1) * (_FORV_19_ - 1) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).y = -0.1 * screenHeight + screenHeight * (_FORV_14_ / (_ARG_1_.layout_params.rows + 2) * 1.2) + end + end +end +function LSGridLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSGridLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSFacebookLayout = {} +LSFacebookLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE, + events.EID_FACEBOOK_LIKE_CLICKED +} +function LSFacebookLayout.createPage(_ARG_0_, _ARG_1_) + ui.ImageButton:new().name = "fbButton" .. _ARG_1_.index + ui.ImageButton:new():setImage("FB_LIKE_BUTTON") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK_CONNECT" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function LSFacebookLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSFacebookLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isFbPageLiked() +end +function LSFacebookLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) + _ARG_1_:setImage(g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button, g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button) + _ARG_1_.returnValue = "GOTO_LEVEL" +end +function LSFacebookLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:getChild("number").visible = false + _ARG_1_:getChild("stars").visible = false + _ARG_1_:getChild("eagle").visible = false + _ARG_1_:getChild("feather").visible = false + _ARG_1_:setEnabled(true) + _ARG_1_.returnValue = "SHOW_FACEBOOK_PROMPT" + _ARG_1_:setImage("LS_LEVEL_BG_NORMAL_CLOSED", "LS_LEVEL_BG_NORMAL_CLOSED") +end +function LSFacebookLayout.layout(_ARG_0_, _ARG_1_) + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y = screenHeight / 2.75 + for _FORV_14_ = 1, _ARG_1_.layout_params.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth - (_ARG_1_.layout_params.levels - 1) * 0.5 * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + (_FORV_14_ - 1) * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).y = _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y + _G.res.getSpriteBounds(_ARG_0_:getChild("fbButton" .. _ARG_1_.index).image) / 2.28 + _G.res.getSpriteBounds(_ARG_1_.level_button) * 0.5 + end +end +function LSFacebookLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSFacebookLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + elseif _ARG_2_.id == events.EID_FACEBOOK_LIKE_CLICKED then + for _FORV_6_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):setImage(_ARG_1_.level_button, _ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_).returnValue = "GOTO_LEVEL" + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSGoldenEggsLayout = {} +LSGoldenEggsLayout.listen_events = {} +function LSGoldenEggsLayout.createPage(_ARG_0_, _ARG_1_) + for _FORV_5_ = 1, #_ARG_1_.levels do + ui.Image:new().name = "starEffect" .. _ARG_1_.index .. "-" .. _FORV_5_ + ui.Image:new():setImage("GOLDEN_EGG_STAR_EFFECT") + _ARG_0_:addChild((ui.Image:new())) + end +end +function LSGoldenEggsLayout.createLevelButton(_ARG_0_) + ui.Image:new().name = "star" + ui.Image:new():setImage(_ARG_0_.completed_sprite_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].layout_params.completed_sprite) + ui.Image:new():setVisible(false) + createLevelButton(_ARG_0_):addChild((ui.Image:new())) + return (createLevelButton(_ARG_0_)) +end +function LSGoldenEggsLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isGoldenEggUnlocked(_ARG_0_.name) +end +function LSGoldenEggsLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(true) + _ARG_1_:setVisible(true) + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = not settingsWrapper:isGoldenEggPlayed(_ARG_2_.name) + _ARG_1_:getChild("star"):setVisible(highscores[_ARG_2_.name] and highscores[_ARG_2_.name].completed or false) +end +function LSGoldenEggsLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(false) + if _ARG_2_.disabled_button_override == nil then + _ARG_1_:setVisible(false) + else + _ARG_1_:setVisible(true) + end + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = false +end +function LSGoldenEggsLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_8_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x = (_ARG_1_.index - 1) * screenWidth + (_ARG_1_.levels[_FORV_8_].x or 0.5) * getLevelSelectionLayoutSizes() + getLevelSelectionLayoutSizes() + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y = (_ARG_1_.levels[_FORV_8_].y or 0.5) * screenHeight + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).x = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).y = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y + end +end +function LSGoldenEggsLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + for _FORV_7_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle = _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle + _ARG_2_ * 0.6 + end +end +function LSGoldenEggsLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) +end +g_ls_layout_mapping = { + grid = LSGridLayout, + facebook = LSFacebookLayout, + goldeneggs = LSGoldenEggsLayout +} +filename = "level_selection_layouts.lua" diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..7bb645b9156c99eeebe2fd6d0c61b47ca37eb5bf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5118fd8f6aeb826af45dcc057d89f7ac4c78f1b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..04162665aad97768e447cfb13d673db6ae14279f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/loading.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..c92891b6f7b9a3113cf5d1a20f9347f6d25dc098 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..696fc2d4cc6f7b361f4d4199a93f001c85372674 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/settings_page.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/shop3.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/shop3.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb99634991566d88de2c3f01073d90544af29b9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/shop3.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/slideshow.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/slideshow.lua new file mode 100644 index 0000000000000000000000000000000000000000..7741f64b7fbfd784214d4b2c53bdb158f3e7eb17 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/slideshow.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..e2527af17106473a8d992f226687c3ff8dc644bb Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/2.3.0/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..8905559369866711bc6d2357a23ebed12261375e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/powerups.lua b/Angry Birds Project R/2.3.0/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..887173274877bebbf4ea1cdcadf00f497513702a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/powerups2.lua b/Angry Birds Project R/2.3.0/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..887173274877bebbf4ea1cdcadf00f497513702a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/puffer_bird.lua b/Angry Birds Project R/2.3.0/data/scripts_common/puffer_bird.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/2.3.0/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/sticky_block.lua b/Angry Birds Project R/2.3.0/data/scripts_common/sticky_block.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1d141bb211067cab0dc1436baf05e9e0e07f5ce Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/sticky_block.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ChallengePage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/CloudSync.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/CloudSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..e6196e7ead07b2c8ac9b980dc46b90d7ff66b771 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/CloudSync.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/RovioAccount.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/RovioAccount.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c16df839fe70d659317c0e8c7dbaf40da84ef35 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/RovioAccount.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/blockListSetup.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/blockListSetup.lua new file mode 100644 index 0000000000000000000000000000000000000000..c08bfae1e8e13b0ccc136876285b1d7763e75fee Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/blockListSetup.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/calendarSubsystem.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/calendarSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..209cfeb39539c57a9128c8ff258ae9bec65f82e6 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/calendarSubsystem.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/challenges.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f431412477c847707a34b8f57267e77a93cd22f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/2.3.0/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/timer.lua b/Angry Birds Project R/2.3.0/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/trackpad.lua b/Angry Birds Project R/2.3.0/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image1.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image1.lua new file mode 100644 index 0000000000000000000000000000000000000000..e58cfe35dd7177286d2671b3325e2e985f385dcf Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image1.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image2.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image2.lua new file mode 100644 index 0000000000000000000000000000000000000000..aff34fa9340a5d8fd0ccdd40958f84192e40f558 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Image2.lua @@ -0,0 +1,66 @@ +Image = Frame:inherit() +function Image.init(_ARG_0_) + _ARG_0_.visible = true + _ARG_0_.angle = 0 + _ARG_0_.alpha = nil + _ARG_0_.floorCoordinates = true + _ARG_0_.scaleX = 1 + _ARG_0_.scaleY = 1 + _ARG_0_.rotatePivotX = 0 + _ARG_0_.rotatePivotY = 0 +end +function Image.setVisible(_ARG_0_, _ARG_1_) + _ARG_0_.visible = _ARG_1_ +end +function Image.refresh(_ARG_0_) + if not _ARG_0_.image then + return + end + _ARG_0_.w, _ARG_0_.h = _G.res.getSpriteBounds(_ARG_0_.image) + _ARG_0_.px, _ARG_0_.py = _G.res.getSpritePivot(_ARG_0_.image) + _ARG_0_.rotatePivotX = _ARG_0_.px + _ARG_0_.rotatePivotY = _ARG_0_.py +end +function Image.layout(_ARG_0_) + _ARG_0_:refresh() + Frame.layout(_ARG_0_) +end +function Image.setImage(_ARG_0_, _ARG_1_) + _ARG_0_.image = _ARG_1_ + _ARG_0_:refresh() +end +function Image.setSize(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ ~= nil then + _ARG_0_.w = _ARG_1_ + end + if _ARG_2_ ~= nil then + _ARG_0_.h = _ARG_2_ + end +end +function Image.drawSelf(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + if _ARG_0_.image ~= nil and _ARG_0_.visible == true then + px, py = _ARG_0_.pivotX or px, _ARG_0_.pivotY or py + if _ARG_0_.alpha == nil then + gamelua.setRenderState(_G.math.floor((_ARG_1_ or 0) + _ARG_0_.x * (_ARG_6_ or 1)) / ((_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1)), _G.math.floor((_ARG_2_ or 0) + _ARG_0_.y * (_ARG_6_ or 1)) / ((_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1)), (_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1), (_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1), (_ARG_5_ or 0) + _ARG_0_.angle, _ARG_0_.rotatePivotX or px, _ARG_0_.rotatePivotY or py) + else + gamelua.setRenderState(_G.math.floor((_ARG_1_ or 0) + _ARG_0_.x * (_ARG_6_ or 1)) / ((_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1)), _G.math.floor((_ARG_2_ or 0) + _ARG_0_.y * (_ARG_6_ or 1)) / ((_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1)), (_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1), (_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1), (_ARG_5_ or 0) + _ARG_0_.angle, _ARG_0_.rotatePivotX or px, _ARG_0_.rotatePivotY or py, _ARG_0_.alpha) + end + _G.res.drawSprite("", _ARG_0_.image, 0, 0, "HPIVOT", "VPIVOT", _G.math.floor(_ARG_0_.w), _G.math.floor(_ARG_0_.h)) + end + if _ARG_0_.alpha ~= nil then + gamelua.setRenderState(0, 0, 1, 1, 0, 0, 0, 1) + else + gamelua.setRenderState(0, 0, 1, 1, 0, 0, 0) + end +end +function Image.drawFast(_ARG_0_, _ARG_1_, _ARG_2_) + _G.res.drawSprite(_ARG_0_.image, _G.math.floor(_ARG_0_.x + _ARG_1_), _G.math.floor(_ARG_0_.y + _ARG_2_)) +end +function Image.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + _ARG_0_:drawSelf(_ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) +end +function Image.setAngle(_ARG_0_, _ARG_1_) + _ARG_0_.angle = _ARG_1_ +end +filename = "Image.lua" diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/PageIndicatorDots.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/PageIndicatorDots.lua new file mode 100644 index 0000000000000000000000000000000000000000..25874c112860714619bf92d615e6fbcdd01e9492 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/PageIndicatorDots.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/2.3.0/data/scripts_common/utils.lua b/Angry Birds Project R/2.3.0/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/2.3.0/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/2.3.0/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/pp.fx b/Angry Birds Project R/2.3.0/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/2.3.0/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/2.3.0/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/2.3.0/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/2.3.0/desktop.ini b/Angry Birds Project R/2.3.0/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..37a739e79b97c460dc0baf0be6595d16de1f092c --- /dev/null +++ b/Angry Birds Project R/2.3.0/desktop.ini @@ -0,0 +1,6 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,4 +[ViewState] +Mode= +Vid= +FolderType=StorageProviderGeneric diff --git a/Angry Birds Project R/2.3.0/msvcp100.dll b/Angry Birds Project R/2.3.0/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/2.3.0/msvcp100.dll differ diff --git a/Angry Birds Project R/2.3.0/msvcr100.dll b/Angry Birds Project R/2.3.0/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/2.3.0/msvcr100.dll differ diff --git a/Angry Birds Project R/2.3.1/Angry Birds.exe b/Angry Birds Project R/2.3.1/Angry Birds.exe new file mode 100644 index 0000000000000000000000000000000000000000..cd03446a4cc66cf0af40dbd46c27d6409bc59b21 --- /dev/null +++ b/Angry Birds Project R/2.3.1/Angry Birds.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4224f2c89fd6a2496c45526e04dcbb745022344545025e8b1a1b92f9d83fdfa +size 2785904 diff --git a/Angry Birds Project R/2.3.1/Angry Birds.gdf b/Angry Birds Project R/2.3.1/Angry Birds.gdf new file mode 100644 index 0000000000000000000000000000000000000000..23c0a2e3f9fe79317b9f92cff8bec8d712885948 Binary files /dev/null and b/Angry Birds Project R/2.3.1/Angry Birds.gdf differ diff --git a/Angry Birds Project R/2.3.1/Changelog.txt b/Angry Birds Project R/2.3.1/Changelog.txt new file mode 100644 index 0000000000000000000000000000000000000000..bc3be428ef5b7be64d2c00e885ae19708c2825d6 --- /dev/null +++ b/Angry Birds Project R/2.3.1/Changelog.txt @@ -0,0 +1,16 @@ +Welcome back to Angry Birds Project R! + +Changelog: + +2.3.1: +- Fixed a "bug" in a few Time Tasum Part 3 levels where the game would not wait for stuff to stop moving to go to any result screen. This included the fail screen. (I say bug in quotations since it's a standard feature that just wasn't meant to be turned on in these levels) +- 4-45 and the Wizpig golden egg have recieved minor level design changes. +- The sound that plays when you get to the disclaimer screen has been changed. +- Art fixes. + +2.3.0: +- The third and final part of Time Tasum is here! Propel yourself witht the new fans mechanic and take on Hat Pig! +- Visual improvements to older parts of the game, Moral Mixup's first background has recieved an upgrade, and new decorations have been added to most levels. +- The boss theme in Meet The Flock has recieved a remake. +- The Discord Levels are now calculated with the rest of the Golden Eggs, for technical reasons I can't count them separatley from the other levels on the pause screen without all the page levels getting separated and I can't move them somewhere else because then the game would crash upon trying to go to Golden Eggs. +- Bug and art fixes. \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/Readme.txt b/Angry Birds Project R/2.3.1/Readme.txt new file mode 100644 index 0000000000000000000000000000000000000000..8aac67b4ab4d9cc3d312d9d995f93a884aa56f5e --- /dev/null +++ b/Angry Birds Project R/2.3.1/Readme.txt @@ -0,0 +1,5 @@ +Thank you for choosing to play Angry Birds Project R! +This is my first Angry Birds mod i've made so that's cool. + +If you have any suggestions, complaints or anything like that, join the Discord server! +There's a link to it in-game. (Must be 13 or older to join) \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/config.lua b/Angry Birds Project R/2.3.1/config.lua new file mode 100644 index 0000000000000000000000000000000000000000..378bf993815225bc0ad3b8897d0a87d5dec36123 --- /dev/null +++ b/Angry Birds Project R/2.3.1/config.lua @@ -0,0 +1,22 @@ +product = "Angry Birds Project R" +publisher = "JPA" +name = "Angry Birds Project R" +width = 1024 +height = 600 +orientation = 0 +datapath = "data" +imagePath = "images" +fontPath = "fonts" +audioPath = "audio" +localizationPath = "localization" +levelPath = "levels" +scriptPath = "scripts" +commonScriptPath = "scripts_common" +shaderPath = "shaders" +deviceModel = "windows" +fullscreen = true +showCursor = false +singleton = true +renderer = { "gl2", "gl1" } +icon = 103 + diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ABPR_OST_COVER.png b/Angry Birds Project R/2.3.1/data/audio/music/ABPR_OST_COVER.png new file mode 100644 index 0000000000000000000000000000000000000000..5f3e66077ba2f0f1e118129c5e39b57508abf36e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ABPR_OST_COVER.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:742ff70f4e65514758facacd0aa84e8a412955b1be414fb0bcfe85c81d6bf41f +size 498282 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/MTF_intro.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/MTF_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6e517a5bc6664624392464d89f91e41603912f27 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/MTF_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddc5d988ee947661a94f11e8d4e796d2df113767df0e84f710ecd974b3b5f5de +size 583111 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/MTF_outro.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/MTF_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a68041d5d4067dd67ddebefc1748f2f97d8d83d9 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/MTF_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:729b0f741a984ca7c84c99b6927de534f7f3888fb2c63b5c51a8d3dd3d92d9cb +size 631745 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_0_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_0_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..97c79173a3bcb8073ff8068c6810065ca0892f87 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_0_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41fdbd2bc3a203c2e584b7d975661e4fe5c186c2a7528fd1199996812a681c7 +size 618188 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_1_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_1_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..467a67408a7954ba96b04569d8fda0a7cf350301 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_1_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2daf0d2e479b0b9599e2150d359caa4a574bb14cd7a89f210e52c918d14689bd +size 1016652 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_1_2.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_1_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..1cdd935680aa13d47b77a39bbfb4bdcdc2aa6d68 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_1_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6448af2f673dc4460d11202f6c7c5682d22b6a439e3d0e8b289de8f384ca2317 +size 1336378 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_2_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_2_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f9cd063498fa1a0b405f3d5258448d45e82fbc5a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_2_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c9834ed39442ed4324c8a07dfd707c26d2e19bc541c04cd3bf05cf77dc369b8 +size 950425 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_2_2.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_2_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..90c343302788c26484449ed170db1e391fb03869 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_2_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c5b31773a51f6dea76030a006911bffe16ff7b66b92a1af7ea1f7a1f090c54a +size 1230442 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_3_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_3_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..341f7ec99a19f4b4d16f3ae10ab3afa03350d51c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_3_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d08684be8362ac245fc0e9a69ebf948661b6a2a7b6d960c825ede8b6c13e3ff +size 651520 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_3_2.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_3_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..436c26c43d140930c5e724f00eae6be39a1a0dd5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_3_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9233243f30b8d072437b11747664649bf99c35657e1b72bb8d9cf61bb0000ad8 +size 444899 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..036186a06cc5b6b3fd714dd52a38729ccde03f2a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76770de6d4e58d23fcb27b57fe2e0c7367d7304fb5bd2302163e483cc72c8798 +size 189842 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_2.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..06f4a7c32fedd8905f80ad7e4f6973cf10f9a9c8 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de8eaa5ea0c0b99a10552bbbcedbd393b38097683de4cb9a68f596f72e605df +size 639466 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_3.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b690c507d89b75c54ba7b29db1127f56c035f6c9 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_4_3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3502b06e7859dfa7b3b33c2d83d707265013d69f7fbad985180ef8195856ed4b +size 1223669 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_b_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_b_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..6b2cbdcbe821eae8320f44cdbfc9f45631cbb68b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_b_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:998c899f61e7cb63d1f321d2a1d074eeeda9c88e25e9cad84f3f782887685376 +size 605366 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_c_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_c_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d232827e29eedd8a57fe9d870ea2f3c6de732723 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_c_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e22c4d22193fd6ec4db13650d62bd40f4fdf46b27154b752eaad695a3fc4af6c +size 1325001 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_d_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_d_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a6aba1462db5f4cb898d64d13cd9cf1f6afd19af --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_d_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:570aa3f1b30cad62daf8399fd98e5d19f52f59308b5852516b74e1c8d31b4889 +size 1030686 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_g_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_g_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2d628546b5947fd97c732e510a96e6c00db18f38 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_g_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9846a1505652c6c3fa4fe2b118e60f19642021c987f6595f05834cb5b9e0276 +size 458197 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_p_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_p_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5d87736f252b1bc7a9a7b4e834e2a7546cff6d3a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_p_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bf0415e85ae0e1469811a8fb0def7acc66fb2437452d13ec13b701c88afe58a +size 1333521 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/ambient_s_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/ambient_s_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..3ebdf1779be60c5f3042f88eb2cb91990d6827d3 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/ambient_s_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b7d0b3e21dd243274cd956397ecb8dcfb4bea1b72cc83a76f398ad22d9fb78 +size 899834 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/birds_boss.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/birds_boss.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4b6dd2841ceeb593050d44db943b787da0ed4b88 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/birds_boss.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12dcb94b0c9549ddd0f4ba8ec743c02a2e706294715af8da467c41be5e718281 +size 154589 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/birds_intro.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/birds_intro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b7f74909b0c8082631d5c819a1ebd4f0450412b9 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/birds_intro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e96dcfede5e460776f3d66992f725814eea83826f0457b3c8d1e7e693af0b920 +size 607028 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/birds_outro.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/birds_outro.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..d376885bac85139024b41574549d71a1f6dbcfa7 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/birds_outro.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58bad34a444a2048990e3f78287cafd432ea9ef0e8ae50adde8c2fcc40d7ee86 +size 466470 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/boss_defeated.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/boss_defeated.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..765a4dd7c1bde1aed4f15a63e87f20d019fb722e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/boss_defeated.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:823365094c422e79b0d220944c26b845f524f1fb3b72c026e5f1d41f3c17647b +size 440067 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/credits_music.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/credits_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..226e7ad42d6455427e6ad13f90d8c001c330a70b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/credits_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:834584bb178a8c87119887de26e4f88cd6a1b2d5327a0366a309a36d978c0ce3 +size 3929655 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/crimson_stinger_light1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/crimson_stinger_light1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..75cc74deb4c4d89aff3c5ee98d25ed14e8260f6c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/crimson_stinger_light1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1f7b208ad943dc8c76c312d4c7409771069796bf4ea70e323bba4ff108f1211 +size 67678 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/episode_select_music.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/episode_select_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..0ca13a3ecd7b8836923c9d0e45329fa567eac1dc --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/episode_select_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3975af5bb2c121f4872cd3edaaf2f9420ec5d7751205ea4383a57629ce9db6bb +size 2531936 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/level_select_2_music.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/level_select_2_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..431a0c9e3981511700a093219d52d9c1d3d05608 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/level_select_2_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2c1de9aac510c0d50f38653df72db083b24a9625942f8d0ed27df2a91b0c2cd +size 1556844 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/level_select_h_music.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/level_select_h_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9fd9d67da79fb56447e63961fa5b75242e162be5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/level_select_h_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce6b315d9fe930ab02b986643c9dfc0b873f75bd3af5646ac4b72ca1dbe1d1f4 +size 1850517 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/level_select_music.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/level_select_music.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..06bbe035fc33d77fa9c7ad75c348e0b95ac7d5f1 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/level_select_music.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:349bd5942e1a36452c244de3871578b18ad53216a6a59f09d2f89f83a5569ebe +size 1776256 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_0.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_0.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4fac85ed2a1aaffe23ab8d227c115e2b02697ab6 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_0.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30ff117bab41b2e48f6058ad4fa0f23223a0f4d33aa5de187952f2ea6d4a88ca +size 3525054 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..092f0a7c527deb486e8ff09179836d5a42d71faf --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3318a5d7c8e243c4eb9b5dda83459dd50c84f8432d91fe78d30f9143f781859d +size 2228720 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_2.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b1bd0c0792e1ead38b8568c93d4bc2ac850a1c38 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef0608fbb539d750c4b74effeb5bef56aef49966dfcda2246e405e99a60f833c +size 4145717 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_2_2.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_2_2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9490a89def64a2fbce66f31fac03af274b2d7025 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_2_2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6333f79b05eda2a459f0bf3e9cdc8d97ae5eca02ff3974444f32a10242484a33 +size 4197513 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_wiz.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_wiz.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e856dcf18f61785206a71103b64f2a147a733821 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/pig_boss_wiz.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36939d74d2844d2dcc931aaaa35fa7d2db5b3eadcd74ad186e67fbcb5497a048 +size 4605212 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/reward_get.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/reward_get.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..55edda240cf1a3045602276c82dd29853917c708 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/reward_get.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:046b38a71b44937a09254d8bdf5d111b2f4ba6d559e6e8642c60717181ab079b +size 104452 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/splash_rovio.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/splash_rovio.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a2a6afb7bcb78737e1de896f613701c39cc48e9e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/splash_rovio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ec56c8c5a4e5049dcf6fccf2e7136782822b3092c96b13d9c711521c0cfabc2 +size 10360 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/startup.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/startup.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a8e58d25be492a25c8a62c1dc35cb2e40ff3c0b4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/startup.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9542ccc02b8dff1c0f403cee851472a2fa67c8b7ccad5a0987762375524df137 +size 2098851 diff --git a/Angry Birds Project R/2.3.1/data/audio/music/title_theme.mp3 b/Angry Birds Project R/2.3.1/data/audio/music/title_theme.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..12f27a6513d43809a304dd34cf03b89603788907 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/music/title_theme.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eeca3b0408b55db2d6144ba69ef906f3af998bfd1d05c60b330613827a6c4819 +size 4854177 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Black_Idle1.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Black_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..2b27375ecfd5daa354a6b4ba9a635b2cdef03240 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Black_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb58200682af2dd948351e3a9c169e3168580979690afe60e6b8559cda935b5f +size 9657 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Black_Idle2.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Black_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f24d39c5eb9bac7f7db51829105e1357c523af2d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Black_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e237f9985f82b190b4982319a6a6c9749c8e5455174d937a3fdfb7ebf2378d1 +size 5451 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle1.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..f2c31438df2b4a5c11d20c6699621e21223a9d05 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:841010fc46ead4e59c464058d7b1e230d2e5621dafb7b6dc997da28a8c6549b5 +size 8874 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle2.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle2.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..a786c13fec906fbaacb5d2608fa0abfc77c04b37 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be59113eb7c2de2c35c000a05276c97b0b29f81f57d885882f56b1cf86a516e7 +size 11745 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle3.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..5945e8c1a13f88ec1ddf75013935fb0798495e2b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Blue_Idle3.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03df6550abe97b1c8a630824ed15407199c2da138b797dbcf4a2307f497b050 +size 4959 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Red_Idle_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Red_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e8e1a7aee3622f063f22fce7bb92a3143a287b39 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_Red_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8081ac3830258e3aa72cb94fe639ee8edfd9033d9400517fb6205093fd455102 +size 4437 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_White_Idle_1.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_White_Idle_1.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..56a0ed1956d46f98eceae295b54dc036aaddd23a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bird_White_Idle_1.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6153339dbdd4e35536ce58b3da36defacd3cd9f5b6829678ec32355f4f39c048 +size 10028 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/Bouncer.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/Bouncer.wav new file mode 100644 index 0000000000000000000000000000000000000000..e62313dcce963a233caa1837657f147d5d7da702 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/Bouncer.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a789c2592d372c11e098498e512d2e4c6a40d1592f260034c47c5d0517fabc8 +size 68738 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_01.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..66b4213996addc410b3b4d002a7b7b450df639da --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd8f06ba2b8f091a47bfb82967a8b851d4e796620b9d73cb94a45988e2cd386c +size 42086 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_02.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..4f3ae518edac6f13456b2d3251a5370fac22feed --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3292d3f7062420c6c914cc656f82515790345c1a66eba15cee5779b3d0b08841 +size 42090 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_03.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..b49d5d8d4d18dab7069e5a733c4df50f155188a3 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/ball_bounce_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b055b0c82f742878108b59cb1c1abf8a51b508a5c5e8dce3e8157f6cfb58053 +size 42090 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/balloon_pop.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/balloon_pop.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c05651ec3f53f863e6d1a8be8579775a3576e26 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/balloon_pop.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb8c031f4c0853b8f67b3152d648748581f031f61d74756e51fae37ea2a3a60 +size 62252 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/big_bird.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/big_bird.wav new file mode 100644 index 0000000000000000000000000000000000000000..e5bbd422fbe21c9681cd42a0437a834685247087 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/big_bird.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7befa97572e16007b67a7cfbc2d2d8b4605ce94fe7494fba322123b9dd7f3194 +size 385800 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_awakens.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_awakens.wav new file mode 100644 index 0000000000000000000000000000000000000000..ffac8b865aecc8f1b0caea57b3b88374af4a9feb --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_awakens.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf4fd7f867688053aaa6f1974b66b0fa5b9c939f8ae6c71f9347eceeb121a75b +size 131824 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_fly.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_fly.wav new file mode 100644 index 0000000000000000000000000000000000000000..6815911c75a42679e8cb0c5c3d80f387d822809a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_fly.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d86a11b1d8c0babe769aeca16152a5326302d335a3b09c8248cf3d9dd07996 +size 76104 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_select.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..aa59950c0363ecd4d96097612ac2b4b9e6d4f81f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c456bc501302ec10306679b985bd6f977ced83306a367bc7cb888dbb8d4e6b +size 64584 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_yell.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_yell.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11ff1ad43aa61e701f3ba0f3ee66260325846d7 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bigbrother_yell.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f704dc7d222ccb95e2d15c444c4c16ea604bff1b668e57d6abb59c4d47679726 +size 59976 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..cf4279127cab672c4e163932f1f8330a5cc16f7f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae323c20b8326105a5589e1f9f7311703cf02d7268470f8e0c8fa5195e91b9f +size 48560 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a1_low.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a1_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..26ed9765653c3b33714c324617d59e82e60d3c64 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a1_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86c282cf8e0e4bbdb2f53aee460c280acfb672933f548dc848e678c54652f0 +size 48594 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..afa20151c88972fd94329a9816d688048ed74322 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c340d5f5bcad8d6576e89d26e10f5b143f40450ab417cc727cb5caaa37afec6 +size 55228 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a2_low.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a2_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..058f57eb1864b9f94343857082eabae96e9b4275 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a2_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10101ab1361a602d55d0794b056a35998e4e219e9f3f23101407bb6ca7881433 +size 55262 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..7aa9917fc9d69ca1402c61cf8e7b0aa5b2d9ef55 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f095792d0fd20b72609d3ac02b93d5769db06e5721541c69e2fc79ead5c1d518 +size 41986 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a3_low.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a3_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..cb9b4e1fc04f322d3cccc17ca291f98d14d7f28b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a3_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe4a970e56133d3376481d3eb7728d9cba44a1b4716916ad5c68b72f87a289b +size 42020 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a4.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..d91db087ba01b4caee14808787bfe3816889a14f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93368c3fd5fa9d6bee136c32213324125d0cc26312e2a145aaf1774be270f0eb +size 68178 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a4_low.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a4_low.wav new file mode 100644 index 0000000000000000000000000000000000000000..5973b50dee2878beca6ab0d9747106980178b5b7 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 collision a4_low.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a77c275b8af56cd85b95437899d7ddf491253768fc28da0f7c10005a07031bfc +size 68212 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 flying.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..71a6854d8e56d9cb596529b6498b7bf73013c115 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d930c5c5688d9bd394e34c8bde5ab72b904fef3bdc3ecff2253342f3cea12c +size 149370 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 select.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..2995d7d0e04a1f8becc72772dbc51a55999adee1 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 01 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43ea3ea771d600f8829e4f15943b80692717fafd20950e0ed17805362f0fd174 +size 100476 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..7c54a2ad9b51fe3ea0edc4789c6b55ddc1aa851a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a3cfe5c8ed85cd9e013c8755484f318b3c32e2356ef466c13f4f3a5c1890289 +size 51368 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..b168188140c062c5b2f8b0e90c4628fd0b631325 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e08988b3916ea3a7c62314dee03ab9adc47dd564e18beb023147f22e101978bd +size 42884 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..0914e3118f0aea702160282079d9bdbc72fea7a1 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0323e4041142561abe84a54921c9ec62a2cce8fb9d8530fbf24b08c147e05b74 +size 47228 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a4.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..f80c6b357d9d8687770091173975098441dbbcf4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f00b6d5270e3d4e2e456af61ecc53fdec4067ff2a9811b0024dd922ce5cb4f +size 51454 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a5.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..5896f51543ac73b30d4e068e125327f253f5e3ca --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aadbb76a06231c305b516a28e01574bbb13cc89db839fec8c859e83e4ceed5f +size 26704 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 flying.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..892c2702561c57121e85e9505a0fffbf9345d22b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b953d14609ac7ee557ef4e344d0709ba7b5661c4c0dcf66238025553294ab9c +size 92734 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 select.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..f8053dd38dbbdb4898a1e54470621ace79741a79 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 02 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77806f4b3c19d5becb09b1a67404fdf63ee96a06cb6b74b622ac6208d1e456c +size 74620 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..3eec766c8d8f7e812cbb4520a2ea9b6555b4146d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7813b977197dccbdf7203fd0a43db3af6d0275b6b70318f7a2e8532534cf6da +size 39030 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..41bf13b79044e75021450523211fd4c2d8adc96e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:652924213e8b53e94c86108a78ed5222a77f58a3140d83dc85cc7cfa1cca1c52 +size 34388 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..d522a9f403880a8e598c3242baac279b8258bc58 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a6645b0ad1447173a58b4ebc1bb8c86c768099407cb2bfc58beed6f535ce79 +size 30802 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a4.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..e85d830424eab87aa44818e936e482edfe75bfc3 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1d2c5b081304771db613f9437717ecbee5a333e75ad905429a6511c56a0b54 +size 26356 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a5.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..9a61dd16638e1564d69e1c908d052a990c7fde4a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e64c24956b7dec85e74f95539bf49c187a7ddbb2048fcc4f5f33612c0bfeae +size 32104 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 flying.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ac04069d76d28efea1468cc6af4c8fd5d847214 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875e6cc62f7f0d698574df6bdbba67633b8aedc47af35edb2923412c2e9eba28 +size 133932 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 select.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..5e158089c31d11cb5bcef557b0fc5648376cc531 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 03 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76de1f39c625f794e17c2bb8d8fef47c4498f5f2b4028a8f30969eaff27587c1 +size 45010 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..fe9fc1265cc80024db4cc1ab32438a352d1d94e9 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c1a09b56afdd1a609fac4b06c3f12cb140ff31444caf8eb867d49ce73faa74 +size 27300 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..441028c88636738bea62cdfb6f0e87ecd9da1f38 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77c7361328b69488b5684bc4ddbea9bb3916642289da109ec09c1b0f8a5cd30 +size 32794 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..a763b3f99daed35e6cde53de3741730002bd4f70 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a581d96e0f8c50157033a0aa223132686cfeccea3bcfa64ad0cf738e117923f +size 27688 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a4.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..2ee1d72cf645a695a003322b4f7aa489dc3bfd9b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9d22acae53370d5bbe2d8e4a316e8ffc753f995d4c5059b7d0030fdcf6b546 +size 49788 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 flying.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9e1a19ee98f4401e8bf1a32225ea825022dc237 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18fe5d024dd1c899b96fcad82899f65e5d20c7b199c574bad0c498d26cccd130 +size 122662 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 select.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ccae17dc1eb4f34788472dfe54a62901ea69e2b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 04 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7081948449bfbe1f2771b55c87db80694f3ef7e8db2f4caf0558c5437173de6f +size 104984 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..ed12024439259947806e4ce2047e0b6fc09ebf6a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cf7a5cbc45f405430131254bbf8ddeb2460d7b07764b9a1b42e060774863f0 +size 50056 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ab3d3d8bdf3309d019488cb928a889536f94eb70 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e8dcd5a56c6c4d8094506f0dd3ec4dfba24745d3478344835a842ba1a70162 +size 45334 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..91eaba12d68ea51f3b61d8fb6a1d203e20cf7ad4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13026cfbb777b61bc9cb8c07464ad8a5ecd3620d616c21f24cc64add6b912c7d +size 47304 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a4.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..32178c6a43a320494a0453cc383a49c74a7e59ab --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18803a45087fb7cdfc5fe304a996fe5e3fb8c4dd12f1568f9138ca8186088099 +size 41464 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a5.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..25a202ef471de83c4390135801b62c71ff52437d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 collision a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea82bb57a5f09d97ede314f129c492fc53d78a2c2411814a8385eee7f9699ff +size 36076 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 flying.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..66f562b746e2db1e706743339d15fbe7a57d7d55 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a7f3b4b884ee88237c3ac0bdd556ad935ab6c4fcf90fa34bdb1ce4db063efa2 +size 117796 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 select.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 select.wav new file mode 100644 index 0000000000000000000000000000000000000000..22324c9313318c29b03c79dd98040341429d4011 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird 05 select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6fce388de71484ddcd05a12ed268bfa4e766969d7d0d6b5112d0b4c994a2115 +size 79696 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird destroyed.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird destroyed.wav new file mode 100644 index 0000000000000000000000000000000000000000..f9288f7200629e0876721dd493944351e6ab31a8 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird destroyed.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd4e8e781c90cd22298a59ad5e36d287acc86f98fa091ecb17423cf27e6aa9a +size 64124 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7d39b1e4ff5cd6fd2e4323134f737e53f981248 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf48668f60667038833b48d1ed04eefc00ef5e67786128e72c8688b26186517 +size 45644 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a10.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a10.wav new file mode 100644 index 0000000000000000000000000000000000000000..c857ea20ee760110e5037066b1c66382b2676287 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a10.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d99bd2e98c51ff9c218726debedb8e8a3db132d71c53569e832a242ba668dc2 +size 63004 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a11.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a11.wav new file mode 100644 index 0000000000000000000000000000000000000000..d230406bdd93f3219f6f41c9d33a910288a3f65a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a11.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcf64bf65f9ef51a88d3f9ae201de834d6b849ce5118a1c2bdf1c9fd62278ac +size 69444 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a12.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a12.wav new file mode 100644 index 0000000000000000000000000000000000000000..ddd07ea53cb09ae395375564ad9c8339a896bf23 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a12.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbd78050c69f76a32ab560d2c5cf2343480e3c0d23973cb77bc964fb7c1e917 +size 79052 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..6bbef90a35e7415fdb3174ed78cdf34aadf35cb8 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de7c2995abcb5a2e1c57fea38ccbd206ed38fa3a5dafa36613f874e923d56ee +size 38510 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..f0cc51b4f8d27c08174a6d188cccda182e8b3acc --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9e6fcd5c830d06dc35efe1106e75158b6f95a8d86bfd3325cba57d6d8e7683 +size 55924 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a4.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a4.wav new file mode 100644 index 0000000000000000000000000000000000000000..bdd1f3892fae61c2e400bff63498221f646f240f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a4.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4aae4fec98c44c5f5071e4e8f3fe39a1b28885cec6e20bed192187e5bfa9c23 +size 38092 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a5.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a5.wav new file mode 100644 index 0000000000000000000000000000000000000000..f11a8b9e26a7dd9b9544777784f90514492208b8 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a5.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e122e088d125d9ddf8bf51abb1094c52ca7f4ceffd542ae2f9c8a910de2dfc2d +size 46668 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a6.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a6.wav new file mode 100644 index 0000000000000000000000000000000000000000..6b8125f6595a535af084ee66996dc76a5452f657 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a6.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c58944e1025cba9154b7bfc9ce3929e09da5951e30117e3052c07fc9ef9832ca +size 49604 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a7.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a7.wav new file mode 100644 index 0000000000000000000000000000000000000000..16eabe3da36eef3ccd662d08cd5343b1f0e2c560 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a7.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:074e7a81e5b26525c082acf690de83c4e0f4b0891a9f87beb9e300756b37a40d +size 70420 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a8.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a8.wav new file mode 100644 index 0000000000000000000000000000000000000000..b4c424fa948a1b4463da773c18a47c98f925cbf5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a8.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cfd69f1d250fbe3a834823a6bb228e5c6b7c3cbd162c80fe4833965834d59ef +size 64984 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a9.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a9.wav new file mode 100644 index 0000000000000000000000000000000000000000..35aab273785aff4f725d8d45527449ef4b061127 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird misc a9.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08112afb6dbb8d2ddce8efaccf8509d720c8a7221558b1cd4780e8d1251eeae6 +size 88668 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bc33b4ca55d6c3dc9352eccd3232cfca5c17dc9c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3303dd365b7ec42bfc226006d0039af18b8d8b3e3d9b888e4217762a9d527b +size 182038 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..1ff6dfa99b4fd00a6299d08bd5235f5e7b226c7c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e116f518d5c414ddde1f249777e3db4ecfd09ef4db6be6ca9210a62963ccc7d8 +size 180084 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..929f6142ef453086e83fcae0935dd3fbed0d5534 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird next military a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c754356c81affc7241fea726d4673e451469c791c6855a112d8bc0728f3599c1 +size 162656 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird pushing egg out.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird pushing egg out.wav new file mode 100644 index 0000000000000000000000000000000000000000..a6a39f109b349bee0b5e7fbb7252d9bc43bd1b44 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird pushing egg out.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4f4c797f50d4f781784a08006a4ea288db28456df6a5ac77739b0ac5f28c599 +size 47610 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a1.wav new file mode 100644 index 0000000000000000000000000000000000000000..baafb3a42bd6cb83ff9f3cb7ecabf6e55ebff7f6 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df7b3d09c92495ab1405a4946de52252a8d1cf8c6ab559b57086ce7ac4c3053 +size 62246 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a2.wav new file mode 100644 index 0000000000000000000000000000000000000000..ea23524e50910bebf1b6da78bf3091cb5f2b4578 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d70d65ba81f64a57fdc12eb256ae48cf873939c3ed816490651c5f688e66a1b +size 64384 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a3.wav new file mode 100644 index 0000000000000000000000000000000000000000..12e865cfab6b2ce0e33867394609f740f0990648 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird shot-a3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8a4fbd13a6a1d6a7139e76b10bb21a63c7153eccf82be40f85978b51ba1a4 +size 43508 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird_06_flying.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_06_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..f7898276ea522ddc05deffde598c84686292d24a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_06_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c830ee7bcceec28577bfa15bca75d49662caa66c81652629444a58a3f183d89b +size 136832 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ang_flying.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ang_flying.wav new file mode 100644 index 0000000000000000000000000000000000000000..882ae50a2b7acd196cd5efc738eb27d4e132ad1e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ang_flying.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:deb8b3359ac076d08a67cb4c7ebe6e1ed1d7fc6fb1f1fca5c2d44b0adbb22957 +size 179806 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird_cannon_launch.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_cannon_launch.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..27ba4068588360684c3987ca8861d2669997a436 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_cannon_launch.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d42ab9ec3593e5106b9f1f34c5d9e301ee6288a6f912faf9288728fb30955adc +size 8859 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird_cannon_prepare.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_cannon_prepare.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..0a484f9191dc2c9e5cb7e158189b6f3d4d39f9a7 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_cannon_prepare.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3e8aad4e7dda1836fc6ee25a8a3ef2d68a3b5ab9db8a3b0dd2f7a6e98ae076a +size 4950 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_01.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_01.wav new file mode 100644 index 0000000000000000000000000000000000000000..4a3e1a5dfab04fa66dc1f5e4ab5bd2da20d484ed --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_01.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bc35a844799935559b70461db2a1c497f45a61233f1e3a09aac03cac68e29bc +size 23058 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_02.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_02.wav new file mode 100644 index 0000000000000000000000000000000000000000..8ea07cd3d3d274833a55808222500d8361401ec3 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_02.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63a85616ceb3693a6c905804cab29f972a9d46ea34398229afc414eadfc8460f +size 23062 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_03.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_03.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ebee511c844b7b92a36a4871bd80cd3887c61f0 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bird_ground_collision_03.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:684b5445c18e56fa486f8184c35768fae7a569028554298d02ddd54f5dbea69b +size 22960 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/birthday_cake1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/birthday_cake1.wav new file mode 100644 index 0000000000000000000000000000000000000000..af71b409a9af2bc29a35159872ece65bd9e21f49 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/birthday_cake1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf681ac2f254319b895649349011d19d5a42d90c654bddfc00f1d69c739644 +size 465734 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/birthday_cake2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/birthday_cake2.wav new file mode 100644 index 0000000000000000000000000000000000000000..acad95cd64190a35cb39ab2b4420d04f100f6626 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/birthday_cake2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293a4f60f8f0e8ea755537967c1256387eb759ec46b9543c9a2cd1298e133a2f +size 313170 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bomb_launch.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bomb_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..5aec9c83b0ba05ed5897c3a5e0aedb76bc95c09c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bomb_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e50d3bcf06c745f41c5f3d88f5367ac5033e2dbad1bd328b0b1fa56285d14082 +size 290580 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_activate.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_activate.wav new file mode 100644 index 0000000000000000000000000000000000000000..135cbf70de0ee465f271991e5e61f0acba0e88cd --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_activate.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94ecd78a3b5e464c5648b8313790eb90cd40ff04875793c0b762270b143d0cca +size 41386 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_select.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_select.wav new file mode 100644 index 0000000000000000000000000000000000000000..7dc0d56509673d5ad0fafb39c6116e4eddbbc9e8 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_select.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af0c6ccfbda8988333c08f11cfb265597c3449eedc4097e90ba0b6d8f44e614 +size 57902 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_swish.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_swish.wav new file mode 100644 index 0000000000000000000000000000000000000000..44008d7040dd668609b7f0173b54577ca7f169f5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/boomerang_swish.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a2e152d677445d510b5607a9820e4c33b1d9ecb2afe69b3225dc5f9d4512dfd +size 23180 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..bb0d151c143a831d7aee5fcc48083c2ae17e208e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:070dea108e7c6275c84be58c3852d5194825ef51dd3ee9e610f0844a7967b7b4 +size 86590 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..2c9b5d177bd92e8736433b4c5b74e17e3f756b4c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b99397250959448d25d0d455c6db41fc655201fd4a622fe0865aee3cc74a631 +size 105022 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..4eac47606ca4c1c1b3a0b6b06034e442ec8b07aa --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_collision_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fe6fad537df62d7951a63cba308e9f6bddf126b8ea6f5e8f02eb15098ac0ed2 +size 77374 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_1.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_1.wav new file mode 100644 index 0000000000000000000000000000000000000000..8766589d82311698cec31bd9eba6c622042dd0cc --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_1.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6b6821802805c6c516a04445a207ce478baffe444af23e7b0354d1b996c8927 +size 73192 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_2.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_2.wav new file mode 100644 index 0000000000000000000000000000000000000000..8ed42bd1e546e849750ecbb6c1083ea576a1f923 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd27b33d94e8a2ebf5d1bfed273e28933bf4a3c86d229708c49ca70f6add0ef8 +size 61108 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_3.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_3.wav new file mode 100644 index 0000000000000000000000000000000000000000..03c8a87d2885e08a6b9c2c5e65fc813693a5ad67 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_idle_3.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74ba015beec8f5dce1dfa7b06823f50875fe7c87f72708eea104fb6382d04aed +size 107326 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/brute_launch.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_launch.wav new file mode 100644 index 0000000000000000000000000000000000000000..e9d00058a1e1b52b771f974e25ed84a440729409 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/brute_launch.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52d2b86fae18c3223b8c377e571ced76c8bb366a39b38027743f47f94ba25d6b +size 93082 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bumper.wav b/Angry Birds Project R/2.3.1/data/audio/sfx/bumper.wav new file mode 100644 index 0000000000000000000000000000000000000000..aaae91736f4997eff4a6034ba168461b95d38c5e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bumper.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f2f6b7bdbfa53761444be2f0b3c1695962c9fd34ead06ed4bd2126bb5eafc0 +size 48726 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_damage.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_damage.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..b457d888f54ae2376862b59a55be32f6748baa5a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_damage.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7451e077ae97f79cb2e56e4f7e9217eea4f2a4e2fa35ef34397d412037bc7ae4 +size 21542 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_die.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_die.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..668a66be1692326dfa4bb21adcd24b2982c8a333 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_die.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b742beeccbde2c4977ca686af921fbf925ebc0f784715806fa9a16a23a7e24fa +size 45389 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_01.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_01.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..15afec2a0d13bec748fcf9aad6c714f323037b7f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_01.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98439146289b4bd4579103ba251fe74ad469208c52f99a0795f0d029ea15e8c9 +size 20552 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_02.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_02.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..debe950ec171436f9ee002412bc028378b08d2f9 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_02.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1eb684b15abbea17129fe68bffa2034b9b8d1b9d783b97eb9dbf89bf8f7854ef +size 39640 diff --git a/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_03.mp3 b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_03.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e4c3df97ad90f625deb24f41e33d4ced4a5293c9 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/audio/sfx/bunker_idle_03.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56eeeb74ebe744d6e4bd0a92933f4d5a6686f9848ff2bdb0b1759a4076760a9f +size 37524 diff --git a/Angry Birds Project R/2.3.1/data/editor/editor.lua b/Angry Birds Project R/2.3.1/data/editor/editor.lua new file mode 100644 index 0000000000000000000000000000000000000000..8c185c140ab0f9a8309a3b3af9617796e0794362 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/editor/editor.lua differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BASIC.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..06c5c429e5cb88180be6e202213c2b50e0921f35 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BASIC.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BASIC_N900.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BASIC_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..601f57099b11f0090453a3309f82c22b5d82bf0d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BASIC_N900.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..977cc81f3cfe3f5a6a521f1882f6f6c0c21f89ee Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BEST_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BIG_NUMBERS.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BIG_NUMBERS.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BIG_NUMBERS.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png new file mode 100644 index 0000000000000000000000000000000000000000..828ff90b0c94e0facc91014ea88ed4b9d6e1df19 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_BUTTON_COIN_IPAD3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0696066b532fca9e518a276fb6a98055535a63a3866f7175d1136945fe50ea96 +size 123524 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CHALLENGE_SCORE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CHALLENGE_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a7e2a3a366aa0e05bf6d53c96e2e1136ffa061b9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CHALLENGE_SCORE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr new file mode 100644 index 0000000000000000000000000000000000000000..98b33fcc40a4f727fad15bfc0e6b88a133cbbadc Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CHALLENGE_SCORE_IPAD.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..0f93951c506607feec69ac99c37c482dd0bb3741 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_CURRENT_HIGHSCORE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..b301d69a26b415d2554547f7255d7ec3778845c6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..21ee51991fdfca7fe14c10a92ebee65fb42b2792 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL_N900.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..78483ecb3243a62fcb13c7449bbea104222ea995 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_LS_SMALL_N900.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU.dat new file mode 100644 index 0000000000000000000000000000000000000000..c872a89a8f99fdc02ef4f6af2082262423dea92b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU.png new file mode 100644 index 0000000000000000000000000000000000000000..95d8dc83a9abde8c73fb231268d25c637842afaa --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:419b025270bffddcfd399c90be7be9f37339789a9a9f4b698f8bfeb72d24e4a9 +size 205322 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.dat.bak b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.dat.bak new file mode 100644 index 0000000000000000000000000000000000000000..ad0036990be81243bd31c01ef82bf26815ceb0ec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.dat.bak differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.png new file mode 100644 index 0000000000000000000000000000000000000000..c79940bbcc900b3be385b08c746ca52424a869f5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b09a789437da11ae68ac448baafb55e981fc5d1409d6efe99843d4e3b97bb927 +size 137164 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_IPAD.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_IPAD.png new file mode 100644 index 0000000000000000000000000000000000000000..888dc8ebcc9940fed52de3cab06a20b89fd7938d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_MENU_IPAD.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1b5b1feddf4339705d3f389709b7787050e5e4dada7cde069d613f74699a6ad +size 51899 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..95370426a93671519a5f7a9a55fee7fefad4077a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE_N900.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE_N900.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c080ee93c6f79db09b83f9faaeff18df9f4b1b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE_N900.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE_N900.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE_N900.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ca27e0d959bc45e7525a88b2d8b714932929f2f2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SCORE_N900.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC.png new file mode 100644 index 0000000000000000000000000000000000000000..a48f7659e37d7b47e9ab31a757a9d65cd37d7420 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2e847067fe14e687f4b6347a3bda4878afdd028daafeda0a06ac3d50418ca82 +size 49434 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC.pvr new file mode 100644 index 0000000000000000000000000000000000000000..0bf3c182e1ab96d954d0aeaa8def3ff28bfd95e6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..123c4209875fe6bf5fdc159002db84719474e59c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..ba8841588e547450320b47f3e3f8c2fa184a165e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e15c9b51ba3bf11427a6c0c25a661b3d9c6e947b582e449dd830798d648c279 +size 1775668 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..7402010b1f0114167f70bf3095025ffb6beb0807 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..9b2833fd5f3083995321184e288010c23469d744 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..9715d99406d7b2d712406e02af99d0dc998cf0e7 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..224d416b8c1fc5b6fdb17e9cceeb216aac27fc78 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8fa2edaae3c41e0525bab2e2f56575bcd6daa9856722557e2ca61538419dfa2 +size 34585 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..dfac8a8fa39ce078553b44b52cefe2f49d90cadf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..bf8e1ef19bc1aa256426c0c58752cd6078568a1d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffc21881861a90afc90170438bf8a2770c266d4b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..75bd49c1764d2108878ffabd2ebccd0904fadea6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BASIC_SMALL_JAPANESE.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat new file mode 100644 index 0000000000000000000000000000000000000000..6d891f83354557574e84855b20c108ba5f6cb7cb Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..514ded8c1f4b3e65f967424846fb2c5b900fc78e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6a7f19c21484ffcc22f18e84a52ea888ed84e3599c109f7c45af54714471ca +size 150549 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..d5095b37201e962d7821bcaa4b3212dcd8907c11 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..02e33f2a5e97b13084bb892c9d9fa9c61f330a93 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..e81b40d24e9e3038fbadedfd82cac5a866d68908 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_CHINESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33fbe429276400509676dc1a585c09154f7e130e93ccd53bc1c1e0cd6deac288 +size 3924020 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..98a6726164c6d99b8e7ea2427d443b3c17684aba Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..be162118ba009402d88dafb49bc20b4f4773c4f4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_BIG_HEADLINE_JAPANESE.pvr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f001e6995051d7645446149896d522ed73eae136fde852d23cb761a51f445acd +size 2056244 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.dat new file mode 100644 index 0000000000000000000000000000000000000000..1ce57631bf1750b50e72b84ad8a56d10c3889995 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.png new file mode 100644 index 0000000000000000000000000000000000000000..1cd8ad43461218393688c86fc8988c5f19c559d4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f50578f42731b15475121bea5ad4dd4cb7955698e69bf5027e84c7b0cec8f7d1 +size 4536 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.pvr new file mode 100644 index 0000000000000000000000000000000000000000..6dce52ef607b084180bacd92f5fcaebb364e388e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_LS.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..82468aa502afdc0d05ac9464c112eb3effc512e3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.png new file mode 100644 index 0000000000000000000000000000000000000000..8f8a3d1b80361d40933ae08c20afed0d989f77e8 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f098ce8177e2eb5ca7554d03faace614d95869e90489c6e0d2fb918d4aa15b +size 8147 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr new file mode 100644 index 0000000000000000000000000000000000000000..35f323806696f766b38420be91427754743d5d44 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_BIG.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat new file mode 100644 index 0000000000000000000000000000000000000000..6b1927d5f3e0d6aa44cbb27f27f45b9392e21fa6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png new file mode 100644 index 0000000000000000000000000000000000000000..812d4c5d3388dec5b6c124f5ecd6377b136a4e0c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6723c58df5dbbe20b5c9efaa690c34e597acb1bc18778fcdd8317390ade27c4 +size 4994 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr new file mode 100644 index 0000000000000000000000000000000000000000..704658963fbec424de7709687cbbc312ab758087 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_SMALL.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat new file mode 100644 index 0000000000000000000000000000000000000000..7462024fab694eaf7776906a7b671975c7186a18 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png new file mode 100644 index 0000000000000000000000000000000000000000..a5d395040da5ede3f0cf0739164802503b86a21e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32912bf2460c9f5b052e8cac64e8a8c0b4b4b6820e4b7630ef08b592dc6ee64d +size 27198 diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr new file mode 100644 index 0000000000000000000000000000000000000000..c92c4da49a4673a84d8a58f0629dee1914281167 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat new file mode 100644 index 0000000000000000000000000000000000000000..382fcef11e22a6cb0cb2f82cac07f08b98582587 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr new file mode 100644 index 0000000000000000000000000000000000000000..f18f772f96a73158edcb7a1e26553d8653613137 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SPACE_SCORE_TEXT_CHINESE.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SW_BIG_HEADLINE.png b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SW_BIG_HEADLINE.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb797dd63b799c57809dd3cfa662fd78930a0e5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/fonts/pc/FONT_SW_BIG_HEADLINE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a7267c28faca8b04317b53ffb0e02238e740d7c763c273d122e740da21fb98 +size 341382 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/ACHIEVEMENTS_SHEET_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/ACHIEVEMENTS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ddc8aa44df1421d0bf4dce6e5c46624d6d398fff Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/ACHIEVEMENTS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/ACHIEVEMENTS_SHEET_1.png b/Angry Birds Project R/2.3.1/data/images/pc/ACHIEVEMENTS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..114b02a2d8ce22e7f290db73deffa22671107732 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/ACHIEVEMENTS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8d4f93d2c14453c44f7daab5c07f402372c1176ac32d31b8a76e3bd9c121c84 +size 181645 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..faff67923602e08b3281b0e821dabea375bf7498 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr new file mode 100644 index 0000000000000000000000000000000000000000..54e7fe9dc3962efc9fffd6990be3af92b9d5d18d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_ABLAND_BLOCKS_1.pvr differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat new file mode 100644 index 0000000000000000000000000000000000000000..f2fd92878816f6174ffe22a3790d846955b9f750 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png new file mode 100644 index 0000000000000000000000000000000000000000..8f590a9cb0482621bc1970ffb72a10e1b171f870 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_BIRDDAY_BLOCKS_BIRDDAY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b56f8016cefab230e1b32adb86a5deb4049d0022e127d562f2d1718b1f80d045 +size 11475 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat new file mode 100644 index 0000000000000000000000000000000000000000..18ee5689e9368bf4dd25ab7981f6ce5a67d4de2b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_FB_BLOCKS_FB.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_FB_BLOCKS_FB.png b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_FB_BLOCKS_FB.png new file mode 100644 index 0000000000000000000000000000000000000000..f9131f5158edddd79fbda53708b7a035e0f2a639 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_FB_BLOCKS_FB.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363cd199ad1732a6d72e8f30af287c769d28b6b26cb1093ff2126d026783adc0 +size 173500 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..43bd840d38a43f241a93651091a05944f209de63 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad20b9392c8e9c12c463e39ad545ed645d22330 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/BLOCKS_GREEN_ELEMENTS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9badf7c938659516c81bbbdf19d3a011993efc18242b32aa238aad3693f2a0fc +size 118206 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_COMPOSPRITES.dat b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..127de2712323caaab71a95f386b031e05365fe1a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_EXTRA.dat b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_EXTRA.dat new file mode 100644 index 0000000000000000000000000000000000000000..8859857d60bb1210558b7d5793f418072805594d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_EXTRA.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_EXTRA.png b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_EXTRA.png new file mode 100644 index 0000000000000000000000000000000000000000..b52c7b376ff4501d6566abb8023952469f9e68af --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_EXTRA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:476a0fdaa351d4530199cdec69155258f5e5c3d35e435fb43aad918be41c5101 +size 332078 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_INGAME_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..b6ae0ce55207259618809e97bb452f9a0065fed1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_INGAME_1.png b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4d13c6887160e4d24f6d239b5d3d4ca1c7706970 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9136aa383500b23203a954a4664c830dfb338f119bf9b9c6980882c2da70e7f6 +size 117280 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_LOCALIZATION.dat b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_LOCALIZATION.dat new file mode 100644 index 0000000000000000000000000000000000000000..518254cca96ed163aa3283ae54f6b811fa4d4b3f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_LOCALIZATION.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_LOCALIZATION.png b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_LOCALIZATION.png new file mode 100644 index 0000000000000000000000000000000000000000..8540c0388ae41ba938ac8479c60b679d683fcc5f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_LOCALIZATION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea8ff5e03b87a3d6eea6fedb3e78776681884dd905231ec25262ca8cd4ee0a6e +size 91025 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_SHEET_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a8609738e94015d89a3d3bd4a27fc7936970b7b3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_SHEET_1.png b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4eea04e139c1398e00328be0e46cdbc24d9f4215 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/BUTTONS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ea6afcd97e4d82a8c729e0e3c75d4c9b16fcb82bb3c63d6f1335e7abd62daca +size 470128 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/CHANNEL_SHEET_0.dat b/Angry Birds Project R/2.3.1/data/images/pc/CHANNEL_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0477a4eaef990a9796500d59fb969e7667331e06 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/CHANNEL_SHEET_0.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/CHANNEL_SHEET_0.png b/Angry Birds Project R/2.3.1/data/images/pc/CHANNEL_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea943b4191cc83db76608eae32ec9f4ca4f1b32 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/CHANNEL_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba65b86e84d496230feb3db482e4d289fa03acbc742ad578606751ceea51c9a8 +size 17787 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/CURSORS_SHEET_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/CURSORS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..26ebb535d0bfe18e7100f085ef97812c6f330500 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/CURSORS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/CURSORS_SHEET_1.png b/Angry Birds Project R/2.3.1/data/images/pc/CURSORS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e53ef86cc876930a95679f451614978cb4805baf --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/CURSORS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2be54ee9682e53e50050dbfd6692f3abb7092888dbb7ba1a0d9b0c1c6a58f128 +size 5204 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..7a321f8cddf72f40c1e631a933cfb855719a5bd9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_1.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_1.png new file mode 100644 index 0000000000000000000000000000000000000000..614fcbba1073f4fc03befbd22f2bb9d2218d602d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f2cbe4e0a032c0b2f33d4dcf936d6955381bf5677edfb5b7d171808ff8d4479 +size 894502 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6303468b33b630b0710582736169198e09d96e82 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_2.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_2.png new file mode 100644 index 0000000000000000000000000000000000000000..059d4d51226336c921f1595cad181f445af7c885 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e9fd3ab1aa538b5a7ff16e8c24b63f92022a8318e9c72edcd1a65a20e5ded6a +size 653447 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_3.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..4baea306b9406098a44d63d704c139787afbad43 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_3.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_3.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_3.png new file mode 100644 index 0000000000000000000000000000000000000000..d6a6964c26ccdfd283880f51d8c825640c265184 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c146daca2957af4a537a66e76045af89421d8aa8ec1ebe42147ca95910a69186 +size 573988 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_4.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_4.dat new file mode 100644 index 0000000000000000000000000000000000000000..03651272ebbbab28c120631469e6be180edf979d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_4.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_4.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_4.png new file mode 100644 index 0000000000000000000000000000000000000000..49a7a745e154f753eb523c2f3724423db247e43f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:303169d066b55486e0234a9f3640f78d6addc2d7ab0ced15adcd628bed14e0d1 +size 520796 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_5.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_5.dat new file mode 100644 index 0000000000000000000000000000000000000000..398b0b521a36abc92e989194a730678d58ca8e0a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_5.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_5.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_5.png new file mode 100644 index 0000000000000000000000000000000000000000..b080c5fb2c3dac44599355bc018e9b98db2a6ea3 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5527f566c975c172dd592926cf4a1f4f03f300c795b49389cf4e8a6b584df253 +size 774235 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6.dat new file mode 100644 index 0000000000000000000000000000000000000000..46b88a4f0e2c7721ae15444d9b501f70007aadb5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6.png new file mode 100644 index 0000000000000000000000000000000000000000..f1198cd03539c39fb91f0da3bb0be50b0e68ab10 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73e7f3e0746a5626e8181b09dd0ca972c83094088b3ea7b546f313c439b99824 +size 423204 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6_END.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..aa88237b58ef778c2a2c5ab8aa4aa14c1a74cd0d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6_END.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6_END.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6_END.png new file mode 100644 index 0000000000000000000000000000000000000000..a2b38a0b7a550b09821a4e2b1e99b92e4d2e814a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_6_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ce1e5064032b015fa154b3f1ae3b4ac2e5308d03f7dfe377cef386a1f71a4ad +size 495644 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat new file mode 100644 index 0000000000000000000000000000000000000000..0a0c6df917bc2f46df7ce92f6b9b5cd85a558c61 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_ANIMATIONS.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_B.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_B.dat new file mode 100644 index 0000000000000000000000000000000000000000..f83d13c44bdda54ed009265c3f971aebd1ed0cc4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_B.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_B.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_B.png new file mode 100644 index 0000000000000000000000000000000000000000..8d73f6e006cfd857da5c059560c86913cf528047 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_B.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fdda1452c43945d29cbe73c38a8d1c816cf840f38ceaa70d6c2f349aad3ebd3 +size 735940 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..6099d14ba3f85d826e7c73af85b968d22596e683 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_BG_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_BG_1.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_BG_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5f1980ad479bb8d5fbca14fc95c72f4b4b91480f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_BG_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4b8425f5f47cee50f75335997c722577da94efd57416c8bd93b62f9df82bf5 +size 6361 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_C.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_C.dat new file mode 100644 index 0000000000000000000000000000000000000000..e2636258f8328b16f0a36d360bb565e284f0ba07 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_C.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_C.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_C.png new file mode 100644 index 0000000000000000000000000000000000000000..32fd50599d654efdaae3774088bcc221ab11d49b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_C.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7fd2ba1da2360ad4a62692963ac639f7fe2dbbca4de17f6106af02c1b4d4f950 +size 436690 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..911ec8b4198fae56a76e6436fc558e53f4806f55 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_D.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_D.dat new file mode 100644 index 0000000000000000000000000000000000000000..5377ccdb4ddd3dcff643c3dfbfc730fa89cfca5e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_D.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_D.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_D.png new file mode 100644 index 0000000000000000000000000000000000000000..238ce659ca3015f1d94192d49316741d366a7e38 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_D.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d64728fd4a3a1790f3e34e69c46ee59ae65e848942a379ba4b16f833e1070eb6 +size 702458 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..72c8e0ef12b40913bf52e6029fa448c0d62f2cd3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..0324c1fe7cc1116e011586f7a5fe4dcff4e12830 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_FILM_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da2428b1c8e6ad6f59c27be57b0b2eb55e83b9c1db4d42d29a6ac2b11a0e813 +size 17893 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat new file mode 100644 index 0000000000000000000000000000000000000000..1efe8b8b67e78a65ac7f0452bf428bc2ba8f5d25 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png new file mode 100644 index 0000000000000000000000000000000000000000..ae8fec0291eff4ec5da0634d28a4a725f91868bc --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_1_BEGINNING.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76e0e8009d2987c997a93aab5c0cd97f0c8826d0a5a199446d17bce426959ea +size 271919 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat new file mode 100644 index 0000000000000000000000000000000000000000..0412ba5e6058500ad69b27b867ec9d4636a0f1d3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png new file mode 100644 index 0000000000000000000000000000000000000000..f564011d92bec62bf121e1244d1e7e4d9017c661 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/CUTSCENES_STORY_W1_END.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f65fed03a92449fd1d8467a12950be4cc0d930466d17e5dec174afde9521f44 +size 370334 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..eede2a4ed979baa5ded7e3c064761b35a649ee48 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..38c453ed4c79780748a31a6600ee4cb8a30deb16 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc88d74b417aeb916fae3dfe0b1231bfc870766241fedd649c5d327ac10ea243 +size 339735 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat new file mode 100644 index 0000000000000000000000000000000000000000..a57dd0d3a5c65de990cae5cfb66f5c898dbf648d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO_SHEET.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png new file mode 100644 index 0000000000000000000000000000000000000000..0f3a394b5789125982880704331c293f5c0e0de5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_INTRO_SHEET.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a52113f048023c908e9edee35c2292fe144d772625ea4bc97a442ff9540c7cfc +size 486833 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO.dat new file mode 100644 index 0000000000000000000000000000000000000000..91dd2165ccc1bec5f6214706f3ccfba8dabcd259 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO.png new file mode 100644 index 0000000000000000000000000000000000000000..02685b722b7d4766d800e328b79e2a7d0acb749d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c033cf5c414f181ccdaaa354ddf3a794e41a46a123b992c187f874962a4041d +size 433186 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat new file mode 100644 index 0000000000000000000000000000000000000000..3650a42b4ff6c610f2028a0458a57d5c055f9446 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png new file mode 100644 index 0000000000000000000000000000000000000000..0ba9f2950719c39c9f7ef0c2cb9c71724c34fc69 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Cutscenes/MTF_OUTRO_KINGPIG.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0768f3974c31025f66f893c040249ba4a4cc500b2dae17f53018f021e435130b +size 431927 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES1.dat b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES1.dat new file mode 100644 index 0000000000000000000000000000000000000000..a0a254925cdc63d819b1d1eb39d93ac467accfe9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES1.png b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES1.png new file mode 100644 index 0000000000000000000000000000000000000000..d1115a1cef8d987cb9b7ca4cc613abd136fe011c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32e0a17127b5e1978b492c477bd6b47abb86bcbb2dea8c5f8d96c30a91bce55f +size 1379319 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES2.dat b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES2.dat new file mode 100644 index 0000000000000000000000000000000000000000..a71d02c29183fc0fbad3ef63a69984a4abb651a2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES2.png b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES2.png new file mode 100644 index 0000000000000000000000000000000000000000..d498cb10e2e5aef1c0e3ebe35fb66279737c4117 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Episodes/EPISODES2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c93bfab2ca9458ea0756fd310b4dca464c92428896a2a8c58c786aab0c973b62 +size 307970 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_GRANDPA.dat b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_GRANDPA.dat new file mode 100644 index 0000000000000000000000000000000000000000..e66efcb2398664cd38b336679b035c1ec53b0499 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_GRANDPA.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_GRANDPA.png b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_GRANDPA.png new file mode 100644 index 0000000000000000000000000000000000000000..afb247d6304a69689e94dfc194c4c8e8b978f569 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_GRANDPA.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417c778e23c21f132106e8555de1e201e35b9016d2473897ae3d0fd471ff38a7 +size 41978 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..389f975deb60dc545ef0a114141f4d3b59e09d01 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_1.png b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..4e4dd9067a6d455b1afecdfea786671c4c58b6f3 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:946ef4d2bc5d130d28eb15393a537eebef758e0852c06a5f9d65aa23ab844da4 +size 507351 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..0272c99635b9e7a7201c6307bf957a28ec7b32d6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_2.png b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_2.png new file mode 100644 index 0000000000000000000000000000000000000000..f371fccc2421abffd20d997b03ecc47ce0f2eab4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/GOLDEN_EGGS_SHEET_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57edc45894ebdbafd74904a09641c34986926c68112aa66ecbe933ffb3216c2 +size 240993 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/HAT1_EXTRA_TEXTURE.dat b/Angry Birds Project R/2.3.1/data/images/pc/HAT1_EXTRA_TEXTURE.dat new file mode 100644 index 0000000000000000000000000000000000000000..a3ac6321f47b1eb4f8b730c6b312ec804965bea4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/HAT1_EXTRA_TEXTURE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/HAT1_EXTRA_TEXTURE.png b/Angry Birds Project R/2.3.1/data/images/pc/HAT1_EXTRA_TEXTURE.png new file mode 100644 index 0000000000000000000000000000000000000000..d202a2a6f8b360a95321c0401f76e8077c1d1214 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/HAT1_EXTRA_TEXTURE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4529b3188c0388cfa5e63dcf5634c8e5878bee5ded2b2386d07bcf2a7a8499bb +size 9371 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/HUD_INGAME_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/HUD_INGAME_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..65d408402889c3338e6d684306646716d9426896 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/HUD_INGAME_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/HUD_INGAME_1.png b/Angry Birds Project R/2.3.1/data/images/pc/HUD_INGAME_1.png new file mode 100644 index 0000000000000000000000000000000000000000..3ba6f706962538e832c6ac3e8d1cd8a6d05cbbe4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/HUD_INGAME_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87db1e14886db0b1498eceb34819f456275e0685f9a37f5be3f60394ff80ffb6 +size 297246 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/HUD_MENU_UI.dat b/Angry Birds Project R/2.3.1/data/images/pc/HUD_MENU_UI.dat new file mode 100644 index 0000000000000000000000000000000000000000..1bea177399cc435a6432573dc68e471b2f657c14 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/HUD_MENU_UI.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/HUD_MENU_UI.png b/Angry Birds Project R/2.3.1/data/images/pc/HUD_MENU_UI.png new file mode 100644 index 0000000000000000000000000000000000000000..c6e495d04b3373d45563b5cd40a5b647d82f7438 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/HUD_MENU_UI.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad0dce1df314d89de351695e2957ee14b0993bedcf0cb57ffc54aee78cfd6213 +size 4657 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.dat new file mode 100644 index 0000000000000000000000000000000000000000..95f994905e48b4c27cb29b3769c402e0d886b8bb Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.png new file mode 100644 index 0000000000000000000000000000000000000000..13d828be207cfd33088338e348420b97cc780960 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/INGAME_FUTURE_ELEMENTS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf04c677896f1212f1ded12c8522c9c2aba934682daa3819b907494a29d4708c +size 171647 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..49e5b3525336ad8b973595214051e1e72da25e4f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_1.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_1.png new file mode 100644 index 0000000000000000000000000000000000000000..84bcb2dce6879fd4a89f64b47ce9c6469c34072d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da9b03ce91de8e5e918bda2ad87a5f55985619129baa11deef27a975460f16c3 +size 41004 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..46eeb657a86a8d0e3ec8d777a649d1625c6e8870 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_2.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_2.png new file mode 100644 index 0000000000000000000000000000000000000000..81051da5828b31573d16758477d6ab69fedcba9f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c40eced48bba860e57115e6940531f61e95aa493ccc4cb5103b3da0beeb6a460 +size 121381 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_3.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..c38862816ede02041333010bd887762114970a9e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_3.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_3.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_3.png new file mode 100644 index 0000000000000000000000000000000000000000..da776f278283b904af1f69ec8f050c9e23be69e2 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd6753765fa8a704d6e1552ca436879afdf02086c1d27059b7d7c7d6bf0c1c1e +size 56626 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_4.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_4.dat new file mode 100644 index 0000000000000000000000000000000000000000..284247ee68fdafbf7f6be90d2b326517177f00af Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_4.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_4.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_4.png new file mode 100644 index 0000000000000000000000000000000000000000..6344a8c1558645f366476cc00a9e58c1ce1aedde --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fceb35ad5cd29fb5e0c5b22ff622111a720817980e4e6c8d38c5ba391b424f87 +size 22882 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_5.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_5.dat new file mode 100644 index 0000000000000000000000000000000000000000..5a2c0048cb7a67060cd15f5c819e3fbf24bfa708 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_5.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_5.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_5.png new file mode 100644 index 0000000000000000000000000000000000000000..9498e8ece6d0eef38ac1eadd2d7db33d6487655c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:438544e98889ba2d8dc7e63de469f448906995be21cc59d985309af2459c3779 +size 198143 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.dat new file mode 100644 index 0000000000000000000000000000000000000000..54c4aa1e96798d1dc09bd12268cfd0589580c0f3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.png new file mode 100644 index 0000000000000000000000000000000000000000..d27e712a4bbf39ae4c203d58a87ffa5c4c00b077 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_EXTRA_TEXTURE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe3132f9171d9015c106c2dd77e387bf8ddd984ac7d08c1228e234dc693c7eb +size 9998 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.dat b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.dat new file mode 100644 index 0000000000000000000000000000000000000000..438a32d6878aec7b6cc8a8040d5d4185f08c3bef Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.png b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.png new file mode 100644 index 0000000000000000000000000000000000000000..71d6f8a2be58987e287ebe677bb8f5786c399930 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/Hat3/THEME_HAT_3_TEXTURE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f07e1428c214f9e32c808935d96f3632b92b2c56287e27835728b3eb14d24c58 +size 6010 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS.dat new file mode 100644 index 0000000000000000000000000000000000000000..33cbdeabaf6965f5b4b2a25ebba08ba6f831211a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS.png new file mode 100644 index 0000000000000000000000000000000000000000..75bf8440e7537192400517efd3fe61427b61eb2f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29ded5d572076a1227557e78571d82ce03d5cd4502d0703e744de124f826dd1a +size 1007274 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..9f2d2a53366b155d6c98e54ece4d95977f983a7a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS_2.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..56a4e78dd75a8981084406610b612c6077ab9901 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_ABPR_EXTRAS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eac53a06a1c12489cb39e95db9ae3c53bba3556e4ea88b18108392b52e7bdbcb +size 767606 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f563df05f4dbce2d30a98ad3af512d38fce0dae7 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..f9795a0a5cf07ed7543a7af395eb6e211100e281 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c30e3f6a7315d2a0b67d63cb3fab020b5afb7449d569ddf4a4bcda75ab86df55 +size 869795 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..4b7b188f0ca4a6939c2ed540e9ce8ab00031d92d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_2.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..32e837614def893407819fb6ef1b163cc3e114fa --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77bf6d0d096775faa79ecb62213cb39de21b7d71c5b17f62d44ca94853cbea5 +size 202964 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_3.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..484e5ad270b72b280d7219f0397c495cc853052b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_3.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_3.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_3.png new file mode 100644 index 0000000000000000000000000000000000000000..aa3b37f3384f84a62a0f4458b7bec630d46d2179 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd66fbf36f4a9ece2a79b3ca4dd0c942f291b8451f99a7fd58c4a6ccad202709 +size 124547 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_7.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_7.dat new file mode 100644 index 0000000000000000000000000000000000000000..18eabbd9f56b428c0e85fdb3066de0211a05df12 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_7.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_7.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_7.png new file mode 100644 index 0000000000000000000000000000000000000000..c946504144c7f4d8e4dc620682c80172371fb449 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BIRDS_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf62f5abd168676c479ee0b7d8a342ed5febfb84cc9724a5211b45b991f86860 +size 914698 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..f09c29637550ed97b6c07073a6d818f325c7f45c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..22b1a2df10581b21e8270024a6985b7e3922fd3d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff2cf95dc37ecb0f673873becdedd892f445dd051b799d52fa5a042e7f8c9fca +size 494815 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..5e9bac5128ad4f9ba90591646c3bc37123d04ac4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_2.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..89e8ae08403574d5e033bd29c06aa74a33258bef --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1363bda37b8db7dbdf68b79f81e4b542f6fd746eac39ab9eb7a3604be1a5a97f +size 235759 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_3.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_3.dat new file mode 100644 index 0000000000000000000000000000000000000000..f6cc5f217fb3765964991848e5850cf8780d1bb5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_3.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_3.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_3.png new file mode 100644 index 0000000000000000000000000000000000000000..07cb1b898dd321ae504fe96ebd8ef377db2da184 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10a3fa4b7735c2db47675e1c6631ca1fa442a1a7f70311bd9bf2a633a407fe7b +size 552404 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..8436dfba5fb515b25e42507a4b1f22c4e538da2c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5d63a04bd19e0127087764eb64f44e88b4d10e0d --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_F2P_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddb3fdcd574abaca32037f29f161256bd4a2e047522dacc713030010b8e7b334 +size 803860 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_GLASS_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_GLASS_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..76c44257fc4da655b2618822f5384d41d5d830f2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_GLASS_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_GLASS_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_GLASS_1.png new file mode 100644 index 0000000000000000000000000000000000000000..7a79ae7afb2c081665594560b6b094ac1f066916 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_GLASS_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a693f1adaf939fd7ca8fff6f3aa1eae87f0fd724ec82296d6c04ef539268cac +size 290206 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..0120f14f823306905dd24c23633b8cbf61420ecf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_1.png new file mode 100644 index 0000000000000000000000000000000000000000..c1a20eac89319db3700add262331323202ee1a22 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff73639b11d30671777d5ec55f00b338a334867f1648805e58ebbc430d5071bf +size 695795 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..04e220f3e476c87bd057a3865a00a17881bb34d0 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_2.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_2.png new file mode 100644 index 0000000000000000000000000000000000000000..84b3299b43fa76c51dc724a0437682d6cc5a31ba --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_MISC_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e90b833c9280308d710b8734b2c02ce9f8875b04cc53de7d4a1258d4a26badb +size 942618 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STEEL_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STEEL_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..af9e84ec2724a5484387ff692d26ffe70ea079e6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STEEL_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STEEL_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STEEL_1.png new file mode 100644 index 0000000000000000000000000000000000000000..6af7618bad8557a253dcdc6ab8299286b81164cf --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STEEL_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd79cee651b688cd5afdf6a0b42e065fe6f90ffc47beb898b039338187c59056 +size 22042 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STONE_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STONE_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..434ad1b92cabb74089fbbd2004fc0db0d7d95279 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STONE_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STONE_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STONE_1.png new file mode 100644 index 0000000000000000000000000000000000000000..8a864c038f457c4fb34bdf576c20abfdf886c438 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_STONE_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1167c9ecb32aff439f64dbd69a2c6bbecb8b3c3494dabf71f455b50da737bd8 +size 187589 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_WOOD_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_WOOD_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..4005d9af6e4e36cbcf388d09a840c31a6ecc2332 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_WOOD_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_WOOD_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_WOOD_1.png new file mode 100644 index 0000000000000000000000000000000000000000..e0aa9fa8f90338cccbd23a3b7d7ee0a96c897dfc --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOCKS_WOOD_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c19149cd491dac9b32157e8c443ea65b7b57d1d94c8925952a3080ab605fc7e +size 244156 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOFKS_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOFKS_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..776014e91320d66b692c5882bac41440556a9fe0 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOFKS_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOFKS_2.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOFKS_2.png new file mode 100644 index 0000000000000000000000000000000000000000..2c75148e4ef7b0867a4b08e9132feec07da0db07 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BLOFKS_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82ee55e4346d0319308c8d002ca31e5cac218c11e176180547bcd1bb0470166f +size 286736 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BUNKER.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BUNKER.dat new file mode 100644 index 0000000000000000000000000000000000000000..26c0b494e075a5ac9fa0851d3bdabf1a7a369c08 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BUNKER.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BUNKER.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BUNKER.png new file mode 100644 index 0000000000000000000000000000000000000000..5ccf632dd73e27e99d92602a833cb79666786167 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_BUNKER.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79ba7fff1af26bd6a21b7dd974df02cb6bb71e48b2cbdcf19f39577a5a159679 +size 269690 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_CANNON.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_CANNON.dat new file mode 100644 index 0000000000000000000000000000000000000000..5b57550f03945686067a2bc2e49823c61fec4409 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_CANNON.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_CANNON.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_CANNON.png new file mode 100644 index 0000000000000000000000000000000000000000..0cfe0aeef516d7147c4cc404ec8f334f1fe2388e --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_CANNON.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6669ebc4c375aedda0b976db7c3987dc96b01af4e0e7abf30f5f3dd12087314 +size 161595 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat new file mode 100644 index 0000000000000000000000000000000000000000..5332479378f5aa9849205c6946441e8b5b59ffee Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png new file mode 100644 index 0000000000000000000000000000000000000000..8719a793100e0d86060ab75bb2fba723b5fada26 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_COMMON_BLOCKS.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3ccd0d2a320950fcd910c0b318f5a7e5312791192d3e0ad286a0702068aee6e +size 429214 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_SCORES.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_SCORES.dat new file mode 100644 index 0000000000000000000000000000000000000000..67b88f7c5294ccce1225ed7391a0f427d06a9895 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_SCORES.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_SCORES.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_SCORES.png new file mode 100644 index 0000000000000000000000000000000000000000..d795a90bbea4ee1714bad915ce0ca5f90869ad8b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMMON_SCORES.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f58ba024449bf7fb006049c74d6d93dea32974bb90d4fbf0d9c27ec8ba4f13d +size 161670 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMPOSPRITES.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMPOSPRITES.dat new file mode 100644 index 0000000000000000000000000000000000000000..b81f1714744e47a6352013380059258a3ff4955a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_COMPOSPRITES.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat new file mode 100644 index 0000000000000000000000000000000000000000..0291b58a5aa2c1be95550d3a53a1f2c9936549f6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png new file mode 100644 index 0000000000000000000000000000000000000000..adee3cea6932bbf219bb6c7ce557c457d09113cf --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_EPISODE_RED_BIRD_SHEET_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdbad3a4fca752d0eb4a5128da5c50d37788a66c609068fdded75c9e00abe63f +size 317774 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_FAT_SHEET.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_FAT_SHEET.dat new file mode 100644 index 0000000000000000000000000000000000000000..c36950f6d632592ceef41b397911c8d673a7aac8 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_FAT_SHEET.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_FAT_SHEET.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_FAT_SHEET.png new file mode 100644 index 0000000000000000000000000000000000000000..c9b4ac6a0d040411f56fe2fc203e588ab067d485 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_FAT_SHEET.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b6c9ad8f014746513742b10184e11d742afd2f05f32324a4267e61bb713a48c +size 607419 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PARALLAX_CRANES.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PARALLAX_CRANES.dat new file mode 100644 index 0000000000000000000000000000000000000000..448a8068668d6ca6d1bff321c367e3c07fb3f542 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PARALLAX_CRANES.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PARALLAX_CRANES.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PARALLAX_CRANES.png new file mode 100644 index 0000000000000000000000000000000000000000..00cc636eef9681437b6cbbabdda9dd2838c38c37 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PARALLAX_CRANES.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e7a2ed3081c9104668dab24d593e2eea0890cf6a51257fbdaedebe49fe6284e +size 47469 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PIZZASCAPE.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PIZZASCAPE.dat new file mode 100644 index 0000000000000000000000000000000000000000..b7096585775c6c60bba27b3d83d429e440219f2d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PIZZASCAPE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PIZZASCAPE.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PIZZASCAPE.png new file mode 100644 index 0000000000000000000000000000000000000000..1769bbcb207b19a8654be787c6b959d2da1f4ec0 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PIZZASCAPE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37bd7266a47e0eff8bfaa6c1ac3b00c9370927617f18cd1ab7bb9321e852b092 +size 249276 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKO.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKO.dat new file mode 100644 index 0000000000000000000000000000000000000000..03824ea4e9f0fbb3db612a49c23d183fc0bcf449 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKO.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKO.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKO.png new file mode 100644 index 0000000000000000000000000000000000000000..953a98bf218795244836130cc3e5557433940247 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKO.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1251ac982503f791c95e7a69a0497aaf6eedd08e2fb24258bca72699f5fd4fd8 +size 77812 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKY.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKY.dat new file mode 100644 index 0000000000000000000000000000000000000000..fc59f7c17fda79ec693d4420d0c339882e320adf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKY.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKY.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKY.png new file mode 100644 index 0000000000000000000000000000000000000000..1a573dcbb2a4b297ba82ebd752351baea0425a3a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PORKY.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4de9f07706ea27bdd949fa1b048603e10c7623e68b20673e58421015607cfa93 +size 112648 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PT_EXPLOSION.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PT_EXPLOSION.dat new file mode 100644 index 0000000000000000000000000000000000000000..98cd17595b5180fabdab377180ea8f8c98c43604 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PT_EXPLOSION.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PT_EXPLOSION.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PT_EXPLOSION.png new file mode 100644 index 0000000000000000000000000000000000000000..9eb91c59603bcbac4c28c8486a2e8ae36a6e9497 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_PT_EXPLOSION.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aae0f358ea0acc325be517c80f33ec5d8f4d51f165e3374ce8e408515fcf1fa6 +size 67448 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SCORES_SHEET_1.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SCORES_SHEET_1.dat new file mode 100644 index 0000000000000000000000000000000000000000..ffccc1958c82b3ebe5dbb78cac13d7d0d9d08bf4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SCORES_SHEET_1.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SCORES_SHEET_1.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SCORES_SHEET_1.png new file mode 100644 index 0000000000000000000000000000000000000000..6a50fbed8b9a2a1d68a1afbd9cce57b510588fc0 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SCORES_SHEET_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3886e77790952c92b622d9e102a89506e0c7d6e8b633d422355b7a9f1698f1e5 +size 66875 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SEASON_2.dat b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SEASON_2.dat new file mode 100644 index 0000000000000000000000000000000000000000..6a2af6a7653005ebcbeb3f44e1db415537ca8a88 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SEASON_2.dat differ diff --git a/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SEASON_2.png b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SEASON_2.png new file mode 100644 index 0000000000000000000000000000000000000000..4b8becf31a0904f71ad810d6ca4dcfc0fea50bc4 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/INGAME_SEASON_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:414e1fa9b6a9bb22d519d5533af8d486247a2bcd7c0f9fc1a8ec6242652b3ea4 +size 607580 diff --git a/Angry Birds Project R/2.3.1/data/images/pc/desktop.ini b/Angry Birds Project R/2.3.1/data/images/pc/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..9967b13b4923b1063deaefa6850a1e63f500b6c0 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/images/pc/desktop.ini @@ -0,0 +1,3 @@ +[LocalizedFileNames] +THEME_HAT_1_TEXTURE.png=@THEME_HAT_1_TEXTURE,0 +HAT1_EXTRA_TEXTURE.png=@HAT1_EXTRA_TEXTURE,0 diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b6063ee2244db8fa06b24c7e6e832a357bc5af49 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level10.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level10.lua new file mode 100644 index 0000000000000000000000000000000000000000..e4908b0b4759d83601d60050330e6d1a966a4eaf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level10.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level11.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level11.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcb0466a6b15ca2339bc978236972b44968a3d22 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level11.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level12.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level12.lua new file mode 100644 index 0000000000000000000000000000000000000000..a0722a089653584570a6bb4c4fbb2312061a68b5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level12.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level13.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level13.lua new file mode 100644 index 0000000000000000000000000000000000000000..27a32b65f2f6f564835b3f732afdc3e724158822 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level13.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level14.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level14.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f80e316de64e3a178cee6d9cc5a13c240be9167 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level14.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level15.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level15.lua new file mode 100644 index 0000000000000000000000000000000000000000..60b39edff8c479d696cf8ba172f287a3af4f2ad8 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level15.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level2.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef3314903c465e1bfedbaee0bf9d34a995387226 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level3.lua new file mode 100644 index 0000000000000000000000000000000000000000..9cd6b62bb1bd032172cb3e821898a030ee8ad09d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level4.lua new file mode 100644 index 0000000000000000000000000000000000000000..ad0fd22c50035d52ddfe7e8fba99aa8c05f956f3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level5.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level5.lua new file mode 100644 index 0000000000000000000000000000000000000000..25544b0a4115a4ab0b48f5dadd7f7c222099987d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level5.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level6.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level6.lua new file mode 100644 index 0000000000000000000000000000000000000000..868646f2f78e035b024ad69af505b00484fdcfec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level6.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level7.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level7.lua new file mode 100644 index 0000000000000000000000000000000000000000..c15c1d8543f7aa9d94bfc0431b3e07ea64207814 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level7.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level8.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level8.lua new file mode 100644 index 0000000000000000000000000000000000000000..ea8005a4a2aed82ee562020df880431cdb6f38dd Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level8.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level9.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level9.lua new file mode 100644 index 0000000000000000000000000000000000000000..fbf0dbdd80f4858bacdbfbf5c8c2f2068b3fac5a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 0 - Meet The Flock/Level9.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..154b4f6510fbf2b70d8de06be159683c8e32e20e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..6570fef9a8ef646cd3ad47ab568fffa8942ce44b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_10.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..096a85077bfba60eceaeb049d6f9a5aaeee3df6c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_11.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..b730faed6a1e81caaf9e855804697cd5a7298134 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_13.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..820bc7de535f7e7dcf84be9ffb3ea27df42831c4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_14.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c89a7ac8bd3b618863a183439a76f4ea295c5ce Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_15.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..fc1b8492c8e77ae38ff972fa9f7740a6af173272 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_16.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..7fd23bcdfcfe6d7cda138596413532e08e15c28c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_17.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..d7c2919ca5404351182327b4913139d202f56e8c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_18.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..021d1611e4fa4b3e4cbe1051cae30971a1b0908a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_19.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..98370093018652c3d007274c8ef43f708442bac3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..55b4e974790502c40e03c7f2c8e356b1150934ae Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_20.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..5521d54f37ed07d69204dae757dc1306035f5474 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_21.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..243b23ae71cee81fa882bcd2a3a34b69c51d9b23 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_22.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..4602eb09ab51cc2c7989c132e50d309bfdc32d20 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_23.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d670c8817af78a93a49e957c71aaf8d91c35730 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..8ff5fb253d2ecdf825a96b421b178baebb34a27c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f3de5f925c8278b4a70bc01ecec9909316cbe78 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_5.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..73fedb7d5ed9584df245e3828011e87cbee19ea6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_6.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..6adefc3b0627628891c3e30284f15fdaa4f4ffad Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_7.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e8f547a29179e6b7e4e7ebb8c58ff92da6c6932 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_8.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..54671db565c549056ffa659e5c5110749bcf3f99 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_9.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..b92cc3f6880176bcc3d9586c8423c17d7ab1e0ec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_Boss1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua new file mode 100644 index 0000000000000000000000000000000000000000..64968378d530b52a6c97c8be00896e93283775aa Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 1 - Breakfast Brawl/W1_Boss2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..fb7753a8a15388cfea740f47355e1f44ed69c3cb Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/Boss_King_1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..3191bee4a656118a71c7a40307ed36f64ad513f9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_10.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..81e8304833c3cb5db8bc9c96e10f4d6b73670b34 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_10.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_11.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..4a31090c22f44f9a6b806997d5e00c3200841b23 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_11.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_12.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..7615427b503be8cf6240f4063e2ab41605de205d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_12.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_13.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..63786e86701d5e2dcd9d3a27a1c78471c1887169 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_13.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_14.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..c863913c3b3eef424881916062097926a9ff0641 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_14.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_16.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..ce69ca014db55550f65a6fa989b9913be1e0b1d9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_16.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_17.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..42fa8c05162f0672de93096d31e72dea60015395 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_17.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_18.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..df3bebe276362d9594ad16b15f42e1bdd98c05f1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_18.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_19.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..2d12fb0cfa1c33f877ddfc73036e9d79e2b7fd51 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_19.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e0e5c925f631f631e6c05cab8ab960b35997b74 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_20.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..a602b307d8133272fa0db01a51952f754392fe44 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_20.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_21.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..7bbf2fae633b9e903c6634a3ad60d1cbe21ef1ea Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_21.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_22.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ceee38bb1e2cec7cdd193f494671dfe1fe00e07 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_22.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_23.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..77eaab4dae1b22ebd5d393ef2d090d5c08889e6a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_23.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_24.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..63aa3fa9f4cb4345fc3e2f2af2d8ba28633fcc43 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_24.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_25.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c763cb81373669d330078a0157fcf7afc8d0128 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_25.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_26.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..8206cb9aa6cce742a6fe6e5dc77bd9beaba1293d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_26.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_27.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..0856c889ba1b2c87287501d542ebdd6f772a1682 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_27.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_28.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..8f9f2d10f5d2b5042e86dc63359fb9796fb2dfa1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_28.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_29.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..47003028728f2918b98d553f1e79a676f23fc731 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_29.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..dcb65d9cd3ed98d1b2dd24b0d1223f3753e3fe6e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..a64426210e0fa839fbbfba4ae910ce8a87f97a12 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_5.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..d2cd860875c57710b83fca057be924c2b96afacf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_5.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_6.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..4c6e01960aa6955a6c8bdb8c8ba29236a38c6cfe Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_6.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_7.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..86e2b8810ce808fadfabe0c30dc5e0a4487fb9d9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_7.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_8.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..0311309b54d38eea01068770bcd38aadb9f5466d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_8.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_9.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..84043a5f411c09138fc149c839ad8d730b2638dc Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_9.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua new file mode 100644 index 0000000000000000000000000000000000000000..d258b532472c028eca8dd9d349b3938219d5e5cc Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 2 - Moral Mixup/W2_Boss1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua new file mode 100644 index 0000000000000000000000000000000000000000..b2f4b1cc4cb1cd5eb3bdf2ce1fd3f79fb0fcd89b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/Boss_Cake_Bunker.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua new file mode 100644 index 0000000000000000000000000000000000000000..225e139216eadece98927097c08b389b22510909 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/Boss_Nikocado.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..74661c03be2961bf0dcc0be8a43db8c908180199 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_10.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..07abb28dd2700c3e708e101aa35223ae16a19666 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_10.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_11.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..965b93d53af70494f8a7792ef073ab1066a450c4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_11.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_12.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..0c38a8b5987c649de9a6c22fd809241653858858 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_12.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_13.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..54af7b7f66b512ed1eae1b4be82eb1541c19db67 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_13.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_14.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9b031a796de6ce3632c4630a6ec0ab902492987e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_14.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_16.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..47a832e6134af8813a22ea99fda628249baa273e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_16.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_17.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..55e0817f71f2b60e31348928d6fc1f2f61bb1d77 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_17.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_18.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..ace35bf9934e80636b09b54b7810c1727eda1cc6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_18.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_19.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..2fc0eec272bfa8c8fca42a50949eb750b3651216 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_19.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..d8b86df70d731d869df0f56a598cb4b221b80292 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_20.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..d14fc4bc3e4c3a4795f9ab91c6e57ccbd6ae6f50 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_20.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_21.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..3512779927ffa43e75cd526d5852e405aa6ca851 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_21.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_22.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..6d8e8dc589eb834e94e82abd58023c71fcee7db3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_22.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_23.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..d1ea4263680fec27802f421a2da4a1a883c9d0a6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_23.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_24.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c6c921254cd4bcb8e3969f6a7d8569883369b08 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_24.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_25.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..deca5fdcfaabe6156f9d2ae7cd6987716c6b536a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_25.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_26.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..2cb6088a15903900a74d010a269976167546e9cf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_26.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_27.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..2253aa76981028cf6c3f56a4cdd6cf215d4e09ba Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_27.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_28.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..f47562dda553218093b90db5067bc8a0c4fc1ac8 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_28.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_29.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..d02f6405028a74e8bbfd1a59e780c2187dd5498b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_29.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..82a6fc513a5483b3aae522a7eb515b05eb310285 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca659c882c89d73676d553e1279d89d7578a2a10 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_5.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..612daef504f0a0557c4f618b82328fe211595386 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_5.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_6.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e1f59e59e7e8a59fab5f4e121f8c1497b011d6d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_6.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_7.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..8daa241a59ea3a1f1772da8db9e99fd2c93563d5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_7.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_8.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..3840e6bd9492b1522529e2e58fca08798109eaca Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_8.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_9.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..30c4cfd7d0ca3fa6802c265a058861d2ddc7228a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 3 - Sweet Swines/W3_9.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Hat_Kid.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Hat_Kid.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d9451b6bfdb48ef5ad3e11b547bbe402e3f8a59 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Hat_Kid.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..78965b810208b6526a846b7b6ae074ea76adcdee Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Porky_2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua new file mode 100644 index 0000000000000000000000000000000000000000..4a8d83db25b01b3e0f1c8f99ed65d919bdeb8559 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/Boss_Primal_King.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..c3438cfe7b8faf6cc653b25c87e1721ffa9cdf9c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_10.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..2b1e1f9bd85ea3e656f7e79929de282c94cc04bb Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_10.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_11.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..e9e43726b42d82061f90581a88a8849122f65806 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_11.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_12.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..f6772899277a4e74bad25c8bd4420c65e5abc150 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_12.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_13.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..145da287e0bcd6825c3eb5dc59d484efebbb8b1f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_13.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_14.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..cb6593b43fa5a446c768ab52b826bf600dd368d1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_14.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_16.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..970ce7e4cfa9b5d591dc7ef9ec677c0614464dc7 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_16.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_17.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_17.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8bb4cfc0d59622cc193256a124bfcce5ca6c5cd Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_17.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_18.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_18.lua new file mode 100644 index 0000000000000000000000000000000000000000..56c2992de3944a9fa4be0d6b3462e2ff771d1cc0 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_18.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_19.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_19.lua new file mode 100644 index 0000000000000000000000000000000000000000..22050ff2b6fb897f52a86aef68d1b287b2309ca5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_19.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..2c3e4962c1e7a2539378c578815a4c02e4483aae Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_20.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_20.lua new file mode 100644 index 0000000000000000000000000000000000000000..8344fb7133efd6a49f76ab71d32fc649d516eded Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_20.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_21.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_21.lua new file mode 100644 index 0000000000000000000000000000000000000000..d64d12855fbad33253ee4d0d4063ef8ae94c1aa1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_21.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_22.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_22.lua new file mode 100644 index 0000000000000000000000000000000000000000..a5a21ae46348d1aee92995af716b9a5ce2d633e1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_22.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_23.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_23.lua new file mode 100644 index 0000000000000000000000000000000000000000..7f80d6fad5873e2ab4e7fd9bb656ab3de8b50abf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_23.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_24.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_24.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f24b4dfbd41ca887d042431241a4d48daacad3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_24.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_25.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_25.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c33afe42c4a7cf3daf0f7f6289f48776b25f05c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_25.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_26.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_26.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b0f856507e5572c5a7991b33f624063cda93c3d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_26.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_27.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_27.lua new file mode 100644 index 0000000000000000000000000000000000000000..ff1e6461ea004270ed8423352665c00f843f4f2d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_27.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_28.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_28.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ef1eb96889374d72431688fee552e90721e425c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_28.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_29.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_29.lua new file mode 100644 index 0000000000000000000000000000000000000000..c158dfe4d3a4b88f97d4a3e150d4f7fdd0d38c23 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_29.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..326b0b67ce0e1ba4f73cfc1b79f1ea4d6cfcf943 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_31.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_31.lua new file mode 100644 index 0000000000000000000000000000000000000000..5edd6ea055d894481e534ec2f2a6bfb2c26dae23 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_31.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_32.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_32.lua new file mode 100644 index 0000000000000000000000000000000000000000..b00a1f9464e72d6620f549b033383aeb196d4be9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_32.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_33.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_33.lua new file mode 100644 index 0000000000000000000000000000000000000000..9989fc7104a53fe41c2103df19b9d62a7f8c2b98 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_33.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_34.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_34.lua new file mode 100644 index 0000000000000000000000000000000000000000..370244e2e23233324cd3d4bf2be6687744062fbd Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_34.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_35.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_35.lua new file mode 100644 index 0000000000000000000000000000000000000000..3eb9bfd8a8e9c1d6c531a3bd65c844025115e996 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_35.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_36.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_36.lua new file mode 100644 index 0000000000000000000000000000000000000000..52ac7e321bc89a054c0056c4c0fcc566e82ebe3c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_36.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_37.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_37.lua new file mode 100644 index 0000000000000000000000000000000000000000..fdf6995b69bafae522d9a334682c44e3875c340a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_37.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_38.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_38.lua new file mode 100644 index 0000000000000000000000000000000000000000..9617857ee534571541059f76ba02bd30b35f1b87 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_38.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_39.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_39.lua new file mode 100644 index 0000000000000000000000000000000000000000..ed5b096b8fcae34e4fa81d132eee359b6e7811dc Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_39.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..0aa0707ffcae15fc8902b44e23d37254d3eea9f8 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_40.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_40.lua new file mode 100644 index 0000000000000000000000000000000000000000..8538af70103138cc78919d8ea01de6ee69b2e135 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_40.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_41.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_41.lua new file mode 100644 index 0000000000000000000000000000000000000000..f50118ea58ee0b15850909cbef9335c3870652e4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_41.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_42.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_42.lua new file mode 100644 index 0000000000000000000000000000000000000000..745dbba3f39914b173ff05151e3cbf8c8234ebd2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_42.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_43.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_43.lua new file mode 100644 index 0000000000000000000000000000000000000000..ce8882cf890ade0beb0bfe93607b757d3266f645 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_43.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_44.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_44.lua new file mode 100644 index 0000000000000000000000000000000000000000..12a6c77845aa284c6e781669f84f4c9282a71820 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_44.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_5.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c9038417451ac1b12fe981fd0ac5d70bb91118d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_5.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_6.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..fae81202685f49c6fc9e7342804f98c48c045bf0 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_6.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_7.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..49d09a6f2644c515af04ef2877d248f097cde32e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_7.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_8.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..e8cc4bfe9cdea737dee8ee7446c289e38cb8e248 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_8.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_9.lua b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..697195c28e4de8a3dae2f47b085c5f368e583ef2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode 4 - Time Tasum/W4_9.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f6569c04fdafe4cc9510e8926cbe3da4a5b6ccd Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/Hallow_Star_Level.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua new file mode 100644 index 0000000000000000000000000000000000000000..a02a92af983beb9c1672de36685181af7c648406 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LEVELGE_BOUNCI.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD1.lua new file mode 100644 index 0000000000000000000000000000000000000000..25e07084848fc1ddbf8c2856838104b6be20afc1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD2.lua new file mode 100644 index 0000000000000000000000000000000000000000..2384501d306afa1fe8ea4795b297fcd3c1d335ad Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD3.lua new file mode 100644 index 0000000000000000000000000000000000000000..2ec33e9f0cc70da43bc83d9598c893a05cb1cc7d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelD3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ce2980f537a1c0ecd5a734f2cd861e6ac68e097 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_10.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..489bde2d4847ef661fe4b4855a0909dd51e6b72e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_10.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_11.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..858e1469d6c52086f42e997fc2f96265432aea6a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_11.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_12.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..d269527b952b62c6205b3ce3e068c8faefac0f10 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_12.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_13.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..a771902e61c43e18949ec8c794b0ae80e646b98b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_13.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_14.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f25e906ed323101355eb48a3516afe066ecf01a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_14.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_15.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..1b5fb3713d4ae5974d1c62b8f43d97bd8ebbb772 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_15.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_16.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_16.lua new file mode 100644 index 0000000000000000000000000000000000000000..762ced4c1f5ead879f532b24e2f1c20f5da3885d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_16.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..91de332df44c292525833b8a34b4790d4ebe9c6c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..97a0672193527181db10e066a4cfc424c6958b95 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..3e25fcfe09513ed0dfe769497f7d9f0800471323 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_5.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..c8ca41417612dd7bd3e6ce94208dce9ec8e1247b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_5.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_6.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c4f15fdc2fca91aade755370021bad0063b7870 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_6.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_7.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..b1207e3429857c7f5ba04058571c227e4f97bd66 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_7.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_8.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..677133aa9fd4f26e4e3e6d4610742b12e9a40f4a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_8.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_9.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..f23e46702e68c5d994aec0340f384063b672b893 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_9.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua new file mode 100644 index 0000000000000000000000000000000000000000..a51c1284e96b5db5e9d82cefa6bf81ad8d417279 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_ANGELO.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua new file mode 100644 index 0000000000000000000000000000000000000000..ccbefb1668cd8cad1f644db31df1332be4a0e920 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_EP3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_EP4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_EP4.lua new file mode 100644 index 0000000000000000000000000000000000000000..e53294fd4d358b16398c4418becfd2a1100e2c16 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_EP4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua new file mode 100644 index 0000000000000000000000000000000000000000..5f4d5ffe75fd6f90c0404808deb8ea0b7a61fad8 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_HallowEgg.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua new file mode 100644 index 0000000000000000000000000000000000000000..96c306c81f1f9392bee80e08dd0d40f57bb6cc0f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/LevelGE_WIZPIG.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua new file mode 100644 index 0000000000000000000000000000000000000000..52e4ada9a41447fad2950bca0e1a2bd4437e2027 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode G - Golden Eggs/Level_GE_FINAL.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_1.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_1.lua new file mode 100644 index 0000000000000000000000000000000000000000..ca51531280aefed9288733dc4020974ee1e45f76 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_10.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_10.lua new file mode 100644 index 0000000000000000000000000000000000000000..07c5702d7d5c22e3669bb619fe5c526ae9e734df Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_10.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_11.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_11.lua new file mode 100644 index 0000000000000000000000000000000000000000..8fa0e367e0b97f259d838634d192a72ec53c55b9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_11.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_12.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_12.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18243e59f4425efb15238f38ad2f183cd1c5e12 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_12.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_13.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_13.lua new file mode 100644 index 0000000000000000000000000000000000000000..2dd16cdf9bb1072aee9b4336d47f6f6dc9e7188f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_13.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_14.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_14.lua new file mode 100644 index 0000000000000000000000000000000000000000..950717b47b0c8f110357a3e646231ad321b3acea Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_14.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_15.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_15.lua new file mode 100644 index 0000000000000000000000000000000000000000..a8f545f919206e0101fb057ca4f6a6451c4dda72 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_15.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_2.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_2.lua new file mode 100644 index 0000000000000000000000000000000000000000..9b50d1f46c3ad0d5b5320ac875a94f9819df9ab0 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_3.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_3.lua new file mode 100644 index 0000000000000000000000000000000000000000..87b7ef1cf6346a50e9708b429b05ead4594dcc8b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_4.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_4.lua new file mode 100644 index 0000000000000000000000000000000000000000..386dc09970ee61f4916acb08344d270b7c9442f8 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_4.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_5.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_5.lua new file mode 100644 index 0000000000000000000000000000000000000000..2151daddcfd1c464b929c0542a6f280abe532639 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_5.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_6.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_6.lua new file mode 100644 index 0000000000000000000000000000000000000000..38928aed0e2ad90a6f84003119a6a7e39ca4e85b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_6.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_7.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_7.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd1db8240fa7c13551099d0b701afaebb4f26e10 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_7.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_8.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_8.lua new file mode 100644 index 0000000000000000000000000000000000000000..52168af4218c8b4b4104232c223c52156ad1b064 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_8.lua differ diff --git a/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_9.lua b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_9.lua new file mode 100644 index 0000000000000000000000000000000000000000..90db70aa339cc11802bfe62a4e00a366b57357f2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/levels/Episode H - Hallow Heist/H_9.lua differ diff --git a/Angry Birds Project R/2.3.1/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat b/Angry Birds Project R/2.3.1/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat new file mode 100644 index 0000000000000000000000000000000000000000..1dd75fa1443757fa9fbef29097c7406dd7bb4069 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/localization/TEXTS_ACHIEVEMENTS_MISC.dat differ diff --git a/Angry Birds Project R/2.3.1/data/localization/TEXTS_BASIC.dat b/Angry Birds Project R/2.3.1/data/localization/TEXTS_BASIC.dat new file mode 100644 index 0000000000000000000000000000000000000000..115e2f3eb71493d361ebbd929e8e3c3fac96ba3f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/localization/TEXTS_BASIC.dat differ diff --git a/Angry Birds Project R/2.3.1/data/localization/TEXTS_OVI_STORE.dat b/Angry Birds Project R/2.3.1/data/localization/TEXTS_OVI_STORE.dat new file mode 100644 index 0000000000000000000000000000000000000000..030d71f0e88ce966a0ba069f7ed93cda6f7cc69a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/localization/TEXTS_OVI_STORE.dat differ diff --git a/Angry Birds Project R/2.3.1/data/localization/angry.exe b/Angry Birds Project R/2.3.1/data/localization/angry.exe new file mode 100644 index 0000000000000000000000000000000000000000..8be4dfa95adff797fcac14848d2f3594f976e4db Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/localization/angry.exe differ diff --git a/Angry Birds Project R/2.3.1/data/localization/english.txt b/Angry Birds Project R/2.3.1/data/localization/english.txt new file mode 100644 index 0000000000000000000000000000000000000000..59669e91f343c019569dd6ae3f1f4c59b873ed8c --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/localization/english.txt @@ -0,0 +1,258 @@ +SK_SELECT=Select +SK_EXIT=Exit +SK_OK=Ok +SK_YES=Yes +SK_NO=No +SK_CONTINUE=Continue +SK_HELP=Help +SK_ERASE=Erase +TITLE_CHOOSE_LANGUAGE=Choose Language +ITEM_ENABLE_SOUNDS_QUERY=Enable sounds? +ITEM_ENABLE_VIBRATION_QUERY=Enable vibration? +ITEM_HIGH_SCORES=High Scores +ITEM_HELP=Help +ITEM_ERASE_DATA=Erase data +ITEM_ERASE_HIGHSCORE=Erase highscores +ITEM_ARE_YOU_SURE=Are you sure? +ITEM_SFX_ON=SFX: ON +ITEM_SFX_OFF=SFX: OFF +ITEM_MUSIC_ON=Music: ON +ITEM_MUSIC_OFF=Music: OFF +ITEM_VIBRATION_ON=Vibra: ON +ITEM_VIBRATION_OFF=Vibra: OFF +ITEM_CONTINUE_GAME=Continue game +ITEM_PAUSE=Pause +ITEM_LEVEL_SELECTION=Level selection +ITEM_OPTIONS=Options +MI_PLAY=Play +MI_SETTINGS=Settings +MI_ABOUT=About +MT_MORE_GAMES=More Games! +MI_EDIT=Edit +MT_SETTINGS=Settings +MT_ABOUT=About +MT_LEVEL_SKIPPED=LEVEL SKIPPED! +MT_LEVEL_COMPLETE=LEVEL CLEARED! +MI_CONTINUE=Continue +MT_PAUSE=paused +MT_LEVEL_FAILED=LEVEL FAILED! +MI_RESTART=Retry +MI_RETRY=Retry +MI_BACK=Back +MI_SCORE=Score +MI_HIGH_SCORE=Highscore +MI_OK=OK +TEXT_SELECT_LEVEL=Select level +TEXT_FB_LEVELS_HINT_TITLE=Discord bonus levels! +TEXT_FB_LEVELS_HINT=Tap the yellow button above to visit my Discord Server.\0ATalk with people and hear the latest news about the mod! +TEXT_NETWORK_ERROR_TITLE=Network error. +TEXT_NETWORK_ERROR=A connection error has occurred, please try again. +TEXT_LIKE_CONFIRMED_TITLE=Thank you! +TEXT_LIKE_CONFIRMED=Be sure to follow the development! +TEXT_EXIT_CONFIRM=Are you sure you want to quit? we'll miss you! +MI_EXIT=Quit +MI_AUDIO=Audio +MI_VIBRA=Vibra +MI_MENU=Menu +MI_LOADING=Loading... +MI_NEW_HIGHSCORE=New Highscore! +TEXT_BEST_SCORE=Previous Best +MI_MORE_GAMES=Check out other great games from Rovio! +HELP_TITLE_HOWTOPLAY=How To Play +HELP_TITLE_BLUE=Blue Groupie +HELP_TITLE_YELLOW=Yellow speedster +HELP_TITLE_BLACK=Black Blaster +HELP_TITLE_GREEN=Eggy Bomber +HELP_TITLE_SPECIAL=Special Moves +HELP_TEXT_HOWTOPLAY_1=Launch the birds by using the slingshot. +HELP_TEXT_HOWTOPLAY_2=Pop all of the pigs to clear the level! +HELP_TEXT_BLUE=Strong against ice blocks +HELP_TEXT_YELLOW=Strong against wood blocks +HELP_TEXT_BLACK=Strong against stone blocks +HELP_TEXT_GREEN=Fat & Lazy +HELP_TEXT_SPECIAL=Activate special move by tapping the screen while the bird is flying in the air +HELP_SUBTITLE_SPECIAL=Special move: +HELP_SPECIAL_BLUE=Group Attack +HELP_SPECIAL_YELLOW=Turbo Boost +HELP_SPECIAL_BLACK=Explosion +HELP_SPECIAL_EGGY=Egg Grenade +TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CHILLINGO=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_CLICKGAMER_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_S60_LITE=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT=\0A\0A 2022-2024 Jeremiah Plays Again, The AB Characters are trademarks of Rovio Entertainment Ltd and Sega. They are protected by international copyright laws. A mod developed by Jeremiah Plays Again and currently published by Angry Birds Modding Direct.\0AOriginally published by Angry Birds Play.\0AAll rights reserved to their owners.\0AAngry Birds Power Trouble by NickDoesStuff. +TEXT_ABOUT_PALM=Angry Birds Project R\0Av1.0.0\0A\0A© 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PALM_LITE=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID=Angry Birds Project R\0Av1.0.1\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_HD=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_2=© Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd and are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_ANDROID_BETA=Angry Birds Project R\0Av1.0.0\0A\0A 2022 Chef Snatcher Angry Birds and game characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_ABOUT_PC=TEXT_ABOUT_CLICKGAMER=Angry Birds Project R\Beta 3.3\0A\0A 2022 Chef Snatcher, The AB Characters are trademarks of Rovio Entertainment Ltd, Hat Pig (More prominently Hat Kid) is a trademark of A Hat In Time by Gears For Breakfast. These are protected by international copyright laws. A mod developed by Chef Snatcher and published by ABPlay.\0AAll rights reserved to their owners. +TEXT_CREDITS=CREDITS\0A\0A- Director -\0AJeremiah Plays Again\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AJeremiah Plays Again\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0ANickDoesStuff\0AMason The Maniac\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0AArthumgo\0ANopenop!\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0Axxxman360\0ATcd729\0Aknoxider\0A\0A- Music And Sound Effects -\0AAri Pulkkinen\0AThe Default Pro\0Aflamerfan2000\0AJeremiah Plays Again\0ATour De Pizza\0ASEGA\0AZeptolab\0A\0A- Level Designers -\0AJeremiah Plays Again\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0AYan_IDK24\0ATcd729\0ALucasX2\0AThe name's Army\0AHruman\0AAlternatExpungle\0AOlivr\0A\0A- Dev Build Testers -\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0Asnowy_outbreak\0ALogic\0ATcd729\0AHruman\0AMarisa Kirisame\0AAssasain 2.0\0AThe Default Pro\0Aflamerfan2000\0AGloopyStuff\0ADrew\0Aernestomoise65\0Aluckyblock30\0Asomeguyonthewebfr\0AOlivr\0A\0A- Ideas And Other Characters -\0ANickDoesStuff\0Aepikbirb\0Asome guy\0AAssasain 2.0\0ATcd729\0ATour De Pizza\0AThe Sugary Spire team\0A5xGame\0ALogic\0A\0AShoutout to all of the public beta players and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull:\0A\0AThanks For Playing! +TEXT_CREDITS_PC=CREDITS\0A\0A- Director -\0AJeremiah Plays Again\0A\0A- Artists -\0AThe Original Angry Birds Artists\0AJeremiah Plays Again\0AMr.Bird\0ABuhoedull2401\0AOmnetyc\0ANickDoesStuff\0AMason The Maniac\0APigdoggo\0AThatboiluigi\0Atoadette_xd\0AArthumgo\0ANopenop!\0A\0A- Programming Help and Other Coding -\0ANickDoesStuff\0AAssasain 2.0\0Aepikbirb\0APigdoggo\0Abinaer\0Axxxman360\0ATcd729\0A\0A- Music And Sound Effects -\0AAri Pulkkinen\0AThe Default Pro\0Aflamerfan2000\0AJeremiah Plays Again\0ATour De Pizza\0ASEGA\0A\0A- Level Designers -\0AJeremiah Plays Again\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0AYan_IDK24\0ATcd729\0ALucasX2\0AThe name's Army\0AAlternatExpungle\0A\0A- Dev Build Testers -\0APan Susel\0ATheo!\0AAngeloMineBoy15\0Athe pixel guy\0Asnowy_outbreak\0ALogic\0ATcd729\0AMarisa Kirisame\0AAssasain 2.0\0AThe Default Pro\0Aflamerfan2000\0AHruman\0Ajkio\0AGloopyStuff\0ADrew\0Aernestomoise65\0A\0A- Ideas And Other Characters -\0ANickDoesStuff\0Aepikbirb\0Asome guy\0AAssasain 2.0\0ATcd729\0ATour De Pizza\0ALogic\0A\0AShoutout to all of the public beta players and people that showed this mod on Youtube, including:\0ATA\0AAluka GamesEn (Theo)\0AGTAB\0Axxxman360\0A\0A- Special Thanks -\0ATA\0ANickDoesStuff\0A\0AYou both inspired me to finally snap and buy a PC after months of jealousy.\0AThanks Guys :)\0A\0AORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D\0A\0AFree Golden Egg lol\0Aunless you already got it then :skull:\0A\0AThanks For Playing! +TEXT_CREDITS_ORIGINAL=ORIGINAL ANGRY BIRDS TEAM\0A\0A- Executive Producers -\0ANiklas Hed\0AMikael Hed\0A\0A- Producers -\0ARaine Mäki\0AHarro Grönberg\0A\0A- Lead Designer -\0AJaakko Iisalo\0A\0A- Lead Programmer -\0ATuomo Lehtinen\0A\0A- Programmers -\0AMiika Virtanen\0AAntti Laitinen\0AAtte Järvinen\0AMika Rahko\0AMarco Rapino\0A\0A- Lead Graphic Artist -\0ATuomas Erikoinen\0A\0A- Additional GFX & SFX -\0AJoonas Mäkilä\0A\0A- Level Designers -\0AJaakko Iisalo\0AJoonas Mäkilä\0ATuomas Erikoinen\0A\0A- Technical Support -\0AMiika Virtanen\0A\0A- Music & Sound Design -\0AAri Pulkkinen (AriTunes)\0A\0A- QA Manager -\0ADean Bent\0A\0A- QA Team -\0AKari Perho\0ARichard GrosJean\0A\0AADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS_AB=Powered by Box2D +TEXT_CREDITS_ADDITIONAL=ADDITIONAL CREDITS\0A\0A- Marketing & PR -\0APeter Vesterbacka\0AMatt Wilson\0AVille Heijari\0AJuhana Kotilainen\0A\0A- IT Administrator -\0AMikko Järvinen\0A\0A- Controller -\0AIrina Smirnova\0A\0APowered by Box2D +TEXT_CREDITS_THANKS=THANKS\0A\0A(todo) +TEXT_PERFECT=Total destruction - three stars in all levels!\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_PERFECT_LP1=Destroy all pigs to clear the level! +TEXT_PERFECT_LP2=Total destruction - three stars in all levels!\0A\0AThe Mighty Eagle is impressed. It's time to party! +TEXT_COMPLETE=Congratulations for completing the episode!\0A\0AThere's room for improvement though...\0ANow try to get three stars in all levels! +TEXT_COMPLETE_LP1=Congratulations for completing all levels in the episode!\0A\0AGet three stars in all levels to become an honorary Angry Bird! +TEXT_COMPLETE_LP2=Congratulations for completing all levels in the episode!\0A\0AGet three golden stars in all levels to prove yourself to The Mighty Eagle! +TEXT_UPSELL=More levels, more FUN! +TEXT_UPSELL_LITE=105 levels, 106% FUN! +TEXT_UPSELL_BUTTON=BUY HERE +TEXT_UPSELL_BUTTON_2=Get it Here! +TEXT_LP_NAME_1= Meet The Flock +TEXT_LP_NAME_2= Breakfast Brawl +TEXT_LP_NAME_3= Moral Mixup +TEXT_LP_NAME_4= Sweet Swines +TEXT_LP_NAME_5= Rebuilding Time +TEXT_LP_NAME_6= Big World Adventure +TEXT_LP_NAME_7= Road Hogs +TEXT_LP_NAME_8= Battle For The Moon +TEXT_LP_NAME_9= Mirror Curse +TEXT_LP_NAME_10= Tower Of Misfortune +TEXT_LP_NAME_SURF= Summer Madness +TEXT_LP_NAME_EGGS=Golden Eggs +TEXT_SELECT_LP=Select Episode +TEXT_LITE_BUY_BUTTON=FULL VERSION +TEXT_COMING_SOON=Coming soon +TEXT_CONGRATULATIONS=Congratulations! +TEXT_HIGHSCORE_SPRITE=NEW_HIGHSCORE_EN +TEXT_SCORE_SPRITE=SCORE_EN +TEXT_PLAY_SPRITE=MENU_PLAY_EN +TEXT_SPLASH_LOADING_SPRITE=LOADING_EN +TEXT_GOLDEN_EGG_HELP=Search throughout the game to find hidden golden eggs, each one unlocks a new secret level! +FONT_HIGHSCORE=FONT_CURRENT_HIGHSCORE +FONT_BASIC=FONT_BASIC +FONT_MENU=FONT_MENU +FONT_SPACE_SCORE_BIG=FONT_SPACE_SCORE_BIG +TEXT_EAGLE_HIGHSCORE=Eagle Highscore: +TEXT_EAGLE_SCORE=Eagle Score: +TEXT_EAGLE_TOTAL_DESTRUCTION=TOTAL DESTRUCTION! +TEXT_MIGHTY_EAGLE_RETURNS=Mighty Eagle is back in business! +TEXT_EAGLE_UPSELL=Having trouble finding those Golden Eggs? +TEXT_EAGLE_UPSELL2=The Hint List is here to help!\0APress the right button at the bottom to check it out! +TEXT_REMOVE_ADS_UPSELL=Go ad-free. +TEXT_REMOVE_ADS_UPSELL2=One time payment. +TEXT_POWERUP_RECEIVED_SLINGSCOPE=Sling Scopes gained +TEXT_POWERUP_RECEIVED_BIRDQUAKE=Birdquakes gained +TEXT_POWERUP_RECEIVED_KINGSLING=King Slings gained +TEXT_POWERUP_RECEIVED_SUPERSEEDS=Power Potions gained +TEXT_POWERUP_RECIEVED_BUNDLE=Power-up bundles received +TEXT_POWERUP_PARENTAL= You have now disabled Power-ups. You can enable them again at any time. +TEXT_POWERUP_PARENTAL_LOCK= You currently have Power-ups disabled. Go to the title screen settings to enable them. +TEXT_SHOP_PRICE=Price: +TEXT_SHOP_KING_SLING_DESCRIPTION=Upgrade to the almighty King Sling for maximum power and velocity! +TEXT_SHOP_SUPER_SEED_DESCRIPTION=Supersize your bird! Power Potions turn any bird into a pig-popping giant. +TEXT_SHOP_BIRDQUAKE=Rattle the battle! Use the Birdquake to bring pigs' defenses crashing to the ground! +TEXT_SHOP_SLING_SCOPE_DESCRIPTION=Looking for the perfect shot? Use Sling Scope Laser Targeting for pinpoint precision! +TEXT_SHOP_ALL-IN-ONE-BUNDLE=This ultimate combo pack gives you all four power-ups! +TEXT_SHOP_PURCHASE=Purchase +TEXT_FREE_POWERUPS_TITLE=Angry Birds now has power-ups! +TEXT_FREE_POWERUPS=Enjoy these 20 free power-ups, and come back tomorrow for more rewards! +TEXT_FREE_FREE=FREE +TEXT_KING_PIG_MODE_KING_PIG_TAGLINE=your gay +TEXT_KING_PIG_MODE_BIRD_FRENZY_TAGLINE=Beat the level with unlimited birds! +TEXT_KING_PIG_MODE_TOTAL_DESTRUCTION_TAGLINE=Tap on the level to explode it! +TEXT_KING_PIG_MODE_MATERIAL_MIX-UP_TAGLINE=Two materials have been swapped! +TEXT_MIGHTY_EAGLE_RESTORE_QUERY=Do you wish to restore Mighty Eagle from your iTunes account? +TEXT_MIGHTY_EAGLE_PURCHASE_QUERY=Mighty Eagle has not been purchased yet. Do you wish to do that now? +TEXT_MIGHTY_EAGLE_RESTORE_PROCESSING=Restoring Mighty Eagle... +TEXT_MIGHTY_EAGLE_RESTORE_SUCCESS=Mighty Eagle has been successfully restored. +TEXT_MIGHTY_EAGLE_RESTORE_FAILURE=Restoring Mighty Eagle failed. Please, try again. +TEXT_MIGHTY_EAGLE_RESTORE_UNNECESSARY=Mighty Eagle is already active, no need for restoration. +TEXT_MAGICPLACES_PP_UNLOCK=To earn rewards with Magic Places, you need to agree to our privacy policy +TEXT_MAGICPLACES_PP_AGREE=Button: I Agree +TEXT_MAGICPLACES_PP_WOULD="Angry Birds" would like to use your ip address +TEXT_MAGICPLACES_PP_DATAPROVIDED=Magic Places location data is provided by CloudMade +TEXT_MAGICPLACES_NOLOCATION_NOSERVICES=Location services are not allowed. +TEXT_MAGICPLACES_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_NOSERVICES=Location services are turned off +TEXT_MAGICPLACES_AND_NOLOCATION_OPENSETTINGS=To use Magic Places, open Settings and make sure that Location Services are turned on for Angry Birds +TEXT_MAGICPLACES_AND_NOLOCATION_GOTOSETTINGS=Button: Go to settings +TEXT_MAGICPLACES_BIRD_YOUAREHERE=You are here! +TEXT_MAGICPLACES_POWERUPS_GAINED=%s %s gained +TEXT_MAGICPLACES_POWERUPS_EACHGAINED=%s of each Power Up gained! +TEXT_MAGICPLACES_POWERUPS_GETMORE=Go to Magic Places to unlock more Power Ups +TEXT_MAGICPLACES_POWERUPS_RAISEFLAG=Button: Raise a flag! +TEXT_MAGICPLACES_TUTORIAL_DISCOVER=Visit Magic Places to earn power-ups! +TEXT_MAGICPLACES_TUTORIAL_BROWSE=Browse the map to find Magic gift boxes and earn power-ups! +TEXT_MAGICPLACES_NOTIFICATION_STANDARD=Ca-caw! You're close to a Magic Place +TEXT_MAGICPLACES_NOTIFICATION_VARIATION1=Ta-daa! Magic Places are nearby, make a visit! +TEXT_MAGICPLACES_NOTIFICATION_VARIATION2=Woohoo, something Magic is in the air! +TEXT_MAGICPLACES_PP_MESSAGE=Joining the hunt for power-ups will give Angry Birds access to your location and agree with the privacy policy. +TEXT_MAGICPLACES_KP_MESSAGE=Try out our new King Pig mode +TEXT_MAGICPLACES_POWERUPS_NOPLACES=There are no magic places nearby. Search a little further! +TEXT_MAGICPLACES_SETTINGS=When you turn on Magic Places notifications, your device will track your location, even if the application is not running. +TEXT_MAGICPLACES_LONG_DESCRIPTION=Discover free power-ups at real-world locations! To use this feature, you need to enable access to your location and agree to Rovio's privacy policy and End User License Agreement (EULA). +TEXT_MAGICPLACES_HOW_MAGIC_WORKS=Magic uses your location to determine if you are in a Magic Place. +TEXT_MAGICPLACES_SERVICE_TOGGLE=You can turn location services on/off in your device settings. +TEXT_MAGICPLACES_SERVICE_COMBINATION=Location data may be combined with other Rovio services in the future. +TEXT_MAGICPLACES_FAQ=More info is available in the FAQ (rov.io/MagicPlacesFAQ) +NOTIFICATION_1=Chirp!! You're missing out on stars! Come and get them! +NOTIFICATION_2=Ca-caw! The Pigs have the Eggs! Go stop em! +NOTIFICATION_3=Squawk! We miss you! Come play! +NOTIFICATION_4=Haven't seen you in a long time! Time to pop some pigs! +TEXT_SHOP_ANDROID_DAILY_PURCHASE_LIMIT=You've reached the daily purchase limit. Come back tomorrow to buy more! +TEXT_ROVIO_ID_INTRODUCTION=Sign in now to save your progress and sync it across devices! +TEXT_ROVIO_ID_SAVING_PROGRESS=Saving game progress... +TEXT_ROVIO_ID_SAVING_FAILED=Saving game progress...failed. +TEXT_ROVIO_ID_POP-UP_TITLE=Rovio Account +TEXT_ROVIO_ID_SIGN_OUT=Sign out as: %s? +TEXT_ROVIO_ID_SIGN_IN=Sign in +TEXT_ROVIO_ID_SIGN_UP=Sign up +TEXT_ROVIO_ID_EMAIL_ADDRESS=Email +TEXT_ROVIO_ID_PASSWORD=Password +TEXT_ROVIO_ID_NEW_PASSWORD=New password +TEXT_ROVIO_ID_FORGOT_PASSWORD=Forgot your password? +TEXT_ROVIO_ID_not_have_account_yet=Don't have an account yet? +TEXT_ROVIO_ID_SIGN_UP_NOW=Sign up now! +TEXT_ROVIO_ID_BIRTHDAY=Birthday +TEXT_ROVIO_ID_DATE_FIELD_MONTH=Month +TEXT_ROVIO_ID_DATE_FIELD_DAY=Day +TEXT_ROVIO_ID_DATE_FIELD_YEAR=Year +TEXT_ROVIO_ID_MONTH_JAN=Jan +TEXT_ROVIO_ID_month_feb=Feb +TEXT_ROVIO_ID_month_mar=Mar +TEXT_ROVIO_ID_month_apr=Apr +TEXT_ROVIO_ID_month_may=May +TEXT_ROVIO_ID_month_jun=Jun +TEXT_ROVIO_ID_month_jul=Jul +TEXT_ROVIO_ID_month_aug=Aug +TEXT_ROVIO_ID_month_sep=Sep +TEXT_ROVIO_ID_month_oct=Oct +TEXT_ROVIO_ID_month_nov=Nov +TEXT_ROVIO_ID_month_dec=Dec +TEXT_ROVIO_ID_AGREE_BY_SIGN_IN=By signing up, you are agreeing to our EULA and Privacy Policy. +TEXT_ROVIO_ID_EULA=EULA +TEXT_ROVIO_ID_PRIVACY_POLICY=Privacy Policy +TEXT_ROVIO_ID_FORGOT_PASSWORD-RESET=To reset your password, enter the email address associated with your account below. +TEXT_ROVIO_ID_RESET_PASSWORD_TITLE=Reset password +TEXT_ROVIO_ID_EMAIL_SENT=Email has been sent! +TEXT_ROVIO_ID_RESET_PASSWORD_MESSAGE=Please, check your email for password reset information. +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_TITLE=Thanks for signing up! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_SENT=A verification email is sent to: +TEXT_ROVIO_ID_SIGN_UP_SUCCESS_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio within 48 hours. +TEXT_ROVIO_ID_SORRY_TITLE=Sorry! +TEXT_ROVIO_ID_SIGN_UP_FAILED_MESSAGE=We could not create your account. +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_TITLE=You have not verified your account yet! +TEXT_ROVIO_ID_VERIFICATION_EMAIL_RESENT=A verification email is re-sent to: +TEXT_ROVIO_ID_ACCOUNT_NOT_CONFIRMED_MESSAGE=Please, go to your email and confirm your account by clicking the verification link in the email from Rovio. +TEXT_ROVIO_ID_VALIDATE_PASSWORD=Please, enter a password. +TEXT_ROVIO_ID_VALIDATE_PASSWORD_INVALID=Password is too short. +TEXT_ROVIO_ID_VALIDATE_EMAIL_INVALID=Please, enter a valid email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL=Please, enter your email address. +TEXT_ROVIO_ID_VALIDATE_EMAIL_RESERVED=This email address is already taken. +TEXT_ROVIO_ID_VALIDATE_EMAIL_FALSE=Wrong email +TEXT_ROVIO_ID_WRONG_PASSWORD=Wrong password +TEXT_ROVIO_ID_PASSWORD_HELP_TEXT=Password must contain 8 characters at the minimum. +TEXT_ROVIO_ID_WRONG_ACCOUNT=Sync failed. This device already uses another account. +TEXT_ROVIO_ID_SIGN_OUT_QUERY=Your progress will be saved online only when you are signed in. Do you want to sign out as: +TEXT_ROVIO_ID_ACCOUNT_DESCRIPTION=Rovio Account lets you automatically save your game progress online and synchronize between devices. Currently, Rovio Account is available for Angry Birds on iOS, but it will be available on other Rovio games and platforms in the future. +TEXT_ROVIO_ID_OR=or +TEXT_ROVIO_ID_SIGNED_IN_AS=You are signed in as +TEXT_CREDITS_ZIGI=Magic Places not powered by Zigi. diff --git a/Angry Birds Project R/2.3.1/data/scripts/ABIDUtils.lua b/Angry Birds Project R/2.3.1/data/scripts/ABIDUtils.lua new file mode 100644 index 0000000000000000000000000000000000000000..5c3283b4f755256320a1f97879a3c7b1892e57e5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/ABIDUtils.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/ABSync.lua b/Angry Birds Project R/2.3.1/data/scripts/ABSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..70b4d634577f04c99b9cab112c895a6bf9eb880a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/ABSync.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/ChallengePage.lua b/Angry Birds Project R/2.3.1/data/scripts/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/PC_DRM.lua b/Angry Birds Project R/2.3.1/data/scripts/PC_DRM.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d5a6b03dd288cf2b93d6526f3ca3175237ff3b4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/PC_DRM.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/achievements.lua b/Angry Birds Project R/2.3.1/data/scripts/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..bbabf294829ea48c6873f7b4b6141de71cc647ca Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/achievements.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/audio.lua b/Angry Birds Project R/2.3.1/data/scripts/audio.lua new file mode 100644 index 0000000000000000000000000000000000000000..958bd3d04712e9815d80fee787d0f6e0bf7c16f6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/audio.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/blocks.lua b/Angry Birds Project R/2.3.1/data/scripts/blocks.lua new file mode 100644 index 0000000000000000000000000000000000000000..c6a1d226a9c32bcbe3e3212dd2eea2513f090d2a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/blocks.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/challenges.lua b/Angry Birds Project R/2.3.1/data/scripts/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/challenges.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/challenges/ChallengePage.lua b/Angry Birds Project R/2.3.1/data/scripts/challenges/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/challenges/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/challenges/challenges.lua b/Angry Birds Project R/2.3.1/data/scripts/challenges/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/challenges/challenges.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/cutscenes.lua b/Angry Birds Project R/2.3.1/data/scripts/cutscenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..cdf7dcee43727fd0dcdaeb4a5525f7776dc74b6d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/cutscenes.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/dynamic/default.lua b/Angry Birds Project R/2.3.1/data/scripts/dynamic/default.lua new file mode 100644 index 0000000000000000000000000000000000000000..f74959444831552e09e94f8a4983482c2010f08f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/dynamic/default.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/episodes.lua b/Angry Birds Project R/2.3.1/data/scripts/episodes.lua new file mode 100644 index 0000000000000000000000000000000000000000..8508dbc69fe2284753b216caca7d894c8a7f7573 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/episodes.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/episodes_free.lua b/Angry Birds Project R/2.3.1/data/scripts/episodes_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d96035ecec2380cd59180baa121e1a257c4361c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/episodes_free.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/game_conf.lua b/Angry Birds Project R/2.3.1/data/scripts/game_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..3480cef65430afba67c52090ead3f53728ee59c1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/game_conf.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/game_settings_wrapper.lua b/Angry Birds Project R/2.3.1/data/scripts/game_settings_wrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..34b4d037cb3f4ffe428bfbae3f25edceced652f2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/game_settings_wrapper.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/iap.lua b/Angry Birds Project R/2.3.1/data/scripts/iap.lua new file mode 100644 index 0000000000000000000000000000000000000000..55f99d3e098313395a691fa32b7e2dfa6152861a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/iap.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/item.lua b/Angry Birds Project R/2.3.1/data/scripts/item.lua new file mode 100644 index 0000000000000000000000000000000000000000..7b90d421e3761e251a7056523b35dbbce9e25e1a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/item.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/level_scripts.lua b/Angry Birds Project R/2.3.1/data/scripts/level_scripts.lua new file mode 100644 index 0000000000000000000000000000000000000000..48b259b9c4ee0857c94ee1531710db097f77a59f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/level_scripts.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/loadgroups.lua b/Angry Birds Project R/2.3.1/data/scripts/loadgroups.lua new file mode 100644 index 0000000000000000000000000000000000000000..731c02ec0949d16a22cf7f1dc4d68bbb4b73aee7 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts/loadgroups.lua @@ -0,0 +1,2 @@ +žÏ*t¢w…hÂÇ©ne ãA 7ˆ&"pº wu#{½^‚ö‹›¸aËq‹Úa²¬Xöö _¿›Ìyu)ˆ´Ü|¥Mçcω¤ ñ0à6GÆðrŽ¯Êñ/<¨<’ÚA ¾]=>{€]Móö£báÇèÿHú†’ÞÏŸH#!Hc¬Ìš»Zu·¤,Ôb?ÞÐ˦|eOàÖš¯m² +^¹*9&íªÏ6zC’õwœeI85…Œë“]ï θ \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/scripts/menu_flow.lua b/Angry Birds Project R/2.3.1/data/scripts/menu_flow.lua new file mode 100644 index 0000000000000000000000000000000000000000..56e06ef1d9bf945a2eea523703c4f1299d4a0314 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menu_flow.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus.lua b/Angry Birds Project R/2.3.1/data/scripts/menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..60aeca854ac9129122e3875ec92b7e901ca2c8b6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/ChallengePage.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/GE_level_selection.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/GE_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..e89ea4523c4ed056e1e3c10742a0f4a56e82593f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/GE_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/MagicPlaces_menus.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/MagicPlaces_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..967f5532981983fd17b78d2d244a704db0d8baf5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/MagicPlaces_menus.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/Mattel_menus.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/Mattel_menus.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8ea0ceaa594c20f8c59420eb121219ab714fa79 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/Mattel_menus.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/accordion.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/accordion.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e570c353a17f50fb80dd3275a4403575cac8dce Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/accordion.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/challenges.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/credits.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98cb26d0b61835811b9f9d2b47642057f217123 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/credits.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/ep3_level_selection.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/ep3_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..a98eb89392c574acf02dc9915df85b67ef889906 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/ep3_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/ep8_level_selection.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/ep8_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..25268b057876ba7aac5dc7f2d6b3d19064f18a30 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/ep8_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/ep9_level_selection.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/ep9_level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..f9a855cc0b29f79e7a350e536224d7b2be9e51b0 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/ep9_level_selection.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..9c2428d69b9fd16e2a1f905bac110f80ee2da38f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection_crosspromo_black.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection_crosspromo_black.lua new file mode 100644 index 0000000000000000000000000000000000000000..f262a3d256e1c56f7a97d2681818888e5311cc3f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection_crosspromo_black.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection_extra.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection_extra.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e00446746bf30bcc6c2176d0471a4d4d96ac9e8 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts/menus/episode_selection_extra.lua @@ -0,0 +1,4 @@ +“w—1&1Z‚Ö±s¬«ÕÑÝýÝ£Ëe +Ï!a` ØD=#texÍðÛ൭uÅÿƒÈ*î™±8ª§_? +ùøYpµL©õn«iûy×}¦4>EX_ç>œçüΨ ‘ wfœØï*¿ öG°ÚæȹWBÃJS»ŒòjªJåjƒ:§Iª…'¯_ƒPrQ­­!;£«"\Kf7ŒëÉMðß°Ó+uª8Ä=ôöÊañ]ƒÇoPc½"NÑàZS/xz½ Qì¿|ð“ 8õ«ë°K j¶à³W p‹Å?‰y`åèå=;x¡þ¿é>sýÿ·±þHš`Š_ +DÙ{ö᜚ª¡SRåiº­¾R§¢~œGêâf5äåü ž<$m¸c²¥™U Å+ª¤DþΠͧÞÖª~ûÞ'li¡‹Ý,{“¾ý²Œð+Â`nÃÎcyL¸ÏDñuR\Y €Épळ2ñ†ËïºNN}…‘@1¸¬aAÒK¬ «á‰iã>ª^¹TÏâpêÅ-ç_MõßÚ+Ol‰R)N;$@:ÅyŠæ:´ã@ÉNyVÓ*5ˆ’óä±te}åge—íp—7銗M1µó¼Sò#Í"G$Q«`ÏÉž4J;àüLËŒnua’§ã _EüB€ÕÛ8#¤þJÓöQ¶°-(„¸”ã#_y œ?¹Üñ \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/gesture_menu.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/gesture_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd8c470950c4ce2180eb94b714db3f666950555c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/gesture_menu.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/keyboard.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/keyboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9fc034a5d087569edc7fafc1db2ba75816859ff6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/keyboard.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/radio.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/radio.lua new file mode 100644 index 0000000000000000000000000000000000000000..ee3c1ba06979ba5e473210dbef63653f64d194e4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/radio.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/registration_dialog.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/registration_dialog.lua new file mode 100644 index 0000000000000000000000000000000000000000..1e50198e9cb0a49238ed572bdf0fdd2a0f0ebb02 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/registration_dialog.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/sequencer.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/sequencer.lua new file mode 100644 index 0000000000000000000000000000000000000000..9e3a64f7c3b9fd18c2f900daaad0df5ef8299a37 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/sequencer.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/settings_page.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/soundboard.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/soundboard.lua new file mode 100644 index 0000000000000000000000000000000000000000..9a0c0cb794c1421b8608179e8fb896ff3dfd1879 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/soundboard.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/menus/splashes.lua b/Angry Birds Project R/2.3.1/data/scripts/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..914a99c7f4e635959fc45755868088f92fd21f6f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/mightyEagle.lua b/Angry Birds Project R/2.3.1/data/scripts/mightyEagle.lua new file mode 100644 index 0000000000000000000000000000000000000000..261923ff9a83cbb4045d61db64ddef688b4835d3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/mightyEagle.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/options.lua b/Angry Birds Project R/2.3.1/data/scripts/options.lua new file mode 100644 index 0000000000000000000000000000000000000000..bf240ffe8e3edbfc55ebcbf26eac1dd9f481566a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/options.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/page.lua b/Angry Birds Project R/2.3.1/data/scripts/page.lua new file mode 100644 index 0000000000000000000000000000000000000000..f73a5986cc6de62b3311464159b45be87541cb91 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/page.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/particles.lua b/Angry Birds Project R/2.3.1/data/scripts/particles.lua new file mode 100644 index 0000000000000000000000000000000000000000..96a4ad060a72fe5891d3bf96536958b1beecf200 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/particles.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/select_profiles.lua b/Angry Birds Project R/2.3.1/data/scripts/select_profiles.lua new file mode 100644 index 0000000000000000000000000000000000000000..8face566d2b624dd98fa81552ad5f983815df59f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/select_profiles.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/starLimits.lua b/Angry Birds Project R/2.3.1/data/scripts/starLimits.lua new file mode 100644 index 0000000000000000000000000000000000000000..0e54a35451c2b8b9ec34ecde73aec6135b673211 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/starLimits.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/subsystems/ChallengePage.lua b/Angry Birds Project R/2.3.1/data/scripts/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/subsystems/MagicPlaces.lua b/Angry Birds Project R/2.3.1/data/scripts/subsystems/MagicPlaces.lua new file mode 100644 index 0000000000000000000000000000000000000000..fd47949ce910c4dcb5f27318fc76e94a7f11dd25 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/subsystems/MagicPlaces.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/subsystems/Mattel.lua b/Angry Birds Project R/2.3.1/data/scripts/subsystems/Mattel.lua new file mode 100644 index 0000000000000000000000000000000000000000..f46c678e49d69fb0c3a6c31aa850198af073ef05 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/subsystems/Mattel.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/subsystems/Nook.lua b/Angry Birds Project R/2.3.1/data/scripts/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/subsystems/achievementProcessor.lua b/Angry Birds Project R/2.3.1/data/scripts/subsystems/achievementProcessor.lua new file mode 100644 index 0000000000000000000000000000000000000000..5942e2511c5d793b21d84b4bcc03301bdd2e2b0d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/subsystems/achievementProcessor.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts/subsystems/challenges.lua b/Angry Birds Project R/2.3.1/data/scripts/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ChallengePage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/EventManager.lua b/Angry Birds Project R/2.3.1/data/scripts_common/EventManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..74955529f47968bcbf8c7b6e61d63946835eb838 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/EventManager.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/animation_tutorials.lua b/Angry Birds Project R/2.3.1/data/scripts_common/animation_tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..3feac718879945c129c8d8885dd46be51c2d6e82 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts_common/animation_tutorials.lua @@ -0,0 +1,5781 @@ +g_tutorial_animations = { + TUTORIAL_1 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_RED", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_BIG_01", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_RED_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "redBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_1_PIG = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "RED_PIG_NORMAL", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "EGG_HELMET_1", + x = 140, + y = 60, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -278, + y = -50, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -292, + y = -40, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -306, + y1 = -50, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -306, + y1 = -50, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_FLY" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.4, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "RED_PIG_COLLISION" + }, + { + time = 2.5, + action = "particles", + effect = "smokeBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_2 = { + duration = 5.5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BLUE", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_LIGHT_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird2", + sprite = "BIRD_BLUE", + x = 0, + y = 0, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird2", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird2", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = 48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird2" + }, + { + time = 2.5, + action = "create_sprite", + name = "bird3", + sprite = "BIRD_BLUE", + x = -35, + y = -34, + z = 0.4 + }, + { + time = 2.5, + action = "set_sprite_position", + name = "bird3", + target = "bird" + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird3", + target = "bird", + type = "relative-linear", + x0 = 0, + y0 = 0, + x = -48, + y = 0, + duration = 0.5 + }, + { + time = 2.5, + action = "copy_emitter", + from = "bird", + to = "bird3" + }, + { + time = 2.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.7, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.8, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.8, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.9, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird2", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "set_sprite", + name = "bird3", + sprite = "BIRD_BLUE_COLLISION" + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 140, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 92, + y = 60 + }, + { + time = 3, + action = "particles", + effect = "blueBuff", + amount = 8, + x = 188, + y = 60 + } + } + }, + TUTORIAL_3 = { + duration = 5.3, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -192, + y = -60, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_YELLOW", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -192, + y1 = -60, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -192, + y1 = -60, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 90, + duration = 1.25 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.5, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 140, + y = 90, + duration = 0.25 + }, + { + time = 2.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_SPECIAL" + }, + { + time = 2.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.65, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.65, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.7, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.7, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.75, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.75, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.75, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_YELLOW_COLLISION" + }, + { + time = 2.8, + action = "particles", + effect = "yellowBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_4 = { + duration = 10.8, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "delete_sprite", + name = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + }, + { + time = 2.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 11, + y = -18 + }, + {time = 5.1, action = "clear_all"}, + { + time = 5.1, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 5.1, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 5.1, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 5.1, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREY", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 5.1, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 5.1, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 5.1, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 6.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 6.1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 6.1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 6.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_FLYING" + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 6.6, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 7.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 7.2, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 7.5, + action = "delete_sprite", + name = "pig" + }, + { + time = 7.5, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + }, + { + time = 7.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_1" + }, + { + time = 7.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_2" + }, + { + time = 7.8, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREY_3" + }, + { + time = 8.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 8.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 8.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 8.3, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 140, + y = 90 + }, + { + time = 8.3, + action = "particles", + effect = "blackBuff", + amount = 12, + x = 140, + y = 90 + } + } + }, + TUTORIAL_5 = { + duration = 5.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_GREEN", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 50, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig2", + sprite = "PIGLETTE_SMALL_01", + x = 120, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_FLYING" + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_GREEN_SPECIAL" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 285, + y = -200, + duration = 0.4 + }, + { + time = 2.7, + action = "create_sprite", + name = "egg", + sprite = "DROPPABLE_EGG", + x = 0, + y = 0, + z = 0.3, + id = "ge1" + }, + { + time = 2.7, + action = "set_sprite_position", + name = "egg", + target = "bird" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "egg", + type = "line-y", + y = 85, + duration = 0.2 + }, + { + time = 2.9, + action = "delete_sprite", + name = "egg", + id = "ge2" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.9, + action = "delete_sprite", + name = "pig2" + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 50, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 120, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "particles", + effect = "eggShells", + amount = 5, + x = 85, + y = 90 + }, + { + time = 2.9, + action = "set_sprite_fade", + sprite = "bird", + alpha = 0, + duration = 0.2 + } + } + }, + TUTORIAL_6 = { + duration = 6.2, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -199, + y = -53, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_4X4_1", + x = 0, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_6", + x = 0, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -199, + y1 = -53, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -199, + y1 = -53, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -310, + y = -46, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -310, + y1 = -46, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -310, + y1 = -46, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -155, + y1 = -100, + x2 = 108, + y2 = -78, + x3 = 223, + y3 = 23, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1.7 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 239, + y1 = -22, + x2 = 239, + y2 = 57, + x3 = 72, + y3 = 92, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_SPECIAL" + }, + { + time = 2.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 8 + }, + { + time = 3.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 100, + y = 85 + }, + { + time = 3.7, + action = "set_sprite", + name = "bird", + sprite = "BIRD_BOOMERANG_COLLISION" + }, + { + time = 3.7, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3.7, + action = "particles", + effect = "boomerangBuff", + amount = 12, + x = 72, + y = 90 + } + } + }, + TUTORIAL_7 = { + duration = 5, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -206, + y = -46, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_BIG_BROTHER", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 100, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 20, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 180, + y = 80, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_LIGHT_1_5", + x = 30, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block4", + sprite = "BLOCK_ROCK_1_5", + x = 170, + y = 40, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block5", + sprite = "BLOCK_WOOD_1_5", + x = 58, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block6", + sprite = "BLOCK_LIGHT_1_5", + x = 141, + y = 0, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -206, + y1 = -46, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -206, + y1 = -46, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -320, + y = -36, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -320, + y1 = -36, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -320, + y1 = -36, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 61, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.05, + action = "delete_sprite", + name = "block5" + }, + { + time = 2.05, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 58, + y = 0, + w = 205, + h = 20 + }, + { + time = 2.1, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.1, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 30, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.2, + action = "delete_sprite", + name = "block6" + }, + { + time = 2.2, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 141, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 20, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block4" + }, + { + time = 2.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 170, + y = 40, + w = 205, + h = 20 + }, + { + time = 2.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.3, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 180, + y = 80, + w = 41, + h = 83 + }, + { + time = 2.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 99, + y = 90 + }, + { + time = 2.5, + action = "particles", + effect = "bigBrotherBuff", + amount = 12, + x = 140, + y = 60 + } + } + }, + TUTORIAL_8 = { + duration = 6.4, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BAIT_SARDINE", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = 86, + y2 = -6, + x3 = 140, + y3 = 71, + duration = 1 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = 54, + y1 = -30, + x2 = 97, + y2 = -30, + x3 = 140, + y3 = -10, + duration = 0.4 + }, + { + time = 3, + action = "create_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_MOTION", + x = -256, + y = -128, + z = 0.55, + angle = 0.4 + }, + { + time = 3, + action = "set_sprite_alpha", + sprite = "eagle", + alpha = 0 + }, + { + time = 3, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 1 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 140, + y = 85, + duration = 0.45 + }, + { + time = 3.3, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.3, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block2" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 3.3, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.3, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 3.3, + action = "delete_sprite", + name = "pig" + }, + { + time = 3.3, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 3.45, + action = "set_sprite", + name = "eagle", + sprite = "BIRD_MIGHTY_EAGLE_RADIAL" + }, + { + time = 3.45, + action = "set_angular_velocity", + sprite = "eagle", + angular_velocity = 16 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "eagle", + type = "line", + x = 256, + y = 20, + duration = 0.2 + }, + { + time = 3.75, + action = "set_sprite_fade", + sprite = "eagle", + duration = 0.1, + alpha = 0 + }, + { + time = 3.85, + action = "delete_sprite", + name = "eagle" + } + } + }, + TUTORIAL_9 = { + duration = 5.1, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PUFFER_1", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_WOOD_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_WOOD_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 86, + y2 = -51, + x3 = 140, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.1, + action = "pause_sprite_movement", + name = "bird", + duration = 0.5 + }, + { + time = 2.6, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.6, + action = "delete_sprite", + name = "block3" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 90, + y = 60, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "block2" + }, + { + time = 2.6, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 190, + y = 0, + w = 41, + h = 83 + }, + { + time = 2.6, + action = "delete_sprite", + name = "pig" + }, + { + time = 2.6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 90 + }, + { + time = 2.6, + action = "set_sprite", + name = "bird", + sprite = "BIRD_PUFFER_2" + }, + { + time = 2.6, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.6, + action = "particles", + effect = "explosionBuff", + amount = 6, + x = 11, + y = -18 + } + } + }, + TUTORIAL_10 = { + duration = 6, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "BIRD_PINK", + x = -178, + y = -70, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_WOOD_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_LIGHT_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -109, + x2 = 131, + y2 = -51, + x3 = 230, + y3 = 30, + duration = 0.9 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 0.5 + }, + { + time = 2.2, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_CLICK", + x = 0, + y = 100, + z = 0.8 + }, + { + time = 2.2, + action = "stop_movement", + sprite = "bird" + }, + { + time = 2.7, + action = "delete_sprite", + name = "finger" + }, + { + time = 2.7, + action = "create_sprite", + name = "birdbubble", + sprite = "P_BIRDBUBBLE_3", + x = 145, + y = -15, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "pigbubble", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 85, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble1", + sprite = "P_BIRDBUBBLE_3", + x = 90, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble2", + sprite = "P_BIRDBUBBLE_3", + x = 190, + y = 60, + z = 0.7 + }, + { + time = 2.7, + action = "create_sprite", + name = "bubble3", + sprite = "P_BIRDBUBBLE_3", + x = 140, + y = 10, + z = 0.7 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "birdbubble", + type = "line", + x = 100, + y = -165, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "pigbubble", + type = "line", + x = 135, + y = -55, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble1", + type = "line", + x = 80, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble2", + type = "line", + x = 195, + y = -80, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 2.7, + action = "set_sprite_movement", + sprite = "bubble3", + type = "line", + x = 145, + y = -135, + duration = 1 + }, + { + time = 3.7, + action = "delete_sprite", + name = "birdbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "pigbubble" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble1" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble2" + }, + { + time = 3.7, + action = "delete_sprite", + name = "bubble3" + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 135, + y = -55 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 80, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 195, + y = -80 + }, + { + time = 3.7, + action = "particles", + effect = "bubblePop", + amount = 1, + x = 145, + y = -135 + }, + { + time = 3.7, + action = "delete_sprite", + name = "bird" + }, + { + time = 3.7, + action = "particles", + effect = "pinkBuff", + amount = 5, + x = 100, + y = -165 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "pig", + type = "line", + x = 135, + y = 85, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block1", + type = "line", + x = 80, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block2", + type = "line", + x = 195, + y = 60, + duration = 0.3 + }, + { + time = 3.7, + action = "set_sprite_movement", + sprite = "block3", + type = "line", + x = 145, + y = 90, + duration = 0.5 + }, + { + time = 4, + action = "delete_sprite", + name = "pig" + }, + { + time = 4, + action = "delete_sprite", + name = "block1" + }, + { + time = 4, + action = "delete_sprite", + name = "block2" + }, + { + time = 4, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 135, + y = 85 + }, + { + time = 4, + action = "particles", + effect = "woodenBuff", + amount = 8, + x = 80, + y = 60, + w = 41, + h = 83 + }, + { + time = 4, + action = "particles", + effect = "lightBuff", + amount = 8, + x = 195, + y = 60, + w = 41, + h = 83 + }, + { + time = 4.2, + action = "delete_sprite", + name = "block3" + }, + { + time = 4, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 145, + y = 90, + w = 205, + h = 20 + } + } + }, + TUTORIAL_11 = { + duration = 10, + events = { + { + time = 0, + action = "create_sprite", + name = "bg", + sprite = "TUTORIAL_BACKGROUND", + x = 70, + y = 30, + z = 0 + }, + { + time = 0, + action = "create_sprite", + name = "ground", + sprite = "TUTORIAL_GROUND", + x = 0, + y = 100, + z = 0.2 + }, + { + time = 0, + action = "create_sprite", + name = "sling_back", + sprite = "SLING_SHOT_01_BACK", + x = -178, + y = -70, + z = 0.1 + }, + { + time = 0, + action = "create_sprite", + name = "sling_front", + sprite = "SLING_SHOT_01_FRONT", + x = -178, + y = -70, + z = 0.7 + }, + { + time = 0, + action = "create_sprite", + name = "sling_holder", + sprite = "SLING_HOLDER", + x = -189, + y = -63, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "bird", + sprite = "DRAGON_FISH", + x = -178, + y = -70, + z = 0.5 + }, + { + time = 0, + action = "create_sprite", + name = "pig", + sprite = "PIGLETTE_SMALL_01", + x = 140, + y = 85, + z = 0.4 + }, + { + time = 0, + action = "create_sprite", + name = "block1", + sprite = "BLOCK_ROCK_1_5", + x = 90, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block2", + sprite = "BLOCK_ROCK_1_5", + x = 190, + y = 60, + z = 0.4, + angle = 1.57 + }, + { + time = 0, + action = "create_sprite", + name = "block3", + sprite = "BLOCK_ROCK_10X1_1", + x = 140, + y = 10, + z = 0.4 + }, + { + time = 0, + action = "create_line", + name = "rubber_back", + x1 = -189, + y1 = -63, + x2 = -158, + y2 = -70, + z = 0.2, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 0, + action = "create_line", + name = "rubber_front", + x1 = -189, + y1 = -63, + x2 = -199, + y2 = -73, + z = 0.6, + width = 25, + r = 48, + g = 23, + b = 8 + }, + { + time = 1, + action = "create_sprite", + name = "finger", + sprite = "TUTORIAL_FINGER_SLIDE", + x = -138, + y = -30, + z = 0.8 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "finger", + type = "line", + x = -238, + y = -10, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "bird", + type = "line", + x = -292, + y = -60, + duration = 0.5 + }, + { + time = 1, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -303, + y = -53, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_back", + x1 = -303, + y1 = -53, + x2 = -158, + y2 = -70, + duration = 0.5 + }, + { + time = 1, + action = "set_line_movement", + line = "rubber_front", + x1 = -303, + y1 = -53, + x2 = -199, + y2 = -73, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_back", + width = 10, + duration = 0.5 + }, + { + time = 1, + action = "set_line_width_change", + line = "rubber_front", + width = 10, + duration = 0.5 + }, + { + time = 1.5, + action = "delete_sprite", + name = "finger" + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "bird", + type = "bezier-cubic", + x1 = -130, + y1 = -94, + x2 = -46, + y2 = -51, + x3 = 40, + y3 = 60, + duration = 1 + }, + { + time = 1.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 2 + }, + { + time = 1.5, + action = "set_sprite_movement", + sprite = "sling_holder", + type = "line", + x = -178, + y = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_back", + x1 = -178, + y1 = -70, + x2 = -158, + y2 = -70, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_movement", + line = "rubber_front", + x1 = -178, + y1 = -70, + x2 = -199, + y2 = -73, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_back", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_line_width_change", + line = "rubber_front", + width = 25, + duration = 0.25 + }, + { + time = 1.5, + action = "set_sprite_emitting", + name = "bird", + sprite = { + "TRAIL_WHITE_1", + "TRAIL_WHITE_2", + "TRAIL_WHITE_3" + }, + interval = 0.08, + z = 0.3, + duration = 1 + }, + { + time = 2.5, + action = "set_angular_velocity", + sprite = "bird", + angular_velocity = 0 + }, + { + time = 3, + action = "create_sprite", + name = "dragon1", + sprite = "MDRAGON_1", + x = -256, + y = -128, + z = 0.55, + angle = 0.8 + }, + { + time = 3, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 10, + y = 20, + duration = 1 + }, + { + time = 3.1, + action = "create_sprite", + name = "dragon2", + sprite = "MDRAGON_2", + x = -256, + y = -128, + z = 0.54, + angle = 0.65 + }, + { + time = 3.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 8, + y = 18, + duration = 1 + }, + { + time = 3.25, + action = "create_sprite", + name = "dragon3", + sprite = "MDRAGON_3", + x = -256, + y = -128, + z = 0.53, + angle = 0.63 + }, + { + time = 3.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 6, + y = 16, + duration = 1 + }, + { + time = 3.4, + action = "create_sprite", + name = "dragon4", + sprite = "MDRAGON_4", + x = -256, + y = -128, + z = 0.52, + angle = 0.61 + }, + { + time = 3.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 4, + y = 14, + duration = 1 + }, + { + time = 3.55, + action = "create_sprite", + name = "dragon5", + sprite = "MDRAGON_5", + x = -256, + y = -128, + z = 0.51, + angle = 0.59 + }, + { + time = 3.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 2, + y = 12, + duration = 1 + }, + { + time = 3.63, + action = "create_sprite", + name = "dragon6", + sprite = "MDRAGON_6", + x = -256, + y = -128, + z = 0.5, + angle = 0.57 + }, + { + time = 3.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 0, + y = 10, + duration = 1 + }, + { + time = 3.6, + action = "delete_sprite", + name = "block1" + }, + { + time = 3.6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 90, + y = 60, + w = 205, + h = 20 + }, + { + time = 3.7, + action = "delete_sprite", + name = "block3" + }, + { + time = 3.7, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 140, + y = 10, + w = 205, + h = 20 + }, + { + time = 4, + action = "delete_sprite", + name = "bird" + }, + { + time = 4, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1 + }, + { + time = 4, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = -3 + }, + { + time = 4.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.1 + }, + { + time = 4.15, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = -3.5 + }, + { + time = 4.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.2 + }, + { + time = 4.3, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = -3.5 + }, + { + time = 4.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.3 + }, + { + time = 4.45, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = -3.5 + }, + { + time = 4.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.4 + }, + { + time = 4.6, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = -3.5 + }, + { + time = 4.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = 60, + y1 = -30, + x2 = 60, + y2 = -80, + x3 = 10, + y3 = -110, + duration = 1.5 + }, + { + time = 4.68, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = -3.5 + }, + { + time = 5, + action = "set_sprite_movement", + sprite = "dragon1", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 5.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "bezier-cubic", + x1 = -60, + y1 = -80, + x2 = -60, + y2 = -30, + x3 = 10, + y3 = 20, + duration = 1 + }, + { + time = 6, + action = "delete_sprite", + name = "pig" + }, + { + time = 6, + action = "particles", + effect = "smokeBuff", + amount = 1, + x = 140, + y = 85 + }, + { + time = 6, + action = "delete_sprite", + name = "block2" + }, + { + time = 6, + action = "particles", + effect = "rockBuff", + amount = 8, + x = 190, + y = 60, + w = 205, + h = 20 + }, + { + time = 6, + action = "set_sprite_movement", + sprite = "dragon1", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.15, + action = "set_sprite_movement", + sprite = "dragon2", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_sprite_movement", + sprite = "dragon3", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.3, + action = "set_angular_velocity", + sprite = "dragon2", + angular_velocity = 0 + }, + { + time = 6.45, + action = "set_sprite_movement", + sprite = "dragon4", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.45, + action = "set_angular_velocity", + sprite = "dragon3", + angular_velocity = 0 + }, + { + time = 6.6, + action = "set_sprite_movement", + sprite = "dragon5", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.6, + action = "set_angular_velocity", + sprite = "dragon4", + angular_velocity = 0 + }, + { + time = 6.68, + action = "set_sprite_movement", + sprite = "dragon6", + type = "line", + x = 256, + y = -128, + duration = 1 + }, + { + time = 6.75, + action = "set_angular_velocity", + sprite = "dragon5", + angular_velocity = 0 + }, + { + time = 6.7, + action = "set_angular_velocity", + sprite = "dragon1", + angular_velocity = 0 + }, + { + time = 6.83, + action = "set_angular_velocity", + sprite = "dragon6", + angular_velocity = 0 + }, + { + time = 7, + action = "delete_sprite", + name = "dragon1" + }, + { + time = 7.15, + action = "delete_sprite", + name = "dragon2" + }, + { + time = 7.3, + action = "delete_sprite", + name = "dragon3" + }, + { + time = 7.45, + action = "delete_sprite", + name = "dragon4" + }, + { + time = 7.6, + action = "delete_sprite", + name = "dragon5" + }, + { + time = 7.68, + action = "delete_sprite", + name = "dragon6" + } + } + } +} +function getTutorialScale() + if deviceModel == "ipad" and screenWidth == 2048 then + return 2 + elseif deviceModel == "iphone" and screenWidth >= 960 then + return 1 + else + if screenHeight < 320 then + return screenHeight / 320 * 0.5 + elseif screenHeight < 768 then + return (screenHeight - 320) / 448 * 0.5 + 0.5 + end + return 1 + end +end +AnimatedTutorial = ui.BackgroundBox:inherit() +function AnimatedTutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = g_tutorial_animations[_ARG_1_] + _ARG_2_ or {}.tutorial_id = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function AnimatedTutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function AnimatedTutorial.onEntry(_ARG_0_) + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.draw_list = {} + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function AnimatedTutorial.onExit(_ARG_0_) + _G.particles.clear("menu") + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function AnimatedTutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + _ARG_0_.width = _G.math.floor(552 * getTutorialScale()) + _ARG_0_.height = _G.math.floor(360 * getTutorialScale()) + _ARG_0_:getChild("close").x = 552 * getTutorialScale() * 0.35 + _ARG_0_:getChild("close").y = 360 * getTutorialScale() * 0.6 + for _FORV_10_, _FORV_11_ in _G.ipairs(_ARG_0_.children) do + _FORV_11_.scaleY, _FORV_11_.scaleX = 1, 1 + end +end +if not g_isAccelerometerControl then + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.tutorial_id == "TUTORIAL_5" and not g_white_bird_tutorial_ge_disabled and _ARG_0_.time >= 2.7 and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and _ARG_2_ >= _ARG_0_.x + _ARG_0_.width * -0.5 and _ARG_2_ <= _ARG_0_.x + _ARG_0_.width * 0.5 and _ARG_3_ >= _ARG_0_.y + _ARG_0_.height * -0.5 and _ARG_3_ <= _ARG_0_.y + _ARG_0_.height * 0.5 then + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function AnimatedTutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end +end +function AnimatedTutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) + for _FORV_7_, _FORV_8_ in _G.ipairs(_ARG_0_.draw_list) do + if _FORV_8_.type == "sprite" then + if _FORV_8_.alpha then + setAlpha(_FORV_8_.alpha) + end + setRenderState((_ARG_0_.x + _FORV_8_.x * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x), (_ARG_0_.y + _FORV_8_.y * getTutorialScale()) / (getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y), getTutorialScale() * (_FORV_8_.flip_x and -1 or 1) * _FORV_8_.scale_x, getTutorialScale() * (_FORV_8_.flip_y and -1 or 1) * _FORV_8_.scale_y, _FORV_8_.angle or 0, _G.res.getSpritePivot(_FORV_8_.sprite)) + _G.res.drawSprite(_FORV_8_.sprite, 0, 0) + if _FORV_8_.alpha then + setAlpha(1) + end + elseif _FORV_8_.type == "line" then + setRenderState(_ARG_0_.x / getTutorialScale(), _ARG_0_.y / getTutorialScale(), getTutorialScale(), getTutorialScale(), 0, 0, 0) + drawLine2D(_FORV_8_.x1, _FORV_8_.y1, _FORV_8_.x2, _FORV_8_.y2, _FORV_8_.width, _FORV_8_.r, _FORV_8_.g, _FORV_8_.b, _FORV_8_.a or 255) + end + end + g_menu_particle_scale = getTutorialScale() + drawMenuParticlesInAdvance() +end +function AnimatedTutorial.getTutorialSpriteScale(_ARG_0_, _ARG_1_) + if contains({ + "TUTORIAL_GROUND", + "TUTORIAL_BACKGROUND", + "TUTORIAL_FINGER_BIG", + "TUTORIAL_FINGER_CLICK", + "TUTORIAL_FINGER_SLIDE" + }, _ARG_1_) and true then + return 0.5 + end + return 1 +end +function AnimatedTutorial.update(_ARG_0_, _ARG_1_, _ARG_2_) + ui.BackgroundBox.update(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_0_.time = _ARG_0_.time + _ARG_1_ + if _ARG_0_.time >= _ARG_0_.tutorial.duration then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_.time = 0 + _ARG_0_.cursor = 1 + clearParticles() + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.sprites) do + if _FORV_7_.movement_pause and _ARG_0_.time >= _FORV_7_.movement_pause then + _FORV_7_.movement_pause = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x1 - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y1 - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.x0, _FORV_7_.movement.x1, _FORV_7_.movement.x2, _FORV_7_.movement.x3) + _FORV_7_.y = (function(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_) + return (1 - _ARG_0_) * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_1_ + 3 * (1 - _ARG_0_) * (1 - _ARG_0_) * _ARG_0_ * _ARG_2_ + 3 * (1 - _ARG_0_) * _ARG_0_ * _ARG_0_ * _ARG_3_ + _ARG_0_ * _ARG_0_ * _ARG_0_ * _ARG_4_ + end)((_ARG_0_.time - _FORV_7_.movement.begin) / _FORV_7_.movement.duration, _FORV_7_.movement.y0, _FORV_7_.movement.y1, _FORV_7_.movement.y2, _FORV_7_.movement.y3) + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x0, _FORV_7_.movement.x - _FORV_7_.movement.x0, _FORV_7_.movement.duration) + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y0, _FORV_7_.movement.y - _FORV_7_.movement.y0, _FORV_7_.movement.duration) + end + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + if _FORV_7_.movement.type == "line" then + _FORV_7_.x = _FORV_7_.movement.x1 + _FORV_7_.y = _FORV_7_.movement.y1 + elseif _FORV_7_.movement.type == "bezier-cubic" then + _FORV_7_.x = _FORV_7_.movement.x3 + _FORV_7_.y = _FORV_7_.movement.y3 + elseif _FORV_7_.movement.type == "relative-linear" then + _FORV_7_.x = _ARG_0_.sprites[_FORV_7_.movement.target].x + _FORV_7_.movement.x + _FORV_7_.y = _ARG_0_.sprites[_FORV_7_.movement.target].y + _FORV_7_.movement.y + end + _FORV_7_.movement = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time < _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + if _ARG_0_.time >= _FORV_7_.emitter.pos then + _FORV_7_.emitter.pos = _FORV_7_.emitter.pos + _FORV_7_.emitter.interval + _ARG_0_.sprites["emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_)] = { + name = "emitted-" .. _ARG_0_.time .. "-" .. _G.tostring(_FORV_7_), + type = "sprite", + sprite = _FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)], + x = _FORV_7_.x, + y = _FORV_7_.y, + z = _FORV_7_.emitter.z, + scale_x = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]), + scale_y = _ARG_0_:getTutorialSpriteScale(_FORV_7_.emitter.sprite[_G.math.random(1, #_FORV_7_.emitter.sprite)]) + } + _ARG_0_:refreshDrawList() + end + elseif not _FORV_7_.movement_pause and _FORV_7_.emitter and _ARG_0_.time >= _FORV_7_.emitter.begin + _FORV_7_.emitter.duration then + _FORV_7_.emitter = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time < _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = tweenLinear(_ARG_0_.time - _FORV_7_.alpha_fade.begin, _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.a1 - _FORV_7_.alpha_fade.a0, _FORV_7_.alpha_fade.duration) + elseif not _FORV_7_.movement_pause and _FORV_7_.alpha_fade and _ARG_0_.time >= _FORV_7_.alpha_fade.begin + _FORV_7_.alpha_fade.duration then + _FORV_7_.alpha = _FORV_7_.alpha_fade.a1 + _FORV_7_.alpha_fade = nil + end + if not _FORV_7_.movement_pause and _FORV_7_.angular_velocity then + _FORV_7_.angle = _FORV_7_.angle + _FORV_7_.angular_velocity * _ARG_1_ + end + end + for _FORV_6_, _FORV_7_ in _G.pairs(_ARG_0_.lines) do + if _FORV_7_.movement and _ARG_0_.time < _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x10, _FORV_7_.movement.x1 - _FORV_7_.movement.x10, _FORV_7_.movement.duration) + _FORV_7_.y1 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y10, _FORV_7_.movement.y1 - _FORV_7_.movement.y10, _FORV_7_.movement.duration) + _FORV_7_.x2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.x20, _FORV_7_.movement.x2 - _FORV_7_.movement.x20, _FORV_7_.movement.duration) + _FORV_7_.y2 = tweenLinear(_ARG_0_.time - _FORV_7_.movement.begin, _FORV_7_.movement.y20, _FORV_7_.movement.y2 - _FORV_7_.movement.y20, _FORV_7_.movement.duration) + elseif _FORV_7_.movement and _ARG_0_.time >= _FORV_7_.movement.begin + _FORV_7_.movement.duration then + _FORV_7_.x1 = _FORV_7_.movement.x1 + _FORV_7_.y1 = _FORV_7_.movement.y1 + _FORV_7_.x2 = _FORV_7_.movement.x2 + _FORV_7_.y2 = _FORV_7_.movement.y2 + _FORV_7_.movement = nil + end + if _FORV_7_.width_change and _ARG_0_.time < _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = tweenLinear(_ARG_0_.time - _FORV_7_.width_change.begin, _FORV_7_.width_change.w0, _FORV_7_.width_change.w1 - _FORV_7_.width_change.w0, _FORV_7_.width_change.duration) + elseif _FORV_7_.width_change and _ARG_0_.time >= _FORV_7_.width_change.begin + _FORV_7_.width_change.duration then + _FORV_7_.width = _FORV_7_.width_change.w1 + _FORV_7_.width_change = nil + end + end + while _ARG_0_.tutorial.events[_ARG_0_.cursor] and _ARG_0_.time >= _ARG_0_.tutorial.events[_ARG_0_.cursor].time do + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge1" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "BLOCK_GOLDEN_EGG" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite = "DROPPABLE_EGG" + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].id == "ge2" then + if not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "disabled" + else + _ARG_0_.tutorial.events[_ARG_0_.cursor].action = "delete_sprite" + end + end + end + if _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "sprite", + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + angle = _ARG_0_.tutorial.events[_ARG_0_.cursor].angle or 0, + scale_x = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite), + scale_y = _ARG_0_:getTutorialSpriteScale(_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite) + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "delete_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = nil + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_movement" then + if _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "line-y" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = "line", + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "bezier-cubic" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + x0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].x, + y0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].y, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + x3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x3, + y3 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y3 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].type == "relative-linear" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + type = _ARG_0_.tutorial.events[_ARG_0_.cursor].type, + target = _ARG_0_.tutorial.events[_ARG_0_.cursor].target, + x0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x0, + y0 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y0, + x = _ARG_0_.tutorial.events[_ARG_0_.cursor].x, + y = _ARG_0_.tutorial.events[_ARG_0_.cursor].y + } + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "particles" then + _G.particles.addParticles(_ARG_0_.tutorial.events[_ARG_0_.cursor].effect, _ARG_0_.tutorial.events[_ARG_0_.cursor].amount, _ARG_0_.x + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].x, _ARG_0_.y + getTutorialScale() * _ARG_0_.tutorial.events[_ARG_0_.cursor].y, (_ARG_0_.tutorial.events[_ARG_0_.cursor].w or 0) * getTutorialScale(), (_ARG_0_.tutorial.events[_ARG_0_.cursor].h or 0) * getTutorialScale(), 0, true, true) + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "create_line" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].name] = { + name = _ARG_0_.tutorial.events[_ARG_0_.cursor].name, + type = "line", + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + r = _ARG_0_.tutorial.events[_ARG_0_.cursor].r, + g = _ARG_0_.tutorial.events[_ARG_0_.cursor].g, + b = _ARG_0_.tutorial.events[_ARG_0_.cursor].b, + a = _ARG_0_.tutorial.events[_ARG_0_.cursor].a, + width = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_movement" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].movement = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + x10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x1, + y10 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y1, + x20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].x2, + y20 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].y2, + x1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x1, + y1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y1, + x2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].x2, + y2 = _ARG_0_.tutorial.events[_ARG_0_.cursor].y2 + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_line_width_change" then + _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width_change = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + w0 = _ARG_0_.lines[_ARG_0_.tutorial.events[_ARG_0_.cursor].line].width, + w1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].width + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_emitting" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + sprite = _ARG_0_.tutorial.events[_ARG_0_.cursor].sprite, + interval = _ARG_0_.tutorial.events[_ARG_0_.cursor].interval, + z = _ARG_0_.tutorial.events[_ARG_0_.cursor].z, + pos = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_position" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].x = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].x + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].y = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].target].y + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "copy_emitter" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter = {} + for _FORV_9_, _FORV_10_ in _G.pairs(_ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].from].emitter) do + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].to].emitter[_FORV_9_] = _FORV_10_ + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "pause_sprite_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement_pause = _ARG_0_.tutorial.events[_ARG_0_.cursor].time + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].movement.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + if _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.begin + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].name].emitter.pos + _ARG_0_.tutorial.events[_ARG_0_.cursor].duration + end + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_alpha" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_sprite_fade" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha_fade = { + begin = _ARG_0_.tutorial.events[_ARG_0_.cursor].time, + duration = _ARG_0_.tutorial.events[_ARG_0_.cursor].duration, + a0 = _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].alpha or 1, + a1 = _ARG_0_.tutorial.events[_ARG_0_.cursor].alpha + } + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "clear_all" then + _ARG_0_.sprites = {} + _ARG_0_.lines = {} + _ARG_0_:refreshDrawList() + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "set_angular_velocity" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].angular_velocity = _ARG_0_.tutorial.events[_ARG_0_.cursor].angular_velocity + elseif _ARG_0_.tutorial.events[_ARG_0_.cursor].action == "stop_movement" then + _ARG_0_.sprites[_ARG_0_.tutorial.events[_ARG_0_.cursor].sprite].movement = nil + end + _ARG_0_.cursor = _ARG_0_.cursor + 1 + end +end +function AnimatedTutorial.refreshDrawList(_ARG_0_) + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.sprites) do + _G.table.insert({}, _FORV_6_) + end + for _FORV_5_, _FORV_6_ in _G.pairs(_ARG_0_.lines) do + _G.table.insert({}, _FORV_6_) + end + _G.table.sort({}, function(_ARG_0_, _ARG_1_) + return _ARG_0_.z < _ARG_1_.z + end) + _ARG_0_.draw_list = {} +end +filename = "animated_tutorial.lua" diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/challenges.lua b/Angry Birds Project R/2.3.1/data/scripts_common/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/challenges.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/default_conf.lua b/Angry Birds Project R/2.3.1/data/scripts_common/default_conf.lua new file mode 100644 index 0000000000000000000000000000000000000000..83512db9f055abe97f3c63175703d8c42692f0e4 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/default_conf.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/desktop.ini b/Angry Birds Project R/2.3.1/data/scripts_common/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..74ddc1323b48f35f87c2fe87da869d4ad26c2d6b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts_common/desktop.ini @@ -0,0 +1,2 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,72 diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/dynamicassets.lua b/Angry Birds Project R/2.3.1/data/scripts_common/dynamicassets.lua new file mode 100644 index 0000000000000000000000000000000000000000..72ab5e70808efeb50baab94f51678796a7049232 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/dynamicassets.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/events.lua b/Angry Birds Project R/2.3.1/data/scripts_common/events.lua new file mode 100644 index 0000000000000000000000000000000000000000..cb6f5d2c5196ad5c87db1230b2a5f92bc289a7a2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/events.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/gamelogic.lua b/Angry Birds Project R/2.3.1/data/scripts_common/gamelogic.lua new file mode 100644 index 0000000000000000000000000000000000000000..400b302aee9c94949bac11eb4855894dba87ac08 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/gamelogic.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/highscore_utils.lua b/Angry Birds Project R/2.3.1/data/scripts_common/highscore_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..6cff097b2d182f9323f5470cafd326958507e92a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/highscore_utils.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/howdoiplay.lua b/Angry Birds Project R/2.3.1/data/scripts_common/howdoiplay.lua new file mode 100644 index 0000000000000000000000000000000000000000..7d8df9f6d131ae48e02b99002c12ddc8d8e13494 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts_common/howdoiplay.lua @@ -0,0 +1,192 @@ +g_tutorialSprites = { + TUTORIAL_1 = "TUTORIAL_RED", + TUTORIAL_1_PIG = "RED_PIG_NORMAL", + TUTORIAL_2 = "TUTORIAL_BLUE", + TUTORIAL_3 = "TUTORIAL_YELLOW", + TUTORIAL_4 = "TUTORIAL_BLACK", + TUTORIAL_5 = "TUTORIAL_WHITE", + TUTORIAL_6 = "TUTORIAL_BOOMERANG", + TUTORIAL_7 = "TUTORIAL_BIG_BROTHER", + TUTORIAL_8 = "TUTORIAL_MIGHTYEAGLE", + TUTORIAL_9 = "TUTORIAL_PUFFER" +} +function showTrackpadTutorials() + return not g_usingGestureControls and g_usedGestureControls and isInFullScreenMode() +end +g_platformTutorials = { + osx = { + { + id = "TUTORIAL_OSX_1", + sprite = "TUTORIAL_TRACKPAD_1", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_2", + sprite = "TUTORIAL_TRACKPAD_2", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_3", + sprite = "TUTORIAL_TRACKPAD_3", + ignore_size = true, + condition = showTrackpadTutorials + }, + { + id = "TUTORIAL_OSX_4", + sprite = "TUTORIAL_TRACKPAD_4", + ignore_size = true, + condition = showTrackpadTutorials + } + }, + roku = { + { + id = "TUTORIAL_ROKU_1", + sprite = "TUTORIAL_CAMERA", + ignore_size = true + }, + { + id = "TUTORIAL_ROKU_2", + sprite = "TUTORIAL_ZOOMING", + ignore_size = true + } + } +} +function addTutorial(_ARG_0_, _ARG_1_) + if _G.type(_ARG_1_) == "string" then + _G.table.insert(_ARG_0_, {sprite = _ARG_1_}) + return true + elseif _G.type(_ARG_1_) == "table" and (not _ARG_1_.condition or _ARG_1_.condition and _ARG_1_.condition()) then + _G.table.insert(_ARG_0_, _ARG_1_) + return true + end + return false +end +function getTutorialSprite(_ARG_0_) + if _G.type(_ARG_0_) == "string" then + return _ARG_0_ + elseif _G.type(_ARG_0_) == "table" then + return _ARG_0_.sprite + end + return nil +end +Tutorial = ui.BackgroundBox:inherit() +function Tutorial.new(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_2_ or {}.tutorial = _ARG_1_ + return ui.BackgroundBox.new(_ARG_0_, _ARG_2_ or {}) +end +function Tutorial.init(_ARG_0_) + ui.BackgroundBox.init(_ARG_0_) + _ARG_0_.hanchor = "HCENTER" + _ARG_0_.vanchor = "VCENTER" + _ARG_0_.components = { + left = "TUTORIAL_LEFT", + bottomLeft = "TUTORIAL_BOTTOM_LEFT", + bottomMiddle = "TUTORIAL_BOTTOM_MIDDLE", + bottomRight = "TUTORIAL_BOTTOM_RIGHT", + right = "TUTORIAL_RIGHT", + topRight = "TUTORIAL_TOP_RIGHT", + topMiddle = "TUTORIAL_TOP_MIDDLE", + topLeft = "TUTORIAL_TOP_LEFT", + center = "TUTORIAL_CENTER" + } + ui.Image:new().name = "tutorial" + if _G.type(_ARG_0_.tutorial) == "table" then + ui.Image:new():setImage(_ARG_0_.tutorial.sprite) + _ARG_0_.tutorial_sprite = _ARG_0_.tutorial.sprite + elseif _G.type(_ARG_0_.tutorial) == "string" then + ui.Image:new():setImage(g_tutorialSprites[_ARG_0_.tutorial]) + _ARG_0_.tutorial_sprite = g_tutorialSprites[_ARG_0_.tutorial] + end + _ARG_0_:addChild((ui.Image:new())) + if _ARG_0_.tutorial == "TUTORIAL_5" and not settingsWrapper:isGoldenEggUnlocked("LevelGE_4") and g_tutorialActive and g_tutorialActive.from == "PAUSE_PAGE" and not g_white_bird_tutorial_ge_disabled then + ui.ImageButton:new().name = "goldenEgg" + ui.ImageButton:new():setImage("GOLDEN_EGG_1") + ui.ImageButton:new().scaleX = 0.4 + ui.ImageButton:new().scaleY = 0.4 + ui.ImageButton:new().returnValue = "COLLECT_GOLDEN_EGG" + _ARG_0_:addChild((ui.ImageButton:new())) + end + ui.ImageButton:new().name = "close" + ui.ImageButton:new():setImage("TUTORIAL_OK") + ui.ImageButton:new().returnValue = "CLOSE_TUTORIAL" + _ARG_0_:addChild((ui.ImageButton:new())) +end +function Tutorial.onEntry(_ARG_0_) + ui.BackgroundBox.onEntry(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end +function Tutorial.onExit(_ARG_0_) + ui.BackgroundBox.onExit(_ARG_0_) + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end +function Tutorial.layout(_ARG_0_) + ui.BackgroundBox.layout(_ARG_0_) + if isRetinaGraphicsEnabled() then + end + _ARG_0_.x = screenWidth * 0.5 + _ARG_0_.y = screenHeight * 0.5 + for _FORV_8_, _FORV_9_ in _G.pairs(g_tutorialSprites) do + end + if g_platformTutorials and g_platformTutorials[deviceModel] then + for _FORV_8_, _FORV_9_ in _G.pairs(g_platformTutorials[deviceModel]) do + end + end + _ARG_0_.width = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + _ARG_0_.height = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 2 + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").x = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * 0.18 * 2 + _ARG_0_:getChild("goldenEgg").y = (_G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image) - _G.res.getCompoSpriteBounds(_ARG_0_:getChild("tutorial").image)) * -0.1 * 2 + end + _ARG_0_:getChild("close").x = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.35 * 2 + _ARG_0_:getChild("close").y = (_G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite) - _G.res.getCompoSpriteBounds(_ARG_0_.tutorial_sprite)) * 0.6 * 2 + for _FORV_22_, _FORV_23_ in _G.ipairs(_ARG_0_.children) do + _FORV_23_.scaleY, _FORV_23_.scaleX = 2, 2 + end +end +function Tutorial.collectGoldenEgg(_ARG_0_) + if _ARG_0_:getChild("goldenEgg") then + _ARG_0_:getChild("goldenEgg").visible = false + eventManager:notify({ + id = events.EID_GOLDEN_EGG_FROM_MENU, + levelName = "LevelGE_4" + }) + end +end +if not g_isAccelerometerControl then + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "COLLECT_GOLDEN_EGG" then + _ARG_0_:collectGoldenEgg() + elseif ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "CLOSE_TUTORIAL" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + return ui.BackgroundBox.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + end +else + function Tutorial.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if _ARG_1_ == "LRELEASE" then + eventManager:notify({ + id = events.EID_CLOSE_TUTORIAL + }) + skipInput = true + end + end + function Tutorial.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and _ARG_2_ == "BUTTON_A" then + _ARG_0_:collectGoldenEgg() + end + end +end +function Tutorial.draw(_ARG_0_, _ARG_1_, _ARG_2_) + drawRect(0, 0, 0, 0.65, 0, 0, screenWidth, screenHeight, false) + ui.BackgroundBox.draw(_ARG_0_, _ARG_1_, _ARG_2_) +end +filename = "tutorials.lua" diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/iap_new.lua b/Angry Birds Project R/2.3.1/data/scripts_common/iap_new.lua new file mode 100644 index 0000000000000000000000000000000000000000..a939aac47ebe419cefdc58780f4f48d78742596e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/iap_new.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/level_effects.lua b/Angry Birds Project R/2.3.1/data/scripts_common/level_effects.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9ca8bf271c232bbf996c532b9e20f0e4752b073 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/level_effects.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/level_utils.lua b/Angry Birds Project R/2.3.1/data/scripts_common/level_utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..278f3628dfbe5436dec9935d7c15199cf605cee2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/level_utils.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/AdsOffPage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/AdsOffPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a07f51869476426b29ccc788a7c809f9a9ad0e26 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/AdsOffPage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/ChallengePage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/ConfirmPrompt.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ConfirmPrompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..0ca0fc593f62bc0cc9b9a7c23b30b8621e0879d7 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ConfirmPrompt.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/DebugConsole.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/DebugConsole.lua new file mode 100644 index 0000000000000000000000000000000000000000..09d8bce60ee6e94aaf95c89a8a57a073120e547a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/DebugConsole.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCanimated_tutorial.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCanimated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..9871f7e2ce23fa1d7b06a1edbb361008fedcac39 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCanimated_tutorial.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCmain_menu.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCmain_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..d152b9cec47870a5a911b12d5ed499c7ae59e10e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCmain_menu.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCtutorials.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCtutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..1a1e5ba530c3c0843944887dc04a0fac4961169c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ENCtutorials.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/GameHud.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/GameHud.lua new file mode 100644 index 0000000000000000000000000000000000000000..6c64988e876c2f54c53b6bc56c7f5765bfaa4107 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/GameHud.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/GoogleCheckoutPage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/GoogleCheckoutPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..a808cd59fd629ac70801ecc687a84aed3f816288 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/GoogleCheckoutPage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/MEPage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/MEPage.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c6397391e323e68dd141f5947ad52c01010d1b1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/MEPage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/MessageBox.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/MessageBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..616de9c02dac48830a42434a82212916f3a2486d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/MessageBox.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/MightyEagleButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/MightyEagleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..11647acd22e968253c170597b609d65f56d19ff3 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/MightyEagleButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/NotificationsFrame.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/NotificationsFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..2db3c10be9b6701b9760436906f427fd94a10056 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/NotificationsFrame.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/PausePage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/PausePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..ba50343339d2775f80db502611870c09d500f27e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/PausePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/ProcessManager.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ProcessManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..87f0f63e73999552a90f5cc87fd03789bf84ce4c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ProcessManager.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/Prompt.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/Prompt.lua new file mode 100644 index 0000000000000000000000000000000000000000..f0ddd6eee7eae428ff8a86ddc9b1fa79959f5b61 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/Prompt.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/about.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/about.lua new file mode 100644 index 0000000000000000000000000000000000000000..a49a402e4f581d5c35c55a4aa3be485b507c47e5 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts_common/menus/about.lua @@ -0,0 +1,217 @@ +Credits = MainMenuRoot:inherit() +function Credits.init(_ARG_0_) + MainMenuRoot.init(_ARG_0_) + ui.ImageButton:new().name = "backButton" + ui.ImageButton:new():setImage("ARROW_LEFT") + ui.ImageButton:new().returnValue = "RETURN_TO_MAIN_MENU" + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new().clickSound = "menu_back" + _ARG_0_:addChild((ui.ImageButton:new())) + ui.Frame:new().name = "creditsFrame" + _ARG_0_:addChild((ui.Frame:new())) + ui.Image:new().name = "birds1" + ui.Image:new():setImage("ABOUT_BIRDS_1") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds2" + ui.Image:new():setImage("ABOUT_BIRDS_2") + ui.Frame:new():addChild((ui.Image:new())) + ui.Image:new().name = "birds3" + ui.Image:new():setImage("ABOUT_BIRDS_3") + ui.Frame:new():addChild((ui.Image:new())) + if g_hasWebBrowser then + ui.ImageButton:new().name = "privacyButton" + ui.ImageButton:new():setImage("BUTTON_PRIVACY") + ui.ImageButton:new().returnValue = "GOTO_PRIVACY_POLICY" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + ui.ImageButton:new().name = "eulaButton" + ui.ImageButton:new():setImage("BUTTON_EULA") + ui.ImageButton:new().returnValue = "GOTO_EULA" + ui.ImageButton:new().activateOnRelease = true + ui.Frame:new():addChild((ui.ImageButton:new())) + end + ui.Text:new({font = getFontBasic}).name = "textAbout" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + _ARG_0_:setupAboutText() + ui.Text:new({font = getFontBasic}).name = "textCredits" + ui.Text:new({font = getFontBasic}).hanchor = "HCENTER" + ui.Text:new({font = getFontBasic}).vanchor = "VCENTER" + ui.Text:new({font = getFontBasic}).text = "TEXT_CREDITS" + ui.Frame:new():addChild((ui.Text:new({font = getFontBasic}))) + if applyChinaRestictions then + ui.Image:new().name = "textAdditionalCredits" + ui.Image:new():setImage("TOM_CREDITS_S60") + ui.Frame:new():addChild((ui.Image:new())) + end + if g_hasWebBrowser then + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "privacyButton", + [4] = "eulaButton", + [5] = "birds2", + [6] = "textCredits", + [7] = "birds3" + } + else + _ARG_0_.items = { + [1] = "birds1", + [2] = "textAbout", + [3] = "birds2", + [4] = "textCredits", + [5] = "birds3" + } + end + if deviceModel == "s60" and applyChinaRestictions then + _G.table.insert(_ARG_0_.items, 7, "textAdditionalCredits") + end +end +function Credits.prepareForDynamicAssets(_ARG_0_) + dynamic.setRequirements(_ARG_0_, { + "credits", + settingsWrapper:getCurrentMainMenuTheme() + }) +end +function Credits.setupAboutText(_ARG_0_) + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT" + if deviceModel == "iphone" or deviceModel == "iphone4" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CLICKGAMER" + end + if deviceModel == "ipad" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_CHILLINGO" + end + if deviceModel == "s60" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_S60" + end + if deviceModel == "palm" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_PALM" + end + if deviceModel == "android" then + if isHDVersion then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + else + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID" + end + end + if deviceModel == "blackberry" then + _ARG_0_:getChild("textAbout").text = "TEXT_ABOUT_ANDROID_HD" + end + _ARG_0_:getChild("textAbout").text = _G.res.getString("TEXTS_BASIC", _ARG_0_:getChild("textAbout").text) + _ARG_0_:getChild("textAbout").text = _G.string.gsub(_ARG_0_:getChild("textAbout").text, "(%$GAME_VERSION)", gameVersionNumber .. " (" .. svnRevisionNumber .. ") - " .. customerString) + _ARG_0_:getChild("textAbout"):clip() +end +function Credits.onEntry(_ARG_0_) + MainMenuRoot.onEntry(_ARG_0_) + _ARG_0_.state = "RELEASED" + _ARG_0_.scroll = 0 + _ARG_0_.extra_velocity = 0 + _ARG_0_:getChild("textCredits"):clip() +end +function Credits.layout(_ARG_0_) + MainMenuRoot.layout(_ARG_0_) + _ARG_0_:setupAboutText() + _ARG_0_.total_height = 0 + for _FORV_6_, _FORV_7_ in _G.ipairs(_ARG_0_.items) do + if _FORV_6_ > 1 then + _ARG_0_.total_height = _ARG_0_.total_height + screenHeight * 0.05 + end + _ARG_0_:getChild(_FORV_7_).x = screenWidth * 0.5 + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_.total_height + if _ARG_0_:getChild(_FORV_7_).text then + if deviceModel == "freebox" then + _ARG_0_:getChild(_FORV_7_).scaleX = 1.5 + _ARG_0_:getChild(_FORV_7_).scaleY = 1.5 + end + setFont(_ARG_0_:getChild(_FORV_7_).font) + _ARG_0_:getChild(_FORV_7_).textBoxSize = _G.math.min(screenWidth * 0.77, _G.res.getFontLeading() * 1.5 * 20) + _ARG_0_:getChild(_FORV_7_):clip() + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getFontLeading() * 1.5 * #_ARG_0_:getChild(_FORV_7_).lines + elseif _ARG_0_:getChild(_FORV_7_).image then + _ARG_0_:getChild(_FORV_7_).y = _ARG_0_:getChild(_FORV_7_).y + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) * 0.5 + _ARG_0_.total_height = _ARG_0_.total_height + _G.res.getSpriteBounds(_ARG_0_:getChild(_FORV_7_).image) + end + end + _ARG_0_:getChild("backButton"):refresh() + _ARG_0_:getChild("backButton").x = _ARG_0_:getChild("backButton").w * 0.5 + g_layoutMargin.x + _ARG_0_:getChild("backButton").y = screenHeight - _ARG_0_:getChild("backButton").h * 0.5 - g_layoutMargin.y + if deviceModel == "roku" then + _ARG_0_:getChild("backButton").y = _ARG_0_:getChild("backButton").h * 0.5 + g_layoutMargin.y + end +end +function Credits.update(_ARG_0_, _ARG_1_, _ARG_2_) + MainMenuRoot.update(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_0_.state == "RELEASED" then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_1_ * screenHeight * 0.125 + _ARG_0_.extra_velocity * _ARG_1_ + if _G.math.abs(_ARG_0_.extra_velocity) > 0 then + if _ARG_0_.extra_velocity < 0 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity >= 0 then + _ARG_0_.extra_velocity = 0 + end + else + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity - screenHeight * _ARG_1_ * 4 + if _ARG_0_.extra_velocity <= 0 then + _ARG_0_.extra_velocity = 0 + end + end + end + else + _ARG_0_.scroll = _ARG_0_.scroll + (_ARG_0_.last_y or _ARG_0_.drag_start) - cursor.y + _ARG_0_.last_y = cursor.y + end + if _ARG_0_.scroll >= _ARG_0_.total_height + screenHeight then + _ARG_0_.scroll = _ARG_0_.scroll - _ARG_0_.total_height - screenHeight + elseif _ARG_0_.scroll < 0 then + _ARG_0_.scroll = _ARG_0_.scroll + _ARG_0_.total_height + screenHeight + end + _ARG_0_:getChild("creditsFrame").y = screenHeight - _ARG_0_.scroll +end +function Credits.onKeyEvent(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ == "RELEASE" and (_ARG_2_ == "BACK" or _ARG_2_ == "KEY_MENU" or _ARG_2_ == "ESCAPE") then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + end + if _ARG_1_ == "HOLD" and (_ARG_2_ == "DOWN" or _ARG_2_ == "UP") then + if _G.math.abs(_ARG_0_.extra_velocity) < screenHeight then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * (_ARG_2_ == "UP" and -1 or 1) * screenHeight * 16 + end + end +end +function Credits.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + if MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == nil then + if _ARG_1_ == "LPRESS" and _ARG_0_.state == "RELEASED" then + _ARG_0_.state = "DRAGGING" + _ARG_0_.drag_start = cursor.y + _ARG_0_.drag_start_time = g_time + _ARG_0_.last_y = cursor.y + end + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "RETURN_TO_MAIN_MENU" then + eventManager:notify({ + id = events.EID_CHANGE_SCENE, + target = "MAIN_MENU", + from = "CREDITS" + }) + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_PRIVACY_POLICY" then + gotoPrivacyPolicy() + elseif MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) == "GOTO_EULA" then + gotoEula() + end + if _ARG_1_ == "LRELEASE" and _ARG_0_.state == "DRAGGING" then + _ARG_0_.state = "RELEASED" + if g_time - _ARG_0_.drag_start_time ~= 0 then + _ARG_0_.extra_velocity = (_ARG_0_.drag_start - cursor.y) / (g_time - _ARG_0_.drag_start_time) + else + _ARG_0_.extra_velocity = 0 + end + elseif _ARG_1_ == "WHEEL" and _ARG_0_.state == "RELEASED" and _G.math.abs(_ARG_0_.extra_velocity) < screenHeight * 8 then + _ARG_0_.extra_velocity = _ARG_0_.extra_velocity + g_dt * -cursor.wheel * screenHeight * 16 + end + return MainMenuRoot.onPointerEvent(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +filename = "credits.lua" diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/achievements.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/achievements.lua new file mode 100644 index 0000000000000000000000000000000000000000..ad8869998459de9383b4b2a87192057aa4dcde3c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/achievements.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/ads.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ads.lua new file mode 100644 index 0000000000000000000000000000000000000000..e0bd4329f1c9d8ecd122ecacf0dcde39e3270915 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/ads.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/animated_tutorial.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/animated_tutorial.lua new file mode 100644 index 0000000000000000000000000000000000000000..1286a845aec5bca88f3ba5ab760991723c27e0db Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/animated_tutorial.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/challenges.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/challenges.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/credits.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..beb62177f65cbdafb67376a38bd9f20fe78b4314 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/credits.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/cutscene.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/cutscene.lua new file mode 100644 index 0000000000000000000000000000000000000000..1d642974ba4917b5e4fb4284f6c35265c3884b00 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/cutscene.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/cutsenes.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/cutsenes.lua new file mode 100644 index 0000000000000000000000000000000000000000..c4dc2b14565a9f1bd86134228fc57b29d4d2f160 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts_common/menus/cutsenes.lua @@ -0,0 +1,408 @@ +local g_skip_always_allowed = true + +CutScene = ui.Frame:inherit() + +function CutScene:new(cutscene, end_event, o) + local o = o or {} + o.cutscene = cutscene + o.data = cutscenes[cutscene] + o.end_event = end_event + o.name = "CutScene" + return ui.Frame.new(self, o) +end + +function CutScene:init() + ui.Frame.init(self) + + local skip_button = ui.ImageButton:new() + skip_button.name = "skip_button" + if deviceModel == "android" and screenHeight < 320 then + skip_button:setImage("BUTTON_SKIP_CUTSCENE_QVGA") + else + skip_button:setImage("BUTTON_SKIP_CUTSCENE") + end + + skip_button:setVisible(false) + skip_button.activateOnRelease = true + skip_button.returnValue = "SKIP_TO_LEVEL" + self:addChild(skip_button) +end + +function CutScene:prepareForDynamicAssets() + dynamic.setRequirements(self, { settingsWrapper:getCurrentMainMenuTheme(), settingsWrapper:getCurrentMainMenuTheme() .. "_menu" }) +end + +function CutScene:onEntry() + self.scroll_x = 0 + self.scroll_y = 0 + self.scale = 1 + self.offset_x = 0 + self.offset_y = 0 + self.x_multiplier = 1 + self.y_multiplier = 1 + self.dataPosition = 1 + self.timeElapsed = 0 + self.sprites = {} + self.fit = "none" + self.result = nil + self.no_scroll = false + self.borders = true + self.draw_game = false + ui.Frame.onEntry(self) + + _G.res.stopAllAudio() + + if keyHold["LBUTTON"] then + self.ldown = true + end + + if settingsWrapper:canSkipCutscene(self.cutscene) or g_skip_always_allowed then + self:getChild("skip_button"):setVisible(true) + end + + if g_isAccelerometerControl then + g_rokuCursorVisible = false + end +end + +function CutScene:update(dt, time) + self.timeElapsed = self.timeElapsed + dt + + while self.data[self.dataPosition] and self.data[self.dataPosition].time <= self.timeElapsed do + self:processCommand(self.data[self.dataPosition]) + self.dataPosition = self.dataPosition + 1 + end + + if self.scroll and not self.no_scroll then + local scroll = self.scroll + local scroll_progress + if scroll.type == "linear" then + scroll_progress = (self.timeElapsed - scroll.begin_time) / (scroll.end_time - scroll.begin_time) + elseif scroll.type == "cubic_in_out" then + scroll_progress = tweenEaseCubicInOut(self.timeElapsed - scroll.begin_time, 0, 1, scroll.end_time - scroll.begin_time) + end + if scroll_progress >= 1 then + self.scroll = nil + self.scroll_x = scroll.end_x + self.scroll_y = scroll.end_y + else + self.scroll_x = scroll.begin_x + scroll_progress * (scroll.end_x - scroll.begin_x) + self.scroll_y = scroll.begin_y + scroll_progress * (scroll.end_y - scroll.begin_y) + end + end + + ui.Frame.update(self, dt, time) +end + +function CutScene:processCommand(command) + if command.action == "playsound" then + _G.res.playAudio(command.sound, command.volume or 1, command.loop or false, command.track) + elseif command.action == "createsprite" then + local sprite = + { + image = command.image, + layer = command.layer or 0, + x = command.x * self.x_multiplier, + y = command.y * self.y_multiplier, + z = command.z or 0, + flip_x = command.flip_x or false, + flip_y = command.flip_y or false, + scale_x = command.scale_x or 1, + scale_y = command.scale_y or 1, + angle = command.angle or 0 + } + self.sprites[command.name] = sprite + elseif command.action == "deletesprite" then + self.sprites[command.name] = nil + elseif command.action == "changesprite" then + self.sprites[command.name].image = command.image + elseif command.action == "set_bg_colour" then + setBGColor(command.r, command.g, command.b) + self.backgroundColour = { r = command.r, g = command.g, b = command.b, a = 1.0 } + elseif command.action == "fitheight" then + self.fit = "height" + if command.image then + local image = command.image or self.sprites[command.sprite].image + local sw, sh = self:getCompoSpriteBounds(image) + self.ref_width = sw + self.ref_height = sh + else + self.ref_width = command.width + self.ref_height = command.height + end + self:layout() + print("fitting cutscene to h=" .. self.ref_height .. " scale=" .. self.scale) + elseif command.action == "fitwidth" then + self.fit = "width" + if command.image then + local image = command.image or self.sprites[command.sprite].image + local sw, sh = self:getCompoSpriteBounds(image) + self.ref_width = sw + self.ref_height = sh + else + self.ref_width = command.width + self.ref_height = command.height + end + self:layout() + print("fitting cutscene to w=" .. self.ref_width .. " scale=" .. self.scale) + elseif command.action == "fitcenter" then + self.fit = "center" + self.ref_width = screenWidth + self.ref_height = screenHeight + elseif command.action == "setreferencesize" then + local sw, sh = _G.res.getSpriteBounds(command.image) --self:getCompoSpriteBounds(command.image) + self.x_multiplier = sw / command.width + self.y_multiplier = sh / command.height + elseif command.action == "createnonfullscreencutscene" then + local sprite = + { + image = command.image, + layer = command.layer or 0, + x = command.x * screenWidth, + y = command.y * screenHeight, + z = command.z or 0, + flip_x = command.flip_x or false, + flip_y = command.flip_y or false, + scale_x = command.scale_x or 1, + scale_y = command.scale_y or 1, + angle = command.angle or 0 + } + self.sprites[command.name] = sprite + if command.button then + local bw,bh = _G.res.getSpriteBounds(command.image) + local sprite = + { + image = command.button, + layer = command.layer or 0, + x = command.x * screenWidth + bw * 0.3, + y = command.y * screenHeight + bh * 0.5 , + z = command.z + 0.01 or 0.01, + flip_x = command.flip_x or false, + flip_y = command.flip_y or false, + scale_x = command.scale_x or 1, + scale_y = command.scale_y or 1, + angle = command.angle or 0 + } + self.sprites[command.button] = sprite + end + elseif command.action == "set_scroll_position" then + local target = self.sprites[command.scroll_target.sprite] + local sw, sh = self:getCompoSpriteBounds(target.image) + self.scroll_x = target.x + command.scroll_target.x * sw - command.scroll_cursor.x * (screenWidth / self.scale - self.offset_x * 2) + self.scroll_y = target.y + command.scroll_target.y * sh - command.scroll_cursor.y * (screenHeight / self.scale - self.offset_y * 2) + print("setting scroll position to [" .. self.scroll_x .. ";" .. self.scroll_y .. "]") + --print("offset = [" .. self.offset_x .. ";" .. self.offset_y .. "]") + --print("scroll target = [" .. command.scroll_target.x * sw * self.scale .. ";" .. command.scroll_target.y * sh * self.scale .. "]") + --print("s = [" .. sw .. "x" .. sh .. "]") + elseif command.action == "scroll" then + local scroll = {} + local target = self.sprites[command.scroll_target.sprite] + local sw, sh = self:getCompoSpriteBounds(target.image) + local px, py = _G.res.getSpritePivot(target.image) + local scw = g_cutsceneFilm and _G.math.max(screenWidth, g_cutsceneDimensions.width) or screenWidth + local sch = g_cutsceneFilm and _G.math.max(screenHeight, g_cutsceneDimensions.height) or screenHeight + local cursor_x = self.scroll_x + command.scroll_cursor.x * (scw / self.scale - self.offset_x * 2) + local cursor_y = self.scroll_y + command.scroll_cursor.y * (sch / self.scale - self.offset_y * 2) + local target_x = target.x + command.scroll_target.x * sw + local target_y = target.y + command.scroll_target.y * sh + print("CURSOR: " .. cursor_x .. "; TARGET: " .. target_x) + scroll.begin_x = self.scroll_x + scroll.end_x = self.scroll_x + (target_x - cursor_x) + scroll.begin_y = self.scroll_y + scroll.end_y = self.scroll_y + (target_y - cursor_y) + scroll.begin_time = command.time + scroll.end_time = command.time + command.duration + scroll.type = command.type or "linear" + self.scroll = scroll + elseif command.action == "end" then + settingsWrapper:setCutsceneWatched(self.cutscene) + saveLuaFileWrapper("settings.lua", "settings", true) + if self.end_event then + eventManager:notify(self.end_event) + end + elseif command.action == "toggle_borders" then + self.borders = command.value + elseif command.action == "toggle_draw_game" then + self.draw_game = command.value + end + +end + +function CutScene:getCompoSpriteBounds(sprite) + --local _, _, w, h = _G.res.getCompoSpriteBounds(sprite) + --return w, h + return _G.res.getSpriteBounds(sprite) +end + +function CutScene:layout() + self.offset_x = 0 + self.offset_y = 0 + self.scale = 1 + self.no_scroll = false + local asset_scaling = g_cutscene_asset_scale + if self.fit == "height" then + if (self.ref_height * asset_scaling) > screenHeight then + self.scale = screenHeight / (self.ref_height * asset_scaling) + self.offset_y = 0 + else + self.scale = 1 + self.offset_y = (screenHeight - (self.ref_height * asset_scaling)) * 0.5 + end + + if (self.ref_width * asset_scaling) < screenWidth and not g_cutsceneFilm then + self.offset_x = (screenWidth - (self.ref_width * asset_scaling)) * 0.5 + self.no_scroll = true + end + elseif self.fit == "width" then + if (self.ref_width * asset_scaling) > screenWidth then + self.scale = screenWidth / (self.ref_width * asset_scaling) + self.offset_x = 0 + else + self.scale = 1 + self.offset_x = (screenWidth - (self.ref_width * asset_scaling)) * 0.5 + end + elseif self.fit == "center" then + self.offset_x = (screenWidth - self.ref_width)/2 + self.offset_y = (screenHeight - self.ref_height)/2 + end + + if g_cutsceneFilm then + --if self.fit == "height" then + if screenWidth > g_cutsceneDimensions.width then + self.offset_x = (screenWidth - g_cutsceneDimensions.width) * 0.5 + end + --elseif self.fit == "width" then + if screenHeight > g_cutsceneDimensions.height then + self.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + elseif screenHeight < g_cutsceneDimensions.height then + self.offset_y = (screenHeight - g_cutsceneDimensions.height) * 0.5 + end + --end + print(" film strip mode, offset x=" .. _G.tostring(self.offset_x) .. " y=" .. _G.tostring(self.offset_y)) + self.scale = 1 + end + + local skip_button = self:getChild("skip_button") + local sw, sh = _G.res.getSpriteBounds(skip_button.image) + skip_button.x = screenWidth - sw * 0.55 - g_layoutMargin.x + skip_button.y = screenHeight - sh * 0.52 - g_layoutMargin.y + + self.scale = self.scale * asset_scaling + + ui.Frame.layout(self) +end + +function CutScene:onExit() + _G.res.stopAllAudio() + ui.Frame.onExit(self) + + if g_isAccelerometerControl then + g_rokuCursorVisible = true + end +end + +function CutScene:draw(x, y) + + if self.draw_game then + drawGame() + end + + if g_cutsceneFilm then + local bgw, bgh = _G.res.getSpriteBounds("CUTSCENE_BG") + local bgdim = _G.math.min(bgw, bgh) + local size = _G.math.max(screenWidth, screenHeight) + local scale = _G.math.max(size / bgdim, 1) + setRenderState(0, 0, scale, scale) + _G.res.drawSprite("CUTSCENE_BG", (screenWidth * 0.5) / scale, (screenHeight * 0.5) / scale) + end + + local drawlist = {} + for _, v in _G.pairs(self.sprites) do + _G.table.insert(drawlist, v) + end + _G.table.sort(drawlist, function(a, b) + return a.z < b.z + end) + + local asset_scaling = g_cutscene_asset_scale + + local scale_x = self.scale + local scale_y = self.scale + local offset_x = -_G.math.floor(self.scroll_x) + local offset_y = -_G.math.floor(self.scroll_y) + offset_y = offset_y + self.offset_y / asset_scaling + offset_x = offset_x + self.offset_x + + setRenderState(0, 0, 1, 1) + if not g_cutsceneFilm and self.offset_y > 0 and self.borders then + drawRect(0, 0, 0, 1, 0, 0, screenWidth, _G.math.ceil(self.offset_y), false) + drawRect(0, 0, 0, 1, 0, _G.math.floor(screenHeight - self.offset_y), screenWidth, screenHeight, false) + end + if not g_cutsceneFilm and self.offset_x > 0 and self.borders then + drawRect(0, 0, 0, 1, 0, 0, _G.math.ceil(self.offset_x), screenHeight, false) + drawRect(0, 0, 0, 1, _G.math.floor(screenWidth - self.offset_x), 0, screenWidth, screenHeight, false) + _G.res.setClipRect(self.offset_x, 0, screenWidth - 2 * self.offset_x, screenHeight) + end + if g_cutsceneFilm and self.backgroundColour then + drawRect(self.backgroundColour.r / 255, self.backgroundColour.g / 255, self.backgroundColour.b / 255, 1, self.offset_x, self.offset_y, screenWidth - self.offset_x, screenHeight - self.offset_y, false) + end + if self.offset_y > 0 or self.offset_x > 0 then + _G.res.setClipRect(self.offset_x, self.offset_y, screenWidth - 2 * self.offset_x, screenHeight - 2 * self.offset_y) + end + + for i = 1, #drawlist do + local sprite = drawlist[i] + local flip_x = 1 + local flip_y = 1 + if sprite.flip_x then flip_x = -1 end + if sprite.flip_y then flip_y = -1 end + local px, py = _G.res.getSpritePivot(sprite.image) + local xs = scale_x * flip_x + local ys = scale_y * flip_y + setRenderState(offset_x + (sprite.x * scale_x) / xs, offset_y + (sprite.y * scale_y) / ys, xs, ys, sprite.angle, px, py) + _G.res.drawSprite(sprite.image, 0, 0) + end + + setRenderState(0, 0, 1, 1, 0, 0, 0) + _G.res.setClipRect(0, 0, screenWidth, screenHeight) + + if g_cutsceneFilm then + _G.res.drawSprite("CUTSCENE_FILMSTRIP_TOP", screenWidth * 0.5, self.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_BOTTOM", screenWidth * 0.5, screenHeight - self.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_LEFT", self.offset_x, self.offset_y) + _G.res.drawSprite("CUTSCENE_FILMSTRIP_RIGHT", screenWidth - self.offset_x, self.offset_y) + end + + ui.Frame.draw(self, x, y) +end + +function CutScene:skip() + _G.res.stopAllAudio() + settingsWrapper:setCutsceneWatched(self.cutscene) + eventManager:notify(self.end_event) +end + +if not g_isAccelerometerControl then + function CutScene:onPointerEvent(eventType, x, y) + local result, meta, item = ui.Frame.onPointerEvent(self, eventType, x, y) + + if eventType == "LRELEASE" and (settingsWrapper:canSkipCutscene(self.cutscene) or cheatsEnabled or g_skip_always_allowed) and result == "SKIP_TO_LEVEL" then + if self.ldown then + --ignore first lrelease if click was held when the cutscene began + self.ldown = nil + else + self:skip() + end + end + + return result, meta, item + end +else + function CutScene:onPointerEvent(eventType, x, y) end + + function CutScene:onKeyEvent(eventType, key) + if eventType == "RELEASE" and key == "FORWARD" and (settingsWrapper:canSkipCutscene(self.cutscene) or cheatsEnabled or g_skip_always_allowed) then + self:skip() + end + end +end diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/daily_reward.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/daily_reward.lua new file mode 100644 index 0000000000000000000000000000000000000000..4fb74c60cf5c43f6d798c93786943654be19e819 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/daily_reward.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/default_credits.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/default_credits.lua new file mode 100644 index 0000000000000000000000000000000000000000..d3abc8dadf8fac4c50a208e920c21f04f51f6fb5 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/default_credits.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/egg_hint.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/egg_hint.lua new file mode 100644 index 0000000000000000000000000000000000000000..6259a8ca798b8884159d4c97d1bbd08168d40a36 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/egg_hint.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/episode_selection.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/episode_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..ef84c0ab8e01240dea9864641fe37d481491bf79 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/episode_selection.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/infoFrame.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/infoFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..563f574ab8cc657d74736b40f867036f323af6b2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/infoFrame.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/layout_select.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/layout_select.lua new file mode 100644 index 0000000000000000000000000000000000000000..cd9aaba3ff1490147c53ab935d304108aeb7e0df --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts_common/menus/layout_select.lua @@ -0,0 +1,252 @@ +function createLevelButton(_ARG_0_) + ui.ImageButton:new().name = "level" .. _ARG_0_.page .. "-" .. _ARG_0_.index + ui.ImageButton:new().activateOnRelease = true + ui.ImageButton:new():setImage(_ARG_0_.level_button_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].level_button, _ARG_0_.disabled_button_override or "LS_LEVEL_BG_NORMAL_CLOSED") + ui.ImageButton:new().returnValue = "GOTO_LEVEL" + ui.ImageButton:new().disabledReturnValue = "DISABLED_LEVEL" + ui.ImageButton:new().meta = { + episode = _ARG_0_.episode, + page = _ARG_0_.page, + level = _ARG_0_.index, + levelName = _ARG_0_.name, + intro_cutscene = _ARG_0_.intro_cutscene + } + return (ui.ImageButton:new()) +end +function createBasicLevelButton(_ARG_0_, _ARG_1_) + ui.Text:new().name = "number" + ui.Text:new().font = fontBasic + ui.Text:new().text = _G.tostring(_ARG_1_.display_number) + _ARG_0_:addChild((ui.Text:new())) + ui.Image:new().name = "eagle" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.levelSelectionSilhouette or "LS_EAGLE_BUTTON") + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "stars" + ui.Image:new():setVisible(false) + _ARG_0_:addChild((ui.Image:new())) + ui.Image:new().name = "feather" + ui.Image:new():setVisible(false) + ui.Image:new():setImage(g_episodes[_ARG_1_.episode].mightyPower and g_episodes[_ARG_1_.episode].mightyPower.collectableReward or "LS_EAGLE_FEATHER") + _ARG_0_:addChild((ui.Image:new())) +end +function openBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(true) + _ARG_0_:getChild("number").visible = true + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("stars").visible = false + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score > 0 and highscores[_ARG_1_.name].completed then + _ARG_0_:getChild("stars").visible = true + if highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].goldScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(3)) + elseif highscores[_ARG_1_.name].score >= starTable[_ARG_1_.name].silverScore then + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(2)) + else + _ARG_0_:getChild("stars"):setImage((function(_ARG_0_) + for _FORV_6_ = 1, 3 do + end + return { + g_episodes[_UPVALUE0_.episode].star_sprite_override, + g_episodes[_UPVALUE0_.episode].pages[_UPVALUE0_.page].star_sprite_override, + _UPVALUE0_.star_sprite_override + }[_FORV_6_][_ARG_0_] + end)(1)) + end + elseif highscores[_ARG_1_.name] and (not highscores[_ARG_1_.name].score or highscores[_ARG_1_.name].score and highscores[_ARG_1_.name].score == 0) and highscores[_ARG_1_.name].completed then + for _FORV_13_, _FORV_14_ in _G.ipairs((settingsWrapper:getEagleUsedIn())) do + if _FORV_14_.level == _ARG_1_.name then + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = true + end + end + end + if highscores[_ARG_1_.name] and highscores[_ARG_1_.name].eagleScore and highscores[_ARG_1_.name].eagleScore >= 100 then + _ARG_0_:getChild("feather").visible = true + end +end +function closeBasicLevel(_ARG_0_, _ARG_1_) + _ARG_0_:setEnabled(false) + _ARG_0_:getChild("number").visible = false + _ARG_0_:getChild("stars").visible = false + _ARG_0_:getChild("eagle").visible = false + _ARG_0_:getChild("feather").visible = false +end +function getLevelSelectionLayoutSizes() + if _UPVALUE0_ then + else + end + return g_layoutMargin.x, screenWidth - g_layoutMargin.x, screenWidth - g_layoutMargin.x - g_layoutMargin.x +end +LSGridLayout = {} +LSGridLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE +} +function LSGridLayout.createPage(_ARG_0_, _ARG_1_) +end +function LSGridLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSGridLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:getLastOpenLevel(_ARG_0_.episode) >= _ARG_0_.index_in_episode +end +function LSGridLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + closeBasicLevel(_ARG_1_, _ARG_2_) +end +function LSGridLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_14_ = 1, _ARG_1_.layout_params.rows do + for _FORV_19_ = 1, _ARG_1_.layout_params.cols do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * getLevelSelectionLayoutSizes() * (1 - 0.83) + getLevelSelectionLayoutSizes() + 0.83 * getLevelSelectionLayoutSizes() / (_ARG_1_.layout_params.cols - 1) * (_FORV_19_ - 1) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. (_FORV_14_ - 1) * _ARG_1_.layout_params.cols + _FORV_19_).y = -0.1 * screenHeight + screenHeight * (_FORV_14_ / (_ARG_1_.layout_params.rows + 2) * 1.2) + end + end +end +function LSGridLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSGridLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSFacebookLayout = {} +LSFacebookLayout.listen_events = { + events.EID_MIGHTY_EAGLE_AVAILABLE, + events.EID_FACEBOOK_LIKE_CLICKED +} +function LSFacebookLayout.createPage(_ARG_0_, _ARG_1_) + ui.ImageButton:new().name = "fbButton" .. _ARG_1_.index + ui.ImageButton:new():setImage("FB_LIKE_BUTTON") + ui.ImageButton:new().returnValue = "GOTO_FACEBOOK_CONNECT" + ui.ImageButton:new().activateOnRelease = true + _ARG_0_:addChild((ui.ImageButton:new())) +end +function LSFacebookLayout.createLevelButton(_ARG_0_) + createBasicLevelButton(createLevelButton(_ARG_0_), _ARG_0_) + return (createLevelButton(_ARG_0_)) +end +function LSFacebookLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isFbPageLiked() +end +function LSFacebookLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + openBasicLevel(_ARG_1_, _ARG_2_) + _ARG_1_:setImage(g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button, g_episodes[_ARG_2_.episode].pages[_ARG_2_.page].level_button) + _ARG_1_.returnValue = "GOTO_LEVEL" +end +function LSFacebookLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:getChild("number").visible = false + _ARG_1_:getChild("stars").visible = false + _ARG_1_:getChild("eagle").visible = false + _ARG_1_:getChild("feather").visible = false + _ARG_1_:setEnabled(true) + _ARG_1_.returnValue = "SHOW_FACEBOOK_PROMPT" + _ARG_1_:setImage("LS_LEVEL_BG_NORMAL_CLOSED", "LS_LEVEL_BG_NORMAL_CLOSED") +end +function LSFacebookLayout.layout(_ARG_0_, _ARG_1_) + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth + _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y = screenHeight / 2.75 + for _FORV_14_ = 1, _ARG_1_.layout_params.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).x = (_ARG_1_.index - 1) * screenWidth + 0.5 * screenWidth - (_ARG_1_.layout_params.levels - 1) * 0.5 * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + (_FORV_14_ - 1) * 1.5 * _G.res.getSpriteBounds(_ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_14_).y = _ARG_0_:getChild("fbButton" .. _ARG_1_.index).y + _G.res.getSpriteBounds(_ARG_0_:getChild("fbButton" .. _ARG_1_.index).image) / 2.28 + _G.res.getSpriteBounds(_ARG_1_.level_button) * 0.5 + end +end +function LSFacebookLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) +end +function LSFacebookLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_2_.id == events.EID_MIGHTY_EAGLE_AVAILABLE then + for _FORV_6_ = 1, #_ARG_1_.levels do + if _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible then + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("eagle").visible = false + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + elseif _ARG_2_.id == events.EID_FACEBOOK_LIKE_CLICKED then + for _FORV_6_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):setImage(_ARG_1_.level_button, _ARG_1_.level_button) + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_).returnValue = "GOTO_LEVEL" + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_6_):getChild("number").visible = true + end + _ARG_0_:getChild("levelButtons"):refreshVisibleChildren() + end +end +LSGoldenEggsLayout = {} +LSGoldenEggsLayout.listen_events = {} +function LSGoldenEggsLayout.createPage(_ARG_0_, _ARG_1_) + for _FORV_5_ = 1, #_ARG_1_.levels do + ui.Image:new().name = "starEffect" .. _ARG_1_.index .. "-" .. _FORV_5_ + ui.Image:new():setImage("GOLDEN_EGG_STAR_EFFECT") + _ARG_0_:addChild((ui.Image:new())) + end +end +function LSGoldenEggsLayout.createLevelButton(_ARG_0_) + ui.Image:new().name = "star" + ui.Image:new():setImage(_ARG_0_.completed_sprite_override or g_episodes[_ARG_0_.episode].pages[_ARG_0_.page].layout_params.completed_sprite) + ui.Image:new():setVisible(false) + createLevelButton(_ARG_0_):addChild((ui.Image:new())) + return (createLevelButton(_ARG_0_)) +end +function LSGoldenEggsLayout.isLevelOpen(_ARG_0_) + return settingsWrapper:isGoldenEggUnlocked(_ARG_0_.name) +end +function LSGoldenEggsLayout.onOpenLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(true) + _ARG_1_:setVisible(true) + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = not settingsWrapper:isGoldenEggPlayed(_ARG_2_.name) + _ARG_1_:getChild("star"):setVisible(highscores[_ARG_2_.name] and highscores[_ARG_2_.name].completed or false) +end +function LSGoldenEggsLayout.onClosedLevelEntry(_ARG_0_, _ARG_1_, _ARG_2_) + _ARG_1_:setEnabled(false) + if _ARG_2_.disabled_button_override == nil then + _ARG_1_:setVisible(false) + else + _ARG_1_:setVisible(true) + end + _ARG_0_:getChild("starEffect" .. _ARG_2_.page .. "-" .. _ARG_2_.index).visible = false +end +function LSGoldenEggsLayout.layout(_ARG_0_, _ARG_1_) + for _FORV_8_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x = (_ARG_1_.index - 1) * screenWidth + (_ARG_1_.levels[_FORV_8_].x or 0.5) * getLevelSelectionLayoutSizes() + getLevelSelectionLayoutSizes() + _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y = (_ARG_1_.levels[_FORV_8_].y or 0.5) * screenHeight + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).x = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).x + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_8_).y = _ARG_0_:getChild("level" .. _ARG_1_.index .. "-" .. _FORV_8_).y + end +end +function LSGoldenEggsLayout.update(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) + for _FORV_7_ = 1, #_ARG_1_.levels do + _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle = _ARG_0_:getChild("starEffect" .. _ARG_1_.index .. "-" .. _FORV_7_).angle + _ARG_2_ * 0.6 + end +end +function LSGoldenEggsLayout.eventTriggered(_ARG_0_, _ARG_1_, _ARG_2_) +end +g_ls_layout_mapping = { + grid = LSGridLayout, + facebook = LSFacebookLayout, + goldeneggs = LSGoldenEggsLayout +} +filename = "level_selection_layouts.lua" diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_end.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_end.lua new file mode 100644 index 0000000000000000000000000000000000000000..7bb645b9156c99eeebe2fd6d0c61b47ca37eb5bf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_end.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5118fd8f6aeb826af45dcc057d89f7ac4c78f1b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection_free.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection_free.lua new file mode 100644 index 0000000000000000000000000000000000000000..6188013f0113c08f6408a340feace9c98a99cea1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection_free.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection_layouts.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection_layouts.lua new file mode 100644 index 0000000000000000000000000000000000000000..04162665aad97768e447cfb13d673db6ae14279f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/level_selection_layouts.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/loading.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/loading.lua new file mode 100644 index 0000000000000000000000000000000000000000..c92891b6f7b9a3113cf5d1a20f9347f6d25dc098 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/loading.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/main_menu.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/main_menu.lua new file mode 100644 index 0000000000000000000000000000000000000000..696fc2d4cc6f7b361f4d4199a93f001c85372674 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/main_menu.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/resolution.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/resolution.lua new file mode 100644 index 0000000000000000000000000000000000000000..978d55b7903db3f46a441b3548d3ed98564ff903 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/resolution.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/reward_popups.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/reward_popups.lua new file mode 100644 index 0000000000000000000000000000000000000000..16eedea5b5ea6b134d8d3bb34b974ea360fd7975 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/reward_popups.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/rovio_news.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/rovio_news.lua new file mode 100644 index 0000000000000000000000000000000000000000..b5d0470c9238a44846041a51b9352f918f98aaab Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/rovio_news.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/settings_page.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/settings_page.lua new file mode 100644 index 0000000000000000000000000000000000000000..0d0b5a99bc5e4811976a4712b08de43864020857 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/settings_page.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/shop2.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/shop2.lua new file mode 100644 index 0000000000000000000000000000000000000000..a9735a80a045ec32ea70a166524d11007c191958 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/shop2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/shop3.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/shop3.lua new file mode 100644 index 0000000000000000000000000000000000000000..5fb99634991566d88de2c3f01073d90544af29b9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/shop3.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/slideshow.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/slideshow.lua new file mode 100644 index 0000000000000000000000000000000000000000..7741f64b7fbfd784214d4b2c53bdb158f3e7eb17 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/slideshow.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/splashes.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/splashes.lua new file mode 100644 index 0000000000000000000000000000000000000000..e2527af17106473a8d992f226687c3ff8dc644bb Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/splashes.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/menus/tutorials.lua b/Angry Birds Project R/2.3.1/data/scripts_common/menus/tutorials.lua new file mode 100644 index 0000000000000000000000000000000000000000..8905559369866711bc6d2357a23ebed12261375e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/menus/tutorials.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/powerups.lua b/Angry Birds Project R/2.3.1/data/scripts_common/powerups.lua new file mode 100644 index 0000000000000000000000000000000000000000..887173274877bebbf4ea1cdcadf00f497513702a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/powerups.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/powerups2.lua b/Angry Birds Project R/2.3.1/data/scripts_common/powerups2.lua new file mode 100644 index 0000000000000000000000000000000000000000..887173274877bebbf4ea1cdcadf00f497513702a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/powerups2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/puffer_bird.lua b/Angry Birds Project R/2.3.1/data/scripts_common/puffer_bird.lua new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/settingsWrapper.lua b/Angry Birds Project R/2.3.1/data/scripts_common/settingsWrapper.lua new file mode 100644 index 0000000000000000000000000000000000000000..0994192c94d2116603ccca2e9776b48997e7fe5d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/settingsWrapper.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/sticky_block.lua b/Angry Birds Project R/2.3.1/data/scripts_common/sticky_block.lua new file mode 100644 index 0000000000000000000000000000000000000000..e1d141bb211067cab0dc1436baf05e9e0e07f5ce Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/sticky_block.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ABIDSubSystem.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ABIDSubSystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..26b478cc49bf16d95df5f9d5041f43366f237d2c Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ABIDSubSystem.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ABsync.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ABsync.lua new file mode 100644 index 0000000000000000000000000000000000000000..2801892a62d8fbd7c9715ef1eb704d874dbf6e00 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ABsync.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ChallengePage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ChallengePage.lua new file mode 100644 index 0000000000000000000000000000000000000000..de4dfe9bdc0aa89d922505b458f7447a47bef22b Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/ChallengePage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/CloudSync.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/CloudSync.lua new file mode 100644 index 0000000000000000000000000000000000000000..e6196e7ead07b2c8ac9b980dc46b90d7ff66b771 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/CloudSync.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/Nook.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/Nook.lua new file mode 100644 index 0000000000000000000000000000000000000000..0662dda588da05018b377d154cad0567e9f9c47a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/Nook.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/RovioAccount.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/RovioAccount.lua new file mode 100644 index 0000000000000000000000000000000000000000..7c16df839fe70d659317c0e8c7dbaf40da84ef35 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/RovioAccount.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/adsSubsystem.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/adsSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..98d113d6090685917252db074a14c6952a81fb71 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/adsSubsystem.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/blockListSetup.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/blockListSetup.lua new file mode 100644 index 0000000000000000000000000000000000000000..c08bfae1e8e13b0ccc136876285b1d7763e75fee Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/blockListSetup.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/calendarSubsystem.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/calendarSubsystem.lua new file mode 100644 index 0000000000000000000000000000000000000000..209cfeb39539c57a9128c8ff258ae9bec65f82e6 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/calendarSubsystem.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/challenges.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/challenges.lua new file mode 100644 index 0000000000000000000000000000000000000000..e52849ce345e86149d4de435cf6d08e4099c3dec Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/challenges.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/flurry.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/flurry.lua new file mode 100644 index 0000000000000000000000000000000000000000..3818dd81f338668c6ba513da0a1bd52d42c8d7dc Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/flurry.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/game_center.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/game_center.lua new file mode 100644 index 0000000000000000000000000000000000000000..2f431412477c847707a34b8f57267e77a93cd22f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/game_center.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/loader.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/loader.lua new file mode 100644 index 0000000000000000000000000000000000000000..f15d84aae394db84524c446b9564522975a7a393 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/loader.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/notifications.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/notifications.lua new file mode 100644 index 0000000000000000000000000000000000000000..43caaba8ba94df17745804c9d385134c4091d070 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/notifications.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/subsystems.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/subsystems.lua new file mode 100644 index 0000000000000000000000000000000000000000..75d390e7f00e2f3df9456d6925dd132ad5b1d48d Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystems/subsystems.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/subsystemsapi.lua b/Angry Birds Project R/2.3.1/data/scripts_common/subsystemsapi.lua new file mode 100644 index 0000000000000000000000000000000000000000..4b1a7dea531e8c7e827cf2ea44da5500ee90b780 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/subsystemsapi.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/timer.lua b/Angry Birds Project R/2.3.1/data/scripts_common/timer.lua new file mode 100644 index 0000000000000000000000000000000000000000..845e842d9dd3127f96414e7427491f3ad8c1c269 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/timer.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/trackpad.lua b/Angry Birds Project R/2.3.1/data/scripts_common/trackpad.lua new file mode 100644 index 0000000000000000000000000000000000000000..352bdde63d337d8ed660dcee18a4e7d589e6e575 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/trackpad.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/AudioToggleButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/AudioToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8d67b110ab58bee14c320cd2548a94a3d9c0b96e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/AudioToggleButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/BGBox.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/BGBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b18f6f3fab5643cc0f73872b345f8b339ba4820f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/BGBox.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/BackgroundBox.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/BackgroundBox.lua new file mode 100644 index 0000000000000000000000000000000000000000..b792b2be6d4175cf69243f6b77ff2e3be5a604c9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/BackgroundBox.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Frame.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Frame.lua new file mode 100644 index 0000000000000000000000000000000000000000..d5cbb549d09b466a4d4c62c3338a364a1e785a57 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Frame.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/GridFrame.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/GridFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..0f5bb12fd736bf68706ee1cfce57f628d6ea74c9 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/GridFrame.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image.lua new file mode 100644 index 0000000000000000000000000000000000000000..9f79269f5b834f2b18ec6201c037f8e8afabad1f Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image1.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image1.lua new file mode 100644 index 0000000000000000000000000000000000000000..e58cfe35dd7177286d2671b3325e2e985f385dcf Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image1.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image2.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image2.lua new file mode 100644 index 0000000000000000000000000000000000000000..aff34fa9340a5d8fd0ccdd40958f84192e40f558 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Image2.lua @@ -0,0 +1,66 @@ +Image = Frame:inherit() +function Image.init(_ARG_0_) + _ARG_0_.visible = true + _ARG_0_.angle = 0 + _ARG_0_.alpha = nil + _ARG_0_.floorCoordinates = true + _ARG_0_.scaleX = 1 + _ARG_0_.scaleY = 1 + _ARG_0_.rotatePivotX = 0 + _ARG_0_.rotatePivotY = 0 +end +function Image.setVisible(_ARG_0_, _ARG_1_) + _ARG_0_.visible = _ARG_1_ +end +function Image.refresh(_ARG_0_) + if not _ARG_0_.image then + return + end + _ARG_0_.w, _ARG_0_.h = _G.res.getSpriteBounds(_ARG_0_.image) + _ARG_0_.px, _ARG_0_.py = _G.res.getSpritePivot(_ARG_0_.image) + _ARG_0_.rotatePivotX = _ARG_0_.px + _ARG_0_.rotatePivotY = _ARG_0_.py +end +function Image.layout(_ARG_0_) + _ARG_0_:refresh() + Frame.layout(_ARG_0_) +end +function Image.setImage(_ARG_0_, _ARG_1_) + _ARG_0_.image = _ARG_1_ + _ARG_0_:refresh() +end +function Image.setSize(_ARG_0_, _ARG_1_, _ARG_2_) + if _ARG_1_ ~= nil then + _ARG_0_.w = _ARG_1_ + end + if _ARG_2_ ~= nil then + _ARG_0_.h = _ARG_2_ + end +end +function Image.drawSelf(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + if _ARG_0_.image ~= nil and _ARG_0_.visible == true then + px, py = _ARG_0_.pivotX or px, _ARG_0_.pivotY or py + if _ARG_0_.alpha == nil then + gamelua.setRenderState(_G.math.floor((_ARG_1_ or 0) + _ARG_0_.x * (_ARG_6_ or 1)) / ((_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1)), _G.math.floor((_ARG_2_ or 0) + _ARG_0_.y * (_ARG_6_ or 1)) / ((_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1)), (_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1), (_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1), (_ARG_5_ or 0) + _ARG_0_.angle, _ARG_0_.rotatePivotX or px, _ARG_0_.rotatePivotY or py) + else + gamelua.setRenderState(_G.math.floor((_ARG_1_ or 0) + _ARG_0_.x * (_ARG_6_ or 1)) / ((_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1)), _G.math.floor((_ARG_2_ or 0) + _ARG_0_.y * (_ARG_6_ or 1)) / ((_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1)), (_ARG_3_ or 1) * _ARG_0_.scaleX * (_ARG_6_ or 1), (_ARG_4_ or 1) * _ARG_0_.scaleY * (_ARG_6_ or 1), (_ARG_5_ or 0) + _ARG_0_.angle, _ARG_0_.rotatePivotX or px, _ARG_0_.rotatePivotY or py, _ARG_0_.alpha) + end + _G.res.drawSprite("", _ARG_0_.image, 0, 0, "HPIVOT", "VPIVOT", _G.math.floor(_ARG_0_.w), _G.math.floor(_ARG_0_.h)) + end + if _ARG_0_.alpha ~= nil then + gamelua.setRenderState(0, 0, 1, 1, 0, 0, 0, 1) + else + gamelua.setRenderState(0, 0, 1, 1, 0, 0, 0) + end +end +function Image.drawFast(_ARG_0_, _ARG_1_, _ARG_2_) + _G.res.drawSprite(_ARG_0_.image, _G.math.floor(_ARG_0_.x + _ARG_1_), _G.math.floor(_ARG_0_.y + _ARG_2_)) +end +function Image.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + _ARG_0_:drawSelf(_ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) + Frame.draw(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_) +end +function Image.setAngle(_ARG_0_, _ARG_1_) + _ARG_0_.angle = _ARG_1_ +end +filename = "Image.lua" diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ImageButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ImageButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..8a92f241a37a606cc4323ef4e40d86c6405814ef Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ImageButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/InvisibleButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/InvisibleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..65704d2d881f73afc2e74fd9d75ec88e594c02a2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/InvisibleButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/MenuManager.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/MenuManager.lua new file mode 100644 index 0000000000000000000000000000000000000000..c93edb62d9716d5e5bc2b00a701107c6c42e1307 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/MenuManager.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/PageIndicatorDots.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/PageIndicatorDots.lua new file mode 100644 index 0000000000000000000000000000000000000000..25874c112860714619bf92d615e6fbcdd01e9492 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/PageIndicatorDots.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ProgressBar.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ProgressBar.lua new file mode 100644 index 0000000000000000000000000000000000000000..8791060263b54cb8403d43dd58029092cfa3eb3e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ProgressBar.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Rect.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Rect.lua new file mode 100644 index 0000000000000000000000000000000000000000..4e19674dd20d1c00149b32a516ed91b75c928246 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Rect.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/RectangleButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/RectangleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..bd01d3c1414528dcb592610e541a8821f1b72a4a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/RectangleButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ScallableButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ScallableButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..b8864f7c34f8bbbf2d9daf59bbee135fd5a65a4e Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ScallableButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ScrollFrame2.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ScrollFrame2.lua new file mode 100644 index 0000000000000000000000000000000000000000..5d1eced130df369d836d4028cd2d294fc3616dde Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ScrollFrame2.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Slider.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Slider.lua new file mode 100644 index 0000000000000000000000000000000000000000..9ab8e86e79f462e8d79e183b89c3624dd8f082d1 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Slider.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/SliderFrame.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/SliderFrame.lua new file mode 100644 index 0000000000000000000000000000000000000000..59bf3f3a400827cf8de5579239d3d900cf42911a Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/SliderFrame.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/StaticButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/StaticButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..86aa6910dd63035275036265134dfb4cfaa77f98 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/StaticButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Text.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Text.lua new file mode 100644 index 0000000000000000000000000000000000000000..401360822b2f78a12e3b5c76320794504f0c4875 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/Text.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/TextButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/TextButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..d854a25ccb6b5cbcff398dd03d720dd2bf651bc2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/TextButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/TiledImage.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/TiledImage.lua new file mode 100644 index 0000000000000000000000000000000000000000..393d86f2f4e5598aab735db719cfb3e81835afa2 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/TiledImage.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ToggleButton.lua b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ToggleButton.lua new file mode 100644 index 0000000000000000000000000000000000000000..1ebf32126b904ada3cf97bbaacaafca51396d188 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/ui_components/ToggleButton.lua differ diff --git a/Angry Birds Project R/2.3.1/data/scripts_common/utils.lua b/Angry Birds Project R/2.3.1/data/scripts_common/utils.lua new file mode 100644 index 0000000000000000000000000000000000000000..235a0fb9d135b829d79f7736d37dae21ef1b8e87 Binary files /dev/null and b/Angry Birds Project R/2.3.1/data/scripts_common/utils.lua differ diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite-alpha-masked.fx b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite-alpha-masked.fx new file mode 100644 index 0000000000000000000000000000000000000000..98c570c9aa1a07ae1473d0f6d7b1bed3607d16dc --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite-alpha-masked.fx @@ -0,0 +1,8 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_ALPHA_MASK +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite-alpha.fx b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..76181c91d47ac0917f6fd344c7497539dabe9177 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite-alpha.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_PREMULT_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite.fx b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite.fx new file mode 100644 index 0000000000000000000000000000000000000000..fe49d11ce9cf78d95c18d4b10db6349c26eec06b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-sprite.fx @@ -0,0 +1,5 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-vertexcolor-alpha.fx b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-vertexcolor-alpha.fx new file mode 100644 index 0000000000000000000000000000000000000000..aefe9592376cdad614f8d79fce42b4827af6f57b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-vertexcolor-alpha.fx @@ -0,0 +1,9 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_ALPHA_BLENDING +#define ENABLE_ALPHA_FACTOR +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-vertexcolor.fx b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-vertexcolor.fx new file mode 100644 index 0000000000000000000000000000000000000000..d6930561abe5680225ac08927813285bec2d77bc --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/2d-vertexcolor.fx @@ -0,0 +1,7 @@ +#version 120 +#define DISABLE_DEPTH_TEST +#define ENABLE_VERTEXCOLOR +#define DISABLE_TEXTURE +#define ENABLE_TWOSIDED + +#include "pp.fx" \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/attributes.sh b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/attributes.sh new file mode 100644 index 0000000000000000000000000000000000000000..205142a74ccb37bb073bbae0e9cbecf498324935 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/attributes.sh @@ -0,0 +1,12 @@ +attribute vec3 DT_POSITION; +attribute vec3 DT_POSITIONT; +attribute vec2 DT_BONEWEIGHTS; +attribute vec3 DT_BONEINDICES; +attribute vec3 DT_NORMAL; +attribute vec4 DT_DIFFUSE; +attribute vec4 DT_SPECULAR; +attribute vec2 DT_TEX0; +attribute vec2 DT_TEX1; +attribute vec2 DT_TEX2; +attribute vec2 DT_TEX3; +attribute vec3 DT_TANGENT; diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/defines.sh b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/defines.sh new file mode 100644 index 0000000000000000000000000000000000000000..c249a58f964445e40dc491503faebea314745548 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/defines.sh @@ -0,0 +1,53 @@ +////////////////////////////////////////////////////////////////////////////// +// For varyings + +#if defined(ENABLE_VERTEXCOLOR) + #define NEEDS_VVERTEXCOLOR +#endif + +#if !defined(DISABLE_FOG) + #define NEEDS_VFOGLEVEL +#endif + +#if defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) + #define NEEDS_VPOSITION +#endif + +#if !defined(BLUR_1D) && (!defined(DISABLE_TEXTURE) || defined(ENABLE_NORMALMAP) || defined(ENABLE_WNORMALMAP)) + #define NEEDS_VTEXCOORD0 +#endif + +#if defined(ENABLE_LIGHTMAP) || defined(ENABLE_ALPHA_MASK) + #define NEEDS_VTEXCOORD1 +#endif + +#if defined(BLUR_1D) + #define NEEDS_VBLURTEXCOORD +#endif + +#if !defined(ENABLE_NORMALMAP) && !defined(ENABLE_WNORMALMAP) && ( (!defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) ) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) ) + #define NEEDS_VNORMAL +#endif + +#if !defined(DISABLE_LIGHTING) && ( !defined(DISABLE_DIFFUSE) || !defined(DISABLE_SPECULAR) ) + #define NEEDS_VTOLIGHT +#endif + +#if (!defined(DISABLE_LIGHTING) && !defined(DISABLE_SPECULAR)) || defined(ENABLE_SPHERE_REFL_MAP) + #define NEEDS_VTOCAMERA +#endif + +#if defined(ENABLE_NORMALMAP) + #define NEEDS_VTANGENTTM +#endif + +////////////////////////////////////////////////////////////////////////////// +// For vertex shaders + + +////////////////////////////////////////////////////////////////////////////// +// For pixel shaders + +#if !defined(DISABLE_LIGHTING) || defined(ENABLE_PLANE_REFLECTION) || defined(ENABLE_PLANE_REFRACTION) || defined(ENABLE_SPHERE_REFL_MAP) + #define USES_NORMAL +#endif diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/functions.sh b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/functions.sh new file mode 100644 index 0000000000000000000000000000000000000000..007b1b8eaaba1be7ee0b6132378bac1a93ee3e9b --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/functions.sh @@ -0,0 +1,61 @@ +/** + * 5 sample gaussian blur. + * + * @param tex Texture to sample. + * @param texcoord Coordinates to center texel. + * @param offset Texel size. + * @return blurred result. + */ +vec3 gaussianBlur1D(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + vec3 color = texture2D(tex, texcoord - offset - offset).rgb * 0.0588235; + color += texture2D(tex, texcoord - offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord ).rgb * 0.4117647; + color += texture2D(tex, texcoord + offset ).rgb * 0.2352941; + color += texture2D(tex, texcoord + offset + offset).rgb * 0.0588235; + return color; +} + +vec3 gaussianBlur2D3x3(in sampler2D tex, in vec2 texcoord, in vec2 offset) +{ + float offX = offset.x; + float offY = offset.y; + + vec3 color = texture2D(tex, texcoord + vec2(-offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(offX, offY) ).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(-offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord ).rgb * 0.2; + color += texture2D(tex, texcoord + vec2(offX, 0.0) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(-offX, -offY)).rgb * 0.066666666666666666666666666666667; + color += texture2D(tex, texcoord + vec2(0.0, -offY) ).rgb * 0.13333333333333333333333333333333; + color += texture2D(tex, texcoord + vec2(+offX, -offY) ).rgb * 0.066666666666666666666666666666667; + return color; +} + +vec3 transform( in mat4 tm, in vec3 v ) +{ + return v * mat3(tm) + vec3(tm[3]); +} + +vec3 rotate( in mat3 tm, in vec3 v ) +{ + return v * tm; +} + +// Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer +vec4 packFloatToVec4i(in float value) +{ + const vec4 bitSh = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0); + const vec4 bitMsk = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0); + vec4 res = fract(value * bitSh); + res -= res.xxyz * bitMsk; + return res; +} + +// Unpacking a [0-1] float value from a 4D vector where each component was a 8-bits integer +float unpackFloatFromVec4i(in vec4 value) +{ + const vec4 bitSh = vec4(1.0 / (256.0 * 256.0 * 256.0), 1.0 / (256.0 * 256.0), 1.0 / 256.0, 1.0); + return(dot(value, bitSh)); +} diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/uniforms.sh b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/uniforms.sh new file mode 100644 index 0000000000000000000000000000000000000000..acdaa08564b3acd45bbb3116ecead28980e3148f --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/uniforms.sh @@ -0,0 +1,35 @@ +uniform sampler2D BASEMAP; +uniform sampler2D BASEMAP1; +uniform sampler2D NORMALMAP; +uniform sampler2D SIMAP; +uniform sampler2D REFLMAP; +uniform sampler2D REFRACMAP; +uniform sampler2D DEPTHMAP; +uniform sampler2D SHININESSMAP; +uniform sampler2D GLOSSINESSMAP; + +uniform mat4 BONEWORLDTM[10]; +uniform mat4 WORLDTM; +uniform mat4 VIEWTM; +uniform mat4 VIEWTMINV; +uniform mat4 VIEWPROJTM; +uniform mat4 TOTALTM; +uniform mat4 PROJTM; + +uniform vec4 CAMERAP; +uniform vec4 LIGHTP0; +uniform vec4 LIGHTC0; +uniform vec4 FOG_RANGE; +uniform vec4 TEXEL_OFFSET; +uniform vec4 FOG_COLOR; +uniform vec4 AMBIENTC; +uniform vec4 DIFFUSEC; +uniform vec4 SPECULARC; +uniform vec4 TEX0_OFFSET; + +uniform float SHININESS; +uniform float GLOSSINESS; +uniform float ALPHA_FACTOR; + +uniform float TIME; + diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/varyings.sh b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/varyings.sh new file mode 100644 index 0000000000000000000000000000000000000000..00b5dad33506074b5077b0bee05e50cf69a92e82 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/commons/varyings.sh @@ -0,0 +1,39 @@ +#ifdef NEEDS_VTEXCOORD0 +varying vec2 V_TexCoord0; +#endif + +#ifdef NEEDS_VTEXCOORD1 +varying vec2 V_TexCoord1; +#endif + +#ifdef NEEDS_VBLURTEXCOORD +varying vec2 V_BlurTexCoord[5]; +#endif + +#ifdef NEEDS_VFOGLEVEL +varying float V_FogLevel; +#endif + +#ifdef NEEDS_VTOLIGHT +varying vec3 V_ToLight; +#endif + +#ifdef NEEDS_VNORMAL +varying vec3 V_Normal; +#endif + +#ifdef NEEDS_VTOCAMERA +varying vec3 V_ToCamera; +#endif + +#ifdef NEEDS_VPOSITION +varying vec3 V_Position; +#endif + +#ifdef NEEDS_VTANGENTTM +varying mat3 V_TangentTM; +#endif + +#ifdef NEEDS_VVERTEXCOLOR +varying vec4 V_VertexColor; +#endif \ No newline at end of file diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/pixelShaders/pp.ps b/Angry Birds Project R/2.3.1/data/shaders/GL2/pixelShaders/pp.ps new file mode 100644 index 0000000000000000000000000000000000000000..022038ac8ce7788ecb4834d6c26520d518f16c1a --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/pixelShaders/pp.ps @@ -0,0 +1,40 @@ +#include "../commons/defines.sh" +#include "../commons/uniforms.sh" +#include "../commons/varyings.sh" + +void main() +{ + +#ifdef BLUR_1D + // Blurred texture lookup + // IMG: apply texcoord offsets in the vertex shader + vec3 blur = texture2D(BASEMAP, V_BlurTexCoord[0]).rgb * 0.0588235; + blur += texture2D(BASEMAP, V_BlurTexCoord[1]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[2]).rgb * 0.4117647; + blur += texture2D(BASEMAP, V_BlurTexCoord[3]).rgb * 0.2352941; + blur += texture2D(BASEMAP, V_BlurTexCoord[4]).rgb * 0.0588235; + vec4 color = vec4(blur, 1); + +#else + + #ifdef DISABLE_TEXTURE + #ifdef ENABLE_VERTEXCOLOR + vec4 color = V_VertexColor; + #else + vec4 color = DIFFUSEC; + #endif + #else + vec4 color = texture2D( BASEMAP, V_TexCoord0 ); + #endif +#endif + +#ifdef ENABLE_ALPHA_MASK + color.a *= texture2D( BASEMAP1, V_TexCoord1 ).a; +#endif + +#ifdef ENABLE_ALPHA_FACTOR + color *= ALPHA_FACTOR; +#endif + + gl_FragColor = color; +} diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/pp.fx b/Angry Birds Project R/2.3.1/data/shaders/GL2/pp.fx new file mode 100644 index 0000000000000000000000000000000000000000..93e55dad1c0c218badf96513dc658eafcaa79d79 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/pp.fx @@ -0,0 +1,97 @@ +#define DISABLE_TRANSFORM_EXCEPT_ORIENTATION +#define DISABLE_FOG +#define DISABLE_LIGHTING + +technique Default +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#ifdef ENABLE_REFLECTED + +technique Reflected +{ + pass P0 + { + VertexShader = vertexShaders/diff-tex.vs; + PixelShader = pixelShaders/pp.ps; + + #ifdef ENABLE_TWOSIDED + EnableCulling = FALSE; + #endif + + #ifdef DISABLE_DEPTH_TEST + EnableDepthTest = FALSE; + #endif + + #ifdef ENABLE_ADDITIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE; + #endif + + #ifdef ENABLE_MULTIPLICATIVE + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = DST_COLOR; + BlendFuncDst = ZERO; + #endif + + #ifdef ENABLE_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = SRC_ALPHA; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + + #ifdef ENABLE_PREMULT_ALPHA_BLENDING + EnableDepthMask = FALSE; + EnableBlending = TRUE; + BlendFuncSrc = ONE; + BlendFuncDst = ONE_MINUS_SRC_ALPHA; + #endif + } +} + +#endif diff --git a/Angry Birds Project R/2.3.1/data/shaders/GL2/vertexShaders/diff-tex.vs b/Angry Birds Project R/2.3.1/data/shaders/GL2/vertexShaders/diff-tex.vs new file mode 100644 index 0000000000000000000000000000000000000000..4e8a5b982760e2889549dc78a6b4fecb2d4407b2 --- /dev/null +++ b/Angry Birds Project R/2.3.1/data/shaders/GL2/vertexShaders/diff-tex.vs @@ -0,0 +1,147 @@ +#include "../commons/defines.sh" +#include "../commons/attributes.sh" +#include "../commons/uniforms.sh" +#include "../commons/functions.sh" +#include "../commons/varyings.sh" + +void main() +{ + +////////////////////////////////////////////////////////////////////////////// + +#ifdef ENABLE_SKINNING + // bone 1 influence + int i = int(DT_BONEINDICES.x); + float w = DT_BONEWEIGHTS.x; + mat4 bonetm = BONEWORLDTM[i]; + vec3 worldpos = transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal = rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + vec3 worldtangent = rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 2 influence + i = int(DT_BONEINDICES.y); + w = DT_BONEWEIGHTS.y; + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + #endif + + // bone 3 influence + i = int(DT_BONEINDICES.z); + w = (1.0 - DT_BONEWEIGHTS.y - DT_BONEWEIGHTS.x); + bonetm = BONEWORLDTM[i]; + worldpos += transform(bonetm, DT_POSITION) * w; + + // Can be omitted for optimization, effect is quite small + #ifndef DISABLE_LIGHTING + V_Normal += rotate( mat3(bonetm), DT_NORMAL ) * w; + V_Normal = normalize(V_Normal); + #endif + + #ifdef ENABLE_NORMALMAP + worldtangent += rotate( mat3(bonetm), DT_TANGENT ) * w; + worldtangent = normalize(worldtangent); + + vec3 worldbinormal = cross( V_Normal, worldtangent ); + #endif + + gl_Position = VIEWPROJTM * vec4(worldpos, 1); +#else + + #if defined(DISABLE_TRANSFORM_EXCEPT_ORIENTATION) + // Vertices are already in screen space coordinates + gl_Position = PROJTM * vec4(DT_POSITION, 1); + #elif defined(DISABLE_TRANSFORM) + gl_Position = vec4(DT_POSITION, 1); + #else + // Transform coordinates to screen space + gl_Position = TOTALTM * vec4(DT_POSITION, 1); + vec3 worldpos = vec3(WORLDTM * vec4(DT_POSITION, 1)); + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VPOSITION + V_Position = worldpos; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VBLURTEXCOORD + V_BlurTexCoord[0] = DT_TEX0 - 2.0 * TEXEL_OFFSET.xy; + V_BlurTexCoord[1] = DT_TEX0 - TEXEL_OFFSET.xy; + V_BlurTexCoord[2] = DT_TEX0; + V_BlurTexCoord[3] = DT_TEX0 + TEXEL_OFFSET.xy; + V_BlurTexCoord[4] = DT_TEX0 + 2.0 * TEXEL_OFFSET.xy; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD0 + #ifndef ENABLE_MOVEUV + V_TexCoord0 = DT_TEX0; + #else + V_TexCoord0 = DT_TEX0 + TEX0_OFFSET.xy; + #endif +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTEXCOORD1 + V_TexCoord1 = DT_TEX1; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOLIGHT + V_ToLight = normalize(LIGHTP0.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VNORMAL + V_Normal = mat3(WORLDTM) * DT_NORMAL; +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTANGENTTM + vec3 worldbinormal = cross( normalize(V_Normal), worldtangent ); + vec3 worldtangent = normalize(mat3(WORLDTM) * DT_TANGENT); + V_TangentTM = mat3(worldbinormal, worldtangent, V_Normal); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VTOCAMERA + V_ToCamera = normalize(CAMERAP.rgb - worldpos); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VFOGLEVEL + vec4 viewpos = VIEWTM * vec4(worldpos, 1); + V_FogLevel = clamp( (viewpos.z - FOG_RANGE.x) * FOG_RANGE.z, 0.0, 1.0 ); +#endif + +////////////////////////////////////////////////////////////////////////////// + +#ifdef NEEDS_VVERTEXCOLOR + V_VertexColor = DT_DIFFUSE; +#endif + +////////////////////////////////////////////////////////////////////////////// +} diff --git a/Angry Birds Project R/2.3.1/desktop.ini b/Angry Birds Project R/2.3.1/desktop.ini new file mode 100644 index 0000000000000000000000000000000000000000..37a739e79b97c460dc0baf0be6595d16de1f092c --- /dev/null +++ b/Angry Birds Project R/2.3.1/desktop.ini @@ -0,0 +1,6 @@ +[.ShellClassInfo] +IconResource=C:\WINDOWS\System32\SHELL32.dll,4 +[ViewState] +Mode= +Vid= +FolderType=StorageProviderGeneric diff --git a/Angry Birds Project R/2.3.1/msvcp100.dll b/Angry Birds Project R/2.3.1/msvcp100.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9eae444e163479b930c01cfbfb0e47b57680f69 Binary files /dev/null and b/Angry Birds Project R/2.3.1/msvcp100.dll differ diff --git a/Angry Birds Project R/2.3.1/msvcr100.dll b/Angry Birds Project R/2.3.1/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd91c89d8bfb2cdd91b16735d0d31fa000df989b Binary files /dev/null and b/Angry Birds Project R/2.3.1/msvcr100.dll differ